Inventory Forecasting Methods: Formulas and a Worked Example

A woman studies printed sales charts at her desk, the sales history that inventory forecasting methods start from

The main inventory forecasting methods are the naive forecast, the moving average, exponential smoothing and the seasonal index, with judgement where history is missing. Each turns past sales into next month's demand. Which one fits depends on whether your sales follow a season, such as school terms or the festive season.

A forecast that lands close cuts two costs at once: sales lost to empty shelves, and the holding cost of stock that waits. Below, one product is forecast four ways, so you can see which method misses and why.

The methods at a glance

Five inventory forecasting methods
MethodFormulaUse it whenWhat it misses
NaiveNext month = this monthA steady seller with little historyAny seasonal change
Moving averageAverage of the last n monthsSteady demand with random ups and downsPeaks: it lags behind them
Exponential smoothingα × latest sales + (1 − α) × last forecastSteady demand, with more weight on recent monthsSeasons and trends
Seasonal indexThis year's level × the month's indexSales that repeat by seasonA pattern you have never seen
JudgementYour estimate from suppliers, customers and eventsNew products with no historyYour own optimism

The textbook Forecasting: Principles and Practice, by Rob Hyndman and George Athanasopoulos, sets out the naive and seasonal naive methods. Its chapter on simple exponential smoothing says the method suits data "with no clear trend or seasonal pattern".

One product, forecast four ways

For example, take a stationery shop in Mbarara that sells exercise books. In this example, schools reopen in February, May and September, and sales jump each time.

For example: exercise books sold last year, with each month's seasonal index
MonthBooks soldSeasonal index
January6000.61
February2,4002.44
March9000.92
April5000.51
May2,0002.03
June8000.81
July6000.61
August5500.56
September1,9001.93
October7000.71
November4500.46
December4000.41
Total11,80012.00

Each index is the month's sales divided by the average month, 983 books. February's 2.44 means February sells almost two and a half times an average month.

This January the shop sold 660 books, 10% more than last January. Here is February's forecast by each method.

For example: February forecast by four methods
MethodWorkingFebruary forecast
NaiveJanuary's sales660
3-month moving average(450 + 400 + 660) ÷ 3503
Exponential smoothing, α = 0.3Run month by month from last January697
Seasonal index(660 ÷ 0.61) × 2.442,640

February's sales came in at 2,700 in this example. The first three methods missed by about 2,000 books, because none of them knows that schools reopen. The seasonal index missed by 60.

The seasonal working has two steps. First, 660 ÷ 0.61 = 1,082 is this year's level for an average month. Then 1,082 × 2.44 = 2,640 is February's share of it.

Turn the forecast into an order

A forecast counts pieces, but your wholesaler sells cartons. Order quantity = forecast + safety stock − stock on hand, rounded up to full cartons.

For example: February's order of exercise books
StepWorkingResult
Forecast for FebruarySeasonal index2,640 books
Add safety stockThe shop's chosen buffer+ 400
Less stock on handCounted at the end of January− 300
Books needed2,640 + 400 − 3002,740
Cartons of 2002,740 ÷ 200 = 13.7, rounded up14 cartons, 2,800 books

Keep stock in pieces and let your system convert cartons on the way in. Then the forecast, the shelf and the till all count the same thing.

The trap in your sales history

Sales history records what you sold, not what customers wanted. If the books ran out on 20 February last year, the 2,400 understates February's demand.

Mark every month that had a stockout before you forecast, and raise it by judgement. Otherwise each year's shortage becomes next year's forecast.

From forecast to reorder point

The forecast says how much to buy; the reorder point says when. AccountingTools gives the basic reorder level as average daily usage × lead time, and warns that it assumes usage stays steady.

Three formulas, with a worked example
FormulaExampleResult
Lead time demand = average daily sales × average lead time20 × 10 days200 units
Safety stock = (maximum daily sales × maximum lead time) − (average daily sales × average lead time)(30 × 12) − (20 × 10)160 units
Reorder point = lead time demand + safety stock200 + 160360 units

An earlier version of this page gave 140 for that safety stock; 160 is correct. For maximum lead time, use your slowest recent delivery, not the supplier's promise.

The max-and-average rule is a rule of thumb. The full method is in how to avoid overstocking and stockouts and the reorder point formula.

Which method to use

  • A new product with no history: judgement. Ask the supplier how it sells elsewhere, order small, and review every week.
  • A steady seller such as sugar or soap: a 3-month moving average, or exponential smoothing if recent months matter more.
  • A seasonal line such as school supplies, festive goods or seed before the rains: a seasonal index built from last year.
  • A line that is growing or shrinking: compare this month with the same month last year, then apply that growth as the January step did.

Forecast your A items with care and the rest roughly. The 80/20 rule in inventory shows which items are A. Forecasting is one part of inventory management for a small business; for customer demand beyond stock, see demand forecasting.

How to forecast with ArmPOS

ArmPOS doesn't forecast for you. It keeps the sales history a forecast needs and turns your reorder point into a warning.

  1. Export the history. Open Reports › Product sales report for last year, search the product, and click EXCEL. Each line has the date and the Qty sold. See Sales reports.
  2. Find the seasonal groups. Run Sales by Category one month at a time to see which groups swing.
  3. Build the index in a spreadsheet, laid out like the tables above.
  4. Enter the reorder point as the product's Stock Alert. When stock falls to it, the product shows as low stock. See Add your first products.
  5. Check the list every day. The Product Quantity Alerts report lists everything at or below its alert. See Reports to check every day, and turn on alerts on your phone.
  6. Buy by the carton, sell by the piece. A unit built on Piece, such as a box of 12, takes 12 pieces off when one box sells. See Categories, brands and units.

Frequently asked questions

What is the simplest inventory forecasting method?

The naive forecast: next month equals this month. It works for steady sellers and fails at every seasonal turn.

How much sales history do I need?

At least one full year, so every season appears once. Two years give a steadier seasonal index.

How do I forecast a new product?

Use judgement: a similar product's sales, the supplier's figures from other shops, and a small first order. Switch to a moving average once you have three months of sales.

How often should I update the forecast?

Every month, and again before each known peak such as term opening or the festive season.

Your forecast is only as good as your sales record. Create a free ArmPOS account and every sale is kept by product and date, ready to export. Shops in Uganda can start from ArmPOS in Uganda.