Demand Planning
Distribution
ERP
Inventory Management
Supply Chain Management
Moving Average Forecast: Simple vs Weighted With a Demand Planning Example

Last updated: December 2, 2026 · Independent guide · We do not sell rankings or coverage.
A distributor shipped 490, 505 and 480 cases of one SKU in October, November and December. A 3-month simple moving average says to plan 492 cases for January, a 6-month average of the same history says 474, and a weighted version that counts December most heavily says 490. The 18-case spread comes from two choices: how many periods you average and how much weight the latest ones get.
A moving average forecast predicts next period’s demand as the average of the most recent n periods of actual demand. Each month the oldest period drops out and the newest one comes in. The simple version weights every period equally; the weighted version gives recent periods more weight.
The four formulas
- 3-month simple: (Dt-1 + Dt-2 + Dt-3) ÷ 3
- 6-month simple: sum of the last six months ÷ 6
- 3-month weighted: 0.5 × Dt-1 + 0.3 × Dt-2 + 0.2 × Dt-3 (weights must add to 1)
- 6-month weighted: weights of 6, 5, 4, 3, 2 and 1, newest first, divided by 21
- MAD: the average of |actual − forecast| over the periods you test
Free report
Wholesale Distribution Benchmark Report
How your distribution business compares with peers on key performance measures.
The demand series used in every example
The figures below are an illustration: monthly shipments of one SKU at a distributor, in cases. Demand is flat from January to June and climbs in the second half, which is where the choice of method matters most.
| Month | Cases shipped | Month | Cases shipped |
|---|---|---|---|
| January | 410 | July | 455 |
| February | 385 | August | 470 |
| March | 440 | September | 445 |
| April | 420 | October | 490 |
| May | 395 | November | 505 |
| June | 430 | December | 480 |
January forecast from each moving average
Each card forecasts January from the history above. In practice you round to whole cases or your pack size.
1. 3-MONTH SIMPLE
(490 + 505 + 480) ÷ 3 = 1,475 ÷ 3
491.7
2. 6-MONTH SIMPLE
(455 + 470 + 445 + 490 + 505 + 480) ÷ 6 = 2,845 ÷ 6
474.2
3. 3-MONTH WEIGHTED
0.5 × 480 + 0.3 × 505 + 0.2 × 490 = 240 + 151.5 + 98
489.5
4. 6-MONTH WEIGHTED
(6×480 + 5×505 + 4×490 + 3×445 + 2×470 + 1×455) ÷ 21 = 10,095 ÷ 21
480.7
The 6-month forecasts are lower because they still include July and September, which were below the recent run rate. The 3-month weighted forecast is below the simple one because December (480) was the smallest of the last three months and carries half the weight.
Testing the methods against July to December actuals
To choose a method, forecast each past month from the history available at the time and compare it with what shipped. July is the first month where all four methods have enough history (error = actual − forecast).
| Month | Actual | 3-month simple (error) | 3-month weighted (error) |
|---|---|---|---|
| July | 455 | 415.0 (+40.0) | 417.5 (+37.5) |
| August | 470 | 426.7 (+43.3) | 435.5 (+34.5) |
| September | 445 | 451.7 (−6.7) | 457.5 (−12.5) |
| October | 490 | 456.7 (+33.3) | 454.5 (+35.5) |
| November | 505 | 468.3 (+36.7) | 472.5 (+32.5) |
| December | 480 | 480.0 (0.0) | 488.5 (−8.5) |
Averaging the absolute errors gives the mean absolute deviation (MAD). Bias is the plain average of the errors; a positive bias means the forecast ran low. Simple exponential smoothing (SES) is added for comparison, started with January’s actual as February’s forecast.
| Method | January forecast | MAD, July to December | Bias |
|---|---|---|---|
| 3-month simple | 491.7 | 26.7 | +24.4 |
| 3-month weighted (0.5/0.3/0.2) | 489.5 | 26.8 | +19.8 |
| 6-month weighted (6 to 1) | 480.7 | 29.6 | +29.6 |
| 6-month simple | 474.2 | 37.8 | +37.8 |
| SES, alpha 0.5 | 483.6 | 26.9 | +21.7 |
| SES, alpha 0.3 | 473.6 | 32.2 | +32.2 |
Every method has a positive bias, because an average of past months trails a rising series. The 6-month simple average was too low in all six months, and its MAD of 37.8 cases is about 8% of average monthly demand over the test period (474.2 cases), against about 5.6% for the 3-month simple average.
Weighting did not clearly win. The 3-month weighted average cut the bias from +24.4 to +19.8 but finished with almost the same MAD, because it overreacted to the September dip. In the flat months of April to June the effect runs the other way: the 3-month simple average had a MAD of 13.3 cases and the weighted version 15.0, since extra weight on the latest month amplifies noise. Six test months is a small sample, so treat a gap of a case or two as a tie and rerun the test each quarter.
Building the forecasts in Excel or Google Sheets
With months in column A and demand in column B (row 2 for January through row 13 for December), the January forecasts are:
- 3-month simple: =AVERAGE(B11:B13)
- 6-month simple: =AVERAGE(B8:B13)
- 3-month weighted: =SUMPRODUCT(B11:B13,{0.2,0.3,0.5}) with the weights ordered oldest to newest to match the range
- Absolute error for a past month: =ABS(B9-C9), where column C holds that month’s forecast; MAD is the AVERAGE of those cells
Keep the weights in their own cells so you can test 0.6/0.3/0.1 against 0.5/0.3/0.2 without editing every row. Excel’s FORECAST.ETS function uses the AAA version of exponential smoothing and can detect seasonality automatically, but Microsoft’s page states it is not available in Excel for the web, iOS or Android (Microsoft Support, no date shown).
When exponential smoothing is the better choice
SES updates the last forecast by a share (alpha) of the last error: new forecast = old forecast + alpha × (actual − old forecast). Every past month keeps some weight, shrinking the further back it sits. Robert Nau of Duke University compares the two by the average age of the data: (n + 1) ÷ 2 for an n-period simple moving average and 1 ÷ alpha for SES, so a 9-month average and SES at alpha 0.2 both lag by about five periods (Nau, Duke University, no date shown). By that measure a 3-month average matches alpha 0.5, and the two scored almost the same MAD above.
Switch to exponential smoothing when one or more of these applies:
- You forecast thousands of SKUs. SES needs only the last forecast and last actual per item, and one alpha replaces a window length and a set of weights.
- Demand has a trend. SES lags a trend as a moving average does (note the +32.2 bias at alpha 0.3), so use a trend-adjusted method such as Holt’s. Hyndman and Athanasopoulos state that simple exponential smoothing “is suitable for forecasting data with no clear trend or seasonal pattern” (Forecasting: Principles and Practice, 2nd ed., no date shown).
- Demand is seasonal. Neither a moving average nor SES models a seasonal peak. Use a seasonal method such as Holt-Winters or FORECAST.ETS with seasonality on.
Moving averages still suit mature, stable items. JD Edwards’ documentation says its moving average lags trends and “works better for short range forecasts of mature products than for products that are in the growth or obsolescence stages of the life cycle” (Oracle JD Edwards EnterpriseOne 9.2, November 24, 2023).
Moving average options in NetSuite, Acumatica, SAP and Business Central
- NetSuite demand planning offers Linear Regression, Moving Average, Seasonal Average and Sales Forecast projection methods. Its moving average uses a historical duration you set, and “the same average is used for all projected periods” (Oracle NetSuite Help, no date shown). It describes no weighting option. Our NetSuite Advanced Inventory guide covers the demand plan setup.
- Acumatica lists Moving Average as its replenishment demand forecast model, with a period type, a number of periods to analyze, a service level that defaults to 84% and seasonality settings (MYOB Acumatica Help, no date shown). The page describes no exponential smoothing option.
- SAP ERP forecasting includes a weighted moving average model whose factors must add to 1, held in a weighting group that applies factors to specific prior periods (SAP Help, Weighted Moving Average Model, no date shown; SAP Help, Weighting Group, no date shown). These pages are older SAP ERP documentation, so confirm the setup in your S/4HANA release.
- Business Central forecasts through its Sales and Inventory Forecast extension, which sends history to Azure AI. Microsoft describes no moving average option and notes the service makes no prediction when data is too thin or too variable (Microsoft Learn, April 9, 2026).
The forecast sets the average demand in your reorder point, and the spread of forecast errors sets safety stock; our service level formula guide covers that conversion. Our inventory replenishment software guide compares ERP replenishment with dedicated planning tools.
A moving average forecast is not moving average cost
A moving average forecast estimates future units of demand. Moving average cost (perpetual weighted average cost) is an inventory valuation method that recalculates an item’s unit cost after each receipt, and it drives cost of goods sold, not purchase quantities. A “moving average” setting in an item’s costing method field has no effect on the demand forecast. Our weighted average cost formula guide covers the costing method.
Free report
The Fill Rate Problem: Why Distributors Lose Their Best Customers
Why fill rates slip, how that costs distributors their best customers, and how to fix it.
How we researched this
We read the top-ranking pages for this term, including JD Edwards documentation, Robert Nau’s Duke notes, a John Galt Solutions page (a planning software vendor) and a Train in Data tutorial (a course seller). None scores simple and weighted versions on one series, shows the bias a trend creates, or compares how ERP systems implement the method. We used vendor documentation from Oracle, MYOB Acumatica, SAP and Microsoft, checked on November 29, 2026. The demand series is our own illustration, and every figure was computed in code.
Related guides
- Lead Time Formula: Supplier, Manufacturing and Customer
- Service Level Formula: Cycle Service Level vs Fill Rate
- Economic Order Quantity (EOQ): Formula and Calculator
Frequently asked questions
Is a 3-month or 6-month moving average better for demand forecasting?
A 3-month average reacts faster to a change in demand, and a 6-month average smooths out more noise. In the illustration above, the 3-month average had a MAD of 26.7 cases against 37.8 because demand was rising. Test both on your own history before choosing.
What is MAD in forecasting?
Mean absolute deviation is the average of the absolute differences between actual demand and forecast over a set of periods. It is in units, so a MAD of 26.7 means the forecast missed by about 27 cases a month on average. Planners use it to compare methods and to check whether a forecast is getting worse over time.
Why does my moving average forecast keep coming in low?
Your demand is probably trending upward. Any average of past periods trails a rising series, which shows up as a consistently positive bias. Shorten the window, use a weighted average, or move to a trend-adjusted method such as Holt’s exponential smoothing.
Sources
- Oracle NetSuite Help, Calculating Item Demand, no date shown; checked November 29, 2026. docs.oracle.com
- Oracle JD Edwards EnterpriseOne 9.2, Example: Method 4: Moving Average, November 24, 2023. docs.oracle.com
- MYOB Acumatica Help, Configuration of Replenishment: Demand Forecast Model, no date shown. help.myob.com.au
- SAP Help, Weighting Group, no date shown. help.sap.com
- SAP Help, Weighted Moving Average Model, no date shown. help.sap.com
- Microsoft Learn, The Sales and Inventory Forecast extension, April 9, 2026. learn.microsoft.com
- Microsoft Support, FORECAST.ETS function, no date shown. support.microsoft.com
- Robert Nau, Duke University, Averaging and smoothing models, no date shown. people.duke.edu
- Rob J. Hyndman and George Athanasopoulos, Forecasting: Principles and Practice, 2nd ed., Section 7.1 Simple exponential smoothing, no date shown. otexts.com
- John Galt Solutions (sells planning software), Moving Average, no date shown. johngalt.com
- Train in Data (sells courses), Moving Average Forecasting: What You Need to Know, September 12, 2025. blog.trainindata.com