Skip to main content
Calcimator

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

units
units
days
days
%
$

Results

Safety Stock (Combined Method)

345 units

Safety Stock (Simple Method)104 units
Safety Stock Value$5,175.87
Days of Safety Coverage3.5 days
Annual Holding Cost$1,293.97
Z-Score1.65
How to Use This Calculator
  1. Enter the average daily demand and the standard deviation of daily demand.
  2. Input the average lead time in days and the standard deviation of lead time.
  3. Set the service level (e.g., 95%) to determine the Z-score.
  4. Review the recommended safety stock quantity.
  5. Higher service levels require proportionally more safety stock — balance fill rate against holding cost.

How the result changes with Average Daily Demand

Average Daily DemandSafety Stock (Combined Method)
50195 units
75268 units
150504 units
250829 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

  1. Identify Input Parameters
    4 parameters
    Average Daily Demand = 100, Demand Std Deviation (daily) = 20, Average Lead Time = 10, Lead Time Std Deviation = 2 = 6 input(s) provided
  2. Calculate Safety Stock
    Safety Stock
    345 = 345
  3. Calculate Safety Stock
    Safety Stock
    104 = 104
  4. Calculate Safety Stock Value
    Safety Stock Value
    5175.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.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Business & Entrepreneurship.