Skip to content
MasterMath

Safety Stock Calculator

The buffer of stock that absorbs demand variability during the lead time, at whatever service level you decide to accept.

Currency and number format for

Safety stock

—

Safety stock—
Service level factor—
Square root of the lead time—
Days of demand it covers—
Stockout risk accepted—
Lead time—

How this was worked out

    The formula

    SS = Z × demand standard deviation × √lead time

    What it means

    Safety stock does not cover average demand: the reorder point covers that. It covers how far demand strays from its average while the order is in transit. So three things go in: how much demand varies, how many days the lead time lasts, and how much risk of running out you are willing to take, which is the Z factor. The square root of the lead time appears because the variability of several independent days grows with the square root of the number of days, not with the number.

    How to work it out by hand

    1. Work out the standard deviation of your daily demand
    2. Pick a service level and look up its Z factor: 1.65 for 95 %
    3. Multiply the factor by the standard deviation
    4. Multiply by the square root of the lead time in days

    What is worth knowing

    Raising the service level from 95 to 99 per cent sounds small and costs forty per cent more buffer; going to 99.9 nearly doubles it against 95. That curve is what to look at before promising total availability, because the last percentage point is always the most expensive. This formula assumes the variability is in demand and not in the lead time; if the supplier also misses dates, you need the version that includes lead-time deviation.

    Frequently asked questions

    What is the Z factor?

    The number of standard deviations you cover. 1.65 leaves out 5 % of cases, which is a 95 % service level.

    Why the square root of the lead time?

    Because the variability of independent days adds in variance, not in deviation. Taking the root brings the lead time in with its own.

    What service level should I pick?

    95 % is standard. Going to 99 costs 40 % more stock and 99.9 nearly double the 95 % figure.

    Does it work if my supplier is late?

    Only partly: this version assumes a fixed lead time. With variable lead times you need the formula that includes their deviation.

    How do I work out my demand deviation?

    From your daily sales history, with the standard deviation calculator. With less than a couple of months of data it is not reliable.