What reorder points and safety stock are
The reorder point is the stock level that triggers a new order. If your available inventory falls below that number and you don’t order, the product will most likely run out before replenishment arrives.
Safety stock is the part of that amount you don’t expect to sell under normal conditions. It’s the buffer that absorbs variation, such as weeks when sales are higher than expected or a supplier delivers a couple of days late. Without a buffer, any variation causes a stockout. With too much buffer, your money sits tied up in the warehouse.
The two concepts work together: the reorder point covers expected demand while you wait for the order, plus safety stock for the unexpected.
The formulas
For the most common case, where demand changes from day to day but the supplier’s lead time is stable, use these three formulas:
- Demand during lead time: DLT = d · LT
- Safety stock: SS = z · σd · √LT
- Reorder point: ROP = d · LT + SS
Here, d is average daily demand, σd is the standard deviation of daily demand, LT is lead time in days (from the decision to order until the goods are available for sale), and z is the factor for your chosen service level.
The z factor and service level
In this formula, the service level is the probability of not running out of stock during a replenishment cycle. The higher the service level, the higher the z factor, and the faster safety stock grows:
| Cycle service level | z factor |
|---|---|
| 90 % | 1.28 |
| 95 % | 1.645 |
| 97.5 % | 1.96 |
| 99 % | 2.33 |
Going from 95% to 99% may not sound like much, but it multiplies the buffer by roughly 1.4. That’s why you don’t set the same service level for the entire catalog. Choose it by product family based on the cost of a stockout versus the cost of holding inventory.
Why the formula uses the square root of lead time
If daily sales are independent, variation doesn’t add up linearly. Good days and bad days partly offset each other. The standard deviation of cumulative demand over LT days is σd · √LT, not σd · LT. Many spreadsheets miss this detail and inflate the buffer unnecessarily.
Step-by-step example
Hypothetical example using round numbers to illustrate the calculation.
Imagine an item that sells an average of 40 units a day, with a daily standard deviation of 12 units. The supplier delivers in 9 days, and you want a 95% service level (z = 1.645).
- Demand during lead time: 40 × 9 = 360 units.
- Safety stock: 1.645 × 12 × √9 = 1.645 × 12 × 3 = 59.2, which you round up to 60 units.
- Reorder point: 360 + 59.2 = 419.2, or 420 units.
When your available inventory reaches 420 units, place the order. If demand and lead time match their averages, the replenishment arrives when you have about 60 units left, leaving the buffer intact. You can run the numbers with your own data in the reorder point and safety stock calculator, which shows every step.
Where to find the data in your ERP
The formula is the easy part. The quality of the data you enter determines whether the result is useful.
Average daily demand (d)
Use the units you actually sold or consumed, not what you purchased or received. In an ERP such as Odoo, these are confirmed inventory movements to customers or production. Choose a period that reflects how the business runs today. Usually, 6 to 12 months is reasonable. If you don’t sell on weekends, divide by actual business days, not calendar days.
Standard deviation (σd)
Group the units sold or consumed by day, or by week if daily sales are highly irregular, and calculate the standard deviation in a spreadsheet. If you use weekly data, convert it: daily σ ≈ weekly σ ÷ √(business days per week). Count days with no sales as zero. Leaving them out understates the variation.
Lead time (LT)
Don’t use the lead time the supplier quotes. Measure the actual one. Compare the purchase order date with the warehouse receipt date, then add the internal time needed to approve the order and make the goods available. A 7-day lead time on paper may be 10 days in practice.
Available inventory
Compare the reorder point with projected available inventory: what you have on hand, plus what’s on order and in transit, minus what’s already committed to customers. Comparing it only with on-hand stock leads to duplicate orders.
Common mistakes
- Calculating it once and forgetting about it. Demand and lead times change. Review the parameters at least once a quarter and whenever you change suppliers.
- Mixing units of time. If demand is measured in days, lead time must also be measured in days. Mixing weeks and days is the most common spreadsheet error.
- Confusing service level with fill rate. A 95% cycle service level doesn’t mean you fill 95% of the units ordered. It means you have no stockout in 95 out of every 100 cycles.
- Inflating demand with unusual months. A one-time promotion or unusually large order skews the average and standard deviation. Separate or cap those values before calculating.
- System inventory that doesn’t match physical stock. If the ERP says you have 500 units but there are 380 on the shelf, no reorder point can save you. Start with cycle counting and inventory accuracy.
When the formulas don’t apply as written
Erratic or intermittent demand
The formula assumes that daily demand follows something close to a normal distribution. If an item goes weeks without selling and then gets a large order, the average and standard deviation don’t describe what is happening very well. For those items, review stock periodically and apply judgment, replenish against customer orders, or use methods designed for intermittent demand.
Variable lead time
If the supplier’s lead time also varies significantly, the buffer must cover both sources of uncertainty. The combined formula is:
SS = z · √(LT · σd² + d² · σLT²)
The first term under the square root is demand variation during the average lead time. The second is lead-time variation, converted to units by multiplying it by daily demand. You add the variances, not the standard deviations, because the two sources are assumed to be independent.
Hypothetical example: using the same data as before (d = 40, σd = 12, LT = 9, z = 1.645) and a lead-time standard deviation of 2 days, the square root is √(9 × 144 + 1,600 × 4) = √7,696 ≈ 87.7, and safety stock increases to about 145 units.
Notice that lead-time variation has a much greater impact than demand variation. Negotiating a more consistent lead time with the supplier often lets you carry less inventory than any formula adjustment would.
How this relates to ABC/XYZ classification
ABC classification ranks items by their share of consumption or sales value. XYZ classification ranks them by demand stability (X is stable, Y has moderate variation, and Z is erratic). Together, they show you where refining the calculation is worth the effort and where it isn’t:
- AX and BX: the formula works very well. These are ideal candidates for automatic replenishment based on reorder points.
- AY and BY: the formula works, but review the parameters more often and account for seasonality.
- AZ: high value and erratic demand. These items call for planning with the sales team instead of relying only on the formula.
- Class C in general: you can afford a high service level and simple rules because the inventory cost is low.
This segmentation gives you a basis for assigning different service levels by product family instead of applying one percentage to the entire catalog.
How to put it into practice
Start with your 20 or 30 most important items. Calculate d, σd, and LT using actual data, test the results in the calculator, and compare them with what you order today based on experience. Large differences usually reveal a poorly measured input or a rule you inherited that no longer makes sense.
Then enter those settings in your system. In Odoo, reordering rules let you set minimum and maximum stock levels by product and warehouse and automatically generate purchase requests. If you need help setting them up, see our Odoo implementation service. If you use another system or want a full inventory assessment (accuracy, ABC/XYZ classification, and service levels by product family), see our inventory and S&OP service, or start with the Operational Maturity Assessment.