Extrapolation is an inexpensive and effective method you can use to predict future values and trends in data, as well as gain insight into the behavior of complex environments. Extrapolation is especially helpful for time series and geospatial analysis due to the technique’s ability to take into account the impact of temporal and spatial factors on the data.

Using extrapolation techniques, you can calculate unobserved values by extending a known sequence of values in the data set

Extrapolation vs. Interpolation: What’s the Difference?

Extrapolation is often mistaken for interpolation. The two use the same techniques to estimate unknown values but differ in some key areas. If the estimated values are derived within two known values, then it’s an interpolation. However, if the predicted values fall outside of the data set, then it’s extrapolation.

Extrapolation image of an illustration of extrapolation versus interpolation
An image demonstrating the difference between interpolation and extrapolation. | Image: Abdishakur Hassan

More From the Built In Tech DictionaryWhat Is Statistical Analysis?

 

Common Extrapolation Methods

There are different types of extrapolation for predicting and evaluating trends in data. The following two are the most widely used extrapolation methods.

  1. Linear Extrapolation: This is the most basic form of extrapolation that uses a linear equation to predict future outcomes. This method is best suited for predictions close to the given data. We simply draw a tangent line from the last point to extend it beyond the known values.
  2. Polynomial Extrapolation: This method uses a polynomial equation to make predictions about future values. We use polynomial extrapolation when the data points exhibit a non-linear trend. This is more complex than linear extrapolation and we can use it to make more accurate predictions.

More From This Expert4 Tools to Speed Up Exploratory Data Analysis (EDA) in Python

 

How Does Extrapolation Work?

Extrapolation is basically a forecasting method common in time series analysis. The following example uses linear extrapolation to predict sales. 

Let’s take an example of a company’s sales in 2020 and 2021, then extrapolate what the sales will be in 2022. 

extrapolation sample chart showing that in 2020 sales were $10,000 and in 2021 sales were $12,543

To find the value of 2022 using extrapolation, with the given sales records of the past two years, we first need to calculate the slope. 

m = (y2 - y1) / (x2 - x1)

After that, we apply a line equation. 

(y = y1 + m · (x - x1))

We can then find the extrapolated value for 2022 by plugging the values into the equations above. We conclude that sales will be $15,086.

Extrapolation image of a graph showing the projected sales increasing year over year
Extrapolation example with sales records. | Image: Abdishakur Hassan
Find out who's hiring.
See all Data + Analytics jobs at top tech companies & startups
View 2905 Jobs

 

What Are the Benefits of Extrapolation? 

Extrapolating is a powerful tool to help us make data-informed predictions and understand trends. Here are some reasons why we use extrapolation methods.

  • If we’re worried that expert forecasts are biased but we don’t know much about the situation, extrapolation might be the best option.
  • Extrapolation is inexpensive and straightforward, which means you can run the modeling as much as you need to in order to have multiple predictions.
  • When you’re looking at multiple scenarios that are an important element in the forecast, such as economic trends and change policies, extrapolation can help the process.
  • Extrapolation can help identify potential risks or future opportunities.
  • Extrapolation helps you identify patterns in data and make informed decisions.
What Are Interpolation and Extrapolation? | Video: Mario’s Math Tutoring

 

What Are the Risks of Extrapolation? 

Although the process of extrapolation is simple and straightforward, its accuracy and reliability depend on the trends present in the data set. Thus, careful consideration of the data set and the values it contains can help you mitigate larger errors in forecasting future trends. It’s also essential to use various methods when extrapolating to help reduce errors and ensure that the extrapolation is based on a complete and accurate understanding of the data.

Expert Contributors

Built In’s expert contributor network publishes thoughtful, solutions-oriented stories written by innovative tech professionals. It is the tech industry’s definitive destination for sharing compelling, first-person accounts of problem-solving on the road to innovation.

Learn More

Great Companies Need Great People. That's Where We Come In.

Recruit With Us