Linear Interpolation Calculator
Find a value between two known points by linear interpolation (or beyond them by extrapolation).
About the Linear Interpolation Calculator
Enter two known points (x₁, y₁) and (x₂, y₂) and the x where you want y. The calculator gives y, how far between the points it lies, and the working, and warns if you're extrapolating.
Linear interpolation assumes a straight line between two known points. It's used to read between rows of steam tables, tax tables, survey data and lookup charts.
The formula
y = y₁ + (x − x₁) × (y₂ − y₁) ÷ (x₂ − x₁)
Worked example
Points (10, 50) and (20, 80); find y at x = 14
- x is 4 ÷ 10 = 40% of the way along
- y = 50 + 0.4 × (80 − 50)
- = 62
Questions people ask
What's extrapolation?
Using the same line beyond the known points; less reliable.
Can I interpolate a date?
Yes, convert dates to day numbers first.
How accurate is it?
Exact for straight-line data; for curves, the closer the two points, the smaller the error.