Linear Interpolation Calculator

Your details

The x-coordinate of the first known data point.
The y-coordinate of the first known data point.
The x-coordinate of the second known data point.
The y-coordinate of the second known data point.
Standard mode finds y for a given x. Reverse mode finds x for a given y.
The x-value for which you want the interpolated y.
Interpolated y
10

The estimated y-value at your chosen x

Slope (m)2
y-intercept (b)0
Line equationy = 2x + 0
Interpolation typeInterpolation (inside range)
Slope (m)2
y-intercept (b)0

Interpolation (inside range)

  • At x = 5, the estimated y-value is 10.
  • This is interpolation: your x falls between the two known data points, so the estimate is reliable as long as the relationship is roughly linear in that range.
  • The slope is positive (2), so y increases as x increases.

Next stepIf you have more than two data points, consider using a least-squares regression or spline interpolation for a more accurate fit.

= Powered by OnlyCalculators