Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Reorder Point CalculatorNumerical Integration CalculatorZ-Transform Calculator
Home Page > Financial Calculators > Efficiency Calculators

Safety Stock Calculator

Calculate safety stock from demand variability, lead-time variability and a target service level. Converts the service level into a z-score, applies the statistical formula, and shows how demand and supply buffers combine in quadrature.

Free to useNo sign-up requiredInstant Results
Safety Stock CalculatorTry it now — free ▼
Quick examples — click to fill the form, then press Calculate:
%
Probability of not stocking out per cycle (0–100).
Units you sell or use on a typical day.
Average days from placing an order to receiving it.
📊 Your variability (enter at least one)
How much daily demand swings (σd).
How much delivery time varies (σL). Leave blank if steady.

Embed Safety Stock Calculator Widget

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:

Statistical Safety Stock
$$SS = Z \times \sigma_{dL} \qquad \sigma_{dL} = \sqrt{L \cdot \sigma_d^2 + d^2 \cdot \sigma_L^2}$$

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 LevelZ-ScoreStockout Risk
50%0.0050%
90%1.2810%
95%1.655%
97.5%1.962.5%
99%2.331%
99.9%3.090.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:

Buffers Combine Like a Right Triangle
$$SS = \sqrt{SS_d^2 + SS_L^2}$$

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:

StepResult
Z for 95%1.65
Demand buffer: 1.65 × 12 × √752 units
Supply buffer: 1.65 × 40 × 2132 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?

🎯 Service Level

A higher target service level raises the z-score and therefore the buffer — steeply so above 95%.

📊 Demand Variability

The more daily demand swings (σd), the larger the buffer needed to cover hot spells.

🚚 Lead-Time Variability

Unreliable suppliers (large σL) often drive most of your safety stock, scaled by demand.

⏱️ Lead Time Length

Longer lead times widen the demand window, increasing the demand-driven buffer by √L.

📈 Average Demand

Higher average demand amplifies the impact of lead-time variability on the buffer.

🔁 Forecast Quality

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

  1. Set a service level: The share of cycles in which you want to avoid a stockout (for example 95%).
  2. Enter average daily demand: The units you sell or use on a typical day.
  3. Enter the lead time: The average number of days from placing an order to receiving it.
  4. 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.
  5. 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:

Top & Updated:

Stock Average CalculatorStock Beta CalculatorStock Profit Loss CalculatorView all →
Home Page > Financial Calculators > Efficiency Calculators > Safety Stock Calculator