Safety Stock Calculator

Safety stock is the buffer inventory you hold to absorb variability in demand and lead times [1]. Too little means stockouts and lost sales. Too much ties up working capital and warehouse space. This calculator uses the King formula — maximum demand and lead time minus average demand and lead time — to find your minimum buffer. Enter your numbers to see where you should be.

Mean daily sales or consumption, averaged over the last 90 days or more for stability.

Typical number of days from placing an order to receiving it. Use your supplier's average, not their quoted lead time.

Highest daily demand you've experienced or expect during peak periods. Look at your 95th percentile day.

Longest lead time you've experienced from this supplier, including delays. Use your worst-case from the past 12 months.

Recommended Safety Stock

700 units

units buffer

Reorder Point: 1,400 units

Inventory Breakdown

Safety Stock700 units
Pipeline / Cycle Stock700 units
Reorder Point1,400 units

How Safety Stock Is Calculated

We use the King formula (also called the max-min method), one of the most widely applied safety stock formulas in inventory management [2]. It calculates the buffer needed to cover the worst-case scenario: maximum demand occurring simultaneously with maximum lead time. The result is a conservative but reliable buffer.

1

Identify Demand and Lead Time Ranges

Gather your average and maximum values for both daily demand and supplier lead time. These four numbers capture the variability your safety stock must absorb.

2

Apply the King Formula

Safety Stock = (Max Daily Demand x Max Lead Time) - (Avg Daily Demand x Avg Lead Time). This gives the extra inventory needed beyond normal pipeline stock to prevent stockouts under worst-case conditions.

3

Calculate Reorder Point

Reorder Point = (Avg Daily Demand x Avg Lead Time) + Safety Stock. When inventory falls to this level, place a new order. The safety stock portion ensures you don't run out while waiting for delivery.

Frequently Asked Questions

Safety stock is the buffer — inventory held purely as insurance against variability. The reorder point is the inventory level that triggers a new order. Reorder point = average demand during lead time + safety stock. You order at the reorder point; safety stock is the portion of inventory you hope never to use [1].
The King formula works well for products with relatively stable demand patterns. For highly seasonal, promotional, or new products with volatile demand, consider using the standard deviation-based formula (Z x sigma_demand x sqrt(lead_time)) which accounts for demand distribution shape. The King formula is more conservative but simpler.
Higher safety stock = higher service level (fewer stockouts). The King formula implicitly targets near-100% service level by covering the worst-case scenario. If you can tolerate occasional stockouts (say, 95% service level), you can reduce safety stock. The tradeoff is always working capital vs. stockout risk.
No. Use ABC analysis: A-items (top 20% by revenue) deserve tight safety stock management and high service levels. C-items (bottom 50% by revenue) may not justify holding safety stock at all. Holding uniform safety stock across all SKUs ties up capital in low-value items.
Recalculate quarterly for most items, or monthly for high-variability items. Demand patterns and supplier lead times change over time — safety stock calculated a year ago may be too high (wasting capital) or too low (risking stockouts). Automate recalculation if possible.

Want Real-Time Inventory Visibility?

See how a digital twin turns static stock counts into live inventory tracking across your warehouse floor.