All guides

· 3 min read · Waseem

Safety stock formula: two ways to calculate it, with examples

Safety stock protects you from late deliveries and busy weeks. The simple max-minus-average method and the statistical formula (Z × σ × √lead time), worked through in rupees and kilograms.

Safety stock is the extra stock you keep so that a late delivery or a busy week doesn't stop production. There are two common ways to calculate it:

  1. Simple method: (maximum daily usage × maximum lead time) − (average daily usage × average lead time)
  2. Statistical method: Z × standard deviation of daily usage × √lead time in days

Use the simple method when you have little data; use the statistical one when you have a few months of daily or weekly usage.

Method 1: maximum minus average

A Rajkot foundry uses pig iron:

Average Worst case
Daily usage 40 kg 60 kg
Supplier lead time 7 days 10 days

Safety stock = (60 × 10) − (40 × 7) = 600 − 280 = 320 kg.

That covers the worst week you've seen. It's easy to explain, but it often keeps more stock than you need, because the worst usage and the worst delay rarely happen together.

Method 2: the statistical formula

Safety stock = Z × σ(daily usage) × √(lead time in days)

  • Z is how sure you want to be of not running out during a lead time: 1.28 for 90%, 1.65 for 95%, 2.33 for 99%.
  • σ (sigma) is the standard deviation of daily usage: how much usage moves around its average.
  • Lead time in days, square-rooted, because ups and downs over several days partly cancel out.

Same foundry, with 12 weeks of data: average 40 kg a day, standard deviation 12 kg a day, lead time 7 days, 95% service level.

Safety stock = 1.65 × 12 × √7 = 1.65 × 12 × 2.65 ≈ 52 kg.

Far less than 320 kg, because it's based on how usage really varies rather than the single worst day. That's money not sitting in your godown: at ₹45/kg, the difference is about ₹12,000 for one item.

If lead times also vary, use the fuller version: Z × √(lead time × σ(usage)² + average usage² × σ(lead time)²). For most small factories, measuring the supplier's real average lead time and using the simpler formula is enough.

Choosing the service level

Not every item deserves 99%:

  • Critical, cheap items (a ₹4 bolt that stops the line): 99%. Holding extra costs little.
  • Expensive, slow items (a ₹40,000 motor used twice a month): 90% may be fine, with a faster emergency supplier.
  • Everything else: 95% is a sensible default.

Safety stock and the reorder point

Safety stock is part of the reorder point: reorder point = average daily usage × lead time + safety stock. In the example: 40 × 7 + 52 = 332 kg.

How KnowyourInventory does it

For each item and warehouse, KnowyourInventory measures daily usage over the last 12 weeks, uses the supplier's real average lead time from your goods receipts, and applies the statistical formula at a 95% service level. The demand forecast shows the safety stock and reorder point for every item, and how confident it is given how much history there is.

Frequently asked questions

What is the formula for safety stock?

The statistical formula is Z × standard deviation of daily usage × √lead time in days, with Z = 1.65 for a 95% service level. The simple formula is (maximum daily usage × maximum lead time) − (average daily usage × average lead time).

How much safety stock should a small manufacturer keep?

Enough to cover normal variation in usage and supplier delays at the service level you choose, usually 95%. For a typical raw material that's often a few days of usage, not weeks. Calculate it per item rather than using a flat "two weeks of stock" rule.

Is safety stock the same as minimum stock?

Not exactly. Minimum stock (or reorder level) is when you reorder; safety stock is the buffer you hope never to use. The reorder point includes the safety stock plus the demand expected during the lead time.

More guides