Home
Demand Forecasting: Moving Averages, Exponential Smoothing and Measuring Accuracy
Production Planning

Demand Forecasting: Moving Averages, Exponential Smoothing and Measuring Accuracy

Read in another language

To avoid both overproduction and stockouts, you need a demand forecast that estimates how much will sell. This article walks through the main methods with worked examples, plus the metrics to review a forecast that missed.

Why forecast demand?

Buying parts and producing take time. If you wait for an order before arranging materials, you will rarely meet the delivery date the customer wants. Forecasting lets you estimate how much is likely to sell before orders arrive, and prepare in advance.

A forecast that is too high bloats inventory; one that is too low causes stockouts and rush jobs. Every forecast is wrong to some degree. What matters is keeping the error small and being able to correct quickly when it misses.

The main forecasting methods

MethodIdeaBest for
Simple moving averageAverage of the last n periodsStable demand with no clear trend
Weighted moving averageNewer periods get more weightDemand that drifts gradually
Exponential smoothingAdjusts the last forecast by part of its errorDemand you want to track closely
Seasonal indexTurns each month’s deviation from average into a factorSeasonal demand
RegressionModels the link to drivers such as temperature or priceDemand with clear causes
Against actual sales (grey), the moving average lags behind, while exponential smoothing reacts faster or slower depending on α
Against actual sales (grey), the moving average lags behind, while exponential smoothing reacts faster or slower depending on α

Try the calculations

Simple moving average

If sales over the last three months were 100, 120 and 110 units, next month’s forecast is:

(100 + 120 + 110) ÷ 3 = 110 units

It is simple and easy to explain, but when demand is rising the forecast always lags and runs low.

Exponential smoothing

Exponential smoothing takes the last forecast and adds part of its error.

Next forecast = last forecast + α × (last actual − last forecast)

With a last forecast of 105, an actual of 120 and α = 0.3, the result is 105 + 0.3 × (120 − 105) = 109.5 units. α is between 0 and 1. The larger it is, the more it reacts to the latest actual; the smaller, the steadier. Starting with 0.1 to 0.3 is common.

Measuring forecast accuracy

Do not stop at “right” or “wrong”. Review the forecast with numbers. The most common metric is MAPE (mean absolute percentage error).

MAPE = Σ(|actual − forecast| ÷ actual) ÷ number of periods × 100 (%)

The smaller the MAPE, the better. Also check for bias: is the error always positive or always negative? If so, revisit the method or the assumptions.

Practical tips for better forecasts

  • Combine statistics with human input: add sales’ knowledge of campaigns and large deals on top of the statistical forecast.
  • Treat items differently: forecast high-revenue A items carefully and use simple methods for the long tail of C items.
  • Choose the right level: forecasts by product family or by month are more accurate than by individual item.
  • Use customer forecasts: in industries such as automotive parts, customers often send their production schedules in advance.

Key points

  • Forecast so you can prepare before orders arrive
  • Match the method to the demand pattern: stable, trending or seasonal
  • A larger α in exponential smoothing reacts more to the latest actual
  • Review accuracy with MAPE and bias, and combine with sales information

Check your understanding

Test what you just read with 3 questions. Missed ones come back for spaced review in My learning.

  1. Q1Planning (Grade 3)

    Sales of a product over the last three months were 100, 120, and 110 units. Using a 3-month simple moving average, what is the forecast for next month?

    Show answer and explanation

    Answer: B — 110 units

    A simple moving average is the average of the actual results for the most recent n periods. (100 + 120 + 110) ÷ 3 = 110 units.

  2. Q2Planning (Grade 3)

    Using exponential smoothing, if last month's forecast was 100 units, last month's actual was 120 units, and the smoothing constant α is 0.2, what is this month's forecast?

    Show answer and explanation

    Answer: B — 104 units

    The exponential smoothing formula is "new forecast = previous forecast + α × (previous actual − previous forecast)". 100 + 0.2 × (120 − 100) = 104 units. The larger α is, the more sensitively the forecast reacts to recent actuals.

  3. Q3Planning (Grade 3)

    Which indicator of demand forecast accuracy is the average of the absolute values of forecast errors?

    Show answer and explanation

    Answer: C — MAD (mean absolute deviation)

    MAD is the average of "|actual − forecast|" and shows how far forecasts were off. Dividing the error by the actual and expressing it as a percentage gives MAPE. These are used to decide whether to revise the forecasting method.

Take the full drill for this topic My learning

A production management study notebook for everyone on the shop floor.

Production Planning · Part 1 of 3