Interpolation Calculator
Perform linear interpolation between two points. Given (x0,y0) and (x1,y1), find y for any x between them.
How to Use the Interpolation Calculator
- Enter the first point (x₀, y₀) and the second point (x₁, y₁).
- Enter the target x value.
- Click Interpolate to find y and see the line equation.
Riferimento Rapido
| Da | A |
|---|---|
| (0,0)–(10,100), x=5 | y = 50 |
| (1,2)–(3,8), x=2 | y = 5 |
| (0,32)–(100,212), x=37 | y = 98.6 |
| (10,50)–(20,100), x=15 | y = 75 |
Casi d'Uso
- •Estimating values between data points in lab experiments.
- •Filling gaps in time-series data.
- •Computing intermediate values in engineering tables.
Formula
y = y0 + (y1 − y0) × (x − x0) / (x1 − x0). Slope = (y1 − y0) / (x1 − x0).
Domande Frequenti
What is linear interpolation?
Estimating a value between two known data points by assuming a straight line connects them.
Can x be outside the range?
Yes, but that becomes extrapolation and may be less accurate. Use the extrapolation calculator for that.
What if x0 equals x1?
The two points must have different x values to define a line.