SSkuMath

Safety Stock Calculator

How much buffer stock do I need?

Your numbers

Result

Safety stock

    How this is calculated

    Safety stock protects against the two things that cause stockouts: demand running above forecast, and lead time running long. This calculator sizes the buffer using the standard statistical approach, and compares it against a simpler days-of-cover rule.

    1. Z-score is set by the service level (95% ≈ 1.65)
    2. Demand component = Z × daily demand standard deviation × √(lead time)
    3. Lead time component = Z × average daily sales × lead time variability
    4. Safety stock = √(demand component² + lead time component²)
    5. Days of cover = safety stock ÷ average daily sales

    What to make of the number

    Most sellers are surprised by how large the lead-time component is. Where a supplier's delivery date swings by a week, that variability alone often accounts for more buffer than demand volatility does — which is why switching to a faster, more reliable supplier can cut safety stock even at a higher unit cost.

    Frequently asked questions

    What is a service level?
    The share of demand you want to fulfil from stock rather than backorder. 95% means accepting a stockout roughly one time in twenty. Higher service levels require disproportionately more safety stock, so the last few points are expensive.
    Why use a statistical formula instead of days of cover?
    Because it separates the two causes of stockouts — demand variability and lead time variability — so you can see which one is actually driving your buffer. Days-of-cover rules cannot tell you that.
    What if I do not know my demand variability?
    Estimate it from recent daily sales: work out the spread of daily sales around the average as a percentage. A rough figure is far better than none, and you can refine it as you collect more data.
    Does more safety stock always mean better service?
    Up to a point. Beyond roughly 98% service level, each additional point requires a large increase in stock, and the carrying cost usually outweighs the benefit. Very high service levels suit products with severe stockout penalties, such as losing marketplace rank.
    How does safety stock interact with cash flow?
    Directly. Safety stock is capital sitting in a warehouse. If cash is the binding constraint, a lower service level with faster replenishment is usually better than a large buffer on a long lead time.

    Related calculators