software lab

Reorder point: the formula, a calculator and a worked example

updated: 2026-11-23

The reorder point is the stock level that tells you to order again. Order when stock drops to it, and the new units arrive before you run out.

Daily salesunits a day, on days in stock
×
Lead timedays until new stock is on the shelf
+
Safety stocka cushion for busy days
=
Reorder pointorder when stock gets here

One rule matters more than any other: count sales only on the days the product was in stock.

Reorder point calculator

This is the same calculation MDF Inventory Forecasting runs every night. It starts with the mug from the example below. Change the numbers to try one of your products.

Sales
Last 7 days
Last 28 days
Last 90 days
Product class
The more a product matters, the bigger its safety stock.

This calculator needs JavaScript. The formula above works with pen and paper.

The app does two more things that totals can't: it ignores one-off spikes, like a promotion, and it adjusts for the season once it has a year of sales. Without those, you get the same number here as in the app.

Step 1: daily sales

Count only the days the product could be bought. Here, a product sold 60 units in a month, but it was sold out for the last 10 days:

in stock: 20 days sold out: 10 days
✗ calendar days60 ÷ 30 = 2 a daycounts days it couldn't sell
✓ days in stock60 ÷ 20 = 3 a daywhat it really sells

Dividing by calendar days makes your best sellers look slow, because they are the ones that sell out. Then you order too little of exactly what sells most.

Recent weeks count more. The app looks at the last 7, 28 and 90 days and weighs them 50%, 30% and 20%. The calculator does that sum for you.

Step 2: lead time

The days from placing the order until the units are on your shelf, ready to sell. All of it:

  1. You order
  2. Supplier prepares it
  3. Shipping
  4. You receive and count it
  5. On the shelf
lead time: all of it

Use what your deliveries really take, not the supplier's quote. Line up your last few deliveries and take the one in the middle:

16, 18, 19, 21, 24 days → lead time 19 days

Step 3: safety stock

Some weeks sell more than usual. Safety stock is the cushion that covers them while you wait for the delivery.

A product whose daily sales jump around needs a bigger cushion than a steady one. How big also depends on how much the product matters to you. The app sorts products by revenue into three classes:

ABest sellersThe products that make the first 80% of your revenue.covered 98% of the time
BThe middleThe next 15% of revenue.covered 95% of the time
CThe long tailThe last 5% of revenue.covered 85% of the time

"Covered 98% of the time" means that in 98 of every 100 orders, the stock lasts until the delivery arrives. The exact sum is in the FAQ.

A worked example

A Shopify store sells a ceramic mug. It sold out twice in the last three months:

Last Sold In stock A day
7 days 20 5 days 4.00
28 days 70 20 days 3.50
90 days 270 72 days 3.75

Its supplier usually takes 21 days, and the mug is a class B product.

  1. Daily sales 3.8 a day The three periods, weighted 50%, 30% and 20%
  2. Sales while you wait 79.8 units 3.8 a day × 21 days
  3. Safety stock 13 units Class B, for sales that vary by about 1.6 a day
  4. Reorder point 93 units 79.8 + 13, rounded up

When the mug's stock, counting units already on order, drops to 93, order more.

Counting calendar days would give 72. That order goes out 21 units late: more than five days of sales, taken from the cushion meant for a busy week.

Common mistakes

  1. Counting days out of stock. Your best sellers look slow and keep running out.
  2. Trusting the supplier's quote. Use what deliveries really take.
  3. Forgetting stock already on order. Compare the reorder point with stock on hand plus incoming units, or you order twice.
  4. Setting it once. Sales change. Recalculate every month, and before each season.

How to do it in Shopify by hand

Shopify does not calculate a reorder point. To do it yourself:

  1. Export units sold per variant for the last 7, 28 and 90 days, net of returns, from Analytics → Reports.
  2. Count the days each variant was sold out. Shopify does not record them, so keep a note when something sells out.
  3. Put it in a spreadsheet, one row per variant, with the lead time and class, and work out the reorder point.
  4. Compare it with available plus Incoming stock (Products → Inventory), and order what is at or below it.

Fine for twenty products. At two hundred, every week, the spreadsheet becomes the job.

FAQ

What is a good reorder point?

There is no good number in general: each product has its own. A fast seller from a slow supplier needs a high one; a slow seller from a local supplier, a low one.

What is the difference between reorder point and safety stock?

Safety stock is part of the reorder point. The reorder point is the level that triggers an order; safety stock is the share of it kept for busy days. Without it, you would run out about half the time.

How is safety stock calculated?

safety stock = z × σ × √lead time, rounded up.

  • σ is how much daily sales vary: the standard deviation of units sold per day, over the days in stock of the last 90. A spreadsheet's STDEV on a daily export gives it.
  • z comes from the service level: 2.05 for 98% (class A), 1.65 for 95% (class B) and 1.04 for 85% (class C).
  • It is the square root of the lead time, not the lead time itself: busy and quiet days partly cancel out over a long wait.

For the mug: 1.65 × 1.6 × √21 = 12.1, so 13 units.

How often should I recalculate the reorder point?

At least once a month, and whenever something changes: a new supplier, a price change, a promotion or the start of a season. An app can do it every night.

What if my supplier's lead time varies?

Plan on the typical wait, the middle of your recent deliveries; the safety stock covers the slow ones. If deliveries swing a lot, the textbook formula adds that swing too: z × √(lead time × σ² + daily sales² × σ_LT²), where σ_LT is how much the lead time varies, in days.