Safety Stock Calculator

How much buffer inventory should you hold?

Units sold or consumed per day on average
Days from order placed to stock received
Higher = more buffer held, fewer stockouts
Please enter valid values greater than zero.

Enter your inventory data and hit Calculate to see results

Safety Stock
units to hold as buffer
Reorder Point
units. Trigger a new order here
Free Guide
Want to automate your entire inventory workflow?
The Flow Kaizen playbook shows you how, step by step. No tech background needed.
Get the Free Guide →

What is safety stock?

Safety stock is the extra inventory you keep on hand beyond what you expect to sell. It acts as a buffer against two things you can't fully control: demand that spikes higher than your average, and suppliers who deliver later than promised.

Without it, any deviation from your plan results in a stockout: lost sales, unhappy customers, and a scramble to expedite a new order at a premium. With the right level of safety stock, you absorb that variability without customers ever knowing there was a problem.

The goal is not to hold as much stock as possible. It is to hold exactly enough stock to hit your target service level, and not a unit more.

The safety stock formula

The formula used in the calculator above is based on a Poisson demand approximation, reliable when you know your average daily demand and lead time but do not have historical standard deviation data:

Safety Stock  = Z × √(Average Daily Demand × Lead Time)
Reorder Point = (Average Daily Demand × Lead Time) + Safety Stock

Where Z is the service level factor, a number derived from the normal distribution that corresponds to how often you want to avoid a stockout. The higher the Z, the more buffer you hold, and the fewer stockouts you experience.

Worked example

Say you sell an average of 50 units per day, your supplier takes 14 days to deliver, and you want a 95% service level (Z = 1.645):

Safety Stock = 1.645 × √(50 × 14)
             = 1.645 × √700
             = 1.645 × 26.46
             = 44 units

Reorder Point = (50 × 14) + 44
              = 744 units

That means: hold 44 units as your buffer, and place a new order any time your inventory drops to 744 units. The calculator above runs this automatically for any inputs you enter.

How to calculate safety stock, step by step

  1. Find your average daily demand. Pull your sales data for the last 30 to 90 days and divide total units sold by the number of days. Use a period that reflects normal trading conditions. Exclude outlier promotions or shutdowns.
  2. Confirm your lead time. This is the number of days from when you place a purchase order to when stock arrives and is ready to sell. If your lead time varies, use your average or your worst-case lead time for a more conservative buffer.
  3. Choose your service level. This is how often you want to avoid a stockout, expressed as a percentage. Most businesses start at 95%. Higher service levels mean more safety stock held and more capital tied up in inventory.
  4. Run the formula. Multiply average daily demand by lead time, take the square root of that number, then multiply by your Z-score. Round up to the nearest whole unit.
  5. Set your reorder point. Add your safety stock to your expected demand during lead time. When your stock level hits this number, place a new order.

How to calculate your reorder point

Your reorder point (ROP) is the inventory level that triggers a new purchase order. It is not your safety stock. It includes the stock you expect to sell while waiting for the next delivery:

Reorder Point = (Average Daily Demand × Lead Time) + Safety Stock

Using the example above: you expect to sell 700 units during the 14-day lead time, and you hold 44 units as a buffer. So you reorder at 744 units. If demand runs higher than average during those 14 days, your safety stock absorbs the difference.

Setting your reorder point correctly is as important as calculating your safety stock. A business that has the right safety stock but reorders too late will still run out.

How to choose the right service level

Your service level determines how aggressively you protect against stockouts. Here is what each level means in practice:

There is no universally correct service level. The right number depends on your margin per unit, the cost of holding extra stock, and what a stockout actually costs you: lost revenue, expediting fees, and customer trust.

Common mistakes that cause stockouts