Safety Stock Calculator

Set buffer inventory from demand variability, lead time, and service level

Ad placeholder (leaderboard)

Safety stock is the buffer that absorbs demand and supply uncertainty so you do not stock out during the replenishment lead time. This calculator applies the standard statistical formula and an optional combined model that also captures variable lead times.

How it works

The basic model multiplies a service-level z-score by demand variability scaled over the lead-time window:

basic:    SS = Z × σ_demand × √(lead time)
combined: SS = Z × √( lead_time × σ_demand²  +  avg_demand² × σ_leadtime² )

Z comes from the inverse normal distribution at your target cycle service level. The square root on lead time reflects that demand variance accumulates across the days the order is in transit. The combined (King’s) formula adds the term for lead-time variability, which often dominates the buffer.

Example

With σ_demand = 20 units/day, lead time = 9 days, and a 95% service level (Z = 1.65): SS = 1.65 × 20 × √9 = 1.65 × 20 × 3 = 99 units. Raising the target to 99% (Z = 2.33) increases it to 140 units for the same demand pattern.

Notes

Keep demand and lead time in the same period units. If your supplier’s lead time varies, switch on the combined formula — variable lead time frequently contributes more buffer than demand variability. Service levels above 98% raise safety stock sharply for small service gains, so weigh holding cost against stockout cost.

Ad placeholder (rectangle)