Back

Safety Stock Formula: The Basic and Statistical Formulas, a Worked Example and the Reorder Point Formula

Guide · · Published December 2026 · 8 min read

By Ashwin Gopinath, CEO

TL;DR

Safety stock is the extra inventory held to cover demand that runs above average or supply that arrives late. The basic safety stock formula is safety stock = (maximum daily usage x maximum lead time) - (average daily usage x average lead time). The statistical formula is safety stock = Z x standard deviation of daily demand x square root of lead time, where Z comes from the service level you choose. The reorder point formula is reorder point = average daily usage x lead time + safety stock. This guide is published by Sentra, a management agent that does the work: it joins the ERP with email, chat and meetings, so when a buffer runs out it explains why, with sources.

What is safety stock?

Safety stock is inventory held above expected demand to protect against uncertainty. It is also called buffer stock. If demand and lead time were perfectly predictable, a company could reorder so that new stock arrived the day the old stock ran out. They are not, so the buffer covers the gap.

Safety stock protects against two things: demand that is higher than forecast during the wait for a delivery, and deliveries that take longer than the supplier promised. Every formula below is a way of sizing one or both of those risks.

The basic safety stock formula

The basic safety stock formula is the worst case minus the average case.

Safety stock = (maximum daily usage x maximum lead time) - (average daily usage x average lead time)

  • Maximum daily usage. The highest daily sales or consumption seen in the period you are reviewing.
  • Maximum lead time. The longest time, in days, a delivery took from order to receipt.
  • Average daily usage and average lead time. The means over the same period.

This version needs no statistics and works from four numbers in any ERP. Its weakness is that it assumes the worst demand and the longest delay happen together. That is rare, so it tends to hold more stock than needed, and one unusual day in the history can inflate the result.

The statistical safety stock formula

The statistical safety stock formula sizes the buffer from how much demand varies and from the service level you want.

Safety stock = Z x σd x √L

  • Z. The service factor, taken from the standard normal distribution for your target service level.
  • σd. The standard deviation of daily demand.
  • L. The lead time in days. Demand variability over a lead time grows with the square root of its length.

Service level here means the probability of not running out during one replenishment cycle. The Z values are standard.

Target service levelZ
90%1.28
95%1.65
97.5%1.96
98%2.05
99%2.33
99.9%3.09

The table shows why very high service levels are expensive. Moving from 95% to 99% raises Z from 1.65 to 2.33, which is about 41% more safety stock for four more points of service.

The formula above assumes the supplier always delivers on time. Two further versions cover lead time that varies.

What variesFormulaUse when
Demand onlyZ x σd x √LThe supplier is reliable and demand moves around
Lead time onlyZ x average daily demand x σLDemand is steady and delivery dates move around
Both, independentlyZ x √(L x σd² + average daily demand² x σL²)Both move and one does not cause the other

σL is the standard deviation of lead time in days. Keep every input in the same unit of time. If demand is measured per week, lead time must be in weeks.

A worked example

To calculate safety stock, pick the formula that matches what varies and put the item's own history into it. The figures here are an example with round numbers. An item sells 100 units a day on average, with a standard deviation of 20 units. The highest day was 120 units. The supplier's lead time averages 9 days with a standard deviation of 2 days, and the longest delivery took 11 days. The target service level is 95%, so Z is 1.65.

MethodCalculationSafety stock
Basic (max minus average)(120 x 11) - (100 x 9) = 1,320 - 900420 units
Statistical, demand only1.65 x 20 x √9 = 1.65 x 20 x 399 units
Statistical, lead time only1.65 x 100 x 2330 units
Statistical, both1.65 x √(9 x 400 + 10,000 x 4) = 1.65 x 208.8345 units

The four answers range from 99 to 420 units for the same item. The spread is the lesson. Here the supplier's two-day variation matters far more than daily demand swings: it accounts for most of the 345 units. Making the supplier more reliable would cut the buffer faster than better forecasting would.

At a unit cost of $10, 345 units of safety stock is $3,450 of inventory held permanently for this one item. Multiply that across a catalogue and the choice of formula and service level becomes a working capital decision.

The reorder point formula

The reorder point is the stock level at which a new order must be placed, and the formula is expected demand during the lead time plus safety stock.

Reorder point = (average daily usage x average lead time in days) + safety stock

Continuing the example with the combined statistical result:

  • Demand during lead time = 100 x 9 = 900 units
  • Reorder point = 900 + 345 = 1,245 units
  • When stock on hand plus stock on order falls to 1,245 units, raise the purchase order

Safety stock and the reorder point answer different questions. Safety stock says how much buffer to hold. The reorder point says when to order. Neither says how much to order, which is set by the order quantity or the minimum the supplier accepts.

How to choose a service level

Choose the service level by what a stockout costs against what the extra stock costs, item by item.

  • High service level. Items with high margin, items customers will not wait for, and parts whose absence stops a production line.
  • Lower service level. Slow, bulky or low-margin items, and items with an easy substitute.
  • Group by class. Many companies set one level for their A items, a lower one for B and a lower one again for C, then review exceptions.

Too little safety stock produces backorders and lost sales. Too much becomes excess inventory and, if demand falls away, dead stock.

Common mistakes

  • Mixing time units. Weekly demand with lead time in days gives a wrong answer that still looks plausible.
  • Using the promised lead time. Use actual receipt dates from purchase orders. The supplier's quoted figure is often shorter than what happened.
  • Setting it once. Demand and suppliers change. Recalculate at least quarterly and after any change of supplier.
  • Applying it to lumpy demand. The statistical formula assumes demand is roughly normal. Items that sell rarely or in large one-off orders need a different approach or manual review.
  • Trusting the stock record. The formula protects against variable demand and supply. It cannot protect against a system count that is wrong, as our guide to stockouts and phantom inventory explains.
  • Ignoring the cost. Safety stock is permanent inventory. It lowers the inventory turnover ratio, so report what the chosen service level costs.

Where the reason a buffer ran out lives

The ERP shows that stock fell through its safety level, and the reason usually sits in email, chat and meetings. The system holds usage, lead times and the reorder point. The supplier's email warning that the next three shipments will be a week late, the chat thread about a promotion nobody told planning about, and the meeting where a customer doubled a standing order all sit outside it. Those are the events that make last quarter's standard deviation the wrong input.

Sentra is a management agent that does the work. It reads the ERP, CRM and BI tools alongside email, chat, meetings and documents, and joins the two: the systems of record say what happened, and the conversations say why. For inventory, Sentra writes the explanation when an item breaches its safety stock, by cause, with a link to each source. It lists the items whose lead times or demand have shifted since the parameters were last set, drafts the follow-up to the planner or buyer who owns each one, chases it, and puts the summary in the pre-read for the weekly business review.

A named person approves anything Sentra drafts or raises before it reaches anyone else. Every line cites its source, and each reader sees only what they could already open in the source system. Sentra replaces none of the company's systems: the ERP and the planning tool stay where they are.

To see Sentra explain a safety stock breach in your own inventory, book a demo.

FAQ

What is the safety stock formula?

The basic formula is safety stock = (maximum daily usage x maximum lead time) - (average daily usage x average lead time). The statistical formula is safety stock = Z x standard deviation of daily demand x square root of lead time in days.

How do you calculate safety stock with a service level?

Convert the service level to a Z value, then multiply by the standard deviation of daily demand and the square root of the lead time. At 95% (Z = 1.65), a standard deviation of 20 units and a 9-day lead time, safety stock is 1.65 x 20 x 3 = 99 units.

What is the Z score for a 95% service level?

About 1.65. Other common values are 1.28 for 90%, 1.96 for 97.5%, 2.05 for 98% and 2.33 for 99%. They come from the standard normal distribution.

What is the reorder point formula?

Reorder point = (average daily usage x average lead time in days) + safety stock. With 100 units a day, a 9-day lead time and 345 units of safety stock, the reorder point is 1,245 units.

What is the difference between safety stock and reorder point?

Safety stock is the buffer quantity held against uncertainty. The reorder point is the stock level that triggers a new order, and it includes the safety stock plus the demand expected while the order is on its way.

Which safety stock formula should I use?

Use the basic formula for a quick estimate or when history is short. Use the statistical formula when you have enough data to measure variability. If supplier lead times vary, use the version that includes the standard deviation of lead time.