What Is Inventory Forecasting? Methods, Formulas & Examples

What Is Inventory Forecasting? Methods, Formulas & Examples

Jasmine Grover
Jasmine Grover
November 20, 2026
Summarize with AI
ChatGPT logo
Claude logo
Perplexity logo
ChatGPT logo
Grok logo

Table of contents

At a Glance:

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.

What are you trying to fix?

Pick the situation that sounds like yours. Each option takes you to the section that covers it.

I only have a few months of sales history
Which forecasting method works with limited data?

Order from a minimum level (a reorder point built from your recent daily sales) now, add a moving average at 3–6 months, and move to seasonal forecasting once you have a full year.

Jump to the answer →
My sales jump in certain months
How to plan for seasonal peaks like November.

Apply last year's seasonal pattern to your current baseline, and use a similar product's pattern for new SKUs.

Jump to the answer →
I sell on Shopify and other channels and can't tell what to reorder
How to calculate purchasing needs across channels.

Work from one shared stock view, forecast each channel's sales speed separately, then add them up for purchasing.

Jump to the answer →
I never know when to reorder or how much to buy
Reorder point, safety stock and order quantity

Reorder when available stock falls to your reorder point: average daily sales × lead time in days, plus safety stock. Then buy enough to reach your target stock level.

Jump to the answer →

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.

Stock level zones for a 20-units-a-day example: over 600 units is overstock, 380 to 600 is healthy, 100 to 380 means order now, and under 100 is stockout risk.
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.

Stock level chart: stock falls from 600 units, an order is placed when it reaches the reorder point of 380, and 14 days later new stock arrives just as levels reach the 100-unit safety stock, which stays in reserve.

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.

  1. Export 12 months of sales per SKU. Pull units sold by month (or week for fast sellers) from every channel.
  2. 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.
  3. Group your SKUs. Separate top sellers, mid-tier and slow movers so you spend effort where it counts.
  4. Pick a method per group. Use the guide below: a moving average for steady SKUs, seasonal trend for peaky ones.
  5. Adjust for known events. Add planned promotions, launches and price changes on top of the baseline.
  6. 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.
  7. 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.

Five forecasting methods and when to use each: historical sales for stable SKUs, moving average for mild ups and downs, seasonal trend for holiday SKUs, exponential smoothing for volatile demand, and AI/ML for large catalogs.

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.

How big is the holiday bump, as per Sumtracker's original data?

Across the stores analyzed, November orders were typically 1.23× the average monthly orders from July to October.

256 accounts · one season only · middle half of stores: 0.95–1.70×

Quiet
< 0.95×
Plan from your normal baseline
Typical store
1.23×
Middle half: 0.95–1.70×
Big peak
> 1.70×
Plan for additional stock and consider ordering earlier.

Worked example (illustration, not Sumtracker data)

500 units a month×1.3 index=650 units
18 Oct
Place the order
— 14-day lead time →
1 Nov
Stock lands

A seasonal index of 1.3 means demand is expected to be 30% higher than the average period.

Check yours: November orders ÷ your average monthly orders for July to October of the same year.

Takeaway: your own index, not the benchmark, decides how much extra to order. The range only tells you whether yours is normal.

Solved in Sumtracker
Sumtracker detects seasonality from each product's own history, so you skip the index maths. 
How we measured this

Accounts with orders in every month from July to December 2025 and at least 200 non-cancelled orders in July to October. Order counts, not units or revenue. One season of data only. Demo, test and internal accounts excluded.

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.

How much do weekly orders swing?

23%

As per Sumtracker's original data, the typical store's weekly orders swing about 23% around its own average.

332 accounts · June to October 2026 · middle half of stores: 15–37%

Typical store: 23% ▼
Steady
Typical
Volatile
15%
37%
Under 15%Moving average and a modest buffer.
15–37%Shorter window; bigger buffer (formula).
Over 37%Review weekly; size safety stock from your maximum daily sales.

Check yours: =STDEV(range)/AVERAGE(range) on your last 20 weekly order counts.

Takeaway: the more your orders swing, the more buffer you need. Set it from your own swing, not a flat rule.

Solved in Sumtracker
Sumtracker is an inventory management, forecasting and planning platform for Shopify and multichannel brands. Set days of cover per product and warehouse (default 30) and safety days per supplier (default 7); it suggests reorder dates and quantities, and you create the purchase order. Replenish plan.
How we measured this

Accounts with at least 20 weeks of data and 400 non-cancelled orders, June to October 2026. Weekly order counts, not units or revenue; the swing is the standard deviation divided by the mean. Demo, test and internal accounts excluded.

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.

MethodBest forStrength and limit
Historical salesStable SKUsEasy to run; ignores seasonality and change
Moving averageMild fluctuationsSmooths noise; lags behind trends
Seasonal trendHoliday and seasonal SKUsPlans around peaks; needs 1–2 years of data
Exponential smoothingVolatile or trending SKUsReacts to recent demand; needs tooling or know-how
Predictive (AI/ML)Large catalogs, many channelsUses many signals; needs clean data and software

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.

I only have a few months of sales history

Order by rule first, add forecasting as history builds

Months 0–3
Minimum stock levels
Use recent daily sales, supplier lead time and safety days to set a reorder point. Compare with similar products if available.
Months 3–12
Moving average or exponential smoothing
Use several sales periods to smooth fluctuations and respond to changing demand.
Months 12–24+
Seasonal trend forecasting
Start identifying seasonal patterns after one year. Two or more seasonal cycles help confirm that peaks are repeatable.

Minimum stock level (reorder point) = Average daily sales × (Lead time days + Safety days)

8 units a day × 14 lead + 7 safety days = 168 units

Here, safety stock is expressed as days of cover: 7 safety days × 8 units per day = 56 units. Add this to 112 units of lead-time demand to get a reorder point of 168 units.

Takeaway: start with minimum stock levels, introduce forecasting as sales history builds, and use multiple seasonal cycles to establish reliable seasonal patterns.

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

Flow: Shopify, Amazon and Etsy orders feed one stock view, then each channel's weekly speed is measured from the last 8 weeks, then the channels are added up into one weekly total per SKU that sizes the order.

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.

I sell on several channels and can't tell what to reorder

Measure each channel's weekly speed, then add them up

Channel units from the last 8 weeks ÷ 8 = weekly velocity.

Shopify
60
a week (480 ÷ 8)
Amazon
30
a week (240 ÷ 8)
Etsy
10
a week (80 ÷ 8)
All channels
100
a week

Illustration for one SKU, not Sumtracker data. Over a 14-day lead time, 100 a week is 200 units of demand; add safety stock for the reorder point.

Check yours: compare each channel's last 2 weeks with its 8-week average. If one is clearly speeding up or slowing down, adjust its forecast before combining the channel totals.

Takeaway: forecast each channel on its own, then add them up so one platform doesn't overstock while another sells out.

Solved in Sumtracker

Orders and stock from Shopify, Amazon, Etsy, eBay and Walmart sit in one place, so each channel's units are in one view. Forecasting is on the Replenish plan.

See how Sumtracker works across channels →

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.

Where should forecasting effort go?

76%

As per Sumtracker's original data, the top 20% of SKUs accounted for 76% of units sold on average.

527 accounts · May to October 2026 · middle half of stores: 66–84%

A · first 80% of units
Weekly
Forecast these first; errors here cost the most
B · next 15%
Monthly
A minimum level (a reorder point) is enough
C · last 5%
Quarterly
Same simple rule

Check yours: sort SKUs by units sold in the last 6 months, add a running percentage, and mark A up to 80%, B up to 95%, C the rest. Re-run quarterly. Common cutoffs, not a Sumtracker figure.

Takeaway: spend forecasting time on the A group; give B and C a simple rule instead of a model.

Solved in Sumtracker
The replenishment report shows each product's ABC class beside its reorder suggestion. Replenish plan.
How we measured this

Accounts that sold at least 30 SKUs and 1,000 units from May to October 2026. Non-cancelled orders, units not revenue. Demo, test and internal accounts excluded.

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.

Pick your method in five questions

1
How consistent are your sales?
Stable→Historical sales or moving average
Volatile→Exponential smoothing
Strongly seasonal→Seasonal trend
2
How big is your catalog?
Under 50 SKUs→Spreadsheet forecasting
50–500 SKUs→Segment SKUs, mix historical and seasonal methods
500+ SKUs or multiple stores→Software-driven or advanced models
3
Do you have seasonality?
Predictable yearly cycles→Seasonal trend
Irregular seasonality→Moving average or exponential smoothing
A simple 12-month sales chart reveals most seasonal patterns.
4
How far ahead must you plan?
1–4 weeks→Moving average or exponential smoothing
1–3 months→Seasonal trend or blended models
3–12 months→Predictive models and strategic planning
5
How much complexity can your team run?
Solo founder or small team→Historical sales, moving average
Mid-sized operations team→Exponential smoothing, seasonal trend
Large or data-driven team→Predictive or AI-based models

Takeaway: if the answers disagree, let questions 1 and 3 (your sales pattern) pick the method, and questions 2 and 5 (catalog and team) cap how complex it gets.

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.

Sumtracker dashboard syncing inventory across Shopify, eBay and Amazon stores