Moving Average Forecast Calculator

Calculate a simple moving average demand forecast by averaging the last N periods. Smooth out noise and project the next period's demand.

Enter demand per period, e.g.: 80, 95, 130, 160
1.65 = 95%, 1.96 = 97.5%, 2.33 = 99%
Next Period Forecast
138.3
Based on last 3 periods
Mean Absolute Error
34.44
Average absolute forecast error
RMSE
37.85
Root mean squared error
MAPE
28.6%
Mean absolute percentage error
Forecast Bias
4.81
Under-forecasting tendency
Safety Stock
62.5
Units buffer at z=1.65
Reorder Point
200.8
Forecast + safety stock
Demand Range
80 - 160
Avg: 119.2, Std: 26.5

Demand Visualization

P1
80
P2
95
P3
130
P4
160
P5
140
P6
110
P7
85
P8
90
P9
125
P10
155
P11
145
P12
115
Actual Moving Avg

Forecast with Confidence Intervals

PeriodForecastLower BoundUpper BoundInterval Width
P13138.375.9200.8124.9
P14138.350.0226.7176.7
P15138.330.2246.5216.3

Accuracy Metrics

MetricValueInterpretation
MAE34.44Avg units off per period
RMSE37.85Penalizes large errors more
MAPE28.6%Reasonable accuracy
Bias4.81Systematic under-forecast
Planning notes, formulas, and examples

About the Moving Average Forecast Calculator

The Simple Moving Average (SMA) is one of the most straightforward demand forecasting methods. It calculates the average demand over the last N periods and uses that average as the forecast for the next period. By averaging multiple periods, random fluctuations are smoothed out, revealing the underlying demand trend.

The key parameter is N — the number of periods to include. A larger N produces a smoother forecast that is less responsive to recent changes. A smaller N tracks recent demand more closely but is more volatile. Choosing the right N depends on the stability of demand and how quickly you need the forecast to react.

This calculator lets you enter demand values for up to 12 periods and choose the number of periods (N) to average. It outputs the forecast for the next period along with the average demand value.

Use the result to compare operating scenarios, pressure-test assumptions, and rerun the model when volumes, rates, or service targets change.

When This Page Helps

Simple moving averages are easy to understand, implement, and explain to stakeholders. They provide a reasonable baseline forecast for items with relatively stable demand. This calculator eliminates spreadsheet work, quickly computing the forecast from your demand history.

How to Use the Inputs

  1. Enter demand values for recent periods (up to 12 periods).
  2. Select the number of periods (N) to include in the average.
  3. The calculator uses the most recent N values.
  4. Review the forecast for the next period.
  5. Compare to actual demand as new data arrives to assess accuracy.
  6. Adjust N if the forecast is too sluggish or too reactive.
Formula used
Forecast = (D_{t-1} + D_{t-2} + ... + D_{t-N}) / N Where D_{t-i} is the demand i periods ago and N is the number of periods.

Example Calculation

Result: Forecast = 113.3

Using the last 3 periods: (105 + 120 + 115) / 3 = 340 / 3 = 113.3. The forecast for the next period is approximately 113 units.

Tips & Best Practices

  • Use N = 3–5 for volatile demand; N = 6–12 for stable demand.
  • SMA gives equal weight to all N periods — consider weighted or exponential smoothing if recent data matters more.
  • SMA lags behind trends; it works best for level demand without strong upward or downward trends.
  • Track forecast error (MAD, MAPE) to evaluate your choice of N.
  • Recalculate monthly or weekly as new demand data becomes available.
  • SMA is often used as a baseline to compare against more sophisticated methods.

When Simple Moving Averages Excel

SMA works best for items with relatively stable, stationary demand — no strong trend and no pronounced seasonality. Common examples include maintenance supplies, office products, and commodity components with predictable consumption patterns.

Limitations of SMA

SMA assigns equal weight to all N periods, meaning a demand spike several periods ago has the same influence as last period's demand. It also lags behind trends and ignores seasonality. For demand with these patterns, exponential smoothing or seasonal decomposition methods are more appropriate.

SMA as a Forecasting Baseline

Even when using advanced forecasting models, SMA serves as a useful benchmark. If a complex model cannot consistently beat a 3-period SMA, the added complexity may not be justified. Always compare sophisticated forecasts against simple baselines before deploying them.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A simple moving average calculates the arithmetic mean of the last N demand values. Each period has equal weight. It smooths out short-term fluctuations to reveal the general demand level.