Safety Stock Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free safety stock calculator. Use the simple max-minus-average formula or a service level with demand variability, and get the reorder point for each product.

Reorder point
0
Demand during lead time
0
Z score
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the safety stock calculator

Choose one of two methods:

Max minus average (simple). Enter your maximum and average daily sales, and your maximum and average supplier lead time in days. It's quick, needs no statistics, and works well for small businesses.

Service level (statistical). Enter average daily sales, the standard deviation of daily sales, the lead time, and optionally the standard deviation of the lead time. Then choose a service level, such as 95%: the chance of not running out during a restocking cycle.

The safety stock calculator shows the safety stock, the reorder point, the demand you expect during the lead time and, for the statistical method, the Z score. Round the result up to a whole unit or case.

What safety stock is

Safety stock is the extra inventory you keep to cover surprises: a week when sales jump, or a delivery that arrives late. Without it, any spike or delay means empty shelves and lost sales. With too much of it, cash sits on shelves, products go stale and storage costs rise.

Safety stock works together with the reorder point, the stock level at which you place a new order:

Reorder point = average daily sales × average lead time + safety stock

The first part covers expected sales while you wait for the delivery; safety stock covers the unexpected.

The simple formula

Safety stock = (maximum daily sales × maximum lead time) − (average daily sales × average lead time)

If you sell 20 units a day on average and 30 on your busiest days, and your supplier normally takes 7 days but sometimes 10:

(30 × 10) − (20 × 7) = 300 − 140 = 160 units

The reorder point is 140 + 160 = 300 units.

This method is easy to explain and needs only four numbers you probably already know. Its weakness is that it assumes the worst sales day and the worst delivery happen together, every time, which can lead to more stock than you need. It's a sensible, cautious starting point.

The service level formula

The statistical method sizes safety stock to a target service level:

Safety stock = Z × σ

  • Z comes from the service level: about 1.28 for 90%, 1.645 for 95%, 2.054 for 98% and 2.326 for 99%.
  • σ is the variability of demand over the lead time.

When only demand varies, σ = standard deviation of daily sales × √lead time. When the lead time also varies, the calculator uses the full formula:

σ = √(lead time × σ of daily sales² + average daily sales² × σ of lead time²)

With average sales of 20 a day, a standard deviation of 5, a 7-day lead time and a 95% service level: 1.645 × 5 × √7 = 21.8 units. The reorder point is 140 + 21.8 = about 162 units.

Notice how much lower that is than the simple method's 160 units of safety stock. The statistical method only protects against the variation that actually happens, at the risk level you choose.

Choosing a service level

A higher service level means fewer stockouts but much more stock, because Z rises steeply near 100%:

Service level Z Stockouts in about
90% 1.282 1 in 10 order cycles
95% 1.645 1 in 20
98% 2.054 1 in 50
99% 2.326 1 in 100
99.9% 3.090 1 in 1,000

Going from 95% to 99% raises safety stock by about 41%. A common approach is to give your best sellers and essential items a high service level (98–99%), and slow or low-margin items a lower one (90–95%).

How to find the standard deviation

The standard deviation of daily sales measures how much sales swing from day to day. To find it:

  1. Export daily unit sales for one product for the last 30 to 90 days.
  2. In Excel or Google Sheets, use =STDEV.S(range) for the standard deviation and =AVERAGE(range) for the average.

Use a period without unusual one-offs, such as a single bulk order, or seasonal peaks you plan for separately. For the lead time's standard deviation, do the same with the number of days each recent delivery took from order to arrival.

Safety stock tips

Review it regularly. Sales and suppliers change. Recalculate every quarter, and before known peaks such as holidays.

Plan seasonal peaks separately. Safety stock is for random variation. If December sales are always double, raise your forecast for December rather than your safety stock all year.

Shorten lead times. Safety stock grows with the square root of the lead time. A supplier who delivers in 4 days instead of 9 lets you hold about a third less safety stock.

Count in units you order. If the supplier sells in cases of 12, round safety stock up to whole cases.

Watch perishables. For fresh products, the cost of waste can outweigh the cost of running out. A lower service level is often right.

The reorder point calculator works out when to order using your safety stock. The inventory turnover calculator shows how quickly stock sells. For online shops, the dimensional weight calculator checks shipping costs and the unit price calculator compares supplier offers. To see whether a product line pays its way, use the break-even calculator.

Common safety stock mistakes

Using one number for every product. Fast and slow sellers need different buffers. Calculate safety stock per product, at least for your top sellers.

Ignoring lead time variation. As the worked example shows, an unreliable supplier can add more safety stock than unpredictable sales do. Track how long each delivery actually takes.

Never recalculating. A safety stock figure set two years ago probably doesn't fit today's sales. Put a reminder in your calendar to rerun the safety stock calculator each quarter.

Treating stockouts as rare accidents. If you run out more often than your service level suggests, your inputs are wrong: measure them again from recent data.

Safety stock for small businesses

You don't need inventory software to use these formulas. A spreadsheet with each product's daily sales, the standard deviation and the supplier's lead time, plus this safety stock calculator, is enough to set sensible reorder points for a small shop or café.

Safety stock and cash flow

Every unit of safety stock is cash sitting on a shelf. For a small business, that cash might otherwise pay for marketing, wages or a new piece of equipment. Use the service level method to hold only as much as you need, and review the slowest-moving products first: cutting their buffer frees cash with little risk.

A worked example

A bakery's café sells bags of its own granola, made in batches by a co-packer. The co-packer usually delivers 7 days after an order, but deliveries have taken up to 10 days. The café sells 20 bags a day on average, and up to 30 on busy Saturdays.

The owner first uses the simple method in the safety stock calculator: 30 × 10 − 20 × 7 = 160 bags of safety stock, and a reorder point of 300 bags. That's a lot of stock for a product with a three-month shelf life.

She exports 60 days of sales and finds a standard deviation of 5 bags a day. Using the service level method at 95%, with a 7-day lead time and a lead time standard deviation of 1 day, the safety stock calculator gives about 40 bags of safety stock (39.4, rounded up) and a reorder point of about 180 bags. She sets the reorder point at 180, freeing up about 120 bags' worth of cash and storage while still running out in only about 1 cycle in 20. Without the lead time variation, safety stock would be just 22 bags, which shows how much unreliable deliveries cost.

Bring in the next customer from Google

Numbers like these keep a business running. Google Ads, run carefully, is how many small businesses bring in the next customer. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.

Frequently asked questions

How do I calculate safety stock?

The simple formula is (max daily sales × max lead time) − (average daily sales × average lead time). For a set service level, use Z × standard deviation of daily sales × √lead time. This safety stock calculator does both.

What is a good service level?

95% is a common default. Use 98–99% for best sellers and essentials, and 90–95% for slow-moving or perishable items.

What's the difference between safety stock and the reorder point?

Safety stock is the buffer for surprises. The reorder point is the stock level that triggers a new order: expected demand during the lead time plus safety stock.

Where do I get the standard deviation of sales?

From your daily sales history. In a spreadsheet, use STDEV.S on 30 to 90 days of daily unit sales.

Should safety stock change with the seasons?

Plan predictable peaks with a higher forecast. Safety stock covers random variation; recalculate it when demand patterns change.

Is this safety stock calculator free?

Yes. It's free, needs no sign-up, and runs in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep