Business tools
Safety stock calculator
Free safety stock calculator and reorder point calculator for inventory planning. Use the simple max−avg method or statistical formula (Z-score × standard deviation × √lead time) at service levels from 90% to 99% — live safety stock units, reorder point, step breakdown, and export. No submit button.
What safety stock is
Safety stock (also called buffer stock) is extra inventory you hold to protect against stockouts when demand spikes or supplier lead times run long. It sits on top of cycle stock — the units you expect to sell during a normal replenishment cycle (average daily demand × average lead time).
Think of safety stock as a buffer: cycle stock covers the average case; safety stock covers the gap between average and worst-case demand during lead time. The reorder point tells you when to place the next order; safety stock is the cushion that keeps you from running out before replenishment arrives. This calculator estimates buffer units and reorder point together.
Simple max−avg method
Conservative estimate from peak demand and peak lead time — no sales history required.
Statistical service level
Z-score formula when you have demand standard deviation and a target service level (90–99%).
Reorder point
Cycle stock plus safety stock — the inventory level that triggers your next purchase order.
CSV/PDF export
Download inputs, formulas, and results for planning spreadsheets or team reviews.
Related business tools: break-even calculator, quick ratio calculator, current ratio calculator, and churn rate calculator.
Safety stock formula — simple method
The simple safety stock formula compares worst-case demand during lead time to average demand during lead time:
Simple safety stock formula
Safety stock = (Dmax × LTmax) − (Davg × LTavg)D = daily demand (units/day). LT = lead time (days). Use the same time unit for demand and lead time. Results round up to whole units.
This method is conservative: you set maximum daily demand and maximum lead time from recent peaks (promotions, supplier delays) and compare them to averages. If the formula yields a negative number, safety stock is zero — your average case already covers the peaks you entered.
Select Simple in the calculator and enter four values. The step breakdown shows worst-case demand, average demand during lead time, safety stock, and reorder point live as you type.
Statistical safety stock formula
When you have historical sales data, the statistical method ties safety stock to a target service level — the probability you will not stock out during lead time:
Statistical safety stock formula
Safety stock = Z × σd × √LTZ = Z-score for your service level (e.g. 1.65 at 95%). σd = standard deviation of daily demand. LT = average lead time in days. v1 uses demand variability only — lead-time variability is planned for a future update.
Higher service levels raise Z and therefore safety stock: 90% → Z = 1.28, 95% → 1.65, 97% → 1.88, 99% → 2.33. If demand standard deviation is zero (perfectly stable sales), safety stock is zero — an informational callout appears in the calculator.
Example: average demand 10 units/day, σ = 2, lead time 9 days, 95% service level → SS = 1.65 × 2 × √9 = 9.9 → 10 units (rounded up). Advanced planners also use lead-time variability formulas (Z × σLT × Davg or combined demand + lead-time variance) — those are on the v1.1 roadmap; v1 uses demand σ only.
Safety stock by service level (worked example)
The same SKU can need very different buffers depending on your target service level. Holding average daily demand at 10 units, demand standard deviation 2, and average lead time 9 days, statistical safety stock rounds up as follows (formula: Z × σ × √LT):
| Service level | Z-score | Safety stock (units) |
|---|---|---|
| 90% | 1.28 | 8 |
| 95% | 1.65 | 10 |
| 99% | 2.33 | 14 |
Demand and lead time did not change — only the service-level target did. Moving from 90% to 99% nearly doubles the buffer. Use the Statistical mode and service-level dropdown to model your SKU class; reserve 99% for critical or high-margin items where stockouts are costly.
Reorder point formula
Your reorder point is the inventory level at which you place the next purchase order so stock arrives before you run out. It combines cycle stock and safety stock:
Reorder point formula
Reorder point = (Davg × LTavg) + Safety stockCycle stock = Davg × LTavg — expected demand while you wait for replenishment. Add safety stock for the buffer against variability.
This calculator always shows reorder point units alongside safety stock — whether you use the simple or statistical method. When on-hand inventory hits the reorder point, trigger your PO so new stock arrives before cycle stock is consumed. Some ERP guides write reorder point differently; the standard form used here is cycle stock + safety stock, not safety stock multiplied into lead time.
Worked example — keyboard shop (275 units)
Keyboard shop (simple method): Average daily demand 7 units, maximum daily demand 15 units, average lead time 10 days, maximum lead time 23 days.
Worst-case demand = 15 × 23 = 345 units. Average demand during lead time = 7 × 10 = 70 units. Safety stock = 345 − 70 = 275 units. Reorder point = 70 + 275 = 345 units.
Load the Keyboard shop preset in the calculator to reproduce this example. The step breakdown lists each multiplication and subtraction so you can audit the math before exporting.
How to choose simple vs statistical
| Simple max−avg | Statistical (Z-score) | |
|---|---|---|
| Best for | New SKUs, limited history, conservative planning | Stable SKUs with sales history and σ |
| Inputs | Avg + max demand; avg + max lead time | Avg demand, demand σ, avg lead time, service level |
| Output style | Worst-case buffer | Probability-based buffer at chosen service level |
| Trade-off | May over-stock if max values are extreme | Requires accurate σ; ignores lead-time variability in v1 |
Start with simple when you lack reliable demand history or want a quick conservative estimate. Switch to statistical once you can compute daily demand standard deviation from POS or ERP exports. Many planners run both and compare — higher simple SS may signal you need a higher service level or better supplier reliability.
How to estimate demand and lead time
Average daily demand: Total units sold over a representative period ÷ calendar days in that period. Use 30–90 days for fast movers; exclude known stockout days where sales were capped by empty shelves.
Maximum daily demand: Highest single-day sales in the same window, or a planned peak (Black Friday, launch week). For simple method, max should reflect a realistic worst case — not a one-off anomaly unless you expect it again.
Lead time: Calendar days from PO placement to goods available to sell (include supplier processing, transit, and your receiving time). Track actual lead times per supplier; use average and maximum from the last 6–12 orders.
Demand standard deviation (statistical): In Excel or Google Sheets, compute daily sales for each day in your window, then use STDEV.S on those daily values. The calculator’s advanced section explains this workflow — education only; enter σ directly in the statistical mode.
Safety stock days: After calculating safety stock, divide by average daily demand to express buffer as days of cover — Safety stock days = Safety stock units ÷ Average daily demand. Example: 275 units ÷ 7 units/day ≈ 39 days of safety buffer for the keyboard shop preset.
Common safety stock mistakes
- Mixing time units — demand per day with lead time in weeks (or business days vs calendar days) skews cycle stock and reorder point.
- Using average lead time only in the simple method — the simple formula needs both average and maximum lead time; ignoring max LT understates safety stock.
- Max demand below average — validation fails because peaks must be ≥ averages; fix your inputs before trusting results.
- Confusing safety stock with reorder point — safety stock is the buffer; reorder point is buffer plus expected demand during lead time.
- Ignoring seasonality — one static σ or max demand may be wrong in peak season; recalculate before major campaigns.
- Fractional units — you cannot ship 0.4 keyboards; this tool rounds safety stock and reorder point up to whole units.
- Expecting EOQ in one tool — economic order quantity optimizes order size; safety stock optimizes buffer level. They complement each other but use different formulas.
Limitations
This tool covers single-SKU planning. Multi-product businesses need per-SKU calculations or an ERP — batch upload is not available in v1.
The statistical method does not yet model lead-time variability (only demand σ). King’s method, full APICS formula suites, and EOQ are out of scope — see FAQs for context; EOQ may ship as a separate calculator later.
Results are for planning and education, not a substitute for demand planning software or professional supply-chain advice. Pair inventory buffers with cash and unit economics from our break-even calculator, quick ratio calculator, current ratio calculator, and churn rate calculator when reviewing working capital and customer retention alongside stock levels.
How to use this calculator
Choose simple or statistical method
Simple: enter average and maximum daily demand plus average and maximum lead time. Statistical: enter average demand, demand standard deviation, average lead time, and target service level (90–99%).
Enter your demand and lead time inputs
Use the keyboard shop preset to see a worked example, or type your own values. Results update live — no submit button.
Review safety stock, reorder point, and export
Read the step breakdown and formula card, then download CSV or PDF if you need to share inputs and results with your team.
More free tools
Discover more calculators for time tracking, payroll, and HR.
Frequently asked questions about this safety stock calculator
What is safety stock?
Safety stock is extra inventory held as a buffer against uncertain demand and lead time. It reduces stockout risk on top of cycle stock — the units you expect to sell while waiting for replenishment.
What is the safety stock formula?
The simple formula is: Safety stock = (Maximum daily demand × Maximum lead time) − (Average daily demand × Average lead time). The statistical formula is: Safety stock = Z × σd × √Lead time, where Z comes from your target service level and σd is the standard deviation of daily demand.
How do you calculate safety stock?
Pick a method: simple — enter avg/max demand and avg/max lead time; subtract average-case demand during lead time from worst-case demand. Statistical — multiply the Z-score for your service level by demand standard deviation and the square root of average lead time. This calculator does both and rounds up to whole units.
What is the difference between safety stock and reorder point?
Safety stock is the buffer units only. Reorder point = (Average daily demand × Average lead time) + Safety stock — the total on-hand level that triggers a new purchase order so you do not stock out before replenishment arrives.
What is buffer stock vs safety stock?
In everyday usage, buffer stock and safety stock mean the same thing — extra inventory above expected demand. Some organizations use “buffer” for raw materials and “safety stock” for finished goods, but the planning math is identical.
What is the 50% rule for safety stock?
The 50% rule is a rough heuristic: hold safety stock equal to about half of average demand during lead time (or half of one reorder cycle). It is quick but not data-driven — use the simple or statistical formulas in this calculator for SKU-specific results.
How is safety stock calculated in APICS?
APICS / ASCM materials describe several approaches, including statistical safety stock using demand and lead-time variability (often combined under the square root of lead time). This v1 calculator implements the common Z × σd × √LT demand-variability form plus the simple max−avg method — not the full six-formula APICS suite.
What is King's method for safety stock?
King’s method (Gordon King) sets safety stock from target service level, forecast error, and replenishment period length — common in retail forecasting. It is related to but not identical to the Z-score formula here. King’s method is on the v1.1 roadmap; use statistical mode with demand σ as the closest alternative today.
What service level should I use?
95% is a common default for general merchandise — about one stockout risk period in 20 lead times. Use 99% for critical or high-margin SKUs where stockouts are costly; 90% for low-value or easily substituted items. Higher service level = higher Z = more safety stock and holding cost.
How do you calculate standard deviation of demand?
Collect daily unit sales for a representative window (e.g. 60–90 days). In Excel: =STDEV.S(range) on those daily values. Exclude days you were out of stock if sales were artificially low. Enter the result as demand standard deviation in statistical mode.
Should lead time include weekends?
Use calendar days consistently — the days from PO to goods available, including weekends and holidays if suppliers and carriers do not ship. If you only count business days, convert both average and maximum lead time the same way; do not mix calendar demand with business-day lead time.
How often should I recalculate safety stock?
Recalculate when demand patterns, lead times, or service-level targets change — at minimum quarterly. Also rerun before peak season, after supplier changes, or when stockout or overstock rates shift. Fast-moving SKUs may need monthly reviews.
Can EOQ be used to determine safety stock?
No. EOQ (economic order quantity) optimizes how much to order per replenishment to minimize ordering and holding costs. Safety stock optimizes how much buffer to hold against variability. Use both together — EOQ for order size, safety stock for reorder point — but they are separate calculations.
What is an acceptable safety stock level?
There is no universal “right” level — it depends on service-level target, unit value, shelf life, and storage cost. Compare safety stock days of supply (SS ÷ avg daily demand) across similar SKUs; if simple method far exceeds statistical, check whether your max inputs are realistic or service level is too high.
Simple vs statistical — which should I use?
Use simple when you lack sales history or want a quick conservative estimate from peak demand and lead time. Use statistical when you have reliable daily sales data and a defined service-level target. Many planners run both and compare before setting policy.
How do I calculate safety stock in Excel?
Simple: =MAX(0, Dmax*LTmax - Davg*LTavg) with CEILING for whole units. Statistical: =CEILING(Z*Stdev_d*SQRT(LT), 1) where Z is 1.65 for 95%, etc. Reorder point: =CEILING(Davg*LTavg + SS, 1). Or use this calculator and export CSV.
Is this safety stock calculator free?
Yes. This safety stock calculator is free with live results, simple and statistical methods, reorder point, step breakdown, and optional CSV/PDF export — no sign-up required.
What is the reorder point formula?
Reorder point = (Average daily demand × Average lead time) + Safety stock. The first term is cycle stock — expected demand while you wait for delivery. Add safety stock so inventory does not hit zero if demand or lead time exceeds average.
How do you calculate safety stock with standard deviation?
Compute daily demand standard deviation (σ) from historical unit sales, then apply Safety stock = Z × σ × √Lead time. Z comes from your target service level (e.g. 1.65 for 95%). Enter σ, average demand, lead time, and service level in statistical mode — the calculator rounds up to whole units and shows the step breakdown.
What is safety stock in days?
Safety stock days = Safety stock units ÷ Average daily demand. It expresses your buffer as days of average sales cover. Example: 275 units of safety stock with average demand of 7 units/day ≈ 39 safety-stock days. Useful for comparing buffers across SKUs with different velocities.
What is a good safety stock percentage?
There is no single “right” percentage for every SKU. Heuristics like holding 50% of average demand during lead time are quick but imprecise. Better: express buffer as safety stock days (SS ÷ avg daily demand) or use the statistical formula with a defined service level (often 95% for general items, 99% for critical SKUs). Compare days of supply across similar products rather than a flat % of on-hand inventory.
What is a Z-score in safety stock?
The Z-score maps your target service level to a standard-normal multiplier: 90% → 1.28, 95% → 1.65, 97% → 1.88, 99% → 2.33. Higher Z means a larger buffer for the same demand variability. Statistical mode applies Z automatically when you pick a service level from the dropdown.