ChemE Calculations home

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+x−x1x2−x1∗(y2−y1)y = y_{1} + \frac{x - x_1}{x_2 - x_1} * \left( y_2 - y_1 \right)
y1y_{1}
Known Y min
y2y_{2}
Known Y max
x1x_{1}
Known X min
x2x_{2}
Known X max

Assumptions

Assumptions

  • The relationship between x and y is linear between the two known points
  • Values outside the two points are linear extrapolations and may be inaccurate