All tools

Safety Stock Calculator

Estimate an inventory buffer using demand and lead-time variation

Safety Stock = Z x √(LT x σd² + D² x σLT²)
Average units sold per day
Measured standard deviation of daily units sold; zero is allowed
Days from order to delivery
Standard deviation of supplier delivery times in days; zero is allowed
A higher model target produces a larger estimated buffer
Your cost to purchase/produce

Your Safety Stock Requirements

Recommended Safety Stock

0
units

Reorder Point

0
units

Safety Stock Value

$0
inventory cost

Days of Coverage

0
days

Safety Stock by Service Level

How we calculated this

The equation uses a normal approximation for demand during supplier lead time, assuming independent daily demand and lead time. Enter positive averages and measured standard deviations from comparable history; standard deviations and unit cost may be zero. The default numbers are illustrative. Service percentages are model cycle-service targets, not measured order fill rates. See Peter L. King's APICS explanation of safety-stock equations and cycle service.

Use the result as a planning estimate. Review promotions, seasonality and supplier changes before relying on the historical inputs. The reorder point is a replenishment trigger, not an order quantity; compare it with a correctly defined stock position that accounts for open orders and commitments before buying.

Optimization Tips

Review the model assumptions and your input history before using this estimate. Seasonal demand, promotions, and market trends should adjust these numbers.

Where to find each input

  • Average daily sales and its standard deviation: export daily units sold for the product from your Shopify sales reports, using a recent period when it was in stock, then take the average and standard deviation of those daily figures.
  • Average lead time and its standard deviation: use the order and delivery dates of your recent purchase orders from that supplier.
  • Service level: the model's cycle-service target, which sets the Z value. A higher target gives a larger buffer.

Related reading

Automate Your Safety Stock Calculations

Forthcast provides Shopify demand forecasts and reorder recommendations for merchant review. Its plan is $19.99/month with a 14-day Shopify trial; approve Shopify billing before access. Check supplier lead times and usable stock before acting on a recommendation.

Try Forthcast Free for 14 Days
Powered by Forthsuite | Free tools for Shopify merchants