Home / Insights

Inventory series · Part 2 of 4

Setting Safety Stock Without Guessing: Three Methods and a Worked Example

Ask how a business sets its safety stock and the usual answer is a rule of thumb: "we keep two weeks of everything." It is easy to remember and easy to apply. It is also wrong for most items.

A flat rule ignores the two things that create the need for a buffer: how much demand swings, and how reliable the supplier is. An item with steady sales and a dependable supplier needs very little. An item with erratic sales and a supplier who is sometimes two weeks late needs a lot. "Two weeks" gives both the same cover.

In Post 1 we used ABC analysis to find which items matter most at Northshore Supply, a fictional distributor. This post sets a safety stock and reorder point for three of those items, one from each class, and shows what the flat rule gets wrong.

What safety stock is

Safety stock is the extra inventory you hold to cover the gap between what you expected and what actually happened during a supplier's lead time. It is not the stock you plan to sell; it is the cushion underneath it.

It feeds directly into the reorder point, the stock level at which you place the next order:

Reorder point = (average demand × lead time) + safety stock

Three things decide how big the cushion needs to be:

DriverThe question it answersWhere to find it
Demand variabilityHow far does weekly demand stray from its average?Standard deviation of weekly sales over the last 12 months
Lead time and its variabilityHow long does the supplier take, and how often are they late?Purchase order date to receipt date, for the last 10 to 20 orders
Target service levelHow often are you willing to run out?A business decision, set by ABC class

A 95% service level means that in 95 out of 100 replenishment cycles, stock lasts until the next delivery arrives. The other five times, you run short. Service level is a choice, and a higher one always costs more stock.

Three methods, from simple to rigorous

Method 1: Average-max

This needs no statistics. Take your worst realistic case and subtract the normal case.

SS = (max weekly demand × max lead time) − (average weekly demand × average lead time)

It is quick and works with very little data. Its weakness is that it assumes the busiest week and the latest delivery happen together, so it usually overstates the buffer. One freak week in your history can inflate it badly.

Method 2: Statistical, demand variability only

This is the standard textbook formula. It sizes the buffer from how much demand actually varies and the service level you choose.

SS = Z × σd × √L

Here Z is the service factor, σd is the standard deviation of weekly demand, and L is the lead time in weeks. Use it when your supplier delivers on time, every time.

Method 3: Statistical, demand and lead time variability

Most suppliers are not perfectly reliable. This version adds the lead time's own variability.

SS = Z × √( L × σd² + d² × σL² )

Here d is average weekly demand and σL is the standard deviation of lead time in weeks. This is the method to use for A and B items whenever you have the lead time history.

The service factor Z

Z converts a service level into a number of standard deviations. In Excel it is =NORM.S.INV(service level).

Service level90%95%98%99%99.9%
Z1.281.642.052.333.09

Keep the units consistent. If demand is measured per week, lead time must be in weeks too.

A worked example: three items from Northshore Supply

We take one item from each ABC class in Post 1. Average weekly demand is the annual usage divided by 52. The other figures come from Northshore's sales and purchase order history.

InputNS-101 Nitrile gloves (A)NS-108 Hi-vis vest (B)NS-111 Shop towels (C)
Average weekly demand (units)10017.310
Standard deviation of weekly demand2065
Maximum weekly demand1403022
Average lead time (weeks)432
Standard deviation of lead time (weeks)1.00.50.5
Maximum lead time (weeks)643
Target service level98%95%90%
Unit cost$62$68$44

Step by step for the gloves, using Method 3

  1. Demand part: L × σd² = 4 × 20² = 1,600
  2. Lead time part: d² × σL² = 100² × 1² = 10,000
  3. Add and take the square root: √11,600 = 107.7 units
  4. Multiply by Z for 98%: 2.054 × 107.7 = 221.2, rounded up to 222 units
  5. Reorder point: (100 × 4) + 222 = 622 units

When stock on hand plus stock on order falls to 622 cases, Northshore places the next order.

Results for all three items

Result (units)NS-101 Gloves (A)NS-108 Vest (B)NS-111 Towels (C)
Method 1: Average-max4406946
Method 2: Demand variability only831810
Method 3: Demand and lead time2222312
Reorder point (Method 3)6227532
Safety stock value (Method 3)$13,764$1,564$528
"Two weeks of everything" rule2003520

Four lessons come out of this table.

  • Lead time variability can matter more than demand variability. For the gloves, the lead time part (10,000) is six times the demand part (1,600). Method 2 ignores it and gives 83 units, well under half of what is needed.
  • Average-max overshoots. It asks for two to four times the Method 3 figure, because it plans for the worst week and the latest delivery arriving together.
  • The flat rule puts stock in the wrong place. Two weeks is 10% too little for the gloves, about 50% too much for the vests and 67% too much for the towels.
  • The right buffers do not cost more. Method 3 holds $15,856 across the three items; the flat rule holds $15,660. The money is nearly the same, but it now sits where the risk is.

Choosing a service level for each class

Service level is where ABC analysis and safety stock meet. A common starting policy looks like this.

ClassTypical targetReasoning
A97 to 99%A stockout loses the most revenue, so aim high, but calculate carefully because the buffer is expensive
B95%A solid default for items that matter but are not critical
C90 to 95%A stockout costs little, and a simple generous buffer is often enough

The catch is that service gets more expensive the higher you go. The chart shows the safety stock value for the gloves at eight service levels.

Each extra point of service costs more than the lastSafety stock value for NS-101 nitrile gloves at each service level, Method 3$6,94485%112 units$8,61890%139 units$11,03695%178 units$12,58697%203 units$13,76498%222 units$15,56299%251 units$17,23699.5%278 units$20,64699.9%333 units
Illustrative data for a fictional distributor: NS-101, $62 unit cost. The blue bar is the 98% target used in the example.

Moving from 95% to 99.9% nearly doubles the buffer, from $11,036 to $20,646. The last step alone, from 99% to 99.9%, costs $5,084 for less than one point of service. No level reaches 100%, because the formula has no upper limit.

The same step is cheap on a C item. Raising the shop towels from 90% to 99% adds 9 cases, or $396. That is why many businesses do the careful calculation only for A and B items, and give C items a generous flat buffer. The effort goes where a wrong answer costs real money.

Practical cautions

Lumpy demand breaks the formula. Methods 2 and 3 assume demand is spread roughly evenly around its average. An item that sells nothing for five weeks and then 40 in one week does not behave that way. As a rough test, if the standard deviation is larger than the average, do not trust the statistical result. Use average-max or a simple min/max instead.

Measure real lead time. Use the date the goods were received, not the date the supplier promised. Count from the day you placed the order, and include your own receiving and put-away time.

Remove one-off events. A single project order or a one-time promotion inflates the standard deviation for a year. Take it out before you calculate, and note that you did.

Safety stock does not fix a biased forecast. If demand is consistently above forecast, the problem is the forecast. Safety stock covers random swings, not a steady error in one direction.

Compare the reorder point to the right number. Use stock on hand plus stock already on order, less any customer backorders. Checking on-hand alone leads to double ordering.

Review on a schedule. Recalculate A items every quarter, B items twice a year and C items once a year. Recalculate immediately when you change supplier or a lead time shifts.

Your checklist

  • Pull 12 months of weekly demand for your A and B items
  • Pull order and receipt dates for the last 10 to 20 purchase orders per item
  • Calculate the average and standard deviation of demand and of lead time
  • Set a target service level for each ABC class
  • Calculate safety stock with Method 3, and the reorder point
  • Use average-max or min/max for C items and for lumpy demand
  • Load the reorder points into your system and set a review date
Free Excel templateThe workbook for this series includes a safety stock calculator with all three methods, preloaded with the Northshore example.
Download template

Next in the series: Post 3 applies ABC analysis to a manufacturer, where raw materials, work in progress and spare parts each need their own treatment.

Chmltech Ltd. helps small and mid-sized businesses improve operations and adopt digital tools. If you would like help applying this to your own inventory, get in touch.

Chmltech Insights · Free template

Download the template

Inventory ABC and Safety Stock Template (Excel workbook)

We use your details to record this request and may follow up about it. See our privacy notice.

Keep reading

Related articles

All 155 articles
Operational EfficiencyProcess Improvement

Inventory series · Part 3 of 4

ABC Analysis for Manufacturers: Why Dollar Value Is Not Enough

In a plant, a $40 part can stop a line. How to add a criticality rating to ABC analysis for raw materials, packaging and spare parts, with an example.

Nov 11, 2026 · 7 min read

Operational EfficiencyProcess Improvement

Inventory series · Part 4 of 4

Safety Stock for Manufacturers: Raw Materials and Spare Parts

Safety stock for raw materials, where supplier lead time drives the buffer, and for spare parts, where the Poisson method replaces the usual formula.

Nov 11, 2026 · 7 min read

Ready to find your next improvement?

Book a strategy call. We will talk through your goals, pain points and where AI, systems or process work can make the biggest difference.