Safety Stock Calculator
Estimate a demand-variability buffer for a fixed replenishment lead time.
What is safety stock?
Safety stock is extra inventory held to absorb unexpected swings in demand while you wait for a replenishment. This calculator uses z × daily demand standard deviation × √lead time: with a 1.65 z-score, demand varying by 8 units a day and a 9-day lead time, you need about 40 units.
z × σ daily demand × √Lead time daysAverage daily demand × Lead time + Safety stockStandard deviation of past daily salesService level and z-score
| Cycle service level | z-score | Safety stock (σ 8/day, 9-day lead) |
|---|---|---|
| 90% | 1.28 | 31 units |
| 95% | 1.65 | 40 units |
| 97.5% | 1.96 | 48 units |
| 99% | 2.33 | 56 units |
Example: a pet-food retailer
- Daily sales average 30 bags with a standard deviation of 8
- The supplier delivers 9 days after an order; target 95% service level (z = 1.65)
- Safety stock: 1.65 × 8 × √9 = 39.6, round up to 40 bags
- Reorder point: 30 × 9 + 40 = 310 bags
Common mistakes
- Using average demand instead of its standard deviation. Safety stock covers variation, not the average itself.
- Ignoring lead-time variability. If deliveries arrive late unpredictably, this fixed-lead-time model understates the buffer.
Safety Stock FAQ
What service level should I choose?
Higher levels protect against stockouts but tie up more cash. Many businesses use around 95% for important items and lower levels for slow or cheap ones.
What does a 95% cycle service level mean?
That in about 95% of replenishment cycles you do not run out before the order arrives. It is not the same as filling 95% of units demanded.
How do I calculate the standard deviation of demand?
Export daily sales for a representative period and use a spreadsheet’s STDEV function on the daily quantities.