Double Linear Interpolation Calculator

Estimate values smoothly between four known grid points. See stepwise blending along x and y. Export results instantly and verify with worked example table.

Input Values
Provide two X bounds, two Y bounds, and the four corner values.
Must be different from X2.
Order can be swapped automatically.
Use clamp or extrapolate mode.
Must be different from Y2.
Order can be swapped automatically.
Typically inside the Y1–Y2 range.
Bottom-left corner value.
Bottom-right corner value.
Top-left corner value.
Top-right corner value.
Clamp keeps X and Y inside the rectangle.
Affects display and export formatting.
Useful for checking calculations and teaching.

Example Data Table

This sample uses default values. Click “Load Example” to fill the form.

Point X Y Value (Q)
Q11 (X1, Y1)1010030
Q21 (X2, Y1)2010050
Q12 (X1, Y2)1020040
Q22 (X2, Y2)2020080
Target (X, Y)14150?
Tip: if you use clamp mode and enter X=200, it will use X*=20.

Formula Used

Double linear interpolation blends values in two directions. You first interpolate along the X axis at two Y levels, then interpolate those two results along the Y axis.

tX = (X* − X1) / (X2 − X1)
tY = (Y* − Y1) / (Y2 − Y1)

R1 = Q11 + tX (Q21 − Q11)   [at Y1]
R2 = Q12 + tX (Q22 − Q12)   [at Y2]

P = R1 + tY (R2 − R1)

X* and Y* are either your target values (extrapolate) or clamped values (clamp).

How to Use This Calculator

  1. Enter X1, X2, Y1, and Y2 as bounds.
  2. Enter the four corner values: Q11, Q21, Q12, Q22.
  3. Type your target X and Y.
  4. Select a mode: clamp for safe bounds, extrapolate for outside values.
  5. Choose precision and enable steps if you want details.
  6. Press Calculate. Results appear above the form.
  7. Use Download CSV or Download PDF after calculating.
Note: If X1 equals X2 or Y1 equals Y2, the fractions are undefined.

Related Calculators

average rate of change calculator with pointsslope of a parallel line calculatorperpendicular and parallel line calculatorequation of a parallel line calculatorpoint slope form of parallel line calculatordistance between parallel line calculatorline parallel to another line calculatoronline parallel capacitor calculatorparallel circular conductor transmission line calculatorparallel square conductor transmission line calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.