Bilinear Interpolation Calculator

Enter four corner values of a rectangular grid cell and a query point (x, y) to calculate the bilinearly interpolated value.

Grid Cell Definition

X-Axis Range

Y-Axis Range

Corner Values

Query Point

Result

Fill in all fields above and click Calculate.

Grid Cell Diagram

Bilinear Interpolation Formula

t = (x − x1) / (x2 − x1)

u = (y − y1) / (y2 − y1)

R1 = (1−t) × Q11 + t × Q21

R2 = (1−t) × Q12 + t × Q22

P = (1−u) × R1 + u × R2

Copied!

Summary

Enter four corner values of a rectangular grid cell and a query point (x, y) to calculate the bilinearly interpolated value.

How it works

  1. Enter the x-axis range: the left edge x1 and right edge x2 of the grid cell.
  2. Enter the y-axis range: the bottom edge y1 and top edge y2 of the grid cell.
  3. Enter the four corner values: Q11, Q12, Q21, Q22 at (x1,y1), (x1,y2), (x2,y1), (x2,y2).
  4. Enter the query point coordinates (x, y) where you want to estimate the value.
  5. Click Calculate — the tool interpolates first along x, then along y, and shows all steps.

Use cases

  • Estimate temperature or pressure at an interior grid point in meteorology.
  • Resample image pixel colors during texture mapping or image scaling.
  • Interpolate elevation values in a digital terrain model.
  • Find intermediate stress or strain values in a finite-element grid.
  • Estimate a lookup-table output between four neighboring entries.
  • Perform 2D function approximation in numerical analysis coursework.
  • Derive intermediate values from tabulated engineering data with two parameters.
  • Reconstruct missing sensor readings on a 2D measurement grid.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu