Math Calculators > Linear Interpolation

More Calculators

Linear Interpolation Formula

Although it is good practise when dealing with tables to choose a conservative lookup value if the exact value under consideration is not present, sometimes a more precise answer is required. The Lagrange's interpolation formula is one such method commonly adopted to get equivalent values from a table. The linear interpolation formula shown works by using a ratio to find an intermediate number between two existing values in an existing table. As always care should be taken with the type of data used as not all tables display values which act with a linear progression.

StructX Calculator
Calculator Input Output
X1
X2
X3
Y1
Y3
Linear Interpolation Calculator
Result, Y2:

Notation and Units

Linear Interpolation

Linear and Bilinear interpolation can be used to find values that are in between those shown in a lookup table. Because of the assumed straight line used to determine such values, care should be taken when determining if linear interpolation is a suitable and allowable method of approximation.

Notation

  • X1 & X3 = First Coordinates
  • Y1 & Y3 = Values to be interpolated between
  • X2 = Target X Coordinate
  • Y2 = Interpolated Y coordinate