Safety Stock Calculator
Safety stock and reorder point from demand, lead time, and service level.
What it does
Safety stock is the extra inventory a business holds to absorb surprises between placing an order and receiving it. The surprise can come from customers buying faster than expected, a supplier arriving late, or both at once.
The tool above combines average demand, demand variability, average lead time, lead time variability, and a target cycle service level. It returns the buffer, the reorder point, the Z score used, and expected demand during the lead period.
The formula treats demand and lead time as independent random variables. Their variances add, weighted by the other variable: longer lead times magnify demand swings, while higher demand magnifies lead time swings.
This is a statistical planning model, not a promise. Forecast bias, lumpy demand, supplier reliability, and storage costs still need judgment. Use the result as a starting buffer and review it with actual service and inventory data.
How to use
- Pick the cycle service level that matches your inventory policy.
- Enter average daily demand in the same unit you plan to stock.
- Enter the standard deviation of daily demand, or 0 for constant demand.
- Enter the average supplier lead time in days.
- Enter the standard deviation of lead time, or 0 for a fixed lead time.
- Read safety stock first, then the reorder point and demand during lead time.
Formula
- Z
- Normal distribution multiplier for the chosen cycle service level.
- lead time
- Average replenishment delay in days.
- demand SD
- Standard deviation of daily demand in units.
- average demand
- Mean daily demand in units.
- lead time SD
- Standard deviation of the replenishment delay in days.
The two variance terms add because demand and lead time are assumed independent. When lead time is fixed, set its standard deviation to 0; when demand is fixed, set demand SD to 0. With both at 0, safety stock is 0.
Worked example
Example: 50 units/day, 10-day lead time, 95% service
Demand averages 50 units/day with SD 5. Lead time averages 10 days with SD 1. Target service is 95%, so Z is 1.65.
- Demand variance term: 10 x 5 squared = 250.
- Lead time variance term: 50 squared x 1 squared = 2,500.
- Total variance: 250 + 2,500 = 2,750.
- Square root: sqrt(2,750) = 52.44 units.
- Safety stock: 1.65 x 52.44 = 86.53 units.
- Reorder point: 50 x 10 + 86.53 = 586.53 units.
Reference table
| Cycle service level | Z score | Buffer multiplier |
|---|---|---|
| 90% | 1.28 | 1.28 x sigma |
| 95% | 1.65 | 1.65 x sigma |
| 97% | 1.88 | 1.88 x sigma |
| 98% | 2.05 | 2.05 x sigma |
| 99% | 2.33 | 2.33 x sigma |
| 99.9% | 3.09 | 3.09 x sigma |
Limits
- Assumes demand and lead time are independent and approximately normal. Seasonal or lumpy demand needs a different model.
- Uses a cycle service level, the chance of no stockout in a replenishment cycle, not a fill rate measured by units shipped.
- Ignores minimum order quantities, case packs, shelf life, storage limits, and quantity discounts.
- A forecast bias can overwhelm the buffer. Safety stock protects variability around an unbiased forecast, not a forecast that is consistently wrong.
Common mistakes
- Entering lead time in weeks while demand is per day.
- Using the standard deviation of monthly demand with a daily lead time.
- Setting the service level to 100% and expecting a finite answer.
- Adding safety stock to the reorder point twice.
- Treating lead time variability as zero when suppliers regularly arrive late.
Try it yourself
Quick checks. Answers sit tucked under each question.
Demand is 40/day with SD 4, lead time is 5 days with SD 0, and service is 95%. What is safety stock?
Variance is 5 x 16 = 80, so sigma is 8.94. Safety stock is 1.65 x 8.94 = 14.76 units. Reorder point is 200 + 14.76 = 214.76 units.
Demand is 100/day with SD 10, lead time is 7 days with SD 2, and service is 99%. What is safety stock?
Variance is 7 x 100 + 10,000 x 4 = 40,700. Sigma is 201.74. Safety stock is 2.33 x 201.74 = 470.06 units, and reorder point is 1,170.06 units.
Demand is constant at 20/day and lead time is fixed at 3 days. What happens at 90% service?
Both standard deviations are 0, so safety stock is 0. The reorder point is 20 x 3 = 60 units.
Questions
What service level should I use?
It depends on the cost of a stockout versus the cost of carrying inventory. Many businesses use 90% to 95% for routine items and higher levels for critical spare parts.
Is safety stock the same as reorder point?
No. Safety stock is the buffer. Reorder point is expected demand during lead time plus safety stock, so it is the trigger level for a new order.
Why is my safety stock so high?
Long lead times, high demand variability, or an unreliable supplier all increase the variance term. A high service level multiplies the result further.
Can I use this with weekly demand?
Yes, as long as lead time is also in weeks and the demand standard deviation is weekly. Keep the time units consistent.
What does Z mean?
Z is the number of standard deviations needed to reach the target area under a normal curve. A 95% cycle service level uses about 1.65.
Does safety stock account for supplier delays?
Only if you enter a lead time standard deviation above 0. A fixed lead time assumption leaves supplier variability out of the buffer.