Supply Chain and Inventory
Safety Stock Formula
Safety stock is the buffer inventory held to protect against demand variability and supplier lead time variation. Use it when setting min/max levels, reviewing ERP parameters, or reducing stockouts without carrying excessive inventory.
Formula
Safety Stock = Z x Standard Deviation of Demand x Square Root of Lead Time
Variables
- Z: Service level Z-score: 1.28 for 90%, 1.65 for 95%, 2.05 for 98%, 2.33 for 99%
- Standard Deviation of Demand: Historical standard deviation of daily or weekly demand for the item
- Lead Time: Supplier or replenishment lead time in the same time units as demand
Understanding the Safety Stock Formula
Safety stock is the buffer that absorbs the difference between what you planned and what actually happens during a replenishment cycle. It exists purely to cover variability: demand that spikes and lead times that slip. The formula ties three levers together, the service level Z-score, the standard deviation of demand, and the square root of lead time. It answers a specific question on the floor: how many extra units must sit on the shelf so a stockout stays rare at your chosen risk level.
Standard Deviation of Demand comes from your demand history, computed on daily or weekly buckets, not average usage. Lead Time must be in the same time unit as that demand; here both are daily, so 9 days feeds directly. Take the square root of lead time (sqrt(9) = 3) because variability accumulates with the square root of time, not linearly. Pick Z from your service target: 1.65 for 95 percent. Multiply: 1.65 x 80 x 3 = 396 units.
The 396 units is the buffer that holds stockout probability near 5 percent per replenishment cycle at 95 percent service. Raising the target to 99 percent swaps Z to 2.33 and pushes safety stock to about 559 units, a 41 percent jump for the last few points of service. That steepness is the key insight: chasing 99.9 percent is expensive. Review the number when demand variability or lead time shifts, and cut it by stabilizing supply rather than adding inventory.
Worked Example
Daily demand standard deviation is 80 units. Lead time is 9 days. Target service level is 95% (Z = 1.65).
- Square root of lead time = sqrt(9) = 3
- Safety stock = 1.65 x 80 x 3 = 396 units
Result: 396 units of safety stock
Common Mistake
Using average demand instead of standard deviation of demand. Safety stock protects against variability, not average demand. Using average demand in the formula gives a number that has no statistical relationship to your actual stockout risk.
Frequently Asked Questions
- What does the safety stock formula actually protect against?
- It protects against variability during lead time, both demand swings and lead-time slippage, not against average demand. Average demand is covered by your reorder point's cycle stock. Safety stock is the statistical cushion above that. With 80 units of daily demand standard deviation and a 9-day lead time at 95 percent service, you hold 396 units purely to absorb the variation, keeping stockouts near a 1-in-20 cycle risk.
- How do I choose the Z-score for my service level?
- Z maps to your target fill rate: 1.28 for 90 percent, 1.65 for 95 percent, 2.05 for 98 percent, and 2.33 for 99 percent. Higher service means more buffer. At 80 units sigma and lead time 9, moving from 95 percent (Z=1.65, 396 units) to 99 percent (Z=2.33) raises safety stock to about 559 units. Reserve the high Z values for A-items and critical spares, not low-cost commodities.
- Why do I take the square root of lead time instead of just multiplying by it?
- Because demand variance adds up over time, and standard deviation is the square root of variance. Over a 9-day lead time, the variances of 9 independent days sum, so the combined standard deviation scales with sqrt(9) = 3, not 9. Using lead time directly would overstate the buffer roughly threefold, giving 1,188 units instead of the correct 396. This is the most common structural error in the calculation.
- My demand data is weekly but lead time is in days. How do I fix the units?
- Convert both to one time base before calculating. If demand sigma is weekly and lead time is 9 days, express lead time as 9/7 = 1.29 weeks and use the weekly sigma, or convert demand to a daily sigma and keep 9 days. Never mix a weekly standard deviation with a lead time counted in days; the mismatch scales your safety stock by roughly a factor of seven.
- How can I reduce safety stock without increasing stockouts?
- Attack the inputs. Cutting lead time from 9 to 4 days drops the sqrt term from 3 to 2, lowering the 396-unit buffer to 264 with the same 95 percent service. Reducing demand variability through better forecasting or smoothing shrinks the 80-unit sigma proportionally. Both beat simply lowering your service target. Shortening and stabilizing supplier lead time usually gives the biggest reduction per dollar of effort.
- What is the difference between safety stock and the reorder point?
- Safety stock is only the buffer, 396 units here. The reorder point is when you trigger a new order: average demand during lead time plus safety stock. If average daily demand is 300 units over a 9-day lead time, cycle stock is 2,700, so the reorder point is 2,700 + 396 = 3,096 units. Safety stock is one component inside the reorder point, not a replacement for it.