Calculators

Interpolation Calculator

Estimate a y-value between two known points using linear interpolation.

01 / INPUTProcessed on your device
02 / RESULTReady when you are

Your result belongs here.
Enter your values and calculate.

Your inputs are not saved or included in shared links.

Local processing · No account requiredReport an issue →

UNDERSTAND YOUR RESULT

How to use this tool

  1. Enter the two known x, y points.
  2. Enter the target x-value.
  3. Calculate y and check whether the target is inside or outside the known interval.

How it works

y = y₁ + (x−x₁)(y₂−y₁)/(x₂−x₁). Outside the known interval, the result is extrapolation.

WORKED EXAMPLE

Between (0, 10) and (10, 30), x = 5 gives y = 20.

Common mistake to avoid

The known x-values must differ; linear interpolation also assumes a straight-line relationship.

Limits and assumptions

The two x-values must differ. Linear interpolation assumes a straight-line relationship between the points.

Common questions

Can I estimate outside the two known points?

Yes, but the result is labelled extrapolation. Outside the interval, the straight-line assumption may be less reliable.

Must the x-values be entered in increasing order?

No. Either order works as long as the two x-values are different.