Functions, rates of change and averages · Formula 6.2

Linear interpolation

y=y1+(y2−y1)⋅x−x1x2−x1y = y_1 + (y_2 - y_1)\cdot\frac{x - x_1}{x_2 - x_1}

Your values

Decimal comma or decimal point, without thousands separators. The selected unit applies to the numerical value entered.

Your calculation method

Units · Calculation relationship · Results
From the formula collection

The explanation of the formula

Tables list values only for certain interpolation points. If the desired value lies between them, the quantity is assumed to vary linearly between two adjacent tabulated values. The calculation starts at the first tabulated value. The fraction of the difference to the second tabulated value corresponding to the relative distance in xx is then added.

When does the formula apply?

An approximately linear variation is assumed between adjacent interpolation points. Outside this range, the calculation is an extrapolation that must be justified separately.

Example from the book

A table gives the conversion factor 1.06 for 25 ∘C25\gC and the factor 1.00 for 30 ∘C30\gC. For 27 ∘C27\gC, the result is y=1.06+(1.00−1.06)⋅(27−25)/(30−25)=1.06−0.024=1.036y = 1.06 + (1.00 - 1.06)\cdot(27 - 25)/(30 - 25) = 1.06 - 0.024 = 1.036.

Formelsammlung Strom · Erik Schmidt · Formula 6.2