Linear Interpolation
STATISTICS & ALGEBRA
Linear Interpolation
Interpolate or extrapolate along a straight line.
UNDERSTAND YOUR RESULT
How it works
Interpolate or extrapolate along a straight line.
THE CALCULATIONy = y₁ + (x−x₁)(y₂−y₁)/(x₂−x₁)
Using this calculator
Enter first x, first y, second x, second y, target x. y = y₁ + (x−x₁)(y₂−y₁)/(x₂−x₁).
What to keep in mind
Calculations use finite real numbers. Intermediate values are unrounded; very large or undefined results are rejected.
Frequently asked questions
Are my entries saved?
No. Calculator inputs remain in the current page and are cleared when you reload or leave. The tools do not upload your entries.
Why are results rounded?
The display is rounded for readability. Calculations use unrounded intermediate values. An estimate should not be interpreted as an exact measurement.