Skip to main content

Free Tool

Safety Stock Calculator

Calculate your optimal safety stock level using demand variability, lead time, and service level Z-score. Prevent stockouts without over-investing in inventory.

Safety Stock Calculator

Want AI to analyse your full inventory data and flag risky SKUs automatically?

Try OpsOracle AI Free →

Safety Stock — Formula & Guide

Safety stock formula

Safety Stock = Z × √(Lead Time) × σ(Daily Demand)

Where Z is the service-level Z-score, Lead Time is in days, and σ is the standard deviation of daily demand. For high variability environments use the extended formula that also accounts for lead time standard deviation.

Service level Z-score reference

90%Z=1.28Acceptable for non-critical SKUs
95%Z=1.65Standard for most operations
98%Z=2.05High-priority / revenue-critical SKUs
99%Z=2.33Mission-critical or perishable goods

Frequently asked questions

What is the safety stock formula?+

The standard safety stock formula is: Safety Stock = Z × √(Lead Time) × σ(Demand), where Z is the service level Z-score, Lead Time is the average replenishment lead time in days, and σ(Demand) is the standard deviation of daily demand. A more precise version also accounts for lead time variability: Safety Stock = Z × √(Avg Lead Time × σ²Demand + Avg Demand² × σ²Lead Time). Most practitioners use the simpler formula when lead time variability is low.

What Z-score should I use for safety stock?+

The Z-score depends on your target service level. For 90% service level (1 in 10 stockouts), use Z = 1.28. For 95% service level, use Z = 1.65. For 98% service level, use Z = 2.05. For 99% service level, use Z = 2.33. Most supply chain managers targeting world-class performance use 95–98% service level. Higher service levels require more safety stock and tie up more working capital, so balance service requirements against inventory carrying costs.

How can I reduce safety stock without risking stockouts?+

To reduce safety stock without increasing stockout risk, focus on reducing the variability inputs rather than simply cutting the buffer. The most effective strategies are: (1) Reduce lead time variability — negotiate consistent lead times with suppliers and use dual-sourcing; (2) Reduce demand variability — improve demand forecasting accuracy with AI and better customer collaboration; (3) Increase replenishment frequency — more frequent, smaller orders reduce the exposure window; (4) Use VMI (vendor-managed inventory) for your highest-velocity SKUs; (5) Implement S&OP to align demand signals earlier. Cutting safety stock without addressing root variability causes stockouts and lost sales.

Want AI-powered safety stock recommendations across all your SKUs automatically?

Try OpsOracle AI Free