Safety Stock Calculator

Calculate safety stock using demand variability, lead time variability, and your target service level to protect against stockouts without over-investing in inventory.

🛡️ Inventory📐 Safety stock = Z × √(LT × σd² + d² × σLT²)💼 Business
Average daily demand (units)
Demand standard deviation (units/day)
Average lead time (days)
Lead time standard deviation (days)
Target service level
Please enter valid values.

Formula & Reference

VariableSymbolFormulaUnits
Safety Stock CalculatorSafety stock = Z × √(LT × σd² + d² × σLT²)units

Step-by-Step Examples

Example 1
Both Sources of Variability

Demand 40/day (SD 12), lead time 14 days (SD 3), 95% service level.

  • Demand variance term = 14 × 12² = 2,016
  • Lead time term = 40² × 3² = 14,400
  • Total variance = 16,416, √ = 128.1
  • Safety stock = 1.65 × 128.1 = 211 units
✓ 211 units — lead time variability dominates
Example 2
Stable Lead Time

Demand 40/day (SD 12), lead time 14 days (SD 0), 95% service.

  • Lead time term = 0
  • Variance = 14 × 144 = 2,016, √ = 44.9
  • Safety stock = 1.65 × 44.9 = 74.1, rounded up to 75 units
  • Eliminating lead time variability cut safety stock by nearly two thirds
✓ 75 units
Example 3
Higher Service Level

Same as example 1 but targeting 99.9%.

  • Same variance, √ = 128.1
  • Safety stock = 3.09 × 128.1 = 396 units
  • Going from 95% to 99.9% nearly doubles the inventory required
✓ 396 units — the cost of near-perfect service

Real-World Applications

Common Mistakes to Avoid

⚠️
Setting safety stock as a flat number of days

A fixed days-of-cover rule ignores variability entirely. Two products with identical demand but different volatility need very different buffers.

⚠️
Ignoring lead time variability

As the examples show, lead time variability often contributes more than demand variability. Focusing only on forecast accuracy misses the larger lever.

⚠️
Targeting 100% service level

The Z-multiplier approaches infinity as service level approaches 100%. Perfect availability is mathematically impossible to guarantee with finite stock.

Frequently Asked Questions

What is safety stock?
Buffer inventory held above expected demand during lead time, protecting against variability in both demand and supply timing.
How does service level affect safety stock?
Through the Z-multiplier. Moving from 95% to 99% raises Z from 1.65 to 2.33, increasing required stock by over 40% for that last four points of service.
Should I include lead time variability?
Yes, wherever supply timing is inconsistent. It frequently contributes more to required safety stock than demand variability does.
What service level should I target?
It depends on the cost of a stockout versus the cost of holding stock. High-margin or critical items justify higher service levels than low-margin commodities.
How is safety stock different from the reorder point?
The reorder point is expected demand during lead time plus safety stock. Safety stock is only the buffer portion.

Related Business Calculators