Safety Stock Calculator

Work out safety stock and the reorder point from demand variability, lead time variability and a target service level.

units
units
periods
periods
Set to zero if the lead time is reliable.
Leave at zero to skip the holding cost.
Safety stock 200.1 units
safety stock = z × √(LT × σ_demand² + demand² × σ_LT²) · reorder point = demand × LT + safety stock
Reorder point 800.1 units
Expected demand during the lead time 600 units
Safety stock from demand variability alone 114 units
Share of the buffer caused by lead time variability 43.1 %
Annual cost of holding the buffer 0
Worth knowing Safety stock covers the variability during the lead time, and the reorder point is that buffer plus the demand you expect while waiting — 600 units here. Reorder when stock reaches 800.1. Lead time variability accounts for 43.1% of the buffer. Note that it does not simply add: the two variances combine in quadrature, so adding the two buffers separately would overstate it by 39.1%. Service level is not the same as the fill rate. 95% here means a 5% chance of running out during any one replenishment cycle, not that 95% of units ship on time — the second figure is usually higher. Going from 95% to 99.9% nearly doubles the buffer, because the z value roughly doubles. The last few per cent of availability are by far the most expensive, and that curve is the whole economics of inventory.

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Safety Stock Calculator does

Use this safety stock calculator to work out safety stock and the reorder point from demand variability, lead time variability and a target service level. Fill in all 6 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for sizing buffer stock for a product line. For a second version of this safety stock calculator, see FreeToolStation.org.

How to use it

  1. Enter average demand per period and its standard deviation — use the same period throughout.
  2. Enter the average lead time in those periods, and how much it varies.
  3. Choose a service level. 95% is a common starting point.
  4. Read the reorder point: that is the stock level at which to place an order.

How it works

Safety stock exists to absorb two kinds of uncertainty while you are waiting for a delivery: demand being higher than expected, and the delivery arriving later than expected. The formula used here — King’s formula — handles both, and the important detail is how it combines them. The two variances add, so the standard deviations combine in quadrature rather than directly. Adding the two separate buffers together overstates the requirement, often by twenty per cent or more, because it assumes the worst of both happens at once.

The z value turns a service level into a multiplier, and the relationship is steeply non-linear in a way that drives the economics. Going from 90 to 95 per cent raises z from 1.28 to 1.64, which is a 28 per cent larger buffer. Going from 95 to 99.9 raises it to 3.09, which nearly doubles it again. Each additional increment of availability costs disproportionately more than the last, so the right service level is a commercial decision about the cost of a stockout against the cost of holding — not a target to be maximised.

Service level is routinely confused with fill rate and they are different measures. A 95 per cent service level here is the cycle service level: the probability of not running out during any single replenishment cycle. The fill rate — the proportion of demand met from stock — is usually higher, because a stockout late in a cycle affects only part of the demand. If a supplier or a customer has specified a figure, it is worth establishing which one they mean before sizing anything.

One structural caveat about the maths. The formula assumes demand is roughly normally distributed and independent between periods. Real demand often is not: it can be seasonal, trending, or lumpy with a few large orders dominating, and a few big customers make it correlated rather than independent. Where demand is genuinely lumpy, a normal-distribution buffer is the wrong shape entirely and will be too small for the spikes that matter. Checking the demand history against the assumption is worth more than refining the service level.

When to use it

  • Sizing buffer stock for a product line.
  • Setting a reorder point for an inventory system.
  • Seeing what an unreliable supplier costs in held stock.
  • Comparing the stock requirement at different service levels.
  • Costing the inventory implication of a service level target.

Common mistakes to avoid

  • Adding the demand and lead time buffers directly. They combine in quadrature, not by addition.
  • Mixing periods — weekly demand with a lead time in days.
  • Confusing cycle service level with fill rate.
  • Chasing 99.9% availability without pricing the buffer it requires.
  • Applying a normal-distribution formula to lumpy demand dominated by a few large orders.

Frequently asked questions

What is the safety stock formula?

z × √(lead time × demand variance + demand² × lead time variance). The z value comes from the service level, and the two sources of variability combine in quadrature rather than adding.

How do I calculate a reorder point?

Expected demand during the lead time, plus the safety stock. With 200 units a period, a 3-period lead time and a 114-unit buffer, that is 714 units.

What service level should I use?

It is a commercial trade-off, not a target to maximise. 95 per cent is a common default. Pushing to 99.9 nearly doubles the buffer, so the right level depends on what a stockout costs you against what holding stock costs.

Is service level the same as fill rate?

No. Cycle service level is the chance of not stocking out in a replenishment cycle; fill rate is the share of demand met from stock, and it is usually higher. Check which one anyone else means.

Why does unreliable lead time matter so much?

Because the lead time variance is multiplied by the demand rate squared. At high demand, even a small variation in lead time dominates the buffer — which is why supply reliability is often worth more than demand forecasting.

Related tools

See all finance calculators →