
What Is Inventory Forecasting? Methods, Formulas & Examples
Inventory forecasting translates expected demand into a stock plan, helping you decide how many units of each SKU to order and when.
- Core inputs: sales history, seasonality, promotions, and supplier lead time.
- Key formula: Reorder point = (average daily sales × lead time in days) + safety stock.
- Methods: historical sales, moving average, seasonal trend, exponential smoothing, and AI/ML models. Start simple and move up only when accuracy stops improving.
- Accuracy check: track MAPE (average percentage error) and bias (consistent over- or under-forecasting) per SKU group.
Running out of a best-seller right when demand spikes is expensive. So is a warehouse full of stock nobody buys. Inventory forecasting helps you avoid both.
This guide covers inventory forecasting fundamentals, essential formulas, seven practical steps, five forecasting methods with worked examples, forecast accuracy metrics and inventory planning for Shopify and multichannel sellers.
What is inventory forecasting?
Inventory forecasting translates expected customer demand into a stock plan, helping you determine how much inventory you'll need, when to reorder and how much to buy.
It uses past sales, seasonality, planned promotions, current stock levels, open purchase orders and supplier lead times to produce an inventory plan for each SKU.
A good forecast sits between two failures: stockouts, which cost sales, and overstock, which ties up cash and storage space.

Quick example: If you sold about 500 units a month for the last six months, a basic forecast says you will need about 500 next month. You then adjust for anything that will change that: a sale, a seasonal peak, a new competitor, or a supplier delay.
Inventory forecasting vs demand forecasting
Demand forecasting estimates what customers will want. Inventory forecasting turns that estimate into a buying decision by subtracting stock on hand and stock already on order, then adding a buffer for lead time and uncertainty. You need both, in that order. For the demand side, see our guide to demand forecasting for ecommerce.
Inventory forecasting formulas you actually need
Most small and mid-size stores need only four calculations: average daily sales, safety stock, reorder point and order quantity.
1. Average daily sales
Units sold over a selected period divided by the number of days the product was actually in stock during that period. Exclude or adjust one-off spikes that don't reflect normal demand.
2. Safety stock
Safety stock is the extra stock you hold so demand spikes or late suppliers don't cause a stockout.
Safety stock = (maximum daily sales × maximum lead time) − (average daily sales × average lead time)
It is the buffer that protects you when demand runs hotter, or the supplier runs slower, than usual. If you set the buffer in days instead, safety days × average daily sales gives the same safety stock in units.
This maximum-based formula is a simple estimate. Businesses with more historical data can use statistical methods based on demand and supplier lead-time variability to calculate safety stock more precisely.
3. Reorder point
The reorder point is the stock level that tells you it is time to place a new order.
Reorder point = (average daily sales × lead time in days) + safety stock
Worked example: a SKU sells 20 units a day on average, the supplier takes 14 days, and you hold 100 units of safety stock. Reorder point = (20 × 14) + 100 = 380 units. When available stock drops to 380, place the order. For a deeper look, see our reorder point guide.

4. Order quantity
Order quantity is how many units to buy to bring inventory back to your target stock level.
Target stock level = (Average daily sales × (Lead time + Desired days of cover)) + Safety stock
Order quantity = Target stock level − Inventory position
Inventory position = Stock on hand + Stock on order − Committed stock.
Worked example: The same SKU sells 20 units a day, lead time is 14 days, you want 30 days of cover after the stock arrives, and safety stock is 100 units. You have 380 units on hand, no incoming orders and no committed stock.
Target stock level = (20 × (14 + 30)) + 100 = 980 units.
Order quantity = 980 − 380 = 600 units.
How to forecast inventory in seven steps
You can forecast inventory in seven steps: export sales, clean the data, group SKUs, pick a method, adjust for events, convert to orders, and compare to actuals.
- Export 12 months of sales per SKU. Pull units sold by month (or week for fast sellers) from every channel.
- Clean the data. Identify stockout days and adjust for lost sales. Remove or separately account for one-off bulk orders, unusual promotions and returns that distort normal demand.
- Group your SKUs. Separate top sellers, mid-tier and slow movers so you spend effort where it counts.
- Pick a method per group. Use the guide below: a moving average for steady SKUs, seasonal trend for peaky ones.
- Adjust for known events. Add planned promotions, launches and price changes on top of the baseline.
- Convert the forecast into orders. Account for stock on hand, incoming orders and committed stock. Then factor in lead time and safety stock to calculate when to reorder and how much to buy.
- Compare to actuals and repeat. Measure error each cycle and adjust the method or inputs.
Key benefits of inventory forecasting
1. Fewer stockouts and lost sales
A stockout rarely costs just one sale. Shoppers who can't buy often go to a competitor. IHL Group's 2026 study puts the global cost of inventory distortion, overstocks and out-of-stocks combined, at about $1.7 trillion a year, or 6.2% of retail sales (IHL Group). For more on prevention, see how to avoid stockouts on Shopify.
2. Less overstock and dead stock
Ordering based on forecasts rather than guesswork reduces excess stock and dead inventory, freeing up cash for products that sell.
3. Better cash flow
Money not tied up in slow stock can go to marketing, new products or supplier deposits.
4. Smoother purchasing
When you know what you'll need, you can order on schedule, negotiate with suppliers earlier and avoid rush or air-freight orders.
5. Happier customers
In-stock products mean faster fulfilment, fewer cancellations and better reviews.
6. Better planning across the business
Forecasts feed marketing calendars, staffing, warehouse space and budgets.
Five inventory forecasting methods
The best forecasting method depends on how stable your sales are, how much history you have and how many SKUs you manage.

1. Historical sales forecasting
Best for: stable, evergreen SKUs. Data needed: 3–12 months of sales.
Assume the next period will look like past periods. It's easy to implement in a spreadsheet, but it ignores seasonality and changes in demand trends.
2. Moving average
Best for: products with mild ups and downs. Data needed: last 3–6 periods.
Average the last few periods to smooth noise. Example: sales of 480, 520 and 500 units in the last three months give a 3-month moving average forecast of (480 + 520 + 500) ÷ 3 = 500 units. It lags behind real trends and is weak for seasonal SKUs.
3. Seasonal trend forecasting
Best for: apparel, gifting, holiday and weather-driven products. Data needed: 1–2 years of history.
Find the pattern that repeats each year and apply it to your baseline. The card below shows how to calculate your own seasonal index and what the typical range looks like. It needs clean multi-year data and doesn't suit new products.
4. Exponential smoothing
Best for: Products with fluctuating demand but no strong seasonal pattern.
Data needed: 6–12 months.
It weights recent sales more heavily: new forecast = alpha × latest actual + (1 − alpha) × previous forecast, where alpha (between 0 and 1) sets how fast the forecast reacts. Example: with alpha = 0.3, a latest actual of 600 and a previous forecast of 500, the new forecast is (0.3 × 600) + (0.7 × 500) = 530 units. It reacts faster than a moving average but doesn't see external drivers such as ad spend.
How volatile is your demand? The card below shows how much weekly orders typically swing and how to measure yours.
Use your demand variability as one input when choosing a forecasting method. The decision guide below combines sales patterns, catalog size, seasonality and planning horizon to help you choose.
5. Predictive forecasting (AI/ML)
Best for: large catalogs, many channels, fast-growing brands. Data needed: sales history plus inputs like promotions, ads and returns.
Machine-learning models look for patterns across many variables at once. They can improve accuracy when sufficient clean historical data and relevant external variables are available, but they require software and setup, and may not justify the cost for small catalogs. They also scale well for multi-location operations.
How to measure forecast accuracy
A forecast you never check can't improve. Track two numbers for each SKU group:
- MAPE (mean absolute percentage error): for each period take |actual − forecast| ÷ actual, then average. A MAPE of 20% means you were off by about a fifth on average.
- Bias: the average of (forecast − actual). Positive means you consistently over-forecast and build overstock; negative means you under-forecast and risk stockouts.
Worked example: actual sales were 100, 120 and 80 units against forecasts of 110, 100 and 90. The absolute errors are 10, 20 and 10, so MAPE = (10% + 16.7% + 12.5%) ÷ 3 ≈ 13%. Bias = (+10 − 20 + 10) ÷ 3 = 0, so the errors cancel out and there is no consistent lean.
MAPE hides the direction of errors and can become misleadingly large when actual sales are very low. It also cannot be calculated when actual sales are zero. Read it alongside bias and evaluate fast-moving and slow-moving SKUs separately.
If bias stays one-sided for several periods, fix the method or its inputs rather than adding more buffer.
WAPE (weighted absolute percentage error): WAPE measures total absolute forecast error across products relative to total actual sales. Unlike MAPE, it gives more weight to high-volume products, making it useful for measuring accuracy across an entire SKU group or catalog.
Common forecasting challenges and fixes
1. Inaccurate or incomplete sales data
Forecasts inherit the errors of their data. Manual stock updates, disconnected channels and sync gaps all distort history.
Fix: keep every channel's orders and stock in one system, and audit SKUs and stockout days regularly. Stockout days can understate true demand, so identify them and exclude or adjust them when calculating average daily sales.
2. Sudden demand spikes or drops
Viral posts, influencer mentions, price changes or outside events can break a forecast overnight.
Fix: use shorter forecasting windows for fast movers, hold a larger buffer on volatile SKUs, and review sales against forecast weekly.
3. Forecasting new products
With no history there is no baseline.
Fix: borrow the early sales curve of a similar SKU, use pre-launch waitlists or ad test data, and order a small first batch before scaling on actual first-month sales.
4. Only a few months of sales history
With less than a year of sales, order from a minimum level per SKU and add forecasting methods as your history builds.
One season of data can't separate a real seasonal pattern from a one-off promotion. Until you have a full year, a minimum level per SKU will protect you from most stockouts.
Sumtracker's Replenish plan helps Shopify merchants manage products with limited sales history:
- Forecasts each SKU from up to the past 12 months of sales.
- Counts only the days a product was in stock, so stockouts don't drag the forecast down.
- Detects seasonality from each product's own history. A new product has no strong seasonal signal yet.
- Sets minimum levels per SKU per location, with a daily email listing products below their minimum.
Limits:
- Forecasting is on the Replenish plan.
- Importing past sales works for Shopify only. Other channels forecast from the date they were connected.
- Bundles are forecast through their components, not as a bundle.
Do this today:
- Export your last 12 months of sales per SKU, or all available history if you have less.
- Mark the days each SKU was out of stock.
- Set a minimum level on your five best-selling SKUs.
For the full reorder process, see our guide to inventory replenishment.
5. Supplier lead times and delays
An accurate demand forecast still fails if stock arrives late.
Fix: put real, recent lead times into the reorder point, add safety stock for unreliable or international suppliers, and track on-time delivery.
Common inventory forecasting mistakes
- Forecasting from sales that include stockout days. Zero-sales days caused by unavailable stock make demand look lower than it is. Identify and exclude or adjust these days when calculating demand.
- Using one method for every SKU. Steady and seasonal products need different approaches.
- Ignoring lead time variability. Suppliers don't always deliver on schedule. Use actual delivery history rather than relying only on quoted lead times.
- Forgetting promotions and price changes. History reflects past campaigns, not future ones.
- Never measuring error. Without MAPE and bias you can't tell whether a change helped.
- Treating the forecast as fixed. Update it when sales drift from the plan.
Inventory forecasting tips for Shopify and multichannel sellers

1. Centralize inventory data first
If channels disagree on stock, no forecast will be right. Sync sales, returns, inventory adjustments and stock changes across every channel before projecting demand. See how in our guide to syncing inventory across multiple channels.
2. Forecast by channel, then add up
A product can sell fast on Shopify and slowly on Etsy. Forecast velocity per channel, then combine for purchasing so you don't overstock one platform while another sells out.
3. Include lead time and its variability
Use your supplier's real recent lead times, not the quoted ones, in your reorder point.
4. Segment SKUs with ABC analysis
Sales-volume ABC analysis ranks SKUs by their contribution to total units sold, helping you prioritize forecasting effort on your fastest-moving products. The card below gives the cutoffs and review cadence. Managing this well starts with a clean SKU structure.
5. Overlay seasonality and your promotion calendar
Use the matching period from previous years as your baseline, then adjust for planned promotions, advertising campaigns, influencer activity and price changes.
How to choose the right forecasting method
Work through these five questions in order. Each narrows the choice.
When to move from spreadsheets to inventory software
Spreadsheets work until stock and orders live in several places. Consider inventory software when you sell across multiple channels, manage a growing SKU catalog, or spend too much time correcting stock counts before every forecast.
Forecasting depends on accurate, up-to-date inventory data. An inventory management system such as Sumtracker brings orders and stock levels from your sales channels into one place. It gives you clean sales history to work with and shows current inventory against reorder points. Sumtracker also offers inventory forecasting and planning through its Replenish plan, built for Shopify and multichannel brands.
Frequently asked questions
How often should I update inventory forecasts?
Review fast-moving SKUs weekly or every two weeks, and slower items monthly or quarterly. Update more often around promotions, holidays or supplier delays, because demand and lead times change fastest then and old forecasts go stale quickly.
How much historical data do I need?
Six to twelve months of clean sales data is a workable start for most methods. Seasonal forecasting benefits from one to two years of data to identify recurring patterns. Two or more years make it easier to distinguish genuine seasonal trends from one-off events. Exclude stockout days, which understate real demand.
How do I measure forecast accuracy?
Use MAPE (mean absolute percentage error) to measure the average percentage difference between forecast and actual sales, and bias to identify consistent over- or under-forecasting. For multiple SKUs, WAPE is also useful because it gives more weight to higher-volume products. Track these metrics by SKU group.
What is the best forecasting method for seasonal products?
Seasonal trend forecasting works best. It applies last year's seasonal pattern, such as a November peak, to your current baseline. Ideally, use two or more years of history to identify recurring seasonal patterns. For new SKUs, use the seasonal pattern of a comparable product until enough sales history builds up.
Can small Shopify stores benefit from forecasting?
Yes, even small Shopify stores benefit from a moving average and a reorder point on their top sellers. It reduces stockouts and over-ordering and improves cash flow, and you only need consistent sales tracking and a regular review.
What is the difference between safety stock and reorder point?
Safety stock is the extra buffer you hold for demand or supplier surprises. The reorder point is the stock level that triggers a new order, and it equals expected demand during lead time plus the safety stock buffer.
Conclusion
Inventory forecasting turns past sales, seasonality and supplier lead times into a clear answer: how much to order and when. Start with the simplest method that fits your sales pattern, calculate a reorder point for each SKU, and track forecast accuracy so you know when to improve your approach.
You don't need perfect predictions. You need consistent, data-based ordering that improves each cycle.
Ready to Simplify Your Inventory Management?
Join hundreds of e-commerce merchants who rely on Sumtracker to save time, eliminate errors, and grow their business.


.png)

.avif)