Guide

Inventory forecasting for online sellers

How to forecast inventory per SKU per week: simple methods that work, lumpy items, stockout weeks, measuring the miss, and turning it into a buy.

Published by Skuvelo · Founded by Andrew Gladue, APICS CPIM and CSCP, nearly 20 years in supply-chain work · Updated

Inventory forecasting means putting a dated number on each SKU for each coming week: how many units you expect to ship. You forecast inventory by cleaning your shipped-unit history, picking a simple method that fits how the item sells, adjusting for the season, and then checking that number against the stock you hold and the orders you have already promised.

The forecast is not the goal; the buy it drives is.

What a forecast is for

A planner needs one thing from a forecast: a quantity per SKU per week, far enough out to cover the supplier's lead time plus the gap until your next order. If your supplier takes six weeks and you place orders every Monday, you need at least seven weeks of forecast for every item you buy from them. Anything shorter means the purchase order is sized by guesswork.

Three rules keep the number honest:

  • Date demand by ship date, not order date. Stock leaves the shelf when the order ships. A preorder taken in October and shipped in December is December demand for planning, even though the sale was booked in October.
  • Forecast units, not revenue. Price changes and discounts move revenue without moving the shelf. Plan in units and convert to dollars at the end.
  • Keep on-hand as one number. On-hand is what is physically on your shelves right now. Purchase orders and open customer orders are separate lines with their own dates. Folding either into "on hand" hides when stock actually arrives and when it actually leaves.

Simple methods that work

Most SKUs at a $1M to $20M store do not need a complex model. They need a simple one applied consistently, with the history cleaned first. Hyndman and Athanasopoulos cover all of these in Forecasting: Principles and Practice, the standard free textbook.

Moving average

Average the last few weeks and use that as next week's number. A 4-week moving average reacts to a change within a month. An 8- or 12-week average is steadier but slower. It fits steady sellers with no strong season: refills, consumables, core basics.

It lags a trend and knows nothing about the calendar: a moving average taken in early November will undercall December.

Seasonal naive: last year's same weeks

The seasonal naive method sets each forecast equal to the value from the same season last year, the same week a year earlier for weekly data. It is the right starting point for anything gift-driven or weather-driven. Its weakness is the mirror image of the moving average: it carries last year's level forward, so a SKU that has grown 25% since last year gets a forecast 20% below what it will actually sell.

The fix most planners use is to combine the two. Take this year's recent level from the moving average, and take the shape of the coming weeks from last year. The worked example below does exactly that.

Exponential smoothing

Exponential smoothing is a weighted average where recent weeks count more and older weeks fade away. The textbook puts it this way: forecasts from exponential smoothing "are weighted averages of past observations, with the weights decaying exponentially as the observations get older." In a spreadsheet it is one line:

next forecast = alpha × last week's actual + (1 − alpha) × last week's forecast

An alpha of 0.1 to 0.3 suits most weekly SKU data. Higher alpha chases noise; lower alpha is slow to follow a real change. Holt's and Holt-Winters' versions add a trend term and a seasonal term.

Which to use

  • Steady seller, little season: 8-week moving average or simple exponential smoothing.
  • Clear season, at least a year of clean history: recent level times last year's weekly shape.
  • Growing or shrinking item: exponential smoothing with a trend (Holt's method). A short moving average follows the change sooner but still trails it.
  • Less than a few months of history: see how to forecast demand for a new product. Borrowing a similar item's curve beats any method run on six data points.

Lumpy and intermittent items

Some SKUs sell zero most weeks and then 30 at once: spare parts, large sizes, wholesale-driven items. A moving average on these produces a small number every week that is never right, and a reorder point built on it is either always too high or always too low.

Two measures tell you which kind of item you have:

  • ADI (average demand interval): the average number of weeks between weeks that had any sales. An ADI of 1 means it sells every week. An ADI of 4 means roughly one week in four.
  • CV² (squared coefficient of variation): how much the size of the non-zero weeks varies. Take the standard deviation of the non-zero weeks, divide by their average, and square it.

The usual cut-offs (from Syntetos, Boylan and Croston) are ADI 1.32 and CV² 0.49. Below both, the item is smooth and the simple methods above work. High ADI with steady sizes is intermittent. High CV² alone is erratic. Both high is lumpy.

For intermittent and lumpy items, use Croston's method. Instead of averaging the weeks, it forecasts two things separately: how big an order is when one comes, and how many weeks pass between orders. The weekly forecast is size divided by interval. If orders average 24 units and arrive every 6 weeks, plan for 4 units a week on average, and keep at least one typical order (24 units) on the shelf, because demand arrives as a whole order, not 4 a week. The textbook's chapter on count data notes that Croston forecasts "are also known to be biased," citing Syntetos and Boylan. Their correction, called SBA, multiplies Croston's result by (1 − alpha ÷ 2), trimming the slight overcall.

If one wholesale buyer drives a lumpy item, a call about their next order beats any model.

A stockout week is not a zero-demand week

This is the blind spot that costs sellers the most. When an item is out of stock for part of a week, your shipped units fall, and every method above reads that drop as lower demand. The forecast goes down, the next buy is smaller, and the item runs out again. The stockout feeds itself.

Before you forecast, flag every week the SKU was out of stock for any days, and replace that week's number with an estimate of what it would have shipped. The simple fix: divide units shipped by days in stock, and multiply by 7. If weekends sell differently from weekdays, use the average of the weeks on either side instead. Unknown is not zero: if you do not know whether an item was in stock, say so and check before you let the zero into the history.

Worked example: one SKU, 12 weeks

A ceramic pour-over kettle. Weeks start on Monday and are dated by ship date. The item was out of stock from Thursday, October 29 through Sunday, November 1, 2026, so it had 3 days in stock that week.

Week startingUnits shippedDays in stockDemand usedSame week last yearForecast
Aug 31, 202640740——
Sep 7, 202644744——
Sep 14, 202638738——
Sep 21, 202642742——
Sep 28, 202646746——
Oct 5, 202641741——
Oct 12, 202645745——
Oct 19, 202643743——
Oct 26, 20261834234—
Nov 2, 20264774736—
Nov 9, 20264474437—
Nov 16, 20264974937—
Nov 23, 2026———4861
Nov 30, 2026———5266
Dec 7, 2026———5873
Dec 14, 2026———5873

The "same week last year" column uses the matching Monday weeks of 2025 (October 27 through December 15, 2025), which were checked for stockouts and had none.

Step 1, repair the stockout week. 18 units ÷ 3 days in stock = 6 units a day. 6 × 7 = 42 units.

Step 2, 4-week moving average. The last four weeks of demand used: (42 + 47 + 44 + 49) ÷ 4 = 182 ÷ 4 = 45.5 units a week. Had you used the raw 18, you would get (18 + 47 + 44 + 49) ÷ 4 = 158 ÷ 4 = 39.5, which is 6 units a week too low before the season even starts.

Step 3, seasonal shape from last year. Last year's base weeks averaged (34 + 36 + 37 + 37) ÷ 4 = 144 ÷ 4 = 36 units. Each coming week gets an index of last year's week divided by that base:

  • Nov 23: 48 ÷ 36 = 1.333, so 45.5 × 1.333 = 60.7, rounded to 61
  • Nov 30: 52 ÷ 36 = 1.444, so 45.5 × 1.444 = 65.7, rounded to 66
  • Dec 7: 58 ÷ 36 = 1.611, so 45.5 × 1.611 = 73.3, rounded to 73
  • Dec 14: 58 ÷ 36 = 1.611, so 45.5 × 1.611 = 73.3, rounded to 73

Four-week total: 61 + 66 + 73 + 73 = 273 units. Check: 45.5 × (216 ÷ 36) = 45.5 × 6 = 273. Seasonal naive alone would have said 48 + 52 + 58 + 58 = 216, missing the 26% the item has grown (45.5 ÷ 36 = 1.26).

Step 4, weeks of cover. On Monday, November 23, 2026, on-hand is 230 units. No purchase order is open for it. Open customer orders total 34 units: 6 are a past-due wholesale order that should have shipped last week, and 28 are due to ship this week. The 28 due this week are part of this week's forecast, so they consume it: this week's demand is the larger of the forecast and the orders due, so 61. The 6 past-due units were never shipped, so they are not in the history and sit on top: 61 + 6 = 67.

  • Week of Nov 23: 230 − 67 = 163 left
  • Week of Nov 30: 163 − 66 = 97 left
  • Week of Dec 7: 97 − 73 = 24 left
  • Week of Dec 14: 24 of the 73 needed, so 24 ÷ 73 = 0.33 of a week

Weeks of cover: 3 + 0.33 = 3.33 weeks. The kettle runs out around Wednesday, December 16, 2026, about 2 days into the week of December 14.

Now the blind spot in numbers. The naive math, 230 on hand ÷ 39.5 a week from the unrepaired moving average, says 5.8 weeks of cover, which reads as "fine into January." The real answer is two and a half weeks shorter and lands in the peak gift weeks. You can redo this with your own numbers in the weeks of supply calculator, and the replenishment guide turns a runout date like this into an order quantity and a cash plan.

Measuring the miss

Each week, compare what you forecast for that week with what actually shipped (repaired for stockouts), and track two numbers:

  • WAPE (weighted absolute percentage error): the sum of the absolute misses divided by the sum of actual units. If you forecast 61, 66, 73, 73 and shipped 55, 70, 80, 64, the misses are 6, 4, 7, 9 = 26 units on 269 actual, a WAPE of 9.7%.
  • Bias: the sum of forecast minus actual, signs kept. A forecast that is always high fills your warehouse; one that is always low runs you out. Here (273 − 269) = +4 units, a slight overcall.

MAPE, the average of each week's percentage miss, is common but breaks on slow sellers. The textbook's section on forecast accuracy notes that percentage errors are "infinite or undefined" whenever actual demand is zero, and swing wildly when it is close to zero. WAPE does not have that problem, which is why planners prefer it at the SKU level. The forecast accuracy calculator computes WAPE, MAPE and bias from your own columns.

Score the forecast at the horizon you buy on. A forecast that is 8% off one week out and 35% off seven weeks out is a 35% forecast for purchasing, because the purchase order was sized seven weeks ahead.

Where this breaks down

  • Promotions and price changes. Last year's Black Friday week was a 30% discount; this year's is 15%. The seasonal index carries last year's promotion, not this year's. Strip promo lift out of the history and add your own plan back.
  • Channel launches and losses. A new Amazon listing or a lost wholesale account changes the level overnight. No method sees that coming; adjust the level by hand and note why.
  • Multiple channels. Forecasting each channel separately and adding the results is noisier than forecasting the item's total, and per-channel buffers add up to more stock than one pooled buffer. Forecast the item, then split it, as the guide to one plan across Amazon and your store shows.
  • Missing history. If you do not know whether a week was in stock, or have only a few weeks, say so; never let a zero or a guess pass as data.

How Skuvelo handles this

Skuvelo forecasts each product across all locations combined, not per location. On Plan → Replenishment it then shows when each item's stock runs out against open customer orders, scheduled receipts and the forecast, and when the order has to be placed to land before that. Until Skuvelo's Shopify app is approved for the App Store, a Shopify order export uploaded as sales history gives the forecast your full history, including last year's peak. A connected store reads the last 60 days of orders and every order after that; older orders cannot be added to a connected store yet. The inputs it plans from are listed in what Skuvelo uses to plan, the rest is on the product page, and if you are weighing tools, here is how it compares with Inventory Planner.

Was this guide helpful?

Try the plan on your own stock.

Start a trial with your own sales and stock, or look around the live demo first.