The safety stock formula, explained
Two formulas, both legitimate, answers often 3โ4ร apart, and further with extreme peaks. Here is what each one is really assuming.
Method 1: statistical (Z-score)
SS = Z ร โ(LT ร ฯdยฒ + (dฬ ร ฯLT)ยฒ)
- Z โ the standard-normal score for your service level: 1.282 at 90%, 1.645 at 95%, 1.960 at 97.5%, 2.326 at 99%.
- ฯd โ standard deviation of daily demand. How jumpy sales are day to day.
- ฯLT โ standard deviation of lead time in days. How unreliable the supplier's timing is.
- LT, dฬ โ average lead time and average daily demand.
If lead time never varies (ฯLT = 0), the formula simplifies to Z ร ฯd ร โLT โ the form most sellers meet first. The full form matters more than most calculators admit: a supplier whose lead time swings by ยฑ5 days can require more buffer than demand variability does, and the (dฬ ร ฯLT) term is the only place that shows up.
Method 2: max-minus-average
SS = (max daily sales ร max lead time) โ (average daily sales ร average lead time). No statistics, just your worst day and your worst wait, multiplied, minus the average case. It is easy to explain and easy to compute, and it systematically overstates the buffer for most SKUs, because the worst sales day and the longest lead time rarely coincide โ the method assumes they always do.
Why the answers differ so much
On this site's worked example the statistical method gives 74 units; the max method with a 70-unit peak day and a 21-day longest lead gives (70 ร 21) โ (40 ร 14) = 910 units. The gap is not an error in either formula โ it is the difference between sizing for typical variability at a chosen service level and sizing for the simultaneous worst case. The holding-cost line settles the argument in dollars: 74 units at $20 cost and 25% holding is $370/yr; 910 units is $4,550/yr. Some SKUs earn the bigger buffer โ a stockout on your hero product during peak can cost more than that in a weekend. Most don't. Decide per SKU, with the cost visible, in the safety stock calculator.
Assumptions to know about
The statistical method assumes demand is roughly normally distributed around its average. For very slow sellers (a unit or two a day) demand is lumpier than the normal curve implies, and a simpler rule โ a fixed weeks-of-cover buffer โ can serve better. Both methods assume the past's variability resembles the future's; a product going viral breaks every formula, and no buffer policy fixes that.