Safety Stock Calculator
Calculate safety stock from your demand variability, lead-time variability, and a target service level. The calculator converts your service level into a z-score, applies the statistical safety stock formula SS = Z x sigma, and shows the result on a demand bell curve. A unique "safety stock triangle" reveals how the demand-driven and supply-driven buffers combine in quadrature (not by simple addition), and a method comparison shows what happens when you ignore lead-time variability. Includes a service-level vs safety-stock trade-off table and a full step-by-step breakdown.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by upgrading for ad-free browsing and more daily uses, or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade for ad-free browsing and higher daily limits
About Safety Stock Calculator
The Safety Stock Calculator sizes the buffer inventory you should hold to absorb demand spikes and supply delays without running out of stock. It converts your target service level into a z-score, applies the statistical safety stock formula, and shows the result on a demand bell curve. Its signature safety stock triangle reveals something most calculators hide: the demand-driven and supply-driven buffers combine like the sides of a right triangle, so you must not simply add them together.
What is Safety Stock?
Safety stock is the extra inventory you keep above your expected demand during the supplier's lead time. If demand and lead time never varied, you could time each order perfectly and hold zero buffer. In reality both bounce around, so safety stock is your insurance against the unlucky cycles when demand runs hot or a delivery runs late. It is the single most important lever for balancing stockout risk against carrying cost, and it feeds directly into your reorder point.
Safety Stock Formula
The standard statistical method ties safety stock to a target service level:
where Z is the z-score for your service level, σd is the standard deviation of daily demand, σL is the standard deviation of the lead time, d is average daily demand, and L is the average lead time in days. The term σdL is the standard deviation of demand during the lead time. If only demand varies, this simplifies to SS = Z × σd × √L; if only lead time varies, it becomes SS = Z × d × σL.
Service Level and the Z-Score
Your service level is the probability of not stocking out during a replenishment cycle. The calculator turns that probability into a z-score using the inverse of the standard normal distribution. Because the normal curve has a long thin tail, the z-score climbs steeply as you approach 100% — which is why the last few percent of protection are so expensive:
| Service Level | Z-Score | Stockout Risk |
|---|---|---|
| 50% | 0.00 | 50% |
| 90% | 1.28 | 10% |
| 95% | 1.65 | 5% |
| 97.5% | 1.96 | 2.5% |
| 99% | 2.33 | 1% |
| 99.9% | 3.09 | 0.1% |
The Safety Stock Triangle: Why You Can't Add Buffers
Demand variability and lead-time variability are independent risks. Statistics tells us independent variabilities add as variances, not as standard deviations, so the two buffers combine in quadrature:
The demand-driven buffer (SSd = Z × σd × √L) and the supply-driven buffer (SSL = Z × d × σL) are the two legs of a right triangle, and your true safety stock is the hypotenuse. Adding the legs together always overshoots the hypotenuse, so the common shortcut of summing the two buffers leaves you carrying more inventory than you need.
Worked Example
Suppose you sell an average of 40 units a day, daily demand has a standard deviation of 12 units, your lead time averages 7 days with a standard deviation of 2 days, and you target a 95% service level. Then:
| Step | Result |
|---|---|
| Z for 95% | 1.65 |
| Demand buffer: 1.65 × 12 × √7 | ≈ 52 units |
| Supply buffer: 1.65 × 40 × 2 | ≈ 132 units |
| Combined (hypotenuse): √(52² + 132²) | ≈ 142 units |
| Naive sum (avoid): 52 + 132 | = 184 units |
The correct safety stock is about 142 units — adding the buffers would have you carry 184, over-stocking by roughly 42 units.
What Affects Your Safety Stock?
A higher target service level raises the z-score and therefore the buffer — steeply so above 95%.
The more daily demand swings (σd), the larger the buffer needed to cover hot spells.
Unreliable suppliers (large σL) often drive most of your safety stock, scaled by demand.
Longer lead times widen the demand window, increasing the demand-driven buffer by √L.
Higher average demand amplifies the impact of lead-time variability on the buffer.
Better forecasts shrink σd, letting you hit the same service level with less inventory.
Assumptions and Limitations
The statistical method assumes demand during the lead time is roughly normally distributed and that demand and lead time vary independently. Real demand can be lumpy, seasonal, or promotion-driven, and a major supplier disruption is not captured by σL alone. Treat the result as a well-grounded baseline: recompute it whenever demand patterns, lead times, or supplier reliability change, and consider higher buffers for critical items where a stockout is especially costly.
How to Use This Calculator
- Set a service level: The share of cycles in which you want to avoid a stockout (for example 95%).
- Enter average daily demand: The units you sell or use on a typical day.
- Enter the lead time: The average number of days from placing an order to receiving it.
- Enter your variability: The standard deviation of daily demand and, if your supplier is unreliable, the standard deviation of the lead time. At least one is required.
- Click Calculate: Review your safety stock, the z-score, the safety stock triangle, the method comparison, and the service-level trade-off table.
Frequently Asked Questions
What is safety stock?
Safety stock is the extra inventory you hold above your expected demand during the lead time. It protects you against demand spikes and supply delays so you do not run out of stock before a replenishment order arrives.
What is the safety stock formula?
The statistical safety stock formula is SS = Z × σdL, where Z is the z-score for your service level and σdL is the standard deviation of demand during the lead time. With variability in both demand and lead time, σdL = √(L × σd² + d² × σL²).
How does service level relate to the z-score?
The z-score is the value from the standard normal distribution that leaves your target service level of probability below it. A 90% service level gives a z-score of about 1.28, 95% gives about 1.65, and 99% gives about 2.33. Higher service levels need a larger z-score and therefore more safety stock.
Why can't I just add the demand buffer and the lead-time buffer?
Because demand variability and lead-time variability are independent risks, they combine in quadrature, like the legs of a right triangle. The correct safety stock is the square root of the sum of the squares of the two buffers, which is smaller than simply adding them together.
What service level should I choose?
Most businesses target a 90% to 98% service level. A 95% service level is a common sweet spot. Because safety stock rises steeply for the last few percent, reserve very high service levels for critical, fast-moving, or high-margin items.
How is safety stock different from a reorder point?
Safety stock is the buffer alone. The reorder point is the level at which you place a new order, equal to expected demand during the lead time plus safety stock. Safety stock is one input to the reorder point.
Additional Resources
Reference this content, page, or tool as:
"Safety Stock Calculator" at https://MiniWebtool.com/safety-stock-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: June 29, 2026
Efficiency Calculators:
- Average Collection Period Calculator
- Debtor Days Calculator
- Fixed Asset Turnover Calculator
- Inventory Period Calculator
- Inventory Turnover Calculator
- Receivables Turnover Ratio Calculator
- Revenue Per Employee Calculator
- Total Asset Turnover Calculator
- EOQ Calculator New
- Reorder Point Calculator New
- Safety Stock Calculator New
- FIFO / LIFO Calculator New
- FTE Calculator
- Employee Turnover Rate Calculator
- Absenteeism Rate Calculator
- Billable Utilization Calculator
- Bradford Factor Calculator
- Takt Time Calculator