Interpolation and Extrapolation: Definition, Method and Examples
Interpolation estimates a value within the range of known data, while extrapolation estimates beyond that range. Both are mathematical estimates, but extrapolation is usually less reliable because the observed pattern may not continue.
What are interpolation and extrapolation?
Interpolation is the process of predicting an unknown value that falls entirely inside the minimum and maximum boundaries of a known set of data points. Because the behavior of the data is already established between these limits, interpolation provides a high degree of confidence.
Extrapolation is the process of predicting an unknown value that falls outside the boundaries of the known data. This requires extending the observed trend forward or backward into areas where no actual measurements have been taken.
Interpolation works within the data limits, while extrapolation predicts outside them.
When data points are plotted as scatter plots, a trend often becomes visible. Extending a line through these points allows us to make both types of estimates.

Locate the observed data range
To decide whether an estimate is an interpolation or an extrapolation, we must identify the minimum and maximum inputs (usually the -values) from the known data set.
If the input value for the prediction falls completely between the smallest and largest recorded -values, the calculation is an interpolation. If the input value is strictly less than the smallest recorded -value or strictly greater than the largest recorded -value, the calculation is an extrapolation.

Estimate within the range
When calculating an interpolation manually, we usually assume the relationship between two adjacent known points is a straight line. The linear interpolation formula applies the slope between a starting point and an ending point to find the unknown output for a specific input .
The formula is:
The term finds the rate of change. We multiply this rate by the distance from our starting point, , and add it to our starting value .
Example 1: Interpolating a midway value
Question: A scientist records a temperature of at hours and at hours. Assuming a constant rate of change, what is the estimated temperature at hours?
Method:
- Identify the known points: and .
- Identify the target input value: . Since is between and , this is interpolation.
- Substitute the values into the linear formula:
- Simplify the expression:
Answer: The estimated temperature is .
Check: The temperature rises over hours, which is per hour. Starting from , after additional hours, the temperature should be .
Estimate beyond the range cautiously
If the target input value falls outside the observed data, we use a line of best fit or apply the same linear formula to extend the trend. This is extrapolation.
Because extrapolation extends the line into unknown territory, we must assume that the slope remains identical to the slope established by the known points.
Example 2: Extrapolating a future value
Question: A company has employees in month and employees in month . If this growth trend continues linearly, how many employees will the company have in month ?
Method:
- Identify the known points: and .
- Identify the target input: . Because is greater than the maximum known value of , this is extrapolation.
- Apply the formula:
- Calculate the result:
Answer: The company is predicted to have employees.
Check: The rate is employees per month. Month is months after month . Adding to the employees present in month gives .
State reliability and assumptions
Calculations within the data boundaries are generally reliable. However, extending a line blindly can lead to extreme errors. Real-world correlation often changes over time. A plant stops growing eventually, and a braking vehicle cannot drop below a speed of zero.
When interpreting data graphs, extrapolating too far past the known limits forces you to make an unsupported assumption that the future will behave exactly like the past.

Extrapolation produces large errors if the relationship naturally changes outside the observed limits.
Worked examples
Evaluating linear equations is straightforward mathematically, but the final answer must always be reviewed to ensure it is physically possible in the context of the problem.
Example 3: Extrapolating to an impossible result
Question: A hot air balloon is descending steadily. At minutes, its altitude is meters. At minutes, its altitude is meters. Using a linear model, what is its predicted altitude at minutes?
Method:
- Identify the points: and .
- The requested input is , which is beyond the known data. This is extrapolation.
- Substitute into the formula:
- Calculate the slope and prediction:
Answer: The formula predicts an altitude of meters.
Check: Since the balloon hits the ground at meters, a negative altitude is physically impossible. This shows the danger of blind extrapolation; the balloon would land and stop descending long before minutes.
Common mistakes
- Assuming linear trends continue forever: Natural phenomena rarely grow or shrink at a constant rate forever. Always verify if a ceiling or floor naturally restricts the data.
- Reversing and variables: Placing the predicted value in the wrong part of the formula causes incorrect results. The variable is normally the independent variable (like time), and is the dependent variable (like height or cost).
- Confusing the concepts: Remember that interpolation is internal ("inter"), while extrapolation is external ("extra").
Frequently asked questions
Is extrapolation ever useful?
Yes. Despite its risks, extrapolation is essential for forecasting. Economists, meteorologists, and scientists extrapolate current trends to predict future sales, track weather paths, or estimate population growth.
Do these methods only work for straight lines?
No. While linear interpolation is the most common and simple method, more advanced mathematics can interpolate and extrapolate using curves, exponential functions, and polynomials.
How accurate is an interpolated estimate?
Interpolation is typically very accurate if the data points are close together and the overall trend is smooth. The wider the gap between the known points, the more room there is for the actual data to deviate from a straight-line estimate.
Practice questions

Based on the graph, which of the following statements is true?
Both P and Q represent interpolation estimates.
Point P represents interpolation, and Point Q represents extrapolation.
Point P represents extrapolation, and Point Q represents interpolation.
Both P and Q represent extrapolation estimates.
Point P represents interpolation, and Point Q represents extrapolation.
A researcher measures grams of a substance at minutes and grams of the substance at minutes. Assuming a linear relationship, what is the interpolated estimate at minutes?

Using the graph, what is the linearly extrapolated speed at seconds?
Why is extrapolation generally considered less reliable than interpolation?
Extrapolation uses a completely different and more complex mathematical formula.
It only works when the observed data points have a negative correlation.
Interpolation is guaranteed to give exact, perfectly accurate real-world results.
The observed pattern or trend may change abruptly outside the known data limits.
The observed pattern or trend may change abruptly outside the known data limits.
A bank account balance is dropping at a constant linear rate. The balance is dollars in month and dollars in month . If you extrapolate the balance to month , which of the following best describes the result?
The calculation predicts exactly dollars.
The calculation yields a mathematically impossible or highly unlikely negative balance.
The result is mathematically identical to an interpolation estimate.
The rate of change becomes positive because extrapolation reverses the line direction.
The calculation yields a mathematically impossible or highly unlikely negative balance.
