Guide · Shopify, December 2026
How much safety stock to keep on Shopify (and how to calculate it)
Safety stock is the extra stock you keep so a busy week or a late delivery doesn't leave a product sold out. Too little and you lose sales while you wait for the truck. Too much and cash sits on the shelf. There is no single right number, but there are three sensible ways to pick one, from quick to careful.
Every example below uses the same product: it sells 4 units a day on average and the supplier takes 10 days to deliver.
1. What safety stock is for
Your reorder point (the stock level at which you place an order) already covers normal sales during the supplier's lead time: 4 a day × 10 days = 40 units. Safety stock covers what is not normal:
- Sales that run above the average, for example after a mention on social media.
- A delivery that takes longer than the usual lead time.
- Stock that arrives short or damaged.
A product you can restock in two days, or one customers will wait for, needs little. A best seller from an overseas supplier needs more. Decide product by product, starting with the ones that earn the most. Shopify's ABC product analysis report (Analytics > Reports, Inventory category) grades products by their share of revenue, which tells you where to spend the effort.
2. The quick way: a fixed number of days
Pick a number of days of sales to hold as a buffer, and multiply by daily sales. Seven days is a common start.
Safety stock = daily sales × safety days = 4 × 7 = 28 units
Use fewer days for cheap, easy-to-restock products and more for best sellers and slow suppliers. Get the daily sales figure from Analytics > Reports > Inventory sold daily by product. If the product was sold out for part of the period, the figure is too low, so look at a stretch when it was in stock.
This is enough for a small store. Its weakness is that it treats a steady product and a spiky one the same.
3. Use your busiest days and your slowest delivery
A step more careful: look at the worst case you have actually seen, and cover the gap between the worst case and the average.
Safety stock = (highest daily sales × longest lead time) − (average daily sales × average lead time)
Say your best day in the last quarter was 7 units, your slowest delivery took 14 days, and the usual is 4 units and 10 days: (7 × 14) − (4 × 10) = 98 − 40 = 58 units.
You get a bigger buffer than with the quick way (58 against 28), because it plans for a busy stretch and a late delivery at the same time. That is cautious. If one spike day sets the number, use a high-but-typical day instead of the single highest. Write down real delivery dates from your purchase orders for a few months so the "longest lead time" is a fact, not a guess.
4. For key products: a statistical formula
If you have a few months of sales per day, you can size safety stock to a service level, the share of the time you want to avoid a stockout. Export your orders (Orders > Export gives one row per line item with its date and quantity), total the units per day for one product in a spreadsheet, and calculate the standard deviation of the daily units (STDEV.S in Excel and Google Sheets). Then:
Safety stock = z × daily standard deviation × √lead time in days
The z value comes from the service level you choose: about 1.28 for 90%, 1.65 for 95% and 2.33 for 99%. If the daily units vary by 1.5 either side of the average and you want 95%: 1.65 × 1.5 × √10 = 1.65 × 1.5 × 3.16 ≈ 8 units.
This gives a smaller number than step 3 because it only protects against ordinary day-to-day swings in demand. It assumes the supplier is always on time, and that daily sales are not driven by promotions or seasons. If your deliveries are unreliable, add the extra days from step 3 on top. Going from 95% to 99% raises the buffer by about a third, so reserve the higher levels for products where a stockout is costly.
5. Put the number into your reorder point
Add safety stock to the sales you expect during the lead time:
Reorder point = daily sales × lead time + safety stock = 4 × 10 + 28 = 68 units
When Available plus Incoming (Products > Inventory) falls to 68, place the order. Counting Incoming means you don't order again what is already on its way. Check each number every month or two: if you still sell out, raise it; if stock sits for months, lower it.
Two cases need care. A product with a long lead time, such as sea freight, needs the lead time right before safety stock matters. And if you sell the same product from several locations, work out the number for each location, since Shopify tracks stock per location.
6. When to add more
For a few dozen products, a spreadsheet with a safety-stock column is enough. With hundreds of products and several suppliers it takes a lot of weekly work. We built Reorder & Receive, a Shopify app, that does the reorder sums for you:
- You set safety stock in days (the default is 7) once, and it uses it in each product's reorder point together with real sales and the supplier's lead time. It does not calculate safety stock from how much your sales vary; you choose the days, using steps 2 to 4 above.
- It counts stock already on open purchase orders, rounds to your supplier's case size and minimum order, and lists the products to order per supplier and location.
- For a product that needs a fixed buffer, set a min and max level on it instead. The app then reorders up to the max whenever stock falls to the min, whatever the recent sales were. A lead time for a single slow product can be set on its own.
It is one plan with a 14-day free trial.
Get Reorder & Receive on the Shopify App Store
Read how it works on the Reorder & Receive page and in the documentation. For the wider routine, see when to reorder stock on Shopify.
We build Reorder & Receive. Everything in steps 1-5 works without it. This guide was written with AI assistance. The formulas are standard inventory methods, worked out by hand in the examples, and the Shopify steps were checked against Shopify's Help Center, not a live store; the app details against the app's code. Menus and plan features can change; if yours look different, search Shopify's help for the report name.