UNDERSTAND YOUR RESULT
How to use this tool
- Enter the two known x, y points.
- Enter the target x-value.
- 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.