Safety Stock Calculator
Estimate a safety stock buffer with a quick Average-Max method or an advanced service-level statistical method, plus an optional reorder-point figure.
Safety stock is the buffer. Reorder point is expected lead-time demand plus the buffer.
What safety stock is
Safety stock is the extra inventory a business holds above expected demand during lead time, used as a buffer against demand spikes, lead time delays, or both. A safety stock calculator like this one estimates that buffer from figures you provide; it does not know your business the way you do, so the result is only as good as the demand and lead-time figures you enter.
When safety stock helps
Safety stock is most useful when demand or lead time is not perfectly predictable — for example, when daily sales vary, when a supplier's delivery time fluctuates, or when a stockout would be costly in lost sales or downstream disruption. It is not a substitute for better demand forecasting or a more reliable supplier; it is a buffer for the variability that remains after those are accounted for.
Quick Average-Max method
The Quick method (sometimes called the Average-Max method) is a simple way to estimate a safety stock level when you know, or can estimate, your maximum and average daily demand and lead time — without needing a demand standard deviation or a service-level target. It is a reasonable starting point when you have observed a maximum case (a busy day, a slow supplier) and a typical case, and want a buffer sized to the gap between them.
Advanced service-level method
The Advanced method estimates safety stock from demand variability (measured as a standard deviation per day) and a desired service level, expressed as a probability of not stocking out during lead time under this method's assumptions. It uses a standard normal z-score for the service level you choose. This method assumes lead time itself is stable; it does not model lead-time variability separately. If your lead time itself varies significantly, treat the result as a partial estimate rather than a complete one.
Safety stock formula
Quick mode (Average-Max)
Safety stock = (maximum daily demand × maximum lead time) − (average daily demand × average lead time).
Lead time is normalized to days before this calculation: days use a multiplier of 1, weeks use 7, and months use 30.4375 (365.25 ÷ 12). If the result would be negative, this calculator does not display a negative safety stock; it shows zero and explains that your entered maximum and average assumptions imply no additional buffer under this method.
Advanced mode (service level)
Safety stock = z × demand standard deviation per day ×
√(lead time in days).
Reorder point = (average daily demand × lead time in days) +
safety stock.
The z-score for preset service levels is a standard normal quantile: 90% → 1.2815515655, 95% → 1.6448536270, 97.5% → 1.9599639845, 98% → 2.0537489106, 99% → 2.3263478740, 99.5% → 2.5758293035. A Custom service level (strictly between 50% and 100%) is converted to a z-score with a numerically stable inverse standard normal approximation computed locally in this calculator; no external service is called.
Safety stock versus reorder point
Safety stock is the buffer. Reorder point is expected lead-time demand plus the buffer.
Advanced mode reports both: expected lead-time demand (what you would need on hand to cover an average lead time with no buffer at all) and the reorder point (the stock level at which a new order should be placed, including the safety-stock buffer). This page focuses on estimating the safety-stock buffer itself. Use the Reorder Point Calculator for broader ordering-policy workflows.
Worked example
Quick mode (example scenario, illustrative only, not a benchmark): maximum daily demand of 140 units, average daily demand of 100 units, maximum lead time of 14 days, and average lead time of 10 days.
Safety stock = (140 × 14) − (100 × 10) = 1,960 − 1,000 = 960 units.
Advanced mode (example scenario, illustrative only): average daily demand of 100 units, a demand standard deviation of 20 units per day, an average lead time of 10 days, and a 95% service level.
Safety stock = 1.6448536270 × 20 × √10 ≈ 1.6448536270 × 20 × 3.1623 ≈ 104.03 units. Expected lead-time demand = 100 × 10 = 1,000 units, so reorder point ≈ 1,000 + 104.03 = 1,104.03 units.
Use the “Load example” button above to load the matching values for whichever mode is active.
How to interpret the result
Estimated safety stock is the extra inventory this method suggests holding on top of what you expect to sell during lead time. In Quick mode, it reflects the gap between your worst observed case and your typical case. In Advanced mode, it reflects how much demand variability you told the calculator to expect, scaled by how confident (the service level) you want to be in avoiding a stockout under this method's assumptions. Neither method, nor any formula, guarantees zero stockouts: unusual demand spikes, lead-time delays beyond what you modeled, or data-entry errors can all still cause a stockout.
Assumptions and limitations
- All lead-time inputs must use the same selected unit; this calculator does not detect or correct mismatched units.
- Quick mode only uses the maximum and average values you enter; it does not statistically model demand distribution.
- Advanced mode models demand variability with lead time treated as stable; it does not model lead-time variability.
- Demand patterns, seasonality, promotions, minimum order quantities, and supplier reliability can all change the right buffer, and none of them are modeled here.
- This is a planning estimate, not forecasting, inventory-policy, accounting, legal, tax, financial, or professional supply-chain advice.
Common input mistakes
- Entering lead-time values in mixed units, for example maximum lead time in weeks and average lead time in days.
- Entering a maximum that is not actually the highest observed value, which understates the buffer in Quick mode.
- Using a standard deviation calculated over the wrong time window, for example weekly variability entered as if it were daily.
- Assuming a higher service level percentage is always safer to pick without weighing the extra inventory it requires.
- Treating the result as a guarantee against stockouts rather than a planning estimate.
How safety stock fits with reorder point and EOQ
Safety stock is one of four related inventory formulas: it feeds directly into the Reorder Point Calculator, while order size (EOQ) and carrying cost are calculated separately. See the Inventory Planning Formulas guide for one worked scenario that carries all four calculations through together.
Frequently asked questions
What is safety stock?
Safety stock is the extra inventory held above expected demand during lead time, used as a buffer against demand spikes, lead-time delays, or both. This safety stock calculator estimates a safety stock level from figures you provide; it is not a substitute for your own demand forecasting or supplier data.
How do I calculate safety stock, and which method should I use?
This calculator offers two safety stock formulas. Quick mode uses the Average-Max method: it needs only your maximum and average daily demand and lead time, which is useful when you have not yet calculated demand variability. Advanced mode uses a service-level method based on demand standard deviation, which is more statistically grounded once you have that figure available.
What service level should I use?
There is no universally correct service level: a higher target (such as 99%) reduces stockout risk under this method's assumptions but requires holding more inventory, while a lower target holds less inventory at higher stockout risk. This calculator does not recommend a value; choose the level that fits your own service targets, or enter a Custom value between 50% and 100%.
How is safety stock different from reorder point?
Safety stock is the buffer. Reorder point is expected lead-time demand plus that buffer - the stock level at which a new order should be placed. Advanced mode on this page reports both figures, but this calculator focuses on estimating the safety-stock buffer itself. The dedicated Reorder Point Calculator on this site adds lead-time demand, supports a known-safety-stock mode, and gives broader reorder-point context.
How is the Custom service level converted to a z-score?
For the preset service levels (90%, 95%, 97.5%, 98%, 99%, and 99.5%), this calculator uses standard, published normal z-scores. For a Custom service level, it computes the equivalent z-score locally in JavaScript using a numerically stable inverse-normal approximation; no external service is called and no data leaves your browser for this calculation.
Does this calculator guarantee I will never stock out?
No. Safety stock is a planning buffer, not a guarantee. Demand spikes larger than modeled, lead-time delays beyond what you entered, seasonality, promotions, minimum order quantities, and supplier reliability can all still cause a stockout even when a safety stock buffer is in place.
Is this supply-chain, accounting, or financial advice?
No. This tool provides a planning estimate based on the figures and assumptions you enter. It is not forecasting, inventory-policy, accounting, legal, tax, financial, or professional supply-chain advice.