Algebra / Calculator 22

Linear Interpolation

Linear interpolation estimates a value on the straight line through two known points. It is useful when a small interval can reasonably be treated as linear.

Your inputs

Linear Interpolation

Algebra · 5 inputs

Calculated result20y units
Example result
No data leaves your browser when you calculate.

How to use this calculator

  1. Enter start x in units.
  2. Enter start y in units.
  3. Enter end x in units.
  4. Enter end y in units.
  5. Enter target x in units.
  6. Select Calculate and keep the output unit with the answer.

Before you use the answer

Choose the reference quantity before interpreting the number. A ratio, a percentage and a percentage-point difference may use the same observations while answering different questions. For recorded data, keep the original values beside the summary so an unexpected result can be traced back to its inputs.

Equal x coordinates cannot define this function. Outside the endpoints the calculation becomes extrapolation.

Does it save my inputs?

No calculation history is stored by this website. The calculator works locally in your browser. See the privacy policy for hosting and contact details.

Why might a result be approximate?

Measurement uncertainty, ideal-model assumptions and floating-point rounding can all matter. Displaying more digits does not improve the original measurement.

Related calculations