What Is Stock Forecasting (And Why It Matters)

Stock forecasting is the process of predicting how much of each product you'll sell in the coming weeks or months, so you know exactly how much to order from suppliers. It sounds straightforward—and it is, in concept. But in practice, getting it wrong costs real money in both directions.

Order too little and you run out of stock. Customers find your product unavailable, buy from competitors instead, and leave disappointed. You lose revenue, damage your reputation, and watch sales opportunities evaporate. According to research on the real cost of stockouts in ecommerce, a single stockout can cost weeks of lost sales and customer lifetime value.

Order too much and you're stuck with excess inventory. Cash sits on shelves instead of in your bank account. Storage costs rise. Products age or become obsolete. You eventually discount them just to move them, killing margins.

Stock forecasting bridges that gap. When done well, you order just enough to meet demand while keeping safety stock for unexpected spikes. Your cash flow improves. Stockouts become rare. Your business runs more smoothly.

Three Stock Forecasting Methods Compared

Method 1: Manual and Gut-Based Ordering

How it works: You check your stock regularly. When something "looks low," you order more. Maybe you keep a few numbers in your head, maybe it's pure instinct.

Who uses it: Most new Shopify stores start here. It's free and requires no special tools.

Why it breaks down: This works fine when you have 5 or 10 products. But add 50 products, and you can't possibly track everything accurately. You'll miss slow-moving items that are overstocked while running out on bestsellers. Seasonal trends, promotions, and normal sales variability all get overlooked. Reordering becomes reactive instead of proactive—you're always one week too late or ordering twice what you need.

Method 2: Spreadsheet-Based Forecasting

How it works: You export sales data from Shopify into a spreadsheet. You calculate average daily sales, multiply by lead time, add a safety stock buffer, and get an order quantity. You build formulas, update them weekly, and manually review the output.

Who uses it: Growing stores that want structure but aren't ready for paid tools. It's familiar to anyone comfortable with Excel.

Pros: More disciplined than guessing. You're using actual data. If built well, formulas are transparent and customizable.

Cons: Time-intensive. You have to remember to update it. Formulas are error-prone—one wrong reference and your forecasts are garbage. If a product stockouts for two weeks, those zero-sales days distort your average. Promotions spike sales temporarily, skewing the data. You can't easily track assumptions or explain why you're ordering X units of Product Y. As your catalog grows, maintaining the spreadsheet becomes a real job.

Method 3: App-Based Forecasting

How it works: You install an app like Sensible Forecasting. It pulls your Shopify sales data automatically, applies forecasting calculations, and shows you exactly how much to order for each product. Most apps let you configure lead times, sales periods, and safety stock thresholds. You review recommendations and act on them—or export them to share with suppliers.

Who uses it: Stores with 50+ products or stores that want to stop thinking about reordering manually.

Pros: Automated data sync means you're never working with stale numbers. Configurations are saved and consistent. The app handles edge cases like stockout periods automatically (Sensible Forecasting, for example, identifies when a product was unavailable so those zeros don't distort your averages). You get alerts before you run out. It scales with your business. One app serves 100 products as easily as 10.

Cons: There's a monthly cost. You need to configure it once, but that one-time setup is worth the hours you'll save.

How Stock Forecasting Actually Works

The math is simple. Sensible Forecasting and similar tools use a straightforward formula:

Order Quantity = (Daily Sales Velocity × Days of Coverage) + Safety Stock − Current Stock on Hand

Let's walk through a real example.

You sell a product called "Blue Ceramic Mug." Your sales data for the last 12 weeks shows you've sold 28 units, averaging 2 units per day. Your supplier takes 21 days to deliver after you place an order. You've decided you want a 30-day safety stock buffer to protect against demand spikes and supplier delays.

You currently have 18 mugs in stock.

Here's the calculation:

  1. Daily sales velocity: 2 units/day
  2. Days of coverage needed: 21 days (lead time) + 30 days (safety stock) = 51 days
  3. Quantity to have on hand: 2 × 51 = 102 units
  4. Current stock: 18 units
  5. Order quantity: 102 − 18 = 84 units

You order 84 mugs. By the time they arrive (21 days later), you'll have sold approximately 42 more units, leaving you with around 60 units—your 30-day safety buffer plus some working stock. If demand spikes unexpectedly or the next shipment is delayed, you have cushion.

That's the entire concept. The details that make it work well are the inputs.

Getting the Inputs Right

Garbage in, garbage out. A perfect formula with bad data still gives you bad forecasts. Here's what matters:

Choosing the Right Sales Period

Which timeframe should you analyze? Last 4 weeks? 12 weeks? 1 year? This decision affects every forecast. A new store might use 8 weeks of data. An established store might use 52 weeks to capture seasonal patterns. The wrong choice leads to forecasts that don't match reality.

Read more about choosing the right sales period for inventory forecasting to dive deeper into this decision.

Setting Lead Times Accurately

Lead time isn't just supplier delivery days. It's the total time from "I click order" to "product is in my warehouse ready to sell." This includes supplier processing time, shipping time, and any buffer you want to build in.

If your supplier says "21 days to deliver" but you're getting the product shipped via air freight with a 3-day turnaround, your lead time is shorter. If you're using ocean freight with a 30-day transit, it's longer. Many stores guess, then wonder why they're always out of stock or perpetually overstocked.

Learn how to calculate lead time for your Shopify inventory accurately.

Calculating Safety Stock

Safety stock is your buffer against the unexpected. A surge in demand, a supplier delay, or an influencer mentioning your product—safety stock keeps you from stockouts.

How much do you need? It depends on your business. A high-variability product selling to an unpredictable market might need 60 days of safety stock. A steady bestseller might need 14 days. There's no universal answer, but the math is there to guide you.

Get the details on safety stock and why your Shopify store needs it.

When Stock Forecasting Goes Wrong

Even with good inputs, forecasting can fail if you don't account for real-world complications:

Promotions distort historical data. You ran a flash sale two weeks ago and sold 5 times your normal daily volume. If you're forecasting based on the last 4 weeks, that spike makes your average look artificially high. You order too much. Most forecasting apps let you exclude promotional periods, but you have to remember to do it.

Stockout periods create false zeros. Your bestseller ran out of stock for 10 days. Zero sales were recorded during those days. But those weren't zero-demand days—demand was there, just unmet. If you forecast based on data that includes stockout periods, your average sales velocity is artificially low. You'll order too little and perpetuate the stockout cycle. Sensible Forecasting automatically identifies stockout periods so you can exclude them from your calculation.

Seasonal shifts catch you off guard. Your summer product sells 10 units a day in July but 2 units a day in January. If you're using annual data, you'll average these together and get a forecast that's too high in winter and too low in summer. You need to adjust your sales period or apply seasonal multipliers.

New products have no history. You just launched Product X. It has zero sales data. You can't forecast what you can't measure. Most stores handle this by starting with a manual order estimate, then switching to data-driven forecasting after 4 weeks of sales.

Setting Up Your First Stock Forecast on Shopify

If you've decided an app-based approach is right for you, here's the workflow:

  1. Install Sensible Forecasting from the Shopify App Store.
  2. Set default lead times and safety stock. Most stores set these once at the beginning. You can override them per product later if needed.
  3. Choose your sales analysis period. Start with 12 weeks if your store is established, 8 weeks if you're newer.
  4. Review the reorder list. Sensible Forecasting will show you every product that needs reordering, with the recommended order quantity. Check a few manually to see if the numbers match your intuition.
  5. Export or act on recommendations. You can export a CSV to send to suppliers, or take a screenshot for your records. Act on the list within a week to avoid drift.
  6. Set up weekly reviews. Check the app once a week for updates. As your sales data changes, so do the recommendations.

For a complete walkthrough, see the guide on how to set up inventory forecasting on Shopify.

Ready to Start Forecasting?

Stock forecasting doesn't have to be complicated. Start with whichever method matches your store size today—gut-based works for 5 products, spreadsheets work for 30, and apps work best for 50+. As you grow, you'll graduate to the next level naturally.

The goal is the same at every stage: order the right amount, at the right time, so your customers get what they want and your cash stays healthy.

Stop Guessing on Inventory Orders

Sensible Forecasting pulls your Shopify sales data automatically and tells you exactly how much of each product to order. Set up takes 10 minutes. Saving time and avoiding stockouts comes immediately after.

Start Free Trial →