Too little safety stock and you stock out during a spike. Too much and you tie up cash. The answer depends on your lead time variance and demand volatility — here's how to calculate it.
Safety stock is the inventory buffer you keep above your expected demand to protect against two things: demand spikes (selling more than expected) and supply delays (receiving stock later than expected). Get it too low and you stock out. Get it too high and you tie up cash in slow-moving inventory.
This is the right formula for most Shopify merchants with stable demand and consistent suppliers. The question is: how many buffer days should you use?
| Product Type | Buffer Days | Why |
|---|---|---|
| Stable, predictable demand | 5–7 days | Low variance means less buffer needed |
| Moderate variance (some spikes) | 7–10 days | Covers occasional demand jumps |
| High variance (ad-driven, viral) | 10–14 days | Demand can 3–5× overnight |
| Long or unreliable lead time | 14–21 days | Protects against supplier delays |
| Festival/seasonal peak periods | 21–30 days | Lead times stretch, demand spikes together |
If your demand is highly variable — for example, products that spike when you run ads or get mentioned by an influencer — use the statistical safety stock formula:
Where Z is your service level (1.65 for 95%, 2.05 for 98%), σ(demand) is the standard deviation of your daily sales, and Lead Time is in days. For most merchants, this is overkill — the simple formula with a generous buffer days number achieves the same result with less complexity.
Tip
Start with safety stock = 1 week of average sales. If you've stocked out in the last 3 months, double it. Adjust down only after 3 consecutive months with no stockout risk.
High safety stock costs money. For a product with ₹500 unit cost and 10 units/day ADS, a 14-day safety stock means ₹70,000 tied up in buffer inventory. If you have 20 such products, that's ₹14 lakh sitting idle.
The right balance is to have high safety stock only on high-revenue, high-margin products where a stockout costs you the most. For slow-moving or low-margin products, tighter buffers are acceptable.
- Top 20% of SKUs by revenue → 14-day safety stock
- Mid-tier SKUs → 7-day safety stock
- Slow movers / clearance products → 3–5 days or no buffer
- Products with long lead times → always add 5–7 extra buffer days on top of your normal buffer
Safety stock is not a set-and-forget number. Review it quarterly, and whenever something changes: a new supplier, a new sales channel, a marketing campaign, or a seasonal shift. Forestock recalculates safety stock and reorder points automatically every time you upload fresh data.
Try it free
Upload your CSV and see which products are at risk in 30 seconds.