Safety Stock with a Variable Lead Time

Lesson 19.3
12 minOpsida Teknoloji · Last reviewed: October 30, 2026

In one sentence

When the lead time varies, inventory protection must account for the uncertainty of both daily consumption and the expected time.

By the end of this lesson

  • Calculate the two components of total demand variance under independent demand and replenishment.
  • Find the raw safety, the rounded protection and the order threshold from the given data.
  • Compare, numerically, the options of reducing replenishment variability and of reducing daily demand variability.
  • Stop using the independence formula when demand and replenishment are correlated.

Why it matters

The safety calculation with a fixed time assumes that the day on which the order will be ready for use does not change. In reality a delay in replenishment can lead to more consumption while the material is awaited. Even if demand stays the same, a longer time has to be covered. With a variable lead time, safety stock also covers this additional uncertainty. Combining only the average delivery day with the daily demand deviation leaves the volatility in the time invisible. But calculating two different uncertainties separately and adding the safety quantities directly is generally not correct either. Under independent conditions the quantity that combines is the variance; the standard deviation and the protection are found afterwards.

The model of this lesson requires that the daily demands be independent of each other and come from the same distribution, and also that the lead time be independent of these demands. The variance of the total quantity consumed during the time replenishment takes consists of two parts. The first part is the daily volatility within the average number of days. The second part is the volatility arising over the average consumption because the number of days changes. If the daily mean is high, even a small deviation in time can have a large effect. Showing the two terms separately makes it possible to judge, apart from raising inventory, which process improvement will be more effective.

The calculation of the variance under these conditions and the use of the service factor are separate assessments. The total variance formula is valid when its conditions are met; choosing protection with the factor z requires an approximately normal representation of total replenishment demand. If replenishment is from time to time cut very long, distributions with the same mean and standard deviation can carry different tail risks. The appearance of 1.65 in the calculation therefore does not give a firm guarantee of a service percentage in real life. The shape of the distribution, the data coverage and rare events are examined. Repeated heavy delays are not left as unexplained events to be covered just by a higher factor.

In a relationship where the supplier is also loaded when demand rises, the independence assumption is especially doubtful. If high consumption falls exactly in long replenishment periods, the conditions in which the most protection is needed arise together. Calculating the total deviation with the independent model can miss this pairing. Demand and replenishment records are therefore stored with their time order and pairings preserved. Having only two averages in separate files is not enough to examine the relationship. In correlated data, demand and time must be assessed together according to the condition; adding an arbitrary extra percentage to the independent formula does not turn a wrong assumption into a verified model.

Formula

Mean replenishment demand under the independent model (units) = E(L) × E(d)

Replenishment demand variance (units²) = E(L) × σd² + E(d)² × σL²

Replenishment demand standard deviation (units) = √[E(L) × σd² + E(d)² × σL²]

Safety stock (units) = z × Replenishment demand standard deviation

Reorder point (units) = Average replenishment demand + Safety stock

Time base: σd is the deviation of one day's quantity in units

L is used as the number of one-day periods in the first variance term and as days in the time term

Total lead time made up of processing, inspection, transport and waitingStart: 180 s4424141880Waiting −40 s: 140 s4424141840Shaping 44 sDeburring 24 sCheck 14 sMove 18 sWaiting 80 sValue-creating work: 68 s68 ÷ 180 = 37.8% of the total180 − 40 = 140 s
In the figure's separate example, 44+24+14+18+80=180 seconds; when waiting falls by 40 seconds, the total is 140 seconds. The initial share of the 68 seconds that create value is about 37.8%. It supports seeing the waits within the replenishment scope; do not derive replenishment variance or the service target from this single observation. This dataset was generated synthetically for training; it does not represent a real business, employee or customer study.

Unlock the rest of this lesson with an Academy account

Create a free Academy account with your work email address; it can be used once it is approved.

  • Step-by-step instructions
  • Worked example with real numbers
  • Where the method misleads
  • Common mistakes
Create a free Academy account