Linear interpolation calculator
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.
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)
| x | y |
|---|---|
| 10 | 100 |
| 12 | 112 |
| 14 | 124 |
| 15 | 130 |
| 16 | 136 |
| 18 | 148 |
| 20 | 160 |
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.
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?
Where is interpolation used?
Is linear interpolation exact?
What is the formula?
Can I interpolate dates?
What if x1 = x2?
Results are estimates for information only, not financial advice. Read the full disclaimer.