Linear interpolation calculator

Updated 30 November 2026 · ClearCost USA · 4 min read

Linear interpolation draws a straight line between two known points: y = y1 + (x − x1) x (y2 − y1) / (x2 − x1). Between (10, 100) and (20, 160), x = 14 gives 124.
Advertisement

How does linear interpolation work?

Find how far x is between x1 and x2 as a fraction, then move the same fraction of the way from y1 to y2. It assumes the values change at a steady rate between the points.

What is y at x = 17.5?

The fraction is (17.5 − 10)/10 = 0.75, so y = 100 + 0.75 x 60 = 145.

Advertisement

What do interpolated values look like?

The table below gives ready answers for common values; the calculator above works for any value.

Interpolating between (10, 100) and (20, 160)

xy
10100
12112
14124
15130
16136
18148
20160

How does this calculator work?

It uses y = y1 + (x − x1)(y2 − y1)/(x2 − x1). Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.

For more, see the math, statistics and date calculators page, slope calculator (two points), statistics calculator, quadratic formula calculator and square root and cube root calculator.

Advertisement

Related searches

People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.

  • linear interpolation formula
  • shamir secret sharing lagrange interpolation formula recover secret
  • simple interpolation formula
  • interpolation formula excel
  • interpolation calculator excel
  • interpolation formula thermodynamics
  • formula for lagrange interpolation
  • linear interpolation formula excel
  • simple interpolation formula excel
  • interpolation formula for x

Sources and further reading

Questions people ask

What is extrapolation?
Using the same line outside the known points; less reliable.
Where is interpolation used?
Steam and tax tables, engineering charts, statistics.
Is linear interpolation exact?
Only if the data really are linear.
What is the formula?
y = y1 + (x − x1)(y2 − y1)/(x2 − x1).
Can I interpolate dates?
Yes, convert dates to day numbers.
What if x1 = x2?
You cannot interpolate; the line is vertical.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement