Calculate a missing X or Y value by extrapolating from two known points, X1,Y1 and X2,Y2, plus a third coordinate on a linear trend.

Optional settings

Extrapolation Formula

The linear extrapolation formula solves for a third point on the line defined by two known coordinate pairs:

Y3 = Y1 + (X3 - X1) / (X2 - X1) ร— (Y2 - Y1)
  • (X1, Y1) and (X2, Y2): two known coordinate pairs that define the trend line
  • X3: input value outside the known range for which Y3 is predicted
  • Slope m = (Y2 - Y1) / (X2 - X1): assumed constant beyond the known range
  • To solve for X3 given Y3: X3 = X1 + ((Y3 - Y1) / m)

Types of Extrapolation

TypeMethodPoints RequiredBest Used When
LinearExtends a straight line beyond two known points using constant slope2Data shows a consistent, constant rate of change
PolynomialFits a polynomial curve through multiple points and extends it3 or moreData follows a smooth nonlinear trend (quadratic, cubic, etc.)
ConicFits a conic section (circle, ellipse, parabola, or hyperbola) to five points5Data curves sharply and approaches a conic boundary

Extrapolation depends on whether the fitted relationship continues outside the observed range. There is no universal safe percentage of the X-range; assess the model, measurement uncertainty and independent evidence.


Extrapolation vs. Interpolation

FeatureExtrapolationInterpolation
Estimate locationOutside the known data rangeBetween known data points
ReliabilityDecreases with distance from dataGenerally high within range
Core assumptionTrend continues beyond measured dataTrend exists between measured data points
Error riskHigher; model may not hold outside the rangeLower; constrained by known values on both sides
Primary useForecasting, future projectionGap-filling, missing value estimation

Applications by Field

FieldExtrapolation Use
FinanceYield curve extension beyond last traded maturity; forward rate projection
DemographicsPopulation forecasting between and beyond census intervals
Climate scienceTemperature anomaly projection from historical baselines; sea level rise estimation
EngineeringPredicting material fatigue beyond laboratory test parameters
AstronomyCalculating future planetary positions from observed orbital data
MedicineEstimating drug plasma concentration outside the sampling window

Extrapolation Accuracy

Under the usual linear-regression assumptions, prediction uncertainty depends on residual variation, the number and spread of observations, and the targetโ€™s distance from their center. Two points alone do not estimate residual variance, and this calculator does not produce uncertainty intervals.

A structural change can invalidate an extrapolated trend: for example, a new technology may change the relationship between time and demand. Check whether the process generating the data is likely to remain comparable.


FAQ

What is extrapolation?

Extrapolation is the process of estimating a value outside the range of known data points by extending the observed trend. In the linear case, it assumes the slope between two known points continues at the same rate beyond either endpoint. It is used across finance, demographics, climate science, and engineering to project future or unknown values.

What is the difference between extrapolation and interpolation?

Interpolation estimates values between known data points (inside the known range), while extrapolation estimates values beyond the known range. Interpolation is more reliable because the estimate is constrained by data on both sides. Extrapolation carries higher uncertainty since the assumed trend may not hold outside the observed data.

When is linear extrapolation not reliable?

Linear extrapolation becomes unreliable when (1) the underlying relationship is nonlinear, (2) the prediction point is far beyond the known data range, or (3) a structural change occurs in the data-generating process. Population growth, asset prices, and material stress all commonly deviate from linear behavior at extremes.

What are the three types of extrapolation?

Common approaches include (1) Linear, which extends a straight line from two known points; (2) Polynomial, which fits a polynomial curve through three or more points and extends it beyond the known range; and (3) Conic, which fits one of four conic sections through five known points. Linear extrapolation is the most widely used.

What is Richardson extrapolation?

Richardson extrapolation is a numerical method that combines estimates at different step sizes to produce a more accurate result. By eliminating leading error terms, it improves approximations to derivatives and integrals. It is used in finite difference methods and numerical integration to accelerate convergence without reducing step size.