GlossaryProcurement encyclopedia

Safety Stock: How to Size It Statistically

Safety stock is the inventory buffer held against demand and lead-time variability. Formula: z × σ × √(lead time). With z-scores by service level and a worked example.

Use the definition

Turn procurement terms into an operating system.

This reference page should help you understand the concept first. When the term affects purchasing execution, LineNow connects it to live POs, supplier replies, receiving, and accounting handoff.

View PlatformSee How LineNow Works

Safety stock is the extra inventory held above expected demand to absorb the volatility in demand and the variability in supplier lead times. It is the buffer that prevents stockouts when reality deviates from the forecast.

Quick answers

What is safety stock? Safety stock is the buffer of inventory held above expected demand to protect against stockouts when actual demand or supplier lead time differs from the forecast. It's the difference between "how much you're statistically expected to need" and "how much you actually keep on hand."

What is the safety stock formula? safety stock = z × σ × √(lead time in days). z is the z-score for your target service level (1.28 for 90% service, 1.65 for 95%, 2.33 for 99%). σ is the standard deviation of daily demand. lead time is the days between placing an order and receiving it.

What's a typical safety stock target? Most operators run blended service levels: 95%+ for top movers and critical items (1 stockout in 20 cycles), 75–90% for the long tail (1 stockout in 4–10 cycles). 100% service is uneconomical because the safety stock required grows asymptotically.

How is safety stock different from a PAR level? Safety stock is the buffer above expected demand. PAR level is the total target inventory: PAR = base demand + safety stock + manual buffer. Safety stock is one component of PAR, not the whole thing.

The formula

The standard statistical formula for safety stock is:

safety stock = z × σ × √(lead time in days)

where:

  • z is the z-score corresponding to your target service level (the probability you want to not stock out)
  • σ is the standard deviation of daily demand
  • lead time is the time between placing an order and receiving it

Z-scores by service level

Target service levelZ-scoreStockout frequency
50%0.001 in 2 cycles
75% (low)0.671 in 4 cycles
90% (medium)1.281 in 10 cycles
95% (high)1.651 in 20 cycles
97.5%1.961 in 40 cycles
99%2.331 in 100 cycles

The right service level depends on the cost of a stockout vs the cost of carrying. A flagship product or a critical ingredient warrants 95%+. A long-tail SKU that sells once a week might warrant 75%. Most operators run blended — high service for top movers, lower for the tail. ABC inventory analysis provides the systematic framework for assigning service-level targets by value tier across a full catalog: A-items at 95%+ (z ≈ 1.65), B-items at 80–90% (z ≈ 0.84–1.28), C-items at 70–80% (z ≈ 0.52–0.84).

Worked example

A coffee shop sells an average of 18 lbs of beans per day, with a daily-demand standard deviation of 4 lbs. Lead time is 3 days. The operator wants 95% service level.

  • z = 1.65 (95% service)
  • σ = 4 lbs/day
  • lead time = 3 days
  • safety stock = 1.65 × 4 × √3 ≈ 11.4 lbs

Note that safety stock is on top of expected lead-time demand (18 × 3 = 54 lbs). Total cushion at the reorder moment is about 65 lbs.

Why most safety stock numbers are wrong

Most operators set safety stock by gut feel: "keep an extra week." This produces enormous over-buffering on slow movers (where one extra week might be 10× the actual demand variance) and under-buffering on volatile items.

The statistical approach gives you a defensible number per item. With daily POS sync providing σ automatically, safety stock can be computed nightly and stay current as demand patterns change.

How LineNow computes safety stock

For every line item, LineNow:

  1. Pulls the 30-day daily-bucketed demand sequence from your POS.
  2. Computes μ (mean) and σ (standard deviation).
  3. For intermittent or erratic demand (classified via ADI and CV²), uses the Syntetos–Boylan Approximation as the demand model and MAD (mean absolute deviation) × 1.25 as a more robust σ estimator for the safety stock buffer.
  4. Applies z based on the configured rush sensitivity: low (0.67), medium (1.28), high (1.65).
  5. Substitutes √(orderFrequencyDays) when the order cycle is shorter than the lead time, since it's the longer of the two that drives risk.

You can override the rush sensitivity per item or set a manual safety buffer on top.

Safety stock vs overstock

Safety stock is not "extra inventory because we are nervous." It is a priced insurance policy against stockouts.

QuestionLow safety stock riskHigh safety stock risk
What happens if demand spikes?Stockout, lost sales, emergency buyUsually covered
What happens if demand slows?Less cash tied upOverstock, spoilage, carrying cost
What happens if lead time slips?Rush order or customer missMore time to absorb the delay
Who should get more buffer?Low-margin, slow tailA-items, critical ingredients, best sellers

The right safety stock target is therefore economic. A high-margin best seller deserves more protection than a slow-moving accessory. A perishable ingredient may need a lower service target than a shelf-stable item because waste risk rises quickly.

In a vendor managed inventory (VMI) arrangement, the supplier sets the safety stock target on the buyer's behalf using their own service-level assumptions. The buyer cannot verify whether those targets reflect the actual cost of a stockout or the supplier's production scheduling preferences — which is why buyer-managed closed-loop procurement keeps the safety stock calculation and the service-level target visible to the operator who bears the stockout cost.

Practical review cadence

Review safety stock when one of these changes:

  • supplier lead time shifts
  • demand volatility changes
  • the item moves ABC tier
  • the item becomes seasonal
  • the cost of stockout changes
  • pack size or MOQ changes

The formula is stable. The inputs are not. That is why safety stock belongs in a replenishment workflow that keeps demand, lead time, and receiving data current instead of in a spreadsheet nobody reopens.