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
Next step
Want to track this every week?
Bring this result to a 45-minute demo and we will show where it fits in LeanSuite's Loss & Cost Management.
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.
Step 1
Z for 95% = 1.645.Step 2
Safety stock = 1.645 × 20 × √9 = 1.645 × 20 × 3 = 98.7, rounded up to 99 units.Step 3
Demand during the lead time = 100 × 9 = 900 units.Step 4
Reorder 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
- Free template: Plan for every part (PFEP) template
- Free template: Critical spare parts list and stocking levels
- 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
Multiply the z-score for your service level by the square root of (lead time × demand variance + average demand² × lead time variance). If lead time never varies, this reduces to z × demand standard deviation × √lead time. At 95% service (z = 1.645), a daily demand standard deviation of 20 units and a 9-day lead time, safety stock is 1.645 × 20 × 3 = 98.7, so 99 units.
The reorder point is the stock level at which you place the next order: average demand during the lead time plus the safety stock. With 100 units a day and a 9-day lead time, demand during the lead time is 900, so with 99 units of safety stock the reorder point is 999 units.
The service level here is the chance of getting through a replenishment cycle without a stockout, not the share of units delivered. Higher levels cost more stock at an increasing rate: moving from 95% to 99% raises the z-score from 1.645 to 2.326, about 41% more safety stock. Choose by what a stockout costs you for that item, and use lower levels for low-value, easily replaced items.
Take the daily use of the item over a recent stable period, 30 or more days if you have them, and use the STDEV function in a spreadsheet. Use the same unit and time bucket as the average. If your demand is weekly, enter weekly demand and lead time in weeks instead.
It assumes demand is roughly normally distributed and independent from day to day. For very lumpy or intermittent demand (long stretches of zero, then big orders) and for items with a trend or strong seasonality, the result can be far off. Treat it as a starting point, and review it when demand or lead time changes.
A kanban loop is sized from demand, replenishment lead time and a safety factor, so safety stock is part of the number of cards. Cutting lead time and its variation is the lean way to hold less safety stock, because both feed the formula.
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.
- TRIR and DART rate calculatorOSHA recordable and DART incident rates from your 300A case counts and hours, and what one more case does to them.
- NIOSH lifting equation calculatorRecommended weight limit and lifting index for a two-handed lift, with every multiplier shown so you can see what to redesign.
- Time study sample size calculatorHow many cycles of an element to time, from your first readings, with the t formula, the ILO formula and the range method.
- Maintenance strategy selectorAnswer the RCM questions for one failure mode and get the maintenance strategy, the reasoning and the check or test interval.
- Noise dose and TWA calculatorDose and 8-hour TWA for a shift of noise levels under OSHA and NIOSH, which limits are reached and how much loud time to cut.
- Risk matrix calculatorSeverity times likelihood on a 3 x 3, 4 x 4 or 5 x 5 risk matrix, the band and its action, editable banding, and the score after further controls.
- Repair or replace calculatorEquivalent annual cost of keeping and repairing an old machine against buying a new one, with each one's economic life and the break-even figures.
- Compressed air leak cost calculatorAir lost, kW and cost a year for each tagged leak from its size and the pressure, ranked so the biggest gets fixed first.
- Machine hour rate calculatorWhat one productive hour of a machine costs, with and without the operator, the cost per part and how utilisation moves the rate.
- Total manufacturing cost calculatorTotal manufacturing cost, cost of goods manufactured, cost per unit and the overhead rate from materials, labor and overhead.
- Acceptance sampling calculatorRead the OC curve and the real risks of a sampling plan, find the plan for your AQL and LTPD, or size a zero-defect test.
- Shift schedule plannerTen shift patterns on real dates: calendar for each crew, hours a week, weekends off, coverage and the weeks over 40 hours.
- Pareto chart makerPaste categories and counts: sorted bars, cumulative percentage line and the vital few at the 80% line, as a PNG or SVG.
- Histogram makerPaste measurements: the histogram with automatic or chosen bins, plus mean, median and standard deviation, as a PNG or SVG.
- Box plot makerPaste one or more groups of numbers: box plots with quartiles, IQR, whiskers and outliers by the 1.5 IQR rule, as a PNG or SVG.
- Fishbone diagram makerName the problem, list causes under the 6M bones, and download the Ishikawa diagram as a PNG or SVG.
- 5 Whys canvasWrite the problem, answer up to five whys, state the root cause and countermeasure, then print the one-page canvas.
- Lean maturity self-assessmentScore 27 statements across nine dimensions and get a band for each, an overall band, where to start and the guides to read.
- Lean method navigatorSix questions about one problem, then the lean method to start with, the two that follow, why each fits, five steps for Monday and what it will not solve.
- Manufacturing ROI calculatorAnswer a few questions about your shop floor, shifts and downtime to estimate your potential ROI with LeanSuite.

