Home · Everyday · Algebra · Bilinear Interpolation Calculator

Bilinear Interpolation Calculator

Estimate a value inside a rectangle from the four known corner values, blending linear interpolation along both axes.

Your figures

Example result — edit the figures to make it yours

15

Interpolated value

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Along x on bottom edge (y = y₁)5.0000
Along x on top edge (y = y₂)25.0000

What this calculator does

Estimate a value inside a rectangle from the four known corner values, blending linear interpolation along both axes. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

f(x,y) = [ (x₂−x)(y₂−y)Q11 + (x−x₁)(y₂−y)Q21 + (x₂−x)(y−y₁)Q12 + (x−x₁)(y−y₁)Q22 ] / ((x₂−x₁)(y₂−y₁))

Bilinear interpolation weights each corner by the area of the sub-rectangle opposite the point, then divides by the full rectangle area. It equals doing a linear interpolation along x on the bottom and top edges, then one along y between those two results.

The point should lie inside the rectangle; outside it the same formula extrapolates and errors grow quickly. The surface is not a plane unless the corners happen to be coplanar — it contains an xy cross term, so mid-edge and centre values can differ from a flat fit.

Worked example

With the example inputs this page opens with (x₁ (left) 0, x₂ (right) 10, y₁ (bottom) 0, y₂ (top) 10), the result is 15.0000 — interpolated value. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying Point x
Point xInterpolated valueAlong x on bottom edge (y = y₁)Along x on top edge (y = y₂)
010020
212222
414424
616626
818828
10201030

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Bilinear Interpolation Calculator work?

Estimate a value inside a rectangle from the four known corner values, blending linear interpolation along both axes. Corner values Q11, Q21, Q12, Q22 · Point (x, y) → Interpolated value. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Bilinear Interpolation Calculator need?

Corner values Q11, Q21, Q12, Q22 · Point (x, y) → Interpolated value. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Bilinear Interpolation Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.