supply chain calculators

Safety Stock Calculator

Calculate the buffer inventory needed to prevent stockouts caused by demand spikes or supplier delays. Use it when setting inventory policies for products with variable demand or unreliable lead times.

About this calculator

Safety stock is the extra inventory held beyond expected demand to protect against variability in both customer demand and supplier lead times. Without it, any deviation above average demand or any delay from a supplier can cause a stockout. The formula used here is the maximum minus average method: Safety Stock = (Max Daily Demand × Max Lead Time) − (Avg Daily Demand × Avg Lead Time). The first term represents the worst-case consumption scenario — peak demand arriving during the longest possible lead time. The second term represents the normal expected consumption. The difference is the buffer needed to cover the gap between worst case and average case. This is a straightforward, widely used method. More advanced methods incorporate standard deviations and a service-level z-score for statistically driven safety stock, but the max-minus-average approach is practical and requires no distributional assumptions.

How to use

A distributor has a max daily demand of 80 units, an average daily demand of 50 units, a max lead time of 10 days, and an average lead time of 7 days. Step 1 — Calculate worst-case demand: 80 × 10 = 800 units. Step 2 — Calculate average expected demand during lead time: 50 × 7 = 350 units. Step 3 — Subtract: 800 − 350 = 450 units. The distributor should hold 450 units of safety stock. This ensures that even if demand peaks and the supplier is at maximum lead time simultaneously, the warehouse will not run out of stock before the order arrives.

Frequently asked questions

How do I determine the maximum daily demand for the safety stock formula?

Maximum daily demand is typically set as the highest demand you have actually observed over a representative historical period — for example, the single busiest day or the 95th percentile of daily demand across the past 12 months. Using an absolute historical peak protects against worst-case scenarios but can result in high carrying costs if that peak was a rare anomaly. Many inventory planners use a high percentile (e.g., 95th or 99th) rather than the all-time maximum to balance service levels against holding costs. The key is to use a consistent, data-driven approach rather than guessing.

What is the difference between safety stock and reorder point?

Safety stock is a quantity — the buffer inventory held to absorb demand and lead time variability. The reorder point is a threshold — the inventory level at which a new order should be placed. Safety stock is a component inside the reorder point formula: Reorder Point = (Average Daily Demand × Lead Time) + Safety Stock. You can think of safety stock as the floor you never want to go below, and the reorder point as the signal to replenish before you reach that floor. Both concepts work together in a complete inventory replenishment policy.

When should I use the statistical safety stock formula instead of the max-minus-average method?

The statistical method, which uses standard deviations of demand and lead time along with a service-level z-score, is preferable when you have sufficient historical data (at least several months of daily demand records) and want to set an explicit service level target such as a 95% or 99% fill rate. It is more precise and scales well across large product catalogs. The max-minus-average method is better suited for situations where data is limited, demand history is short, or you want a simple and conservative buffer without statistical modeling. For high-value or high-risk items, the statistical approach is generally worth the extra effort.