S3 · quantitative skill
Sizing safety stock from variance
Turn demand variability and lead-time variability into a specific number of buffer units at a chosen service level.
Prerequisites
The merchant's question: "How many extra mugs do I need to keep behind the reorder point so I don't go dark while I'm waiting for a delivery?"
The short answer: multiply the standard deviation of demand over the lead time by a service multiplier:
SS = z × σ_LTD
and σ_LTD is not your daily variation scaled up. It combines two spreads — the customer's and the supplier's:
σ_LTD = √(L̄σ_d² + d̄²σ_L²)
On the green 12oz mug that comes out to 39.58 units of spread, and at a 95% cycle service level the buffer is 1.65 × 39.58 = 65.3, rounded to 65 units.
The inputs and where they come from
| Symbol | Marlow & Finch value | Where it comes from |
|---|---|---|
| d̄ | 7.08 units/day | mean sales on in-stock days — Measuring velocity |
| σ_d | 3.5 units/day | spread of daily sales — Forecast error metrics that survive contact |
| L̄ | 45 days | mean supplier lead time — Measuring lead time from your own deliveries |
| σ_L | 4.5 days | spread of supplier lead time — Measuring lead time from your own deliveries |
| z | 1.65 | the service level you chose; 1.65 is the 95% cycle figure |
Three of those five were measured, not selected. Only z is a policy choice, and it should be the last thing set, not the first.
The arithmetic, term by term
Term one — demand variance. A 45-day wait exposes you to 45 days of demand variance, so the variance scales by the wait, while the standard deviation scales by its square root:
L̄σ_d² = 45 × 3.5² = 45 × 12.25 = 551.25
Term two — lead-time variance. If demand averages 7.08 units a day and the supplier drifts a day late, you need 7.08 more units. A four-and-a-half-day drift is 7.08 × 4.5 units of exposure. Variance scales with the square of that slope, so:
d̄²σ_L² = 7.08² × 4.5² = 50.13 × 20.25 = 1,015.06
Combine and take the root:
σ_LTD = √(551.25 + 1,015.06) = √1,566.31 = 39.58 units
Multiply by z:
SS = 1.65 × 39.58 = 65.3 → 65 units
Read the two terms before you move on, because they are a diagnosis, not just arithmetic. The demand term is 551.25; the lead-time term is 1,015.06. Sixty-five percent of this buffer exists because the ceramics supplier's timing moves, and only 35% because customers are unpredictable. A merchant who assumes their buffers are all about demand forecasting will spend the next year tuning a forecast that was never the problem.
Reading the service multiplier
z is a one-tailed standard normal quantile. Roughly:
- 1.28 → 90% cycle service
- 1.65 → 95%
- 1.96 → 97.5%
- 2.33 → 99%
Because the normal quantile is convex in the tail, each extra point of service costs more than the last. On the mug:
- 90%: 1.28 × 39.58 = 50.7 → 51 units
- 95%: 1.65 × 39.58 = 65.3 → 65 units
- 99%: 2.33 × 39.58 = 92.2 → 92 units
Between 90% and 95% the cost is 14 units; between 95% and 99% it is 27 — $34.56 a year for four points of cycle service. Round up when you convert, because rounding down silently buys less service than you specified.
Assumptions
Every number above rests on six assumptions. They are not fine print; each one, if wrong, changes the answer.
1. Distribution of lead-time demand. σ_LTD is converted to a service level through the normal distribution. The mug's 45-day lead-time demand is treated as a bell curve with mean 319 and spread 39.58. This is defensible when daily demand is the sum of many small independent orders and lead time is roughly symmetric. It is not defensible when demand arrives in a handful of large wholesale drops — then the true tail is much fatter than the normal implies and z = 1.65 buys less than 95%.
2. Stationarity / i.i.d. The formula assumes d̄ = 7.08 and σ_d = 3.5 describe the next 45 days as well as the last ones, and that consecutive days are independent draws. Both break on this store: the mug sells more in December, and a sold-out day suppresses the next day's recorded demand. Under a ramp — say demand growing 2% a month — the true lead-time demand mean is above 319 and the buffer under-protects for the whole climb. Under strong positive autocorrelation (a promo week, then three quiet weeks) the effective number of independent observations is far below the count of days, and σ_d is understated.
3. Demand–lead-time independence. The formula assumes the supplier's lateness is unrelated to how much you are selling. That is usually true for a ceramics kiln 6,000 miles away and it is not true when the same seasonal peak that fills your shelves also fills the supplier's order book. If late lead times cluster in your peak season, the two variance terms are positively correlated, the sum understates σ_LTD, and 65 units is too few.
4. Review regime. Here the buffer is sized for continuous review: you look at stock daily and the exposure window is the lead time alone, 45 days. The same SKU checked on a 12-day cycle needs 73 units, not 65 — the √(57/45) factor in Periodic versus continuous review. Any buffer number quoted without its regime is incomplete.
5. Constraints ignored. The formula assumes you can order any quantity, at any time, and that supplier terms do not bind. Marlow & Finch's ceramics supplier ships in case packs, and a real order is a whole number of cases; an MOQ larger than the computed order quantity changes what "one cycle" means. See MOQs and pack integrity.
6. Observed sales treated as demand. σ_d = 3.5 was computed from recorded sales on in-stock days. That is a censored sample: days when the mug was dark contribute nothing, so the true spread of demand is wider than 3.5. Using observed sales as demand systematically understates σ_d, and therefore understates SS. Censoring and the all-days denominator is the correction.
Where this breaks
With very few lead-time observations. σ_L = 4.5 assumed a sample of deliveries. If the store has seen six, that estimate could be half or double the truth, and the buffer inherits the error entire — the lead-time term is 65% of the variance here, so a factor-of-two error in σ_L moves SS from 49 to 88 units. Estimate the input before you trust the output.
When demand is intermittent. The mug sells every day. A SKU that sells 0.3 units a day has a lead-time demand distribution with a spike at zero and a long right tail; a symmetric bell curve around a mean of 13 units will misprice both tails. Use Classifying demand before choosing a method to decide whether the normal machinery applies at all, and A policy for the long tail for what to do when it does not.
When the buffer is the wrong lever. If 65% of the variance is supplier timing, buying more units is the expensive way to defend against it. Buffer triage orders the alternatives, and Safety lead time versus safety stock covers the specific case where padding the date beats buying the unit.
Blog version and what this adds
The discovery post derives the three formulas; this lesson adds the periodic-review form, the loss-function link, and the full six-item assumption set. Blog version: /blogs/safety-stock.