Short-Term Demand Forecasting Example: One SKU, Real Numbers, One Reorder Decision

Most demand-forecasting articles explain the theory and stop. This one runs the numbers. We take a single stock item, six weeks of real sales, and walk it through a weighted moving average, weeks of cover, and a reorder point — until it produces one concrete decision: order now, or wait. If you can do it for one SKU on paper, you can see exactly what a system should be doing for all of them automatically.

OpsMavix 20 min read
A short-term demand forecasting worked example showing six weeks of unit sales, a weighted moving average forecast, and a reorder decision

This short-term demand forecasting example takes one hypothetical product, twelve weeks of sales and five simple methods, then checks which method would have forecast best before using it to make a purchasing decision. Every figure is illustrative, and every calculation is shown so you can repeat it in a spreadsheet for your own lines.

The practical problem is not a shortage of methods. It is choosing one without testing it, then trusting a single number with no idea how far it usually misses. A forecast that has been back-tested against recent weeks, with its error measured, tells you how much to order and how much buffer that order needs.

Stacked cardboard boxes on a metal shelf in a warehouse

A weekly forecast decides how much of each line should be on the shelf next month. Illustrative photograph, not an OpsMavix project.

Image credit: Ant Rozetsky, Unsplash License. No edits.

Key Takeaways

  • Short-term forecasting looks a few weeks ahead, per product, at the level you actually buy.
  • Always compare a method against a naive benchmark; a method that cannot beat “same as last week” is not earning its place.
  • Back-test every method on the same recent weeks, using only data that was available at the time.
  • MAD shows the typical miss in units, MAPE shows it as a percentage and bias shows whether you keep missing in one direction.
  • Averages lag a rising trend, so a consistently positive bias is a signal to review the method or adjust it.
  • The forecast becomes useful only when it turns into a reorder point, an order quantity and a safety stock sized from its error.

In this guide:

1. Set Up the Hypothetical SKU and Its History

The scenario

Consider a hypothetical wholesaler selling one steady line, a boxed consumable sold by the unit. The supplier delivers two weeks after an order is placed, and the buyer reviews stock every Monday. There were no stockouts, promotions or one-off bulk orders in the last twelve weeks. All figures in this guide are hypothetical.

Week 1 2 3 4 5 6 7 8 9 10 11 12
Units sold 52 48 55 60 50 58 62 57 65 61 68 64

The twelve weeks total 700 units, a plain average of 58.3 units a week. The first four weeks averaged 53.75 and the last four averaged 64.5, so demand is drifting upwards with week-to-week noise on top. That matters, because most simple averages are slow to follow a trend.

Why weekly and why per SKU

This guide differs from our broader demand forecasting for small business guide, which covers monthly forecasting, seasonality and known events. Here the focus is narrow: one product, weekly buckets and a fair test between methods.

Forecast at the level you buy. If you order a product weekly from one supplier, a weekly forecast for that product is the useful unit. A business-wide total, or a category average, cannot tell you how many of this line to order on Monday.

Set up a fair back-test

A back-test asks a simple question: if we had used this method in the past, how close would it have been? To make it fair, each forecast may use only the weeks before the week being forecast. The textbook Forecasting: Principles and Practice makes the same point: accuracy can only be judged on how a method performs on data it did not use.

Every method below forecasts weeks 5 to 12. Weeks 1 to 4 are used only as history, because the four-week averages need four weeks before they can start. Using the same eight test weeks for every method keeps the comparison like for like.

Data checklist before forecasting

  1. Units are recorded per week, not just sales value.
  2. Any week with zero stock on hand is flagged, because sales then understate demand.
  3. One-off bulk orders are recorded separately from normal demand.
  4. Returns are tracked as their own movement rather than netted into sales.
  5. Promotion weeks are tagged so they can be excluded or modelled separately.
  6. The product code has not changed during the history period.

2. Start With a Naive Benchmark

The method

The naive method sets the forecast equal to the last observed value. Forecasting: Principles and Practice describes it as one of several simple methods that serve as benchmarks: any more elaborate method should be compared with them.

In plain terms, the naive forecast for week 5 is whatever sold in week 4.

The worked numbers

Error is calculated as actual minus forecast. A positive error means the forecast was too low; a negative error means it was too high.

Week Actual Naive forecast Error Absolute error Absolute % error
5 50 60 -10 10 20.0%
6 58 50 8 8 13.8%
7 62 58 4 4 6.5%
8 57 62 -5 5 8.8%
9 65 57 8 8 12.3%
10 61 65 -4 4 6.6%
11 68 61 7 7 10.3%
12 64 68 -4 4 6.3%

The absolute errors add up to 50, so the mean absolute deviation (MAD) is 50 / 8 = 6.25 units. The naive forecast for week 13 is 64 units, last week’s figure.

The naive method follows the trend quickly, but it reacts fully to every random swing. When week 4 jumped to 60, it forecast 60 for week 5, which then sold 50.

3. Calculate a Simple Moving Average

The method

A simple moving average forecasts the next week as the mean of the last few weeks. A four-week moving average adds the latest four weeks and divides by 4. Each of those weeks gets an equal weight of one quarter.

The worked numbers

Week Actual Calculation Forecast Error Absolute % error
5 50 (52 + 48 + 55 + 60) / 4 53.75 -3.75 7.5%
6 58 (48 + 55 + 60 + 50) / 4 53.25 4.75 8.2%
7 62 (55 + 60 + 50 + 58) / 4 55.75 6.25 10.1%
8 57 (60 + 50 + 58 + 62) / 4 57.50 -0.50 0.9%
9 65 (50 + 58 + 62 + 57) / 4 56.75 8.25 12.7%
10 61 (58 + 62 + 57 + 65) / 4 60.50 0.50 0.8%
11 68 (62 + 57 + 65 + 61) / 4 61.25 6.75 9.9%
12 64 (57 + 65 + 61 + 68) / 4 62.75 1.25 2.0%

The absolute errors add up to 32, so MAD is 32 / 8 = 4.0 units, clearly better than the naive benchmark. The forecast for week 13 is (65 + 61 + 68 + 64) / 4 = 64.5 units.

What to notice

Six of the eight errors are positive. The average sits behind a rising series because it still gives a full quarter of the weight to a week that is four weeks old. On a flat product that lag hardly matters; on a growing one it produces a steady under-forecast.

Choosing the number of weeks is a trade-off. More weeks give a smoother forecast that reacts more slowly; fewer weeks react faster but pass on more noise. Test two or three lengths on your own history rather than assuming one is right.

4. Weight Recent Weeks With a Weighted Moving Average

The method

A weighted moving average gives recent weeks more influence. Here the latest week gets a weight of 4, the week before 3, then 2, then 1. The weighted total is divided by the sum of the weights, 4 + 3 + 2 + 1 = 10, so the weights effectively add up to one.

The forecast for week 5 is therefore (4 x 60 + 3 x 55 + 2 x 48 + 1 x 52) / 10 = (240 + 165 + 96 + 52) / 10 = 553 / 10 = 55.3 units.

The worked numbers

Week Actual Weighted total (4, 3, 2, 1) Forecast Error Absolute % error
5 50 240 + 165 + 96 + 52 = 553 55.3 -5.3 10.6%
6 58 200 + 180 + 110 + 48 = 538 53.8 4.2 7.2%
7 62 232 + 150 + 120 + 55 = 557 55.7 6.3 10.2%
8 57 248 + 174 + 100 + 60 = 582 58.2 -1.2 2.1%
9 65 228 + 186 + 116 + 50 = 580 58.0 7.0 10.8%
10 61 260 + 171 + 124 + 58 = 613 61.3 -0.3 0.5%
11 68 244 + 195 + 114 + 62 = 615 61.5 6.5 9.6%
12 64 272 + 183 + 130 + 57 = 642 64.2 -0.2 0.3%

The absolute errors add up to 31.0, so MAD is 31.0 / 8 = 3.875 units, about 3.9. The forecast for week 13 is (4 x 64 + 3 x 68 + 2 x 61 + 1 x 65) / 10 = (256 + 204 + 122 + 65) / 10 = 647 / 10 = 64.7 units.

What to notice

The weighted average follows the upward drift slightly better than the simple average, but it still under-forecasts in five of eight weeks. Weighting recent weeks reduces the lag without removing it.

The weights themselves are a choice. Weights of 4, 3, 2, 1 are easy to explain and audit. Heavier weights on the latest week move the method closer to the naive forecast, with the same tendency to chase noise.

5. Smooth Demand With Exponential Smoothing

Hand-drawn line graph on paper with a metal ruler and two pens

Plotting actual sales against each forecast makes lag and bias easy to see. Illustrative photograph, not an OpsMavix project.

Image credit: Isaac Smith, Unsplash License. No edits.

The method

Simple exponential smoothing makes each new forecast a weighted average of the latest actual and the previous forecast:

Next forecast = alpha x latest actual + (1 - alpha) x previous forecast

Alpha is the smoothing parameter, between 0 and 1. The same source explains that a small alpha gives more weight to older observations, while an alpha of 1 reproduces the naive forecast. It also notes that the method suits data with no clear trend or seasonal pattern, which is worth remembering for this rising series.

Start the calculation

The method needs a starting forecast. A simple convention, used here, is to take week 1’s actual of 52 as the forecast for week 2. The textbook instead estimates the starting level together with alpha, so software results can differ slightly from a hand calculation.

With alpha = 0.5, the first steps are:

  • Week 3 forecast = 0.5 x 48 + 0.5 x 52 = 24 + 26 = 50.0
  • Week 4 forecast = 0.5 x 55 + 0.5 x 50.0 = 27.5 + 25 = 52.5
  • Week 5 forecast = 0.5 x 60 + 0.5 x 52.5 = 30 + 26.25 = 56.25

With alpha = 0.2, week 3 is 0.2 x 48 + 0.8 x 52 = 51.2, week 4 is 0.2 x 55 + 0.8 x 51.2 = 51.96 and week 5 is 0.2 x 60 + 0.8 x 51.96 = 53.568.

The worked numbers

Forecasts below are rounded to one decimal place. Error measures in section 6 are calculated from the unrounded values.

Week Actual Forecast, alpha 0.2 Forecast, alpha 0.5
5 50 53.6 56.3
6 58 52.9 53.1
7 62 53.9 55.6
8 57 55.5 58.8
9 65 55.8 57.9
10 61 57.6 61.4
11 68 58.3 61.2
12 64 60.3 64.6
13 (next) Not yet known 61.0 64.3

With alpha 0.2, the forecast is smooth but falls well behind the trend: by week 12 it is still 3.7 units below actual sales. Alpha 0.5 tracks the series more closely. For a trending series, the textbook describes methods that add a trend component; the simple methods chapter also includes a drift benchmark.

6. Measure Forecast Error With MAD MAPE and Bias

Three measures and what each tells you

Measure How to calculate it What it tells the buyer
MAD (mean absolute deviation) Average of the absolute errors, in units The typical miss, ready to use in buffer sizing
MAPE (mean absolute percentage error) Average of absolute error divided by actual, as a % The typical miss relative to volume, for comparing lines
Bias (mean error) Average of actual minus forecast, keeping the sign Whether the method keeps missing in one direction

Forecasting: Principles and Practice calls MAD the mean absolute error (MAE). It also warns that percentage errors are infinite or undefined when an actual value is zero, and extreme when actuals are close to zero. For slow lines with zero weeks, use MAD in units instead of MAPE.

The comparison

Method MAD (units) MAPE Bias (units per week) Week 13 forecast
Naive 6.25 10.6% +0.5 64.0
Four-week moving average 4.0 6.5% +2.9 64.5
Weighted moving average (4, 3, 2, 1) 3.9 6.4% +2.1 64.7
Exponential smoothing, alpha 0.2 5.5 8.9% +4.6 61.0
Exponential smoothing, alpha 0.5 4.3 7.1% +2.0 64.3

As an example of the MAPE arithmetic, the weighted moving average’s eight absolute percentage errors add up to about 51.2%, and 51.2% / 8 = 6.4%. Its signed errors add up to +17.0, so bias is 17.0 / 8 = +2.1 units a week.

Reading the results

The weighted moving average has the lowest MAD and MAPE, with the four-week moving average close behind. On eight test weeks, the gap between 3.9 and 4.0 units is too small to call a decisive winner; what is clear is that both beat the naive benchmark and the slow alpha 0.2 setting.

Every method has a positive bias, because every one of them lags a rising series. The naive method has the smallest bias but the largest typical miss. The weighted average under-forecasts by about 2 units a week on average, which is worth acting on.

Track bias over time

A simple way to watch bias is a running total of errors divided by MAD, often called a tracking signal. For the weighted average, that is 17.0 / 3.875 = 4.4. A figure that keeps growing in the same direction, week after week, suggests the method no longer fits the line. Agree your own review threshold and check it each period, rather than reacting to a single week.

Error measurement checklist

  1. Calculate error as actual minus forecast, and keep the sign for bias.
  2. Measure on weeks the method had not seen when it made the forecast.
  3. Compare every method on the same test weeks.
  4. Use MAD for slow lines; use MAPE only where actuals are comfortably above zero.
  5. Recalculate error every period and keep the history.
  6. Review the method when bias stays on one side for several weeks.

7. Turn the Best Forecast Into a Reorder Decision

The inputs

The buyer chooses the weighted moving average, with a week 13 forecast of 64.7 units and a MAD of 3.875. Stock on hand is 120 units, with nothing already on order. The lead time is two weeks and stock is reviewed weekly. All figures remain hypothetical.

At 64.7 units a week, 120 units gives 120 / 64.7 = 1.85 weeks of cover, which is less than the two-week lead time.

Size safety stock from forecast error

A common approximation, for errors that are roughly normally distributed, is that the standard deviation of error is about 1.25 times MAD. Over a lead time of more than one period, the error is often scaled by the square root of the number of periods. These are simplifying assumptions; our safety stock calculation guide covers buffer sizing and service levels in more depth.

Step Calculation Result
Standard deviation of weekly error 1.25 x 3.875 4.84 units
Over a two-week lead time 4.84 x square root of 2 (1.414) 6.85 units
Safety stock for about 95% cycle service 1.65 x 6.85 11.3, rounded up to 12 units

This assumes an unbiased forecast. Because the weighted average under-forecasts by about 2 units a week, a buyer might add a small manual allowance or review the method, rather than rely on the formula alone.

Set the reorder point

Step Calculation Result
Demand during lead time 64.7 x 2 = 129.4 130 units, rounded up
Safety stock From the table above 12 units
Reorder point 130 + 12 142 units
Stock on hand plus on order 120 + 0 120 units
Decision 120 is below 142 Order now

Our guide on how to calculate reorder point explains the formula in more detail, and supplier lead time management shows how to measure the lead time from your own purchase records.

Work out how much to order

With weekly reviews, the order must cover the lead time plus one review period, plus safety stock. That gives an order-up-to level:

Step Calculation Result
Forecast demand over lead time plus review period 64.7 x 3 194.1 units
Order-up-to level 194.1 + 12 = 206.1 207 units, rounded up
Order quantity 207 - 120 87 units
Rounded to hypothetical cases of 24 87 / 24 = 3.6, so 4 cases 96 units

This is the logic behind a min/max inventory system, with the levels recalculated from the forecast each week rather than set once and left.

8. Choose How to Run the Forecast Every Week

Repeat the loop, not just the maths

The calculation above takes a few minutes for one product. The real work is repeating it every week: adding the latest sales, recalculating forecasts and error for each line, checking bias and updating reorder points. When that routine is skipped in busy weeks, the reorder levels go stale.

For example, if week 13 actually sells 70 units, the weighted forecast for week 14 becomes (4 x 70 + 3 x 64 + 2 x 68 + 1 x 61) / 10 = (280 + 192 + 136 + 61) / 10 = 66.9 units, and the reorder point should move with it.

Compare the options fairly

Approach Where it fits What to check
Configure a spreadsheet Few lines, one person maintaining it, clean sales exports Manual export effort, formula errors, version control and who updates it
Use forecasting in existing software Your stock or ecommerce system already holds clean sales history Which methods it offers, whether error is reported and whether outputs feed purchase orders
Packaged planning software Many lines, several locations or complex seasonality Integration with sales and stock data, total cost and the skills needed to run it
Focused custom application A clear gap between existing tools, such as error tracking or reorder suggestions Data access, support, maintenance and integration scope
Full ERP, packaged or custom Forecasting is one part of wider finance, purchasing and operations coordination Fit, migration, implementation effort and internal capacity

Many small businesses can run this method in a spreadsheet for a long time. Our guide to reorder point in Excel shows how to lay out the columns. Packaged tools can be a good fit where their methods and integrations match the way you buy; check what each edition actually includes before assuming a feature is there.

Weekly routine checklist

  1. Import last week’s unit sales per product.
  2. Flag stockout weeks, bulk orders and promotions.
  3. Recalculate the forecast and the error measures.
  4. Review lines where bias has stayed on one side for several weeks.
  5. Update safety stock, reorder points and order-up-to levels.
  6. Raise orders for lines at or below their reorder point.

Frequently Asked Questions

What is a short-term demand forecast?

It is an estimate of how many units of a specific product will sell over the next few weeks. It is mainly used to decide when to reorder and how much, so it should be calculated per product at the level you buy.

Which simple forecasting method is most accurate?

There is no universal winner. Back-test two or three methods on your own recent history, compare MAD and bias against a naive benchmark and use the method that performs best on each type of line.

What is the difference between MAD and MAPE?

MAD is the average miss in units. MAPE is the average miss as a percentage of actual demand. MAD is better for sizing buffers and for slow lines; MAPE is useful for comparing products with different volumes.

Why does a moving average under-forecast a growing product?

It averages past weeks, so on a rising series it always sits behind the latest level. A positive bias that persists is the warning sign. Weighting recent weeks reduces the lag, and trend-aware methods address it more directly.

What alpha should I use for exponential smoothing?

Test a few values on your own history. A low alpha gives a smoother, slower forecast; a higher alpha reacts faster but passes on more noise. In this hypothetical example, 0.5 performed better than 0.2 because the series was rising.

How many weeks of history do I need?

Enough to cover the averaging window plus a meaningful test period. This example used four weeks of history and eight test weeks, which is enough to illustrate the method but too short for a confident choice.

Can I use forecast error to set safety stock?

Yes, as a starting point. A common approximation converts MAD into a standard deviation and scales it by lead time and a service factor. Check the result against actual stockouts and review it when bias appears.

Can OpsMavix build a forecasting and reorder system?

Yes. OpsMavix can build focused applications or a full custom ERP, and can configure or integrate suitable existing tools where those approaches fit the requirements.

How OpsMavix Can Help

OpsMavix can review how sales history, stock levels and purchasing decisions connect today, then define the system scope needed to run forecasts, measure their error and turn them into reorder suggestions.

That may involve improving an existing spreadsheet, configuring tools you already use, connecting sales channels and stock through inventory automation or ecommerce inventory automation, supporting trade buying with a wholesale order management system, or developing a full custom ERP where wider coordination is needed.

Contact OpsMavix with one recent reorder decision, the sales records behind it and the handoff that creates the most rework. We can use that evidence to define requirements and a practical pilot.

#Demand Forecasting#Inventory Planning#Reorder Point#Safety Stock#Stock Control#Worked Example

Getting value from OpsMavix? Add us as a preferred source on Google — you'll see more of our operations content in your AI Overviews, AI Mode and Search.

Free · built for your business

Don't see your business in our demos?We'll build one for yours. Free.

Book a call with us and we'll build a demo for your business, for free. Not a generic tour: your products, your steps and your numbers, running on screen before you decide anything.

Free 30-min call first. If we're a fit, we build it and show it to you. No card, no pitch.

  1. 1
    Book a free call30 minutes. We learn how your business runs.
  2. 2
    We build your demoAround your products, your steps, your numbers.
  3. 3
    You see it runningYour own operation on screen. Then you decide.
WhatsApp us