Inventory & operations

Safety Stock Calculator

Estimate a demand-variability buffer for a fixed replenishment lead time.

Free, no sign-upRuns in your browserReviewed October 2026Formula & methodology
units/day
days
z
Safety stock rounded upExample40 unitsunits

Understand the result

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.

Safety stockz × σ daily demand × √Lead time days
Reorder pointAverage daily demand × Lead time + Safety stock
σ daily demandStandard deviation of past daily sales

Service level and z-score

Cycle service levelz-scoreSafety stock (σ 8/day, 9-day lead)
90%1.2831 units
95%1.6540 units
97.5%1.9648 units
99%2.3356 units

Example: a pet-food retailer

  1. Daily sales average 30 bags with a standard deviation of 8
  2. The supplier delivers 9 days after an order; target 95% service level (z = 1.65)
  3. Safety stock: 1.65 × 8 × √9 = 39.6, round up to 40 bags
  4. 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.
Common questions

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.