Safety Stock Calculator
Calculate buffer inventory needed to prevent stockouts.
About this calculator
Safety stock exists because both demand and supplier lead time are unpredictable, and this calculator uses the combined-variability formula that accounts for both sources of uncertainty at once rather than just one. It computes a demand-driven variance component (how much daily demand swings, scaled by how long you're exposed to that swing during lead time) and a lead-time-driven variance component (how much your unit demand rate gets multiplied when lead time itself runs long or short), combines them by adding their squares and taking the square root, then multiplies by a z-score matched to your target service level. That z-score comes from the standard normal distribution — 1.645 for 95% service level means you're stocking enough buffer that demand during lead time will exceed it only about 5% of replenishment cycles, assuming demand and lead time are both roughly normally distributed.
The calculator also reports a simpler formula that only accounts for demand variability and ignores lead-time variability entirely; comparing the two shows how much of your safety stock need actually comes from an unreliable supplier versus from unpredictable customer demand. If your supplier's lead time is highly consistent, the two methods converge; if lead time is erratic, the combined method will call for meaningfully more buffer than the simple one, and using the simple method in that situation would understate your real stockout risk.
Inputs
Results
Safety Stock (Combined Method)
345 units
How to Use This Calculator
- Enter the average daily demand and the standard deviation of daily demand.
- Input the average lead time in days and the standard deviation of lead time.
- Set the service level (e.g., 95%) to determine the Z-score.
- Review the recommended safety stock quantity.
- Higher service levels require proportionally more safety stock — balance fill rate against holding cost.
How the result changes with Average Daily Demand
| Average Daily Demand | Safety Stock (Combined Method) |
|---|---|
| 50 | 195 units |
| 75 | 268 units |
| 150 | 504 units |
| 250 | 829 units |
What each input means
- Average Daily Demand
- Average daily demand in units.
- Demand Std Deviation (daily)
- Standard deviation of daily demand.
- Average Lead Time
- Average supplier lead time in days.
- Lead Time Std Deviation
- Standard deviation of lead time in days.
- Service Level
- Target service level, 90-99%. Each whole-percent value has its own z-score.
- Unit Cost
- Cost per unit for value calculation.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersAverage Daily Demand = 100, Demand Std Deviation (daily) = 20, Average Lead Time = 10, Lead Time Std Deviation = 2 = 6 input(s) provided
- Calculate Safety StockSafety Stock345 = 345
- Calculate Safety StockSafety Stock104 = 104
- Calculate Safety Stock ValueSafety Stock Value5175.87 = $5,175.87
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does the combined method recommend more safety stock than the simple method?
The simple method only accounts for variability in demand and assumes lead time is perfectly consistent, while the combined method adds a second component for lead-time variability itself. Whenever your supplier's delivery time actually varies — which is the normal case — the combined method captures a real source of stockout risk the simple method ignores entirely.
What does the z-score actually represent?
The z-score converts your target service level into a number of standard deviations of buffer, based on the standard normal distribution — a 95% service level's z-score of 1.645 means demand during lead time is expected to exceed your stock plus safety stock only about 5% of replenishment cycles. Higher service levels require a larger z-score and therefore proportionally more safety stock.
Why does going from 95% to 99% service level increase safety stock so much?
Service level and required buffer aren't linearly related — pushing further into the tail of a normal distribution to eliminate more of the remaining stockout risk requires an increasingly larger multiple of standard deviations. The jump from a 95% z-score of 1.645 to a 99% z-score of 2.326 is a meaningful percentage increase in required safety stock for the same demand and lead-time variability.
What if my supplier's lead time has zero variability?
With a lead-time standard deviation of zero, the lead-time-driven component of the formula drops out entirely, and the combined method converges to the same result as the simple method. In that case, all of your safety stock need comes from demand variability alone, since a perfectly consistent lead time contributes no additional uncertainty.
Is the 25% annual holding cost assumption realistic for my business?
Twenty-five percent is a commonly cited industry rule of thumb for the combined cost of capital, warehousing, insurance, and obsolescence risk tied up in inventory, but actual holding costs vary by industry, storage conditions, and how quickly a product's value depreciates. If you know your company's actual carrying cost rate, substitute it for a more accurate annual holding cost estimate.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Reorder Point Calculator
Calculate when to reorder inventory based on lead time and demand.
Supply ChainEconomic Order Quantity Calculator
Calculate the optimal order size using the EOQ formula.
CosmetologyProduct Inventory Calculator
Calculate reorder points, safety stock, and optimal order quantities for salon product inventory.
Supply ChainBullwhip Effect Calculator
Measure order variance amplification across the supply chain.
More in Business & Entrepreneurship.