Home › Learn › Safety Stock Formula: How to Calculate It (Example)
Comparison

Safety Stock Formula: The Calculation, a Worked Example, and the Reorder Point It Feeds

Updated 2026-08-21 · 1605 words · Written against what currently ranked for “safety inventory formula”
The short answer

Safety stock = a service-level factor (Z-score) times the variability in demand and lead time during replenishment — not a flat number of days. Full version: SS = Z × √[(lead time × demand variance) + (average demand² × lead-time variance)]. Below is that math done on real numbers.

The team behind Dr. Stock

$500M+
in Amazon revenue managed across 100+ brands — the operating experience sitting behind Dr. Stock
Full Circle group · approved public figures
70+
brands live across the Full Circle and reMKTR group right now, with their catalogues, fee structures and restock calendars
Full Circle group · approved public figures
$49M
in tracked group revenue in July, up 16.7% year over year
Full Circle group · approved public figures
Orbit
the inventory, finance and ASIN-profitability suite — plus the BSR, buy box, price and fee trackers — included at no additional cost
Full Circle group · approved public figures

The safety stock formula, three ways

There isn't one safety stock formula — there are three tiers of it, and most guides only give you the weakest one. Pick based on how much data you actually have, not which one looks simplest.

  • Basic (days of supply): SS = Average Daily Sales × Safety Days. Fast, but the "safety days" number is a guess dressed up as math. Fine for a low-value SKU you're not going to lose sleep over.
  • Average-Max: SS = (Max Lead Time × Max Sales) − (Average Lead Time × Average Sales). Better because it's built from your own history, but it locks onto your worst historical outlier and keeps protecting against it forever — including the one time a supplier had a customs delay that will never repeat.
  • Statistical (Z-score × variability): SS = Z × √[(Lead Time × Demand Variance) + (Average Demand² × Lead-Time Variance)]. This is the one that actually separates demand risk from supply risk and lets you dial in a service level on purpose instead of by accident. It needs more inputs — standard deviation of daily demand, standard deviation of lead time — but those are sitting in your sales history and your PO records already.

The Z-score is your target in-stock probability translated into a multiplier: 1.28 for 90%, 1.65 for 95%, 1.96 for 97.5%, 2.33 for 99%. Higher service level, higher Z, more stock, more cash tied up. There's no free version of this trade-off.

Worked example: calculating safety stock for a real SKU

Take a SKU selling an average of 50 units a day, with a daily demand standard deviation of 15 units — some days 35, some days 80, that's normal noise. Average lead time from the supplier is 30 days, with a lead-time standard deviation of 5 days. You're targeting a 95% service level, so Z = 1.65.

SS = 1.65 × √[(30 × 15²) + (50² × 5²)]
= 1.65 × √[(30 × 225) + (2,500 × 25)]
= 1.65 × √[6,750 + 62,500]
= 1.65 × √69,250
= 1.65 × 263.2
≈ 434 units of safety stock

Notice the lead-time variance term (62,500) dwarfs the demand variance term (6,750) here. That's common for anything shipped internationally with a supplier who doesn't confirm ship dates reliably — the buffer is protecting against your supply chain, not your customers. Run the two terms separately before you commit to a number; if you don't, you can't tell whether the fix is more stock or a better supplier conversation.

Reorder point: what the safety stock number actually protects

Safety stock on its own doesn't tell you when to order. It's an input to the reorder point:

Reorder Point = Safety Stock + (Average Daily Sales × Average Lead Time)

Continuing the example above: 434 + (50 × 30) = 434 + 1,500 = 1,934 units. That's your trigger. When on-hand inventory (including anything in transit that hasn't landed yet) drops to 1,934, you place the next order — not before, or you're paying for storage on stock you didn't need yet; not after, or the 434-unit buffer is the only thing standing between you and a stockout during the next 30-day lead time.

If you're also using an EOQ (Economic Order Quantity) for how much to order each time, safety stock and reorder point don't change — they just sit underneath whatever quantity EOQ tells you to buy.

The mistake we see most often — and one we've made ourselves

The formula is rarely the problem. The problem is that brands calculate safety stock once, at launch, off the first few months of sales data, and then never touch it again. Demand shifts, lead times drift as a supplier's factory gets busier or a freight lane changes, and the number quietly stops matching reality in either direction — too low and you stock out mid-BSR-climb, too high and you're funding someone else's warehouse with aged-inventory surcharges.

Across the $500M+ in managed revenue we've managed for 100+ brands, the single most repeated fix isn't a smarter formula — it's re-running the same formula on a rolling window instead of a fixed one, and re-running it after every seasonal spike, not just before it. We've done this wrong ourselves: sized a buffer off a clean six-month stretch, then watched a Q4 demand spike blow through it because the standard deviation used was calculated on a period with none of that volatility in it.

The other common error is using the average-max method's outlier as if it were normal. One bad shipment from one bad quarter should not set your buffer for the next two years.

When the number is wrong: what to check before you raise the buffer

If you followed the formula and still stocked out, don't just push the safety stock number up and hope. Check, in this order:

  • Is the lead-time variance real or guessed? Most sellers use the supplier's quoted lead time as if it were fixed, then wonder why the buffer wasn't enough. Pull your actual PO-to-receipt history and calculate the real standard deviation.
  • Did demand actually change? A launch promotion, a competitor stockout, or a seasonal pull can move your average and your variance at the same time. A formula run on stale data will look precise and be wrong.
  • Is the service level target still the right one? A 90% target (Z=1.28) on a hero SKU during a launch push is usually too low — a stockout there costs you rank, not just a few days of sales.

And if the buffer is fine but stock is still sitting too long and picking up storage or aged-inventory fees, that's not a safety stock problem — that's a demand-forecast or a liquidation-timing problem, and raising the buffer further only makes it worse.

Side by side — safety inventory formula
MethodFormulaBest forWatch for
Basic (days of supply)SS = Avg Daily Sales × Safety DaysLow-value SKUs, quick estimatesThe 'safety days' figure is a guess, not a calculation
Average-MaxSS = (Max Lead Time × Max Sales) − (Avg Lead Time × Avg Sales)Sellers with history but no variance dataLocks in your worst historical outlier permanently
Statistical (demand only)SS = Z × σ(demand) × √(Lead Time)Stable supply, variable demandIgnores lead-time risk entirely
Statistical (demand + lead time, independent)SS = Z × √[(LT × σd²) + (Avg Demand² × σLT²)]Most Amazon FBA SKUs with real variability in bothNeeds accurate lead-time history, not the quoted number

Which one you should actually pick

Use the statistical formula if you have lead-time and demand history worth trusting; use average-max as a stopgap while you build that history, but don't let it run forever. Recalculate on a rolling basis, not once at launch. If the leak turns out to be reorder timing, aged stock, or fee errors rather than the formula itself, that's the kind of thing Dr. Stock is built to find and fix — inventory purchasing decisions still go through a human either way.

What to do with this

Shortlist on the job, not the feature grid. Total three numbers first: storage and aged-inventory surcharges for the last twelve months, lost sales on days your best sellers were out of stock, and cash sitting in SKUs that have not moved in 180 days. Then ask each vendor what they would do about those three in week one.

Common questions

What's the difference between safety stock and reorder point?

Safety stock is the buffer itself — the extra units held to absorb demand or lead-time surprises. The reorder point is the trigger level (safety stock plus expected consumption during lead time) at which you place the next order. Safety stock is an input to the reorder point, not a substitute for it.

What service level (Z-score) should I use for Amazon FBA?

There's no universal number — it depends on how much a stockout costs you on that specific SKU. A hero ASIN mid-launch or mid-ad-push usually justifies 97.5–99% (Z = 1.96–2.33) because a stockout there costs rank, not just missed sales. A slow, low-margin SKU can often run at 90% (Z = 1.28) without much downside.

My safety stock keeps causing overstock and storage fees — what's wrong?

Usually one of three things: the variance was calculated on a period that included an outlier event, the demand average is stale relative to current sell-through, or the target service level was set higher than the SKU's economics justify. Recalculate on a rolling window and exclude one-off shipment or demand anomalies before raising or lowering the number.

Does Amazon's own replenishment tool already calculate this for me?

Amazon's Manage Inventory and FBA replenishment recommendations use their own internal logic, and it isn't published as a transparent formula — it tends to run conservative for some SKUs and thin for others, without showing you the demand or lead-time variance behind the number. The formula above is one you can audit yourself against your own PO and sales history, which their tool doesn't let you do.

My stockout tanked my ad rank — is that a safety stock problem?

The stockout itself is an inventory problem and the formula above is how you prevent the next one. But if the damage that's lingering is depressed ACOS or lost keyword rank in the ad account after stock came back, that's a PPC recovery issue, not a reorder-point issue — that's a question for Dr. PPC, not an inventory calculation.

Dr. Stock runs Amazon inventory and supply chain — reorder timing, stockout risk, storage and aged-inventory fees, FBA fee errors and dimensional-weight misclassification, shipment discrepancies and reimbursement recovery — with operators from a $500M+ Amazon team supervising. Purchasing decisions always come to a human. Orbit is included. First 30 days free, priced on the call.

Book a Dr. Stock demo
Written against what currently ranked for “safety inventory formula”, checked 2026-08-21: abcsupplychain.com. Vendor prices change without notice — check the vendor's own page before you budget. Our own figures are labelled with the scope and period they came from.