Linear Interpolation

Linear interpolation is a method used to estimate a new value by connecting two known values on a straight line. It’s particularly useful when you have two known points, and you need to find a value between them.

Calculator

Details

Find the slope: Calculate the slope of the line connecting the two known points. The slope is the rate at which y changes with respect to x.

Apply the Slope: Apply this slope to find out how much y should change when x changes from x1 to your point of interest.

Adjust for Starting Point: Add this change to y1, the y value at your starting point, to find the estimated y value at your point of interest.

Equation

y=y1+xx1x2x1(y2y1)y = y_{1} + \frac{x - x_1}{x_2 - x_1} * \left( y_2 - y_1 \right)
y1=y_{1} =
Known Y min
y2=y_{2} =
Known Y max
x1=x_{1} =
Known X min
x2=x_{2} =
Known X max