Free tool, no sign up
Safety stock calculator
Work out how much buffer stock an item actually needs, and the reorder point that goes with it. Both the statistical formula and the simpler max method are below, so you can run the one your data supports. Nothing to install and no email needed to use it.
The two formulas, and when each one applies
Safety stock has more published formulas than almost any other planning number, and most of them are variations on two ideas. Either you model how much demand wobbles, or you take your worst case and work back from it.
Statistical method
Safety stock = Z × σdemand × √(average lead time)
Z is set by your service level. Sigma is the standard deviation of daily demand. The square root is there because variability accumulates over the lead time more slowly than the lead time itself grows.
Use it when you have at least 30 days of clean daily demand history and your supplier is broadly reliable.
Max method
Safety stock = (max demand × max lead time) − (avg demand × avg lead time)
This asks a blunter question: if everything went wrong at once, how much more would I have needed than the average case? No statistics required, which is why it survives in spreadsheets everywhere.
Use it when you do not have clean history, but you do know your worst day and your worst delivery.
Read the gap between them. If the max method number comes out far larger than the statistical one, that is not a reason to hold the bigger number. It is telling you the risk sits in your lead time rather than your demand, and lead time is usually cheaper to fix than to buffer against.
Safety stock is not the reorder point
These get used interchangeably and they are different numbers doing different jobs. Safety stock is the cushion. The reorder point is the trigger, and it contains the cushion:
Reorder point = (average daily demand × average lead time) + safety stock
The first term covers demand you expect during the wait for replenishment. Safety stock covers the part you do not expect. Set a reorder point without the second term and you have planned to run out on roughly half your cycles, because average demand is exceeded half the time by definition.
Service level to Z score
Z is the only part of the statistical formula you choose rather than measure. It converts the service level you are willing to run into the number of standard deviations of cover you are buying. Values below are the one tailed inverse standard normal, rounded to two decimals.
| Service level | Z score | What it means in practice |
|---|---|---|
| 50 % | 0.00 | No buffer at all. You stock out on roughly half of all cycles. |
| 75 % | 0.67 | Light cover. Cheap, easily replaced items only. |
| 80 % | 0.84 | C class items where a stockout is an inconvenience. |
| 85 % | 1.04 | Still light. Rarely used on its own. |
| 90 % | 1.28 | A reasonable floor for B class items. |
| 95 % | 1.64 | The usual default for A class items and finished goods. |
| 96 % | 1.75 | A small step up from 95 for a modest extra buffer. |
| 97 % | 1.88 | Used where a stockout stops a production line. |
| 98 % | 2.05 | High cover. Critical components with long lead times. |
| 99 % | 2.33 | Very high cover. The buffer starts to get expensive here. |
| 99.5 % | 2.58 | Near total cover. Justify it with the cost of a line stop. |
| 99.9 % | 3.09 | Effectively never stock out. Safety critical parts. |
Above 99 percent the buffer grows faster than the protection it buys. Push past it only where a stockout stops a line or fails a safety requirement.
Where these calculations usually go wrong
Mixed units
Weekly demand with a lead time in days is the single most common error here, and it understates the buffer by roughly a factor of seven. If demand is per day, lead time is in days.
Quoted lead time, not real lead time
Suppliers quote dispatch. Your planning needs order placed to goods usable. If goods sit in inspection for three days before they can be issued, those days are lead time.
One off orders left in the history
A single bulk order inside your demand sample inflates the standard deviation and makes the model buy buffer you do not need. Strip outliers before you take STDEV.S.
Calendar days against working day demand
If you only ship five days a week, dividing by 365 understates daily demand by about 30 percent and every downstream number inherits the error.
Set once, never reviewed
Lead times drift and demand moves. A quarterly recalculation, plus one after any supplier change, is the difference between a buffer and dead stock.
Same service level for everything
A fastener and a long lead casting do not deserve the same cover. Segment by value and by what a stockout actually costs you before you apply a Z.
Where the number lives once you have it
A safety stock figure in a spreadsheet only helps if someone checks the spreadsheet. The point of calculating it is that something watches stock against it every day. That is what an inventory or ERP system is for, and it is worth being precise about the division of labour.
What Fabrica ERP does with it
- Every product record carries a lead time, a reorder point and a max stock field, so the number you calculate has somewhere to live.
- The inventory list shows quantity on hand against the reorder point and flags the item Low Stock the moment on hand drops to or below it.
- The MRP view puts demand, on hand and available side by side and flags the shortage before it reaches the shop floor.
What it does not do
- It does not calculate safety stock for you. You set the reorder point, which is exactly what this page is for.
- MRP flags a shortage. It does not raise the purchase order on your behalf.
- It will not clean up your demand history. Bad inputs stay bad inputs wherever they are stored.
Try it against your own part list
Fabrica ERP is Fuzen’s manufacturing template: 13 modules covering sales, production, inventory and purchasing, with a QuickBooks Online sync. It is a 14 day free trial loaded with sample data, then 999 dollars one time with hosting billed on usage.
Start the 14 day free trialTalk to us about a custom buildCommon questions
What is safety stock?
Safety stock is the extra inventory you hold to absorb the difference between what you expected to happen and what actually happens. It covers two kinds of surprise: demand running hotter than forecast, and a supplier arriving later than promised. It is not the same as your reorder point, which is the trigger level that tells you when to place the next order.
What is the formula for safety stock?
The statistical formula is safety stock = Z x standard deviation of daily demand x the square root of average lead time, where Z is set by the service level you choose. The simpler max method is safety stock = (max daily demand x max lead time) minus (average daily demand x average lead time). The first is driven by how erratic demand is, the second by your worst observed case.
What Z score should I use for safety stock?
Z comes from the service level you are willing to run. 90 percent is 1.28, 95 percent is 1.64, 98 percent is 2.05 and 99 percent is 2.33. Most planners use 95 percent for A class items and finished goods, and drop to 90 percent for B class items. Going above 99 percent gets expensive quickly because the buffer grows faster than the protection it buys.
How do I calculate the reorder point?
Reorder point = (average daily demand x average lead time) + safety stock. When quantity on hand falls to that number, you place the next order. If you calculate a reorder point without adding safety stock, you are planning to run out on roughly half of all cycles, because average demand is exceeded half the time by definition.
Should I use the statistical method or the max method?
Use the statistical method when you have at least 30 days of clean daily demand history. Use the max method when you do not, but you do know your worst case. Running both is more informative than picking one: if the max method number is far larger than the statistical one, your lead time variability is the real risk, and buying more buffer stock treats the symptom rather than the cause.
What lead time should I put in?
Order placed to goods available to use, not the transit time your supplier quotes. If inspection or put away has to finish before the material can be issued to a job, those days belong in the lead time. Understating lead time is the second most common reason a correctly calculated safety stock still leaves you short.
How often should safety stock be recalculated?
Quarterly as a routine, and immediately after a supplier change, a lead time change or a real shift in demand. Safety stock is a snapshot of conditions that move. Set once and never revisited is how working capital quietly ends up sitting on a shelf.
Does this calculator work for multiple SKUs?
The calculator on this page handles one SKU at a time. The Excel model further down handles 40 SKUs at once with the same two formulas, a service level dropdown, a Z lookup table and a reorder flag that turns red when quantity on hand drops to the reorder point.