Safety stock and reorder point calculator
Calculate how much safety stock to hold and when to reorder, from your demand, lead time and target service level, and see how the stock and its cost grow as the target rises.
Runs in your browser. Nothing you type, paste or upload is sent anywhere unless you choose to submit a contact form.
The example numbers are made up for illustration, not industry benchmarks. Change them to your own.
Safety stock
-
Fill in demand, lead time and service level, or load the example, to see the result.
Cycle service level is the chance of no stockout in a replenishment cycle. It is not the fill rate, the share of demand served from stock, which is usually higher at the same safety stock. The formula assumes demand and lead time are roughly normal and independent. It breaks down for intermittent or very lumpy demand, such as spare parts or items that sell a few times a year.
See what actually happened
This calculator sets a target from your assumptions. A retrospective analysis goes through the past year of your own sales and inventory data and shows when you actually ran out, when you held more than you needed, and what each cost you.
Request an inventory analysisHow it works
The formula
The calculator uses the standard combined formula for safety stock when both demand and lead time vary. Here d is average demand per period, σd its standard deviation, L the average lead time, σL its standard deviation, R the review period (0 for continuous review) and z the standard normal value for your service level.
z = inverse standard normal CDF of the service level safety stock = z × √( (L + R) × σd² + d² × σL² ) reorder point = d × (L + R) + safety stock holding cost = safety stock × unit cost × annual holding rate
Simpler variants
When only one source of variation matters, the combined formula reduces to one of these. The results panel shows both for comparison. Each is smaller than the combined figure whenever the other source also varies.
demand variation only SS = z × σd × √(L + R) lead time variation only SS = z × d × σL
Continuous and periodic review
With continuous review (R = 0) you place an order as soon as stock on hand plus on order falls to the reorder point. With periodic review you check stock every R periods, so the safety stock has to cover the review period and the lead time together. In that case d × (L + R) + SS is the order-up-to level: at each review, order enough to bring stock on hand plus on order up to it.
The z value
z is computed in your browser with Acklam's rational approximation to the inverse standard normal distribution, accurate to about nine significant digits. For reference, 90% gives 1.2816, 95% gives 1.6449 and 99% gives 2.3263. At 50%, z is 0 and the formula holds no safety stock.
What the service level means
- Cycle service level is the probability of not running out during one replenishment cycle.
- It is not the fill rate, the share of units demanded that ship from stock. The same safety stock usually gives a higher fill rate than cycle service level, so do not compare one to the other directly.
- Each step up costs more than the last. Going from 95% to 99% raises z by about 41%, and going from 99% to 99.9% raises it by about another 33%.
Assumptions and limits
- Demand per period is roughly normal, and independent from one period to the next.
- Lead time is roughly normal and independent of demand.
- Demand, lead time and review period all use the same period unit.
- It breaks down for intermittent or very lumpy demand, where many periods have no demand at all. A standard deviation larger than the average is a warning sign. Those items need a different method, such as one based on the Poisson distribution or on simulation.
- It does not include order quantities, minimum order sizes, shelf life or supplier capacity.
- Results are rounded up to whole units, since rounding down would fall short of the target.
What a retrospective analysis does differently
A retrospective analysis works from your history instead of averages. It reconstructs demand item by item, measures how demand and lead times really varied, finds the stockouts and the excess stock you actually had over the past year, and puts a cost on each.