Skip to content
Free calculator | Inventory and replenishment

Safety Stock Calculator

The stock that protects a service level against variation in demand and in lead time.

Your figures

%

Share of replenishment cycles without a stockout.

units

Any period works, as long as all five inputs use the same one.

units
weeks
weeks

Enter 0 for a fully reliable lead time.

Calculated in your browser. Your figures are neither transmitted nor stored.

Enter your figures and select Calculate. The fields are prefilled with a worked example.

The formula

Use this calculator when demand or lead time fluctuates and you need a justified buffer instead of a rule of thumb.

Safety stock = z × Square root of (Lead time × Standard deviation of demand² + Average demand² × Standard deviation of lead time²)

z = Factor of the standard normal distribution for the target service level

Worked example

Inputs

  • Target service level: 98%
  • Average demand per week: 400 units
  • Standard deviation of demand per week: 80 units
  • Lead time: 4 weeks
  • Standard deviation of lead time: 1 weeks

Calculation

  1. z for a service level of 98% = 2.054
  2. Combined standard deviation = square root of (4 × 80² + 400² × 1²) = square root of (25,600 + 160,000) = 430.8 units
  3. Safety stock = 2.054 × 430.8 = 884.8, rounded up to 885 units
  4. Reorder point = 400 × 4 + 885 = 2,485 units

Result

Safety stock: 885 units. 885 units protect a service level of 98 percent. 86% of the variation comes from the lead time: a more reliable supplier or process lowers the stock more than a better forecast.

How to read the result

  • The service level here is the share of replenishment cycles without a stockout. It is not the same as the fill rate, the share of units delivered from stock.
  • The formula assumes roughly normal demand. For slow movers with sporadic demand it overstates or understates the need: use a different policy there.
  • Going from 95 to 99 percent raises the stock by about 40 percent. Set the service level by item class instead of one value for everything.
Newsletter

One Lean idea.
Every two weeks.