Calculate the buffer without adding the mean
The safety-stock formula is SS = zσd√L. σd is daily demand standard deviation in units per day, L is fixed lead time in days, and z is a selected service factor. The calculator also displays average daily demand, but the runtime does not use that field in the safety-stock result. The mean is needed for a full reorder point, not for this buffer calculation.
Under independent daily demand with the same variance, the standard deviation across L days is σd√L. Multiplying it by z expresses the buffer in standard-deviation units. A positive factor creates a buffer above the mean; z=0 gives no buffer. The tool evaluates the arithmetic directly and does not turn z into a service percentage or enforce a statistical domain guard for all entered values.
Worked examples
Five-day fixed lead time
Inputs: Daily demand standard deviation 7 units/day; L=5 days; z=1.65; average demand field=48 units/day for context.
Calculation: SS=1.65×7×√5=25.8265851 units. The average-demand field does not enter this result.
The buffer is about 25.83 units; add the 240 units of mean lead-time demand separately if calculating a reorder point.
Longer lead time with a larger factor
Inputs: Daily demand standard deviation 4.5 units/day; L=8 days; z=1.96; average demand field=55 units/day for context.
Calculation: SS=1.96×4.5×√8=24.9467272 units.
The displayed buffer is about 24.95 units; the one-sided normal-tail interpretation of z must not be confused with a two-sided 95% interval.
Choose a consistent daily measure
Estimate daily standard deviation from comparable demand observations or forecast errors. Keep the item unit and daily basis compatible with lead time; convert a weekly spread before treating it as daily.
The model assumes fixed lead time and independent daily variation. Persistent demand spikes, promotions, or variable delivery timing change the spread. A validated forecast for the full replenishment window may be more appropriate than scaling a mismatched daily statistic.
Work through two buffer estimates
With σd = 7 units/day, L = 5 days, and z = 1.65, SS = 1.65 × 7 × √5 = 25.8266 units. If average demand is 48 units/day, the expected lead-time demand is 48 × 5 = 240 units, so a separate reorder-point calculation would add the buffer to that mean. This calculator intentionally returns 25.8266, not 265.8266.
For σd = 4.5 units/day, L = 8 days, and z = 1.96, SS = 1.96 × 4.5 × √8 = 24.9467 units. The result is a continuous quantity; a policy may round it to whole units after calculating the full trigger. Under a normal model, z=1.96 corresponds to about 97.5% of a one-sided distribution below the threshold; it is often quoted for a two-sided 95% interval, which is a different interpretation.
Distinguish a buffer from a service promise
A cycle-service probability follows only when lead-time demand fits the model and z represents the correct one-sided tail. The factor does not directly state fill rate or expected shortage.
The tool takes z as an input and calculates no probability. Document the service definition and compare buffer cost with the effect of unavailable stock.
Avoid common implementation mistakes
With independent daily variation, spread scales with √L, not L. Mean demand belongs in the expected lead-time term; multiplying it by z is not safety stock. The displayed average-demand field is unused by this evaluator, so changing only it leaves the result unchanged.
Use nonnegative demand, lead time, standard deviation, and z for the buffer interpretation. The evaluator accepts finite negatives without a semantic guard; negative z subtracts from the buffer, and negative standard deviation has no statistical meaning.
Validate before adding the buffer to a trigger
Audit by calculating σL=σd√L before multiplying by z. Compare the estimate with historical totals over similar lead-time windows; a larger spread may signal correlation, censored sales, seasonality, or variable delivery time.
For a reorder trigger, add the buffer to expected demand over the same window. Keep order size separate. A fixed-window estimate is a baseline when review intervals, supplier delays, or shortage costs matter.