ROT

Safety Stock Calculator

Size the buffer that keeps shelves stocked when demand spikes or the truck runs late. Enter a target service level, your demand history, and lead time to get the exact number of units to hold above expected demand. No more guessing with "two extra weeks of supply."

Inputs

Enter your numbers

%

The odds of not stocking out during one replenishment cycle. 95 is a sensible default. Use 98 or 99 for A-class items.

units
units

How much daily sales swing around the average. Run STDEV on the last 12 weeks of daily sales.

days
days

Spread of actual delivery times over the last 8 to 12 POs. Enter 0 if the supplier always hits the promised date.

Result

Your calculation

Safety Stock

173 units

Z Score (service factor)

1.64

Implied Reorder Point

523 units

Buffer Driven by Demand Swings

9%

Buffer Driven by Lead-Time Swings

91%

Formula Used

Z × √(Lead Time × σD² + Daily Demand² × σLT²)

Advertisement · AdSense Placeholder (inline)

Formula

Z × √(Lead Time × σD² + Daily Demand² × σLT²)

The formula answers one question: how many extra units does this SKU need so the shelf survives a bad week? It adds up two risks. The first term covers demand jumping around while you wait for the truck. A store averaging 50 units a day does not sell 50 every day, it sells 30 on a rainy Tuesday and 85 on a promo Saturday. The second term covers the truck itself being unpredictable, because a supplier who quotes 7 days but delivers in anywhere from 5 to 11 forces you to hold more. The Z score converts your target service level into a multiplier on that combined risk. For categories sourced offshore or through consolidated freight, the lead-time half of the equation usually dominates, which surprises teams who only ever look at demand history. If your supplier is perfectly reliable, enter 0 for lead-time deviation and the formula collapses to the simpler Z × σD × √LT version.

Worked Example

A grocery buyer is setting the buffer for a top-selling SKU. Average daily demand is 50 units with a standard deviation of 12. The distributor averages 7 days but the last 10 POs show a 2-day standard deviation. Target service level is 95%, so Z is 1.64. Demand risk: 7 × 12² = 1,008. Lead-time risk: 50² × 2² = 10,000. Safety Stock = 1.64 × √11,008 ≈ 173 units, and the implied reorder point is (50 × 7) + 173 = 523 units. Now the what-ifs. Push service level to 99% and the buffer jumps to about 245 units, a 42% increase for four extra points of protection. Get the supplier to hit its dates every time (lead-time deviation of 0) and the buffer collapses to about 53 units, which is why fixing a sloppy supplier is often cheaper than holding the stock. If holiday season doubles demand swings to a standard deviation of 24, the buffer only climbs to about 195 units, proof that in this SKU the lead-time risk, not the demand risk, is what you are really paying for.

Frequently Asked Questions

What is safety stock in plain language?+

It is the inventory you hold above expected demand so a hot sales week or a late truck does not empty the shelf. The reorder point covers the average case. Safety stock covers the weeks that refuse to be average. If your demand history is too messy for the statistical formula, the simpler max-average version works: (max daily usage × max lead time) minus (average daily usage × average lead time). The Safety Stock Calculation Guide walks through both methods and when each one fits.

How do I choose how much safety stock to hold?+

Pick a service level first, then let the formula size the buffer. Most operators run A-class items at 97 to 99%, B items at 92 to 95%, and C items at 85 to 90%. Setting one blanket number across the whole assortment is the expensive way to do it. Classify the range with the ABC Analysis Calculator before locking in service levels.

How does safety stock relate to the reorder point?+

Safety stock is one of the two ingredients inside the reorder point. ROP = (daily demand × lead time) + safety stock. This calculator shows the implied reorder point alongside the buffer, and the Reorder Point Calculator lets you work the same math from the other direction.

How does safety stock relate to EOQ?+

They answer different questions. Safety stock decides how much cushion to hold. EOQ decides how much to order each time a PO fires. They interact in one subtle way: cutting order size means more orders per year, which means more lead-time windows in which a stockout can happen. Teams that shrink EOQ to free up cash should re-check their service levels afterward.

Should every SKU get the same safety stock treatment?+

No, and this is where ABC classification earns its keep. A-class SKUs justify the full statistical treatment and a high service level because a stockout on a top seller is expensive. C-class tail items can run on a simple rule of thumb since over-buffering one slow SKU costs little but over-buffering five hundred of them ties up serious cash. Differentiating by class typically releases 15 to 30% of buffer inventory without hurting aggregate service.

What are the most common safety stock mistakes?+

Flat days-of-supply rules across all SKUs, ignoring lead-time variability, applying one service level to the entire assortment, and calculating once then never revisiting. Each one quietly compounds the others. The Inventory Management Best Practices guide covers how to catch them in a monthly review.

How should seasonal demand change safety stock?+

Recalculate on a rolling window instead of using a static annual number. Feed the calculator the trailing 8 to 12 weeks of demand, refreshed weekly in season and monthly out of season. A Christmas SKU sized off January data will stock out in November, and the same buffer carried into February becomes markdown inventory. Check the Inventory Turnover Benchmarks for your vertical to see how much seasonality your category typically carries.

What if my supplier keeps delivering late?+

Use the observed lead time from your last 8 to 12 POs, never the quoted one, and let the lead-time deviation input do its job. This calculator shows what share of your buffer is driven by lead-time swings, and when that share climbs past half, the cheapest fix is usually the supplier conversation, not more stock. The Lead-Time Reduction Strategies guide covers where the biggest wins sit. For tracking buffers across a full assortment, use the Inventory Management Tracker (Excel).

Related Articles

Deep-dive guides that explain the math behind this calculator.

Related Calculators

Explore Related Resources

Handpicked benchmarks, templates and guides to help you dig deeper.