Skip to Content
NEWSee OPTIFLOW in action: replenishment from DC to every branch. Watch the video →
← All resources
Inventory Policy5 min read · October 2026

Safety stock and service levels: how much is enough?

Safety stock protects service, but every extra unit ties up cash. How to size it from demand variability, lead time and the service level each item deserves.

Safety stock is the buffer you hold for the demand and supply you cannot predict. Too little and you run out. Too much and cash sits on the shelf. The right amount is a calculation, not a feeling, and it should be different for every item.

The three inputs that drive it

  • Demand variability: how much actual demand moves around the forecast, measured by the standard deviation of forecast error.
  • Lead time: how long it takes to replenish, and how much that time itself varies.
  • Target service level: the probability of not running out during a replenishment cycle.

The standard formula

When demand variation is the main risk, a widely used approximation is: safety stock = z × σ × √L, where σ is the standard deviation of forecast error per period, L is the lead time in periods and z is the service factor for the target level. Typical values of z are about 1.28 for 90 percent, 1.65 for 95 percent, 2.05 for 98 percent and 2.33 for 99 percent.

Notice how the cost rises: moving from 95 to 99 percent increases safety stock by roughly 40 percent for the same item. The last few points of service are the most expensive.

One service level does not fit all

Applying 98 percent to every item is a common and costly mistake. Link service levels to segments instead: high targets for valuable, predictable A items, lower targets for C items, and a deliberate decision for erratic Z items, where a high target can require very large buffers.

Keep it alive

  • Recalculate safety stock regularly, because demand variability and lead times change.
  • Use forecast error, not raw sales variation, when a forecast exists.
  • Add a lead time component when suppliers are unreliable.
  • Review items where safety stock is high but service is still poor, as the cause is usually forecast bias or a data problem.

In OPTIAI, each ABC-XYZ segment carries its own service level, and safety stock is recalculated from forecast error and lead time, so buffers follow the business instead of a single rule.

See it on your own data

Book a demo and we'll show you how OPTIAI or OPTIFLOW applies these practices to your products, locations and supply chain.

Book a Demo

Sources

  1. Silver, E. A., Pyke, D. F. and Thomas, D. J., Inventory and Production Management in Supply Chains, 4th edition, CRC Press, 2016
  2. Hyndman, R. J. and Athanasopoulos, G., Forecasting: Principles and Practice, 3rd edition, OTexts, 2021