Safety Stock Formula:
4 Methods (+ Calculator)
Safety stock is the buffer that absorbs demand spikes and late deliveries. Four ways to calculate it — from a simple rule of thumb to the service-level method — with worked examples, a free calculator, and how to keep the number honest at scale.
By Replenagise · Updated 11 July 2026 · 8 min read
What safety stock is — and what it is not
Safety stock is extra inventory held beyond expected demand, sized to absorb two kinds of surprise: demand running hotter than forecast, and suppliers delivering later than promised. It sits on top of your lead-time demand in the reorder point: ROP = (daily sales × lead time) + safety stock.
It is not a vibe (“keep a few weeks extra”) and it is not free — every unit of buffer is cash on a shelf. Too little and every hiccup becomes a stockout; too much and you have quietly rebuilt the overstock problem you were trying to avoid. The four methods below trade simplicity against precision.
Safety Stock Calculator (Average–Max Method)
Enter your average and worst-case daily sales and lead times. SS = (max sales × max lead time) − (avg sales × avg lead time).
Use stockout-adjusted sales history and delivered (not quoted) lead times. For explicit availability targets, use the Z-score method described below.
Four ways to calculate safety stock
1. Fixed buffer (rule of thumb)
Hold a set number of days of sales — e.g. 7 days × 6 units/day = 42 units. Trivially easy, ignores variability entirely. Acceptable for cheap, stable C-class SKUs; risky anywhere demand or lead times swing.
2. Average–max method
SS = (Max Daily Sales × Max Lead Time) − (Avg Daily Sales × Avg Lead Time). Uses your own worst observed case: if sales peak at 10/day and lead time has stretched to 25 days, SS = (10 × 25) − (6 × 18) = 142 units. Simple, data-driven, tends to run generous.
3. Service-level method (Z-score)
SS = Z × σd × √L, where Z encodes your target availability (1.65 ≈ 95%, 2.05 ≈ 98%), σd is the standard deviation of daily demand, and L is lead time in days. The statistician’s version: buffer scales with actual volatility, and you choose the stockout risk you will tolerate.
4. Lead-time variability method
When suppliers are the flaky part, extend the Z-score method with lead-time variance: SS = Z × √(L × σd² + d̄² × σL²). Demanding on data, but the only method that prices in a supplier who ships “in 2–6 weeks”.
Choosing a method — and keeping it honest at scale
A sensible default: average–max for most SKUs, upgraded to the service-level method for A-class products where you want an explicit availability target. Whichever you choose, two disciplines matter more than the formula: use stockout-adjusted demand history (days you were out of stock are not days of zero demand), and recalculate as velocity, seasonality, and supplier behaviour drift — a safety stock set in January is wrong by June.
That maintenance is what kills spreadsheet versions of this, and it is what Replenagise automates: safety stock and reorder points recalculated continuously per SKU from live Shopify and Linnworks data, with service levels you set per class of product — see our service-level policies in the app.
Safety stock plugs into the reorder point formula; get the buffer wrong and you pay the cost of a stockout. Or let inventory replenishment software size and maintain both automatically.
Safety Stock — FAQs
What is the safety stock formula?
The most-used version is the service-level method: Safety Stock = Z × σd × √L — Z-score for your availability target, standard deviation of daily demand, square root of lead time in days. Simpler alternatives include the average–max method: (max daily sales × max lead time) − (average daily sales × average lead time).
What Z-score should I use for safety stock?
Pick the service level first: 90% availability → Z ≈ 1.28, 95% → 1.65, 98% → 2.05, 99% → 2.33. Higher targets cost exponentially more buffer stock, so most sellers reserve 98%+ for A-class best sellers and accept lower targets on the tail.
Is safety stock included in the reorder point?
Yes. The reorder point is lead-time demand plus safety stock: ROP = (average daily sales × lead time) + SS. The buffer is meant to still be on the shelf when the replenishment order arrives — if it is regularly gone, the safety stock is undersized.
Can safety stock be automated?
Yes. Replenagise calculates safety stock per SKU from live demand variability and lead times, honours the service level you set per product class, and feeds it into reorder points and purchase orders automatically — recalculated as the data changes, not once a year in a spreadsheet.
Safety Stock That Recalculates Itself
Per-SKU buffers from live demand variability and lead times, feeding straight into reorder points and POs — on Shopify and Linnworks.