Standard deviation
Needs a recent run of sales to measure the spread, and a service level you pick. It sets the stockout risk explicitly. Use it for products with a steady sales history and a fairly consistent supplier.
Work out how much extra stock to hold so a sales spike or a late delivery does not cause a stockout. Use the standard deviation formula, which sets the risk you accept through a service level, or the simpler max minus average method.
Your results
Hold 40 units of safety stock on top of the demand you expect during the lead time.
Safety stock is rounded up to whole units. The standard deviation method assumes demand is roughly normally distributed and the lead time is fixed. Reorder point and days of cover need an average daily demand.
The start values are illustrative data.
How it works
Illustrative data. An example product sells 20 units a day on average, with a standard deviation of 6 units. Deliveries take 16 days on average and 20 days at their slowest. The best day sold 30 units. The service level is 95%.
| Step | Calculation | Result |
|---|---|---|
| z-score | 95% service level | 1.645 |
| Square root of lead time | √16 days | 4 |
| Safety stock | 1.645 × 6 × 4 | 39.5 units |
| Rounded up | 39.5 → whole units | 40 units |
| Days of cover | 40 ÷ 20 units a day | 2 |
| Reorder point | 20 × 16 + 40 | 360 units |
At a 95% service level, about 19 in 20 replenishment cycles end without a stockout. Hold 40 units of safety stock: 2 days of sales.
| Step | Calculation | Result |
|---|---|---|
| Worst case | 30 units a day × 20 days | 600 units |
| Normal case | 20 units a day × 16 days | 320 units |
| Safety stock | 600 − 320 | 280 units |
| Days of cover | 280 ÷ 20 units a day | 14 |
| Reorder point | 20 × 16 + 280 | 600 units |
This method holds 280 units against 40 units. It covers your busiest day meeting your slowest delivery, which is rare, so it holds more than a 95% service level needs. Read it as an upper bound, or use it when you have too little history to measure a standard deviation.
Service level and z-score
The service level is the chance of getting through a replenishment cycle without a stockout. z is how many standard deviations of lead-time demand that chance needs.
| Service level | z-score | Safety stock |
|---|---|---|
| 90% | 1.282 | 31 units |
| 95% | 1.645 | 40 units |
| 97.5% | 1.960 | 48 units |
| 99% | 2.326 | 56 units |
| 99.9% | 3.090 | 75 units |
Safety stock is shown for the start values (illustrative data). Going from 95% to 99% adds 16 units.
Which method
Needs a recent run of sales to measure the spread, and a service level you pick. It sets the stockout risk explicitly. Use it for products with a steady sales history and a fairly consistent supplier.
Needs only your highest sales day and your longest delivery. It has no service level: it assumes the worst demand meets the worst delivery, so it holds more stock. Use it when history is short or a stockout is very costly.
A quiet month understates peak demand. Measure the spread over a comparable period, and check it again when sales change.
The standard deviation formula treats lead time as fixed. If deliveries vary a lot, enter a slow but realistic lead time, or use the max minus average method.
This calculator works on one product at a time. Inventory Insights projects demand per product and works back from supplier lead time and a safety buffer to a reorder date, and warns you when that product’s reorder window opens.
Paste this script tag into your own page to show the calculator there, with the same maths and no sign-up. It fits the width of your page, resizes with the calculator and follows the visitor’s light or dark setting.
The script adds the calculator and a link to the full version under it. Keep the attribution link: it credits the calculator.
Inventory Insights projects demand per product and works back from supplier lead time and a safety buffer to a reorder date, and warns you when that product’s reorder window opens. Stock cover also feeds the labels your campaigns use, so products you cannot deliver lose priority.