All challenges and every certification for $9 a month. And learn to build, buy and guide AI agents for supply chain: https://www.skool.com/supplychain

Moving Average and Exponential Smoothing: Two Forecasting Methods on One Example

Published November 14, 2026

New here? Play what you are reading about. The first 5 challenges are free, no card needed. Create a free account and start.

A moving average forecasts next period as the average of the last n periods. Exponential smoothing forecasts next period as the last forecast plus a fraction α of the last error: New forecast = old forecast + α × (actual − old forecast). Both smooth out random noise; exponential smoothing gives more weight to recent periods and needs only the last forecast to update.

They are the two simplest statistical forecasting methods, and still the base of many planning systems. This guide calculates both on the same eight months of data and compares them.

The data

Monthly demand for a product:

Month 1 2 3 4 5 6 7 8
Demand 200 215 190 230 225 240 210 250

Method 1: three-month moving average

Forecast for month t = (demand in t−1 + t−2 + t−3) / 3

  • Forecast for month 4 = (200 + 215 + 190) / 3 = 201.7
  • Forecast for month 5 = (215 + 190 + 230) / 3 = 211.7
  • Forecast for month 6 = (190 + 230 + 225) / 3 = 215.0
  • Forecast for month 7 = (230 + 225 + 240) / 3 = 231.7
  • Forecast for month 8 = (225 + 240 + 210) / 3 = 225.0
  • Forecast for month 9 = (240 + 210 + 250) / 3 = 233.3

A longer average (six months) is smoother but reacts more slowly. A shorter one (two months) reacts faster but follows the noise.

Method 2: exponential smoothing with α = 0.3

New forecast = old forecast + 0.3 × (actual − old forecast)

To start, set the first forecast equal to the first actual: forecast for month 1 = 200.

Month Actual Forecast Error Next forecast
1 200 200.0 0 200.0
2 215 200.0 15 204.5
3 190 204.5 −14.5 200.2
4 230 200.2 29.8 209.1
5 225 209.1 15.9 213.9
6 240 213.9 26.1 221.7
7 210 221.7 −11.7 218.2
8 250 218.2 31.8 227.7

Forecast for month 9 = 227.7

The choice of α decides how fast the forecast reacts:

  • α close to 0 (0.1): very smooth, slow to follow changes
  • α close to 1 (0.7 or more): follows the latest month closely, including its noise

Many systems use values between 0.1 and 0.3, or search for the α with the lowest error on history.

Comparing the two

Mean absolute deviation (MAD) over months 4 to 8:

Month Actual Moving average Abs. error Exp. smoothing Abs. error
4 230 201.7 28.3 200.2 29.8
5 225 211.7 13.3 209.1 15.9
6 240 215.0 25.0 213.9 26.1
7 210 231.7 21.7 221.7 11.7
8 250 225.0 25.0 218.2 31.8
MAD 22.7 23.1

The two are close here. Both forecasts trail behind the actuals in most months, because demand is trending upwards and both methods assume a flat level. That is the main weakness of both.

When demand has a trend or seasonality

  • Trend: use double exponential smoothing (Holt's method), which also tracks the slope.
  • Seasonality: use triple exponential smoothing (Holt-Winters), which adds a seasonal factor for each month or week.
  • Promotions and events: add them separately; no smoothing method predicts a promotion it has not been told about.

Exercise

Demand for four weeks is 100, 120, 110, 130. Using exponential smoothing with α = 0.5 and a first forecast of 100, what is the forecast for week 5?

Solution

  • Week 1: forecast 100, actual 100 → next 100
  • Week 2: forecast 100, actual 120 → next 100 + 0.5 × 20 = 110
  • Week 3: forecast 110, actual 110 → next 110
  • Week 4: forecast 110, actual 130 → next 110 + 0.5 × 20 = 120
  • Forecast for week 5 = 120

Questions people ask

What is the difference between moving average and exponential smoothing?
A moving average weights the last n periods equally and ignores everything older. Exponential smoothing weights all past periods, with weights that fall off the further back they are.

What is a good alpha for exponential smoothing?
Often between 0.1 and 0.3. Choose it by testing which value gave the lowest error on your own history.

Which is better?
Neither in general. For flat, noisy demand both work. For trends or seasonality, use their extended versions.

Practise it

Play Supply Chain's planning challenges let you forecast and see the stock your errors create. Start with the free challenges.

Related reading

Don't just read about supply chains. Play them.

  • The first 5 challenges are free, with the same game engines and debriefs as Premium
  • Your stars and your level are saved to your profile
  • No credit card, no spam

More in Planning

The first 5 challenges are free, no card needed.

Create a free account