Saved

Press the star next to a tool's name to save it.

All my tools

Safety Stock Calculator

Use this safety stock calculator to find the extra inventory and the reorder point you need, from average demand, its variation, the lead time and your service level.

Restored your last values ·

Enter the average demand per period, its standard deviation and the average lead time in the same period. Add the variation in the lead time if you know it, and the service level you want. You get the safety stock and the reorder point.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the demand, its variation and the lead time, then press Calculate.

See full result

A safety stock calculator works out how much extra inventory to hold to avoid running out when demand or the lead time varies. Enter the average demand, its variation, the lead time and the service level that you want, and it gives the safety stock and the reorder point, which says when to place an order.

How to use the safety stock calculator

  1. Enter the average demand and its standard deviation.
  2. Enter the average lead time, in the same period, and its variation if any.
  3. Set the service level.
  4. Press Calculate.

The formula

When both demand and lead time vary, the safety stock is SS = z_α × √(E(L) σ_D² + E(D)² σ_L²), where z_α is the factor for the service level α, E(L) and σ_L are the mean and standard deviation of the lead time, and E(D) and σ_D are the mean and standard deviation of the demand per period. The APICS article gives this combined form for demand and lead time that are independent and normally distributed, and says that when they are not independent the safety stock is the sum of the two separate calculations [1].

The service level

The service level is the probability of not running out during the lead time. The article gives z = 1.65 for a 95 percent service level, 1.28 for 90 percent and 2.33 for 99 percent, and notes that a 100 percent level is unattainable [1]. The calculator works out the factor for any service level between 50 and 100 percent.

The reorder point

The reorder point is the average demand during the lead time plus the safety stock [2]. With a usage of 50 units per day over 7 days, which is our own example, the demand during the lead time is 350 units. The calculator adds the safety stock to that figure to give the point at which you should reorder.

A worked example

Take an average demand of 50 units a day with a standard deviation of 10, a lead time of 7 days that does not vary, and a service level of 95 percent. The safety stock is 1.645 × 10 × √7, which is about 43.5 units, and the reorder point is 350 + 43.5 = 393.5 units. With the factor of 1.65 from the article the safety stock is 43.7. If the lead time varies by one day, the second term in the formula adds 2,500 to the sum under the root, and the safety stock at 99 percent rises to about 132 units. These are our own calculations.

With a fixed lead time

When the lead time is certain, the formula simplifies. The reorder point is then ROP = L × E(D) + z_α σ_D √L, where the safety stock term follows the article's form [1], so the safety stock is the factor times the standard deviation of demand times the square root of the lead time. Leave the lead time variation blank for this case. A longer lead time raises the safety stock in proportion to its square root, so doubling the lead time raises it by about 41 percent.

With a variable lead time

If suppliers are not reliable, the lead time itself varies, and that adds to the risk. The second term, the square of the mean demand times the variance of the lead time, can be larger than the first. Reducing the variation in the lead time can therefore cut the safety stock more than reducing the variation in demand. Enter the standard deviation of the lead time to see the effect.

Other approaches

The course notes also cover periodic review, where the standard deviation is taken over the lead time plus the review period [2], and they assume that forecast errors are normally distributed [2]. This calculator uses the continuous review form. Some companies set safety stock as a share of cycle stock instead, but the APICS article says such rules of thumb generally result in poor performance [1].

Using the results

Set your reorder point and your order quantity with the result. A higher service level needs more stock and ties up more money, so choose a level that matches the cost of a stock-out. Review the inputs often, since demand and lead times change. Use the same period for the demand and the lead time, such as days, and the units come out in units of stock.

Choosing the service level

Each step up in the service level costs more stock. From 90 to 95 percent, the factor rises from 1.28 to 1.65, an increase of 29 percent, and from 95 to 99 percent it rises to 2.33, a further 41 percent. A product with a high cost of stock-outs, such as a critical spare, may justify 99 percent, while a low-cost item with substitutes may need only 90. Use the calculator to see the stock needed for each level.

Common mistakes

  • Mixing time units. The demand and the lead time must use the same period.
  • Ignoring lead time variation. It can be the biggest term.
  • Setting 100 percent service. It would need infinite stock.
  • Assuming normal demand for lumpy items. The formula assumes it.

What next

Use this often? Add Safety Stock to your Home screen.

Frequently asked questions

What is a safety stock calculator?

A tool that finds the extra inventory needed to avoid stock-outs when demand or lead time varies.

What is the safety stock formula?

SS = z × √(E(L) σ_D² + E(D)² σ_L²).

What z value is used for a 95 percent service level?

1.65 (more exactly 1.645).

What is the reorder point?

The demand during the lead time plus the safety stock.

Does a longer lead time need more safety stock?

Yes. With fixed lead time, it grows with the square root of the lead time.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Finance Tools