Safety Stock Calculator (Free): Formula + the Multi-Channel Catch
Enter your max and average daily sales and your max and average lead time. The calculator returns your safety stock — the buffer of units that protects you from stockouts when demand spikes or your supplier runs late.
Quick Answer
Safety stock = (max daily sales × max lead time) − (average daily sales × average lead time). It’s the buffer that covers the gap between a worst-case scenario and a normal one, so a demand spike or a late shipment doesn’t trigger a stockout.
Example: if your max daily sales are 30 (average 20), and your max lead time is 40 days (average 30), your safety stock is (30 × 40) − (20 × 30) = 600 units. Run your own numbers in the calculator below.
Safety Stock Calculator
Type your numbers — the result updates instantly. Nothing is stored or sent anywhere.
Hold this buffer on top of your expected lead-time demand. Feed it into your reorder point to know exactly when to order.
The safety stock formula
Safety stock is the buffer inventory you hold to absorb the difference between a bad day and an average one — both in how fast you sell and in how long your supplier takes. The widely used "max minus average" formula is:
Safety Stock = (Max Daily Sales × Max Lead Time) − (Average Daily Sales × Average Lead Time)
Read it as two worlds subtracted from each other:
- (Max daily sales × max lead time) — your worst-case demand during the longest realistic wait. This is the most inventory you could burn through before replenishment arrives.
- (Average daily sales × average lead time) — the demand you'd burn through in a normal, on-schedule cycle. Your regular reorder math already plans for this.
The difference between the two is the cushion you need to survive the bad scenario without stocking out. This method is popular because it needs only four numbers you already have — no standard deviations or service-level statistics required. The trade-off: it's an approximation built on your observed max, so it's only as good as how representative your "max" figures are.
Worked example
A SKU that spikes and has a wobbly supplier
You normally sell 20 units a day, but on your best days you hit 30. Your supplier usually delivers in 30 days, but the last big order took 40. Here's the safety stock that protects you.
| Max daily sales | 30 units/day |
| Average daily sales | 20 units/day |
| Max lead time | 40 days |
| Average lead time | 30 days |
| Worst case (30 × 40) | 1,200 units |
| Normal case (20 × 30) | 600 units |
| Safety stock | 600 units |
You hold 600 units of safety stock on top of your expected lead-time demand. If demand spikes to its peak and your supplier runs to the worst-case 40 days at the same time, that 600-unit buffer is what stands between you and a stockout.
The multi-channel catch: pooled vs per-channel
Here's where the clean formula gets dangerous for modern sellers. The "max minus average" method assumes one demand stream. The moment the same SKU sells on Amazon, Shopify, and Walmart from one inventory pool, you have to make a choice most calculators hide from you:
Per-channel safety stock (summed) over-buffers
If you calculate safety stock separately for each channel and add them up, you're assuming every channel hits its worst-case peak on the same day. They rarely do. Summing per-channel buffers ties up cash and warehouse space in inventory you'll almost never need all at once.
Pooled safety stock under-buffers if you do it naively
Pool the channels into one combined demand stream and you benefit from risk pooling — an Amazon dip can offset a Shopify spike, so the combined buffer is smaller than the sum of the parts. But if you just average everything flat, you can erase the real volatility and end up holding too little. The pooled "max" has to reflect the combined peak, not a smoothed-out mean.
Lead time isn't shared cleanly either
If channels fulfill from different stock — Amazon from FBA, Shopify from a 3PL or AWD — they may have different replenishment lead times even for the same SKU. A single max-lead-time number papers over that, and the formula silently buffers the wrong channel.
The honest answer for a multi-channel SKU is usually pooled safety stock with the combined peak preserved — you capture the risk-pooling benefit without flattening away the volatility. Doing that by hand across many SKUs and channels, with the math right each time, is the part that stops being practical in a spreadsheet.
How SKU Compass handles it
This calculator is perfect for sizing one SKU's buffer once. SKU Compass does it continuously for every SKU and resolves the multi-channel catch automatically:
- Pooled, channel-aware demand. It aggregates real velocity across Amazon FBA, Shopify, and Walmart into a combined demand stream — capturing the risk-pooling benefit while preserving the true combined peak, so you neither over- nor under-buffer.
- Per-SKU lead-time variability. Buffers are sized from each SKU's actual demand and lead-time spread, including different replenishment paths like AWD-to-FBA, rather than one guessed max.
- It flows into the reorder point. The safety stock SKU Compass computes feeds straight into a live per-SKU reorder point, so the buffer and the trigger stay in sync as your data moves — no manual recalculation.
For the deeper formula walkthrough — including the service-level / standard-deviation method this page intentionally skips — see how to calculate safety stock.
Honest caveat: we built SKU Compass
We make inventory-forecasting software, so we're biased — read the section above with that in mind. The formula and calculator on this page are the genuine, standard "max minus average" safety-stock math; they're correct and free to use whether or not you ever become a customer.
The honest line: the "max minus average" method is an approximation, not the only way to size safety stock. For a single SKU on a single channel, it's plenty — use the calculator and move on. Its weakness shows up exactly where we help: many SKUs, multiple channels sharing inventory, and lead-time variability that a four-input formula can't fully capture. If that's not you, you don't need us for this.
Frequently asked questions
What is the safety stock formula?
The most common safety stock formula is (max daily sales × max lead time) − (average daily sales × average lead time). It calculates the buffer needed to cover the gap between your worst-case scenario — peak demand during the longest lead time — and your normal expected demand during an average lead time. It needs only four inputs and no statistics.
How do I calculate safety stock?
Multiply your maximum daily sales by your maximum lead time, then subtract your average daily sales multiplied by your average lead time. For example, (30 × 40) − (20 × 30) = 1,200 − 600 = 600 units of safety stock. Use the free calculator above to run your own numbers instantly.
What is safety stock?
Safety stock is extra inventory you hold as a buffer against uncertainty — specifically, demand that runs higher than expected or supplier lead times that run longer than expected. It's the cushion that prevents a stockout when reality is worse than your average-case plan. It sits on top of the inventory you'd normally consume during lead time.
What is the difference between safety stock and reorder point?
Safety stock is a buffer quantity; the reorder point is the inventory level that triggers a new order. Safety stock is actually one component of the reorder point — reorder point = (average daily sales × lead time) + safety stock. Size your safety stock first with this calculator, then plug it into our reorder point calculator to know when to order.
Why is my safety stock result zero or negative?
That happens when your max daily sales times max lead time isn't greater than your average daily sales times average lead time — usually because your "max" figures are set too close to (or below) your averages. If your demand and lead time genuinely never vary, your safety stock can legitimately be near zero, but for most products you'll want to use realistic worst-case peaks rather than smoothed numbers.
Is the max-minus-average method the best way to calculate safety stock?
It's the simplest reliable method and great for most sellers, but it isn't the only one. A more statistical approach uses the standard deviation of demand and a chosen service level (Z-score) to size the buffer to a target stockout probability. The max-minus-average method trades that precision for only needing four numbers you already have. For most catalogs it's close enough; for high-value or highly variable SKUs, the statistical method can be worth it.
How does safety stock work if I sell on multiple channels?
Carefully. If you calculate per-channel safety stock and add it up, you over-buffer — you're assuming every channel peaks on the same day, which is rare. The better approach is usually pooled safety stock that preserves the combined peak, capturing the risk-pooling benefit (one channel's dip offsets another's spike) without flattening away real volatility. This multi-channel pooling is the main thing the simple formula can't do on its own.
How often should I recalculate safety stock?
Regularly — demand peaks and supplier lead times both drift over time, and a buffer sized last quarter can be too small for this quarter's volatility (or needlessly tie up cash if things settled down). Seasonal products especially need it revisited ahead of each season. Recalculate on a cadence, or use software that recomputes it per SKU as new sales and lead-time data come in.
