INVENTORY & CASH

Safety Stock Calculator with Service Level

Calculate safety stock and a reorder point from demand variability, supplier lead time and a target cycle service level.

Units only. Use one daily sales calendar and one lead-time definition; the model is a planning buffer, not a forecast.

Demand, lead time and service level

Planning model. Assumes independent, approximately normal demand and lead time. It excludes seasonality, promotions, MOQ, review-period stock, in-transit stock and multi-location allocation.

Saved only in this browser. Nothing is uploaded.

Safety stock and reorder point

Safety stock

53Rounded up to whole units.
Reorder point553Order when available stock reaches this level.
Demand during lead time500Average demand × lead time.
Safety stock days1.1Safety stock ÷ average daily demand.
Cycle service level95.0%Probability of not stocking out during a replenishment cycle.
Target stockout risk5.0%1 − cycle service level.
Z factor1.645Standard normal service factor.

How the buffer is derived

SS = Z × σD × √L. With a stable lead time, only demand variability contributes.

Your inputs are calculated in the browser and are not sent to a server.

Safety stock when demand and lead time both move

Safety stock is the inventory you keep specifically because demand and supplier lead time are uncertain. This calculator turns that uncertainty into a unit buffer, then adds it to expected demand during lead time to set a reorder point.

Safety stock is a buffer, not a forecast

A forecast estimates what will sell. Safety stock protects the reorder decision when the forecast is wrong or the supplier is late. It sits on top of the cycle stock you expect to sell during lead time, and it is held until a replenishment arrives.

That distinction matters because adding “two weeks of stock” is a policy choice, not a statistical result. The formula here answers a narrower question: how large must the buffer be to keep the probability of stocking out during a replenishment cycle at a chosen level?

Two sources of variability

Demand variability is the day-to-day spread around average sales, measured by the standard deviation. If average demand is 50 units a day but actual days range from 30 to 75, the standard deviation captures that spread. A stable average with high variability needs more buffer than the average alone suggests.

Lead-time variability is the spread in supplier and transit time. A supplier that usually takes 10 days but sometimes takes 18 creates a different risk from one that always takes 10. The formula combines both sources: SS = Z × √(L × σD² + D² × σL²). When lead time is stable, the second term disappears.

The formula, with two worked examples

Take average daily demand of 50 units, a daily standard deviation of 10, a 10-day lead time and a stable supplier. At 95% cycle service level, Z is 1.645. Safety stock is 1.645 × √(10 × 100) = 52.02, rounded up to 53 units. The reorder point is 50 × 10 + 53 = 553 units.

Now add two days of lead-time standard deviation. The variance term becomes 10 × 100 + 2,500 × 4 = 11,000; the square root is 104.88; safety stock is 172.53, rounded up to 173 units. The reorder point rises to 673 units. The extra 120 units are the cost of supplier unreliability, made visible.

What a 95% service level actually means

The service level here is a cycle service level: the probability that demand does not exceed available stock during one replenishment cycle. At 95%, roughly one cycle in twenty is expected to run short. It is not the same as fill rate, which measures the share of units shipped immediately; fill rate can be higher than cycle service level when shortages are small.

Higher service levels increase safety stock quickly because Z rises and the buffer is linear in Z. The presets show the trade-off: 90% uses 1.282, 95% uses 1.645, 99% uses 2.326 and 99.9% uses 3.090. Choose a level based on the margin lost in a stockout, the cost of holding inventory and how customers react, not on an industry default.

What the model leaves out

The formula assumes demand and lead time are independent and approximately normal. Promotions, seasonality, supplier allocations, MOQ, review-period stock, in-transit inventory and multi-location splits are outside the calculation. A zero lead time is rejected because lead-time variability has no meaning without a replenishment window.

Use the result as one input to a replenishment plan, not as the plan itself. The CSV reorder planner adds review cycles, MOQ, pack multiples and per-SKU purchasing quantities; this calculator supplies the statistical buffer that planner otherwise asks you to guess in days.

How to run it per SKU

Export 60–90 days of daily units sold and calculate the average and standard deviation on the same calendar. Measure lead time from purchase-order placement to units being available to sell, and use the standard deviation of that lead time if your supplier is inconsistent. Start at 95%, inspect the resulting safety days and holding cost, then adjust the service level for the margin at risk.

Review the inputs when suppliers, shipping lanes or demand patterns change. A buffer built for last year's lead time can become either expensive excess stock or an expensive stockout.

Method and inventory references checked October 2026: Omni Calculator safety stock · ShipBob safety stock · Shopify inventory help

What service level should I use for safety stock?+

There is no universal answer. Higher service levels reduce stockout risk but increase holding cost. Start with the margin lost per stockout, the cost of holding a unit and how customers respond to a delay, then compare 90%, 95% and 99% scenarios rather than adopting a default.

Does a 95% service level mean 95% of orders are filled?+

No. It is a cycle service level: the probability of not stocking out during one replenishment cycle. Fill rate measures the share of units shipped immediately and is a different metric, although the two are related.

Should I use daily or weekly demand in the formula?+

Use daily demand with a lead time measured in days. If you only have weekly demand, divide it by seven and derive a daily standard deviation, or convert the lead time to weeks and keep both inputs in the same time unit.

What if my supplier lead time is stable?+

Set the lead-time standard deviation to zero. The formula reduces to Z × demand standard deviation × √lead time, which isolates demand variability.

How is this different from the inventory reorder planner?+

This calculator derives a statistical safety stock buffer from variability and service level. The reorder planner works from a CSV and adds review cycles, MOQ, pack multiples and per-SKU purchase quantities. Use this tool for the buffer and the planner for the operational order.

NEXT STEP