Strategy13 min read

Shopify Inventory Forecasting: How to Get Started with Demand Prediction

By Canopy Team

Inventory demand forecasting dashboard showing trend analysis and predicted stock levels

Quick answer

Inventory forecasting predicts how many units of each product you will sell in the coming weeks or months, so you can order the right amount of stock at the right time. Getting started requires three things: at least 90 days of sales history in Shopify, knowledge of your supplier lead times, and a method for calculating forward demand. You can start with a simple spreadsheet formula (average daily sales x lead time in days = reorder quantity) and move to a dedicated forecasting or reorder tool as your catalogue grows beyond 200-300 SKUs.

What demand forecasting means for Shopify brands

Demand forecasting sounds like enterprise jargon, but it is something every ecommerce founder does intuitively. When you look at your bestselling product and think "I should reorder before we run out," you are forecasting demand. The difference between intuitive forecasting and systematic forecasting is precision and consistency. Your gut feeling might correctly predict that you need more stock, but it cannot tell you whether you need 200 units or 400 units, or whether you should order now or wait three weeks. Systematic forecasting uses your actual sales data to answer these questions with numbers rather than intuition. It does not need to be perfect. Even a basic forecast will usually beat gut feeling on a catalogue of 200+ SKUs, where you simply cannot hold detailed intuitions about every product.

Visual comparison of intuitive vs data-driven inventory forecasting outcomes
Data-driven forecasting does not need to be perfect, it just needs to beat gut feeling consistently

Step 1: gather your historical sales data

The foundation of any forecast is historical data. Shopify stores this natively, and you can export your order data or sales reports from Shopify admin. For demand forecasting, you need at minimum 90 days of sales data. Ideally, 12 months gives you seasonal patterns and 24 months lets you verify that seasonal patterns are consistent. Export your data at the SKU level (not just product level) including the date of each sale and the quantity sold. If you sell "Navy Tartan Collar" in Small, Medium, and Large, you need sales data for each size separately because they sell at different rates. A common mistake is forecasting at the product level and then splitting the forecast across variants evenly. A Medium might sell 3x more than an XS, equal splitting guarantees you will stockout on Medium while sitting on excess XS.

Step 2: calculate your baseline demand rate

The simplest demand calculation: take the total units sold of a SKU in the last 90 days and divide by 90 to get the average daily sales rate. Then multiply by 7 to get the weekly rate. For example, if you sold 180 units of "Navy Tartan Medium" in the last 90 days: 180 / 90 = 2 units per day, or 14 units per week.

This is your baseline demand rate. It tells you that at current velocity, you sell roughly 14 of these per week. If you have 112 units in stock, you have 112 / 14 = 8 weeks of cover.

The limitation of this method is that it assumes the future will look like the recent past. If you are approaching a seasonal peak, 90-day averages will understate demand. If you just finished a sale that inflated recent numbers, it will overstate demand. More sophisticated forecasting addresses these issues, but this baseline calculation is where everyone should start.

Formula breakdown showing how to calculate baseline demand rate and weeks cover from Shopify data
The foundational calculation: average daily sales, weekly rate, and weeks cover

Beyond the baseline average, look for three types of patterns in your sales data:

Growth or decline trends: Is the SKU selling more each month or less? A product selling 100 units in month 1, 120 in month 2, and 140 in month 3 has a clear upward trend. Forecasting based on the average (120/month) will underestimate future demand. You should project the trend forward: expect ~160 in month 4.

Seasonal patterns: Does demand spike or dip in certain months? This requires at least 12 months of data to identify. Compare the same month across years, if November is consistently 2x your average, that is a seasonal pattern you can plan for.

Promotional effects: Did past sales spikes correspond to promotions, marketing campaigns, or external events? If you ran a 25% off sale in February that doubled sales for that week, those inflated numbers will distort your baseline calculation unless you adjust for them. The easiest adjustment: remove promotional periods from your baseline calculation and treat promotional demand as a separate, planned uplift.

Step 4: factor in lead time

This is where many brands get forecasting fatally wrong. Your forecast is not just "how many will I sell?", it is "how many will I sell between now and when my next order arrives?" If your lead time is 14 days (domestic UK supplier), you need to forecast 2 weeks of demand. If your lead time is 190 days (China sourcing with sea freight), you need to forecast more than 6 months of demand.

The formula: Reorder Quantity = (Average Daily Sales x Lead Time in Days) + Safety Stock - Current Stock on Hand. To find the stock level that should trigger that order, use a reorder point calculator.

For the "Navy Tartan Medium" example selling 2 units per day with a 190-day lead time: (2 x 190) + safety stock = 380 + safety stock. With 4 weeks of safety stock (56 units), the reorder quantity is 436 units minus whatever they currently have on hand.

The longer your lead time, the more critical your forecast accuracy becomes. A 10% forecast error on a 14-day lead time means you are off by 1.4 days of stock. The same 10% error on a 190-day lead time means you are off by 19 days of stock, nearly 3 weeks.

Diagram showing how lead time affects reorder quantity calculations for different supply chain lengths
The longer your lead time, the more your forecast accuracy matters

Forecasting with 190-day lead times

For a brand importing from China, the forecasting challenge is extreme: predicting demand 190 days ahead for thousands of SKUs. At that horizon, no forecast is highly accurate, but even a moderately accurate forecast beats guesswork. A practical approach combines three inputs:

First, the baseline: a trailing 90-day average sales rate per SKU, adjusted for known seasonal patterns from previous years.

Second, the growth factor: your year-over-year growth rate applied to the baseline, discounted to avoid over-ordering on an optimistic projection.

Third, the pipeline: stock already on order but not yet received. If you placed a PO 60 days ago that has not arrived yet, those units are coming and need to be subtracted from the reorder calculation.

This three-input model gives a reorder suggestion for every SKU. It will not be perfect, but it prevents the worst stockouts and overstock that come from ordering on gut feeling. The SKUs where it goes wrong are typically new products (no history to forecast from) or products hit by unpredictable viral social media exposure.

Reorder suggestions that factor in your real lead times

Canopy Inventory shows how many weeks of stock each SKU has left, when it runs out and what to reorder. Read-only. Free for your 50 most recently sold SKUs.

Email me the install link

Forecasting tools: when to upgrade from spreadsheets

Spreadsheet-based forecasting works well up to about 200-300 SKUs. Beyond that, the maintenance burden becomes unsustainable, you are spending hours updating formulas, adjusting for promotions, and manually checking results. Dedicated tools automate the process by analysing your sales data and generating reorder suggestions as new sales come in. Some use statistical or AI models to detect seasonal patterns and trends that are hard to spot by hand.

When evaluating any forecasting or reorder tool, look for: explainability (can you see why the system is suggesting a particular quantity?), override capability (can you adjust for information the tool does not have, like a planned promotion?), and accuracy tracking. Canopy Inventory does not use AI. It works out weeks of cover from your recent Shopify sales over a window you choose (7 to 90 days), and its suggested buy quantity comes with a confidence badge that explains itself.

Illustration of reorder suggestions with confidence levels
Good reorder suggestions always let you see the reasoning

Common forecasting mistakes to avoid

  • Forecasting at product level instead of variant level, sizes and colours sell at different rates.
  • Using annual averages instead of trailing 90-day data, you miss recent trend changes.
  • Ignoring stockout periods, if you were out of stock for 3 weeks, those zero-sales weeks should not be included in your average.
  • Forgetting to subtract pipeline stock, units already on order need to be accounted for.
  • Applying the same forecast method to all SKUs, new products, seasonal items, and staples require different approaches.
  • Not tracking forecast accuracy, if you never check how accurate your forecasts were, you cannot improve them.
SKU detail view showing demand forecast, current stock, pipeline stock, and weeks cover
The complete picture: current stock, pipeline, forecast, and weeks cover in one view
Inventory demand forecasting dashboard with trend analysis
Intuitive vs data-driven forecasting comparison
Baseline demand rate and weeks cover formula
Lead time effect on reorder quantity calculations

Frequently Asked Questions

Minimum 90 days for basic demand rate calculations. 12 months to identify seasonal patterns. 24 months for reliable seasonal indexes. You can start with 90 days and improve accuracy as more data accumulates.

Average daily sales (units sold in last 90 days / 90) multiplied by your lead time in days, plus safety stock, minus current stock on hand. This gives you your reorder quantity.

Even a modestly accurate forecast usually beats gut feeling for catalogues over 200 SKUs. The goal is not perfection, it is to be consistently less wrong than manual ordering. Track your accuracy over time and aim for improvement.

Spreadsheets work well up to 200-300 SKUs. Beyond that, the maintenance burden of manual forecasting usually outweighs the cost of a dedicated tool. Switch when updating your spreadsheets takes more than 2 hours per week.

Longer lead times require forecasting further into the future, which reduces accuracy. A 10% forecast error on a 14-day lead time is 1.4 days of stock. The same 10% error on a 190-day lead time is 19 days, nearly 3 weeks of potential stockout or overstock.

Not in the AI or seasonal-modelling sense. Canopy Inventory works out your current sales rate from your Shopify data over a 7, 14, 30, 45, 60 or 90-day window, then shows weeks of cover, a stockout date, a reorder-by date and a suggested buy quantity using the lead time, safety stock and target cover you set. Each suggestion has a confidence badge that explains itself.

Related pages

Related Articles

Get the Canopy Inventory install link

Canopy Inventory is coming soon to the Shopify App Store. One email the day it's live. Free for your 50 most recently sold SKUs.