4. Safety Stocks
So far, the inventory models treated demand and supplier timing as predictable. Real demand varies, and suppliers do not always arrive exactly on schedule. A safety stock is a planned buffer against that uncertainty. It is not a substitute for diagnosing a poor forecast, unreliable process, or unrealistic lead-time assumption.
This chapter starts with one source of uncertainty: normally distributed demand over a known protection period. It uses a specified cycle service level as the target. Later models can add uncertain lead time, discrete demand, and economic service-level choices.
Choose the service measure first
“Service level” can refer to different events and denominators. Define the metric before choosing a target or comparing software results.
| Measure | What is counted? | Example interpretation |
|---|---|---|
| Cycle service level | Replenishment cycles with no stockout, divided by cycles | Chance that available inventory covers demand until the next replenishment |
| Period service level | Time periods with no stockout, divided by periods | Share of days or weeks in which every demand unit was available |
| Fill rate | Demand units supplied immediately from stock, divided by total demand units | Share of requested units customers receive without waiting |
| Client service / OTIF | Complete customer orders delivered on time and in full, divided by orders | Share of orders that meet the agreed delivery promise |
These measures are not interchangeable, and there is no universal ranking that holds for every measurement window and customer mix. A business can have a high unit fill rate while still missing many small orders, or a strong cycle service rate while having a poor result on an unusually busy day.
A short service-score example
A shop begins each day with 6 units of a limited-release product. On day one, customers request 10 units; 6 are supplied immediately. The next day, demand is 1 unit and is fully supplied.
- Fill rate: of units were filled immediately.
- Period service: day one had a stockout and day two did not; over these two days, of periods had no stockout.
- Cycle service: if each day is one replenishment cycle, one of the two cycles had no stockout, also here.
- OTIF: cannot be inferred without defining customer orders and whether each whole order arrived on time.
The numbers happen to match for period and cycle service in this two-day example. That does not make the definitions identical. Change the cycle length, bucket size, or customer-order mix and the measurements can diverge.
Model demand with a Normal distribution
Let demand in one time bucket have mean units and standard deviation units. The first model assumes:
The mean describes the expected demand; the standard deviation describes its spread. From observations , estimate the spread with the sample standard deviation:
The Normal assumption is a useful first model, not a claim that real demand is continuous or perfectly bell-shaped. It can assign probability to negative demand, which is especially concerning when the mean is small relative to the standard deviation. Inspect the data and check whether the approximation is reasonable for the item and horizon.
For , the density is:
The cumulative distribution function gives the probability of demand being at or below a threshold :
For a standard Normal variable , write its CDF as . Its inverse returns the threshold that leaves probability below it. A density height is not itself a probability; probability is area under the curve.
Turn a cycle service target into safety stock
Suppose the inventory at the start of a protection period must cover one bucket of demand, and management chooses cycle service target . Set the inventory threshold to the quantile of demand: