Free tool
Safety stock calculator
Safety stock is the extra inventory that covers variation in demand and in supplier lead time, so you do not run out between placing an order and receiving it. The common formula multiplies a z-score for your service level by the variation in demand over the lead time. Add the safety stock to the demand during the lead time and you have the reorder point.
Safety stockequalsZ × √( L × σd² + d² × σL² )
Reorder pointequalsd × L + Safety stock
Share of order cycles with no stockout
Average use per day
How much daily demand swings (STDEV of daily use)
Order placed to stock available
0 if the supplier is always on time
Pre-filled with the worked example. Use the same unit (pieces, kg, cases) for demand and for the result. Safety stock is rounded up to whole units.
Safety stock
99 units
Extra stock held for a 95% service level (z = 1.64).
Reorder point
999 units
Lead-time demand + safety stock
Lead-time demand
900 units
Daily demand × lead time
Z-score
1.64
From the service level
How to calculate it
Five inputs, each from data you already have
Service level is the chance you want of getting through a replenishment cycle with no stockout. 95% gives z = 1.645, 98% gives 2.054 and 99% gives 2.326.
Average daily demand and its standard deviation come from the item's recent daily use. In a spreadsheet, the AVERAGE and STDEV of the daily figures give both.
Average lead time and its standard deviation come from the last several orders: days from order placed to stock available. A supplier who is always on time has a standard deviation of 0, but check the receiving dates, not the promised ones.
Lead time variation is multiplied by daily demand, so on a fast-moving part even a small swing in supplier lead time adds a lot of safety stock. Shortening and steadying lead time is how a lean plant holds less stock for the same service, and the result feeds the size of each kanban loop.
Worked example
Illustrative numbers, not a benchmarkA part used at 100 units a day on average, with a daily standard deviation of 20 units. The supplier takes 9 days and is always on time. You want a 95% service level.
- 1Z for 95% = 1.645.
- 2Safety stock = 1.645 × 20 × √9 = 1.645 × 20 × 3 = 98.7, rounded up to 99 units.
- 3Demand during the lead time = 100 × 9 = 900 units.
- 4Reorder point = 900 + 99 = 999 units.
Embed this calculator
Teaching this, or writing about it? Paste this code into your site, course page or intranet and the calculator works right there. It is free, with no sign-up.
<iframe src="https://www.theleansuite.com/tools/safety-stock-calculator/embed" title="Safety stock calculator by LeanSuite" width="100%" height="1020" style="border:0;max-width:1000px" loading="lazy" allow="clipboard-write"></iframe>
<p style="font:13px/1.4 sans-serif"><a href="https://www.theleansuite.com/tools/safety-stock-calculator">Safety stock calculator</a> by LeanSuite</p>How LeanSuite helps
LeanSuite is not an inventory or planning system, so keep stock figures in your ERP. LeanSuite's Loss & Cost Management puts a cost on each loss, and its Loss Prioritization Matrix turns that data into an action plan ranked by cost.
See Loss & Cost ManagementRead more
- Free template: Kanban sizing calculator
- Free template: Material shortage log
- Safety stock in the lean glossary
- Inventory turnover and days on hand calculator
- Safety stock in the lean glossary
- Supermarket in the lean glossary
- The Four Core Principles of Kanban
- Just-in-Time (JIT) Manufacturing: What It Is and How It Works
FAQ
Safety stock calculator: common questions
More free lean tools
All tools- OEE calculatorOverall equipment effectiveness from shift time, downtime, ideal cycle time and part counts.
- Downtime cost calculatorWhat an hour, an event and a year of unplanned downtime cost, from lost output, idle labour, scrap and overtime.
- SMED changeover calculatorTime saved by moving changeover steps from internal to external, capacity freed per week and the smaller batch it allows.
- Takt time calculatorThe pace a line must hit to meet customer demand, from shift time, breaks and daily demand.
- Cycle time calculatorCycle time against takt, units per hour, capacity per shift and the gap to daily demand.
- Line balancing calculatorLine efficiency, balance delay and the minimum number of stations from station times and takt.
- Bottleneck calculatorThe step that limits your line, from each step's cycle time, machines and uptime, with daily capacity and the gap to demand.
- First pass yield (FPY) calculatorFirst pass yield at each step and rolled throughput yield (RTY) across the whole process.
- Cost of poor quality (COPQ) calculatorTotal COPQ and cost of quality, and each as a share of revenue, from the four quality cost categories.
- Process capability (Cp, Cpk) calculatorCp and Cpk against your specification limits, plus Pp and Ppk from pasted measurements, with a distribution chart.
- DPMO and sigma level calculatorDPMO, defects per unit, yield and sigma level from the defects found, units checked and opportunities per unit.
- MTBF and MTTR calculatorMean time between failures, mean time to repair and availability from operating time, failures and repair time.
- Lead time calculatorManufacturing lead time from WIP and throughput (Little's Law), and the share of it that adds value.
- Throughput time calculatorThroughput time from process, inspection, move and wait time, the share of it that adds value, and units per hour.
- Kaizen savings calculatorYearly savings, payback in months and first-year ROI of an improvement, from time saved, scrap avoided and its costs.
- TEEP calculatorTotal effective equipment performance: OEE multiplied by how much of all calendar time you plan to run.
- Overall labor effectiveness (OLE) calculatorHow well paid labor hours turn into good output: availability, performance and quality of the crew.
- Inventory turnover and days on hand calculatorHow many times stock turns over in a period and how many days of it you hold, from COGS and average inventory.
- Scrap rate calculatorScrap rate, the cost of scrap per period and per year, and what reaching a target rate would save.
- Lean maturity self-assessmentScore 24 statements across eight dimensions and get a result band for each, an overall band and where to start.
- Manufacturing ROI calculatorAnswer a few questions about your shop floor, shifts and downtime to estimate your potential ROI with LeanSuite.

