Safety Stock Calculator
Calculate the buffer inventory you need at any service level using the Z-score formula.
Quick Answer
Safety Stock = Z × σ_demand × √Lead Time. Z=1.645 for 95% service level, 2.33 for 99%. Higher service = more buffer capital tied up.
Inputs
Z-score used: 1.645
Formula: 1.645 × √14 × 15 = 93 units
Reorder Point: (50 × 14) + 93 = 793 units
About This Tool
The Safety Stock Calculator implements the standard supply chain Z-score formula used in operations textbooks and ERP systems. Safety stock is the inventory buffer you hold to absorb demand variability and lead time variability between replenishment orders. Without enough safety stock, you stock out and lose sales. With too much, you tie up working capital and incur carrying costs unnecessarily. This tool finds the right balance for any service level.
The Z-Score Approach
The classical safety stock formula assumes demand follows a normal distribution. The Z-score corresponds to the percentile of demand you want to cover. A Z of 1.645 covers 95% of demand variation — meaning in 95% of replenishment cycles, the safety stock will be enough to prevent stockouts. Higher Z covers more cases: Z=2.33 hits 99%, Z=3.09 hits 99.9%. Each step up costs more capital because the buffer grows non-linearly.
Why √Lead Time?
Variability over a longer period scales by the square root of time, not linearly. A product with σ=10 units/day has σ=10×√14 ≈ 37 units variability over 14 days, not 140. This is the central insight of the safety stock formula — protecting against demand variability across a lead time window grows sub-linearly with lead time. Reducing lead time has a measurable but smaller-than-expected effect on required buffer.
Choosing the Right Service Level
95% service level is the default for most consumer goods. It accepts roughly one stockout per 20 cycles, which translates to 2-3 stockout events per year for monthly-replenished SKUs. Premium brands targeting customer experience often run 98-99%. High-margin SKUs justify 99%+ because each lost sale costs more. Slow movers and commodity SKUs can run at 90% to free working capital for faster movers. The right level balances stockout cost (lost sale + customer disappointment) against carrying cost (typically 20-30% of inventory value annually).
Lead Time Variability Matters Too
The simple formula assumes lead time is constant. In reality, especially for overseas suppliers, lead time varies significantly — a 30-day lead time might range from 21 to 45 days. The full formula adds a lead time variability term: Safety Stock = Z × √(L × σ_d² + d̄² × σ_L²). For products sourced from variable suppliers, lead time variability often dominates demand variability and drives the bulk of the buffer requirement.
Related Tools
See also our reorder point calculator, days of inventory calculator, ABC inventory analyzer, AOV calculator, and dropshipping margin calculator.
Frequently Asked Questions
What is safety stock?
What service level should I target?
How do I calculate demand standard deviation?
Should I include lead time variability?
How does safety stock relate to reorder point?
You might also like
Shopify Store Valuation
Estimate Shopify store sale price using SDE and revenue multiples.
⏱ 1 minBusinessSaaS Payback Period Calculator
Calculate how many months to recover customer acquisition cost.
⏱ 1 minBusinessPayPal Fee Calculator
Calculate PayPal transaction fees for domestic and international payments.
⏱ 1 min