Inventory how-to
How to calculate safety stock with variable demand
Safety stock covers the gap between your average daily sales and your worst realistic days, during the time it takes a supplier to deliver.
Short answer: Safety stock covers the gap between your average daily sales and your worst realistic days, during the time it takes a supplier to deliver. The simplest reliable method for a small store is to look at your highest selling days over a recent period and use that spread, rather than relying on a single statistical formula.
Why average demand is not enough
If you order based on average daily sales, you will run out of stock on above-average days. Safety stock exists to absorb that variability during the lead time window, which is the period when you have no ability to react because the order is already placed or about to be placed.
A simple variable-demand method
Look at the last two to three months of daily sales for a SKU. Find the average daily sales and the highest daily sales you saw on a normal busy day (ignore one-off spikes like a single viral post). The difference between the high day and the average, multiplied by your lead time in days, gives you a reasonable safety stock number without needing standard deviation math.
When to use a statistical formula instead
If a SKU is important enough and you have steady sales history, you can use: safety stock = (max daily sales - average daily sales) x lead time in days. This is a simplified version of more complex formulas used in large operations, and it is good enough for most small store decisions. Do not overengineer this for low-volume SKUs, since the data is too noisy to be meaningful.
Adjust for supplier reliability
If a supplier is often late or ships partial orders, add extra safety days on top of the demand-based number. This protects you from supply-side variability, not just demand-side variability, and the two should be treated separately.
Step by step
- Pull 60 to 90 days of daily sales history for the SKU
- Calculate average daily sales over that period
- Identify a realistic high day, excluding one-off anomalies
- Subtract average from high, multiply by lead time in days to get safety stock units
- Convert that unit number into extra safety days by dividing by average daily sales
- Add extra days if the supplier has a history of late or partial shipments
- Reorder point = daily sales x (lead time + safety days)
Worked example
A store sells a hoodie with average daily sales of 4 units, but on busy days it sells 9 units. Lead time with the supplier is 10 days. Safety stock = (9 - 4) x 10 = 50 units. Average daily sales of 4 means 50 units equals 12.5 extra safety days. Reorder point = 4 x (10 + 12.5) = 90 units.
How SteadyShelf helps
SteadyShelf calculates demand per variant from your recent sales window and applies the safety days you set per supplier to generate the reorder point and order-by date automatically, so you do not have to run this math by hand each time. It does not run per-location demand variability, so if you stock multiple warehouses you will need to assess that split manually.
$29/month flat, unlimited products and suppliers, 30-day free trial. Run the numbers now with the free reorder point calculator.
SteadyShelf is launching on the Shopify App Store. Join early access to get the install link first.
Related guides
- How to calculate safety stock with variable lead times
- How to calculate sell through rate
- How to calculate stockout cost
- How to calculate lost sales from stockouts
All inventory how-to guides ยท Inventory glossary
FAQ
Should safety stock be the same for every SKU?
No. High-variability SKUs need more safety stock relative to their average sales than steady, predictable SKUs. Slow movers with erratic demand are often the hardest to get right and deserve more manual attention than your top sellers.
How often should I recalculate safety stock?
Review it whenever sales patterns shift meaningfully, such as after a launch, a seasonal change, or a supplier lead time change. For most small stores, checking every one to two months is enough to stay accurate without constant rework.
Let SteadyShelf do this math for every SKU
Order-by dates per supplier, seasonal forecasts and draft POs for your Shopify store. $29/month after a 30-day free trial.
Get early access