Safety stock formula: how much buffer to hold
The safety stock formula works out how much buffer to hold against late deliveries and busy weeks. With a worked example.
Safety stock is the extra stock you keep in case sales run higher than usual or a delivery arrives late. Too little and you run out. Too much and money sits on the shelf.
It is also called buffer stock.
There are two common ways to size it. Start with the first. Move to the second when you have a few months of daily sales to work from.
How to calculate safety stock: the simple formula
Safety stock = (most units sold in a day × longest lead time) − (average units sold per day × average lead time)
This compares your worst case with your normal case and holds the difference.
A shop sells 4 insulated bottles a day on average and 6 on its busiest days. The supplier usually takes 7 days and has taken 10.
6 × 10 = 60 bottles in the worst case
4 × 7 = 28 bottles in a normal case
60 − 28 = 32 bottles of safety stock
This formula is cautious. It assumes the busiest day and the slowest delivery happen together, which is rare. For most products it holds more stock than you need.
The service level formula
Safety stock = Z × variation in daily sales × square root of lead time in days
Variation in daily sales is the standard deviation of units sold per day. A spreadsheet works it out with the STDEV function. Z comes from how often you are willing to run out.
| Service level | Z | What it means |
|---|---|---|
| 90% | 1.28 | You expect to run out in 1 order cycle in 10 |
| 95% | 1.65 | You expect to run out in 1 order cycle in 20 |
| 99% | 2.33 | You expect to run out in 1 order cycle in 100 |
For the same bottle, daily sales vary by 1.5 units and the lead time is 7 days. At a 95% service level:
1.65 × 1.5 × 2.65 = 6.6, rounded up to 7 bottles
The gap between 32 and 7 is the cost of planning for the worst day instead of a likely bad one.
Which to use
- Use the simple formula for a new product, a product you cannot afford to run out of, or a supplier whose deliveries are unpredictable.
- Use the service level formula once you have at least 60 days of sales and deliveries that mostly arrive on time.
- Hold no safety stock for products you are clearing or that you make to order.
The service level formula above only covers variation in sales. If your supplier’s lead time also varies a lot, add a few days of average sales to the result.
Safety stock and the reorder point
Safety stock is part of the reorder point, not a separate order.
Reorder point = sales during the lead time + safety stock
When stock falls to the reorder point, you order. The safety stock is what is left if the delivery is late. See reorder point.
How much safety stock is too much
Safety stock costs money to hold. If a product never dips into its buffer over a year, the buffer is too big. If it runs out every few months, it is too small. Review the number when a supplier’s lead time changes.
In ShipBerry
Safety stock becomes part of the reorder point. Forecasting shows the days of stock left for each product and what is on order, so you can see how far a buffer will carry you before the next delivery.
Related
Last updated 30 November 2026 · More on forecasting