Safety Stock Formula: Three Methods Compared on One SKU
There isn’t one safety stock formula. There are several, and on the same product they can disagree by a factor of eight. The fastest way to see why is to run them side by side on one SKU, which is what this page does.
Safety stock is the extra stock you hold to cover demand above average, or deliveries slower than average, during the wait for a replenishment order. It sits on top of the lead time demand in your reorder point. If you haven’t set up reorder points yet, start with our reorder point formula with safety stock and come back.
The test SKU
Example numbers, not benchmarks. A store sells a ceramic pour-over coffee dripper.
| Input | Value |
|---|---|
| Average daily demand (d) | 40 units |
| Standard deviation of daily demand (σd) | 12 units |
| Average lead time (L) | 10 days |
| Standard deviation of lead time (σL) | 2 days |
| Highest daily demand in the last 90 days | 65 units |
| Longest lead time in the last 8 orders | 14 days |
| Target service level | 95% (Z = 1.645) |
Lead time demand, the part of the reorder point that covers average sales, is 40 x 10 = 400 units in every method. Only the safety stock changes.
The results first
| Method | Accounts for | Safety stock | Reorder point |
|---|---|---|---|
| 1. Max minus average | Worst day and worst delivery together | 510 | 910 |
| 2. Demand variability | Swings in daily sales | 63 | 463 |
| 3. Demand plus lead time variability | Swings in sales and in delivery time | 146 | 546 |
Same product, same history, reorder points from 463 to 910. Here is where each number comes from.
Method 1: Max minus average
Safety stock = (max daily demand x max lead time) - (average daily demand x average lead time)
(65 x 14) - (40 x 10)
= 910 - 400
= 510 units
Good for: new products with too little history for a standard deviation, or a quick sanity check.
Problem: it assumes your best sales day repeats every day of your slowest delivery. That almost never happens, so this method usually holds far more stock than you need. Here it’s more than three times Method 3 and eight times Method 2. On a $12 landed-cost item, the gap between Method 1 and Method 3 is 364 units, or $4,368 sitting on a shelf.
Method 2: Demand variability only
Safety stock = Z x σd x √L
1.645 x 12 x √10
= 1.645 x 12 x 3.162
= 62.42, round up to 63 units
Good for: suppliers who deliver on a predictable schedule, such as a domestic wholesaler with consistent transit times.
Problem: it treats lead time as fixed. If deliveries swing by days, this method under-protects you, and stockouts will cluster around late shipments.
Method 3: Demand plus lead time variability
Safety stock = Z x √( L x σd² + d² x σL² )
The first term under the root is demand uncertainty over the lead time. The second is the extra demand you have to cover when a delivery runs late.
1.645 x √( 10 x 12² + 40² x 2² )
= 1.645 x √( 1,440 + 6,400 )
= 1.645 x √7,840
= 1.645 x 88.54
= 145.64, round up to 146 units
Look at the two terms: 1,440 from demand swings and 6,400 from lead time swings. For this SKU, an unreliable supplier is the bigger risk, by a wide margin. That’s a useful finding in itself: negotiating a more consistent delivery schedule might cut safety stock more than any forecasting work.
Good for: imported goods, ocean freight, small suppliers, anything where delivery dates move.
Assumption: demand and lead time vary independently and roughly follow a normal distribution. Usually close enough for a steady seller.
A special case: lead time variability only
If daily demand is steady but deliveries swing, the demand term drops out:
Safety stock = Z x d x σL
1.645 x 40 x 2 = 131.6, round up to 132 units
That’s close to Method 3 here because lead time variability dominates.
How service level changes each method
Methods 2 and 3 scale with Z, so the service level target moves the result in proportion.
| Service level | Z | Method 2 | Method 3 |
|---|---|---|---|
| 90% | 1.282 | 49 | 114 |
| 95% | 1.645 | 63 | 146 |
| 98% | 2.054 | 78 | 182 |
| 99% | 2.326 | 89 | 206 |
All figures rounded up to whole units. Method 1 doesn’t use a service level at all, which is another reason it’s hard to tune.
Getting the inputs right
Standard deviation of daily demand. Take daily unit sales for the last 4 to 12 normal weeks. Remove promo days and days you were out of stock (you didn’t sell because you couldn’t). Then use a sample standard deviation, STDEV.S in Excel or Google Sheets.
Standard deviation of lead time. List actual lead times, from PO sent to stock sellable, for your last several orders from that supplier. Example: 8, 12, 10, 9, 13, 10, 7 and 11 days. The mean is 10 days and the sample standard deviation is 2 days, which are the figures in the test SKU above.
Units. Keep everything in days. If you track weekly demand, convert lead time to weeks too, and use the weekly standard deviation.
Z. In a spreadsheet, NORM.S.INV(0.95) returns 1.645. Microsoft documents the function in its NORM.S.INV reference.
Which method should you use?
| Your situation | Use |
|---|---|
| Fewer than 8 weeks of sales history | Method 1, capped by common sense, then switch |
| Steady supplier, deliveries within a day or two of plan | Method 2 |
| Imports, variable freight, or a supplier who is often late | Method 3 |
| Slow seller with many zero-sales days | A fixed minimum (for example one case) and review by hand |
The last row matters. The statistical formulas assume demand is roughly bell-shaped. A product that sells 0, 0, 3, 0, 1 units a day doesn’t fit that shape, and the formulas give misleading numbers. For long-tail SKUs, a simple minimum is more honest.
Where safety stock lives in your system
Safety stock only works if your stock record knows about it. Two common setups:
- Inside the reorder point. The safety stock is part of the reorder point, and stock stays fully sellable. This is the default approach.
- Held back from sale. Some stores hold safety stock out of what customers can buy, usually to protect a wholesale or marketplace commitment. Shopify, for example, lists safety stock among the reasons units can be set as Unavailable in its inventory states.
The first setup suits most direct-to-consumer stores. The second suits a store that needs to ring-fence units for a key account.
A monthly safety stock routine
- Pull daily sales for active SKUs; strip promo and stockout days
- Update lead time history with the latest deliveries per supplier
- Recalculate safety stock with the method that fits each supplier
- Check which term dominates in Method 3; raise supplier reliability with the worst offenders
- Update reorder points in the system you actually reorder from
- Spot-check five SKUs against stockout and overstock history
Safety stock is one piece of the wider routine in our guide to inventory management for small business, which also covers cycle counting and dead stock.