Skip to content

Linear Interpolation Interpolate a value between two known data points.

interpolate at

Result

Calculated result 40 Based on the values entered.
↗ Math

Linear Interpolation Interpolate a value between two known data points. — free online calculator.

Formula

y = y₁ + (x−x₁)(y₂−y₁)/(x₂−x₁)
  • Linear Interpolation Interpolate a value between two known data points. calculates its result from x₁, y₁, x₂, y₂, x (interpolate at). It uses the formula y = y₁ + (x−x₁)(y₂−y₁)/(x₂−x₁). Change any input to recalculate the result instantly.
  • The main inputs are x₁, y₁, x₂, y₂, x. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Linear Interpolation Interpolate a value between two known data points.

Inputs
  • x₁: 0
  • y₁: 0
  • x₂: 10
  • y₂: 100
  • x: 4 interpolate at

Using x₁ = 0, y₁ = 0, x₂ = 10, y₂ = 100, x (interpolate at) = 4, the calculated result is 40.

Sample result: Calculating…

Frequently asked questions

What does the Linear Interpolation Interpolate a value between two known data points. calculate?

Linear Interpolation Interpolate a value between two known data points. — free online calculator.

Which values should I enter?

Enter x₁, y₁, x₂, y₂, x using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: y = y₁ + (x−x₁)(y₂−y₁)/(x₂−x₁).

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026