Why the protection window includes two intervals
A continuously reviewed system can react when stock reaches a trigger. In a periodic-review system, the opportunity to order arrives only every r days. If a review has just happened, a new shortage can wait nearly the full review interval before the next order is placed, and then wait through lead time l for the replenishment to arrive. The calculator therefore covers the review-plus-lead protection period r+l.
The target is a stock position rather than simply the number of units on a shelf. The shipped tool uses current inventory position as the input; in inventory practice that commonly includes on-hand units plus on-order units minus backorders. Use the exact position convention used by your system. Comparing a target with on-hand stock alone can overstate or understate what needs to be ordered.
Choose inputs from a consistent demand history
Enter mean daily demand d and its standard deviation s in the same item units per day. Estimate them from a period that is relevant to the replenishment decision, with returns, promotions, and missing days handled consistently. Set r and l in days on that same daily time basis. The calculator's fixed-lead-time assumption means it does not add a separate buffer for uncertain delivery duration.
The dimensionless z factor scales the variability buffer; a larger z raises the target. Choose it from the service objective and model assumptions. Enter inventory position i in the same item units; the result is continuous, so order rounding remains separate.
Calculate a target and compare it with stock position
For independent daily demand with a fixed protection horizon, the calculator uses S=d(r+l)+z·s·√(r+l). The first term is expected demand during the protection window. The second is the safety buffer, using the square root of time to scale daily standard deviation under an independence assumption. If daily demand is correlated or seasonally patterned, that square-root scaling may not describe the true protection-demand spread.
The suggested continuous order is max(0,S−i). If inventory position is below target, the difference is positive; if it is already at or above target, the tool reports zero instead of a negative order. This is a replenishment quantity, not a guarantee that every future demand path will be served. Actual service depends on forecast quality, the chosen factor, supply reliability, review execution, and how the business treats substitutions or backorders.
Worked examples
A ten-day protection period
Inputs: d=40 units/day, s=6 units/day, r=7 days, l=3 days, z=1.645, i=320 units.
Calculation: Protection period=7+3=10 days. Expected demand=40×10=400 units. Buffer=1.645×6×√10=31.21 units. Target=431.21; suggested quantity=max(0,431.21−320)=111.21 units.
The model's continuous target is about 431.21 units, so a position of 320 implies about 111.21 units before pack-size or ordering rules.
Existing position is above the modeled target
Inputs: d=28 units/day, s=4 units/day, r=14 days, l=5 days, z=1.96, i=650 units.
Calculation: Protection period=19 days. Expected demand=28×19=532 units. Buffer=1.96×4×√19=34.17 units. Target=566.17; since i=650 exceeds the target, max(0,566.17−650)=0.
The calculator suggests no replenishment in this review; the excess position is not converted into a negative order.
Check units, rounding, and the demand buffer
Check dimensions before interpreting the output: demand times days and daily standard deviation times √days both give units. The result must use the same unit count as d and i. Cases in the demand fields cannot be compared with individual units in inventory position.
Inspect the mean and variability separately before changing z. A few large spikes can make standard deviation high, while a new seasonal pattern can make the historical mean stale. If demand has different regimes, consider segmenting the data or using a forecasting method that reflects them. The calculator is a compact policy calculation; it does not estimate d or s from transaction history.
Review the policy in operation
Make the review date and inventory-position snapshot explicit. Record how open orders and backorders are treated, then apply supplier pack sizes, minimums, and order calendars outside the calculated quantity.
After implementation, compare predicted protection demand with observed demand over actual review-plus-lead intervals. Persistent misses may indicate biased forecasts, a wrong time unit, variable lead time, or dependence between daily demands. Re-estimate the inputs when the operating process changes; do not treat a previously calculated target as permanent just because the equation has not changed.