Intermediate value between points · reading from tables

Linear interpolation assumes the value changes along a straight line between the points: y = y₁ + (y₂−y₁)·(x−x₁)/(x₂−x₁). Useful e.g. for reading values from tables.
Linear interpolation lets you estimate the value of a function between two known points, assuming it changes along a straight line. For points and :
It is an everyday tool for physicists and chemists — for reading values from tables (e.g. density, vapour pressure) at an intermediate value that is not listed. If the target lies outside the interval , we speak of extrapolation (which is less reliable).
Interpolation estimates a value BETWEEN known points; extrapolation estimates one OUTSIDE them. Extrapolation is less trustworthy because it assumes the trend continues beyond the measured range.
When the function really does change linearly, or when the points lie close together. For strongly curved relationships it gives an approximation that improves the denser the data.
Teaching? Embed this calculator on your site.
Free widget — paste it on your school site, blog or notes. It links to the full version.