How to forecast inventory demand for a Shopify store
By Charu Saraswat, Founder and CEO, CleverBooks · Last updated 19 November 2026 · 6 min read
You get: Work out how much of each SKU to buy, for each location, before you run out.
Short answer: Start with each SKU's daily run rate: units sold divided by the days it was actually in stock. Adjust that rate for seasonality and planned promotions, then multiply by the days you need to cover (supplier lead time plus the time until your next order). Do it per SKU and per warehouse, because demand and stock are never spread evenly across locations.
Who this is for: Shopify brands in the US that buy stock from suppliers in batches and sell from one or more warehouses, including 3PLs.
What is a daily run rate?
A daily run rate is the average number of units of one SKU you sell per day. It is also called sales velocity. It is the base of every forecast, because how much to buy depends on how fast it sells and how long the next batch takes to arrive.
Use a recent window, such as the last 28 to 90 days. Shorter windows react faster to trends. Longer windows smooth out noise for slow sellers.
Why shouldn't you forecast from days you were out of stock?
Because a day with no stock records zero sales, not zero demand. If you include those days, the average comes out low, you order too little and you stock out again. This loop is the most common forecasting error for growing brands.
- Stock out for a weekSales show zero for those days
- Average fallsRun rate looks lower than real demand
- Order too littleNext batch runs out sooner
- Stock out againThe forecast drops further
The fix is simple: divide units sold by in-stock days only. If you sold 420 units in 28 days but were out of stock for 7, the run rate is 420 ÷ 21 = 20 a day, not 15.
How do seasonality and promotions change the forecast?
Multiply the base run rate by a season factor, and add planned promotions on top. A season factor compares the coming period with your recent window, using last year's sales. If last November sold 1.3 times last October, use 1.3 for this November.
Promotions are separate. Take the uplift from a similar past sale (for example, a Black Friday week that sold 3 times the normal rate) and add it only to the days the promotion runs. Then take the promotion days out of your history before you calculate the next base rate, or the following month's forecast will be too high.
A worked example in a spreadsheet
Here is an illustrative example. Say a brand sells a 30 ml serum from two warehouses, East and West. It is placing a November order with a supplier who takes 30 days to deliver, and it orders every 14 days.
| Step | East | West |
|---|---|---|
| Units sold, last 28 days | 420 | 270 |
| Days in stock | 21 | 27 |
| Daily run rate (sold ÷ in-stock days) | 20 | 10 |
| Season factor from last year | 1.3 | 1.3 |
| Forecast daily demand | 26 | 13 |
| Days to cover (30 lead time + 14 until next order) | 44 | 44 |
| Demand to cover | 1,144 | 572 |
| On hand plus already on order | 700 | 650 |
| Order quantity | 444 | 0 |
West has more than it needs, so before you buy 444 units for East, check whether West can transfer some. The brand would still add safety stock on top, covered in the reorder point formula.
How to build the forecast by hand
- Export sales by SKU and location for the last 28 to 90 days from Shopify, with the date of each sale.
- Count in-stock days for each SKU at each location, from inventory history or your warehouse.
- Calculate the run rate as units sold divided by in-stock days, with promotion days removed.
- Apply a season factor from last year's sales for the same weeks.
- Add planned promotions for the days they run.
- Multiply by days to cover: supplier lead time plus the gap until your next order.
- Subtract stock on hand and on order at that location. The rest is your order, before safety stock.
What does Shopify offer natively?
Shopify gives you the inputs, not a full forecast. Its inventory reports include days of inventory remaining, which divides a variant's ending stock by its average daily sales over the last 28 days, and sell-through rate, which uses the most recent 30 days. Both cover only variants with inventory tracking turned on. If a variant was out of stock for part of that window, the average comes out low.
Purchase orders and transfers between locations are in the Shopify admin. Stocky, Shopify's older inventory app, was retired after 31 August 2026, and Shopify's help center points merchants to these admin features instead.
When does a spreadsheet forecast break down?
A spreadsheet works for a few dozen SKUs in one warehouse. It starts to break when:
- SKUs multiply. Variants by size and color turn 40 products into 400 rows to update every week.
- Locations multiply. Each warehouse, 3PL and store needs its own run rate, stock and in-stock days.
- Stock expires. Food, supplements and cosmetics need batches and expiry dates, not just a count, or you forecast to sell stock that will be past date.
- Lead times move. A supplier that slips from 30 to 45 days changes every order quantity at once.
Where this goes wrong
- Averaging over stockout days. It hides real demand and repeats the stockout.
- One forecast for all warehouses. Total stock looks fine while one location runs out.
- Leaving promotions in the history. The next month's base rate comes out too high.
- Forgetting stock on order. You order the same units twice.
- Ignoring lead time changes. Old lead times give orders that arrive too late.
Doing this every month?
Rebuilding this sheet for hundreds of SKU and warehouse pairs takes a planner a day or more each week, and the sheet is out of date by the time the order goes out. Many brands end up hiring for it.
CleverBooks forecasts demand and keeps a daily run rate for every SKU at every warehouse, with stockout days handled. It sets reorder points, drafts purchase orders for your approval and alerts you before stock runs out or expires in any location, so you get the days back without a new hire, at less than half the cost.
See CleverBooks inventory for US brands and inventory.
FAQ
How do I forecast demand for a Shopify product? Divide units sold by the days it was in stock to get a daily run rate, adjust it for season and promotions, then multiply by your lead time plus the days until your next order.
Does Shopify have built-in demand forecasting? Not a full forecast. Shopify reports show days of inventory remaining and sell-through rate, and purchase orders and transfers are in the admin. Stocky was retired after 31 August 2026.
How much sales history do I need? Use 28 to 90 days for the run rate and at least a year if you want season factors from last year.
Should I forecast per warehouse? Yes. Stock in one location does not help an order shipping from another unless you transfer it, and transfers take time.
What about new products with no history? Borrow the run rate of a similar product, order conservatively and replace the estimate with real in-stock sales after two to four weeks.