E-commerce

Reorder Points and Safety Stock: How to Calculate Both

A reorder point is expected demand during your supplier's lead time plus safety stock. Here is how to calculate both, including the lead-time variation most formulas miss, with a worked example and Shopify setup.

Flat illustration of a stock level line falling to a dashed reorder line and refilling, with a shaded safety stock band underneath
On this page

A reorder point is the stock level that tells you to place your next purchase order. It equals the demand you expect while you wait for the delivery, plus a safety stock buffer for the days when sales run high or the supplier runs late. The formula is: reorder point = average daily sales x lead time in days + safety stock.

Most small stores get the first half right and the buffer wrong. The common safety stock formula only covers swings in demand. If your supplier’s delivery time also varies, that formula can leave you short far more often than you planned. In our modelled example below, a buffer meant to prevent stockouts in 95% of order cycles only managed about 75% once lead times varied by a few days. This guide shows both formulas, a worked example, and how to put the result to work in Shopify.

The two numbers and what each one does

University of Iowa lecture notes on inventory (Dennis Bricker, Department of Mechanical and Industrial Engineering) define the reorder point as “the inventory position which ‘triggers’ the placing of a replenishment order.” The same notes give the structure every version of the formula follows:

  • Reorder point = expected demand during the lead time + safety stock.
  • Safety stock = a safety factor x the standard deviation of demand during the lead time.

The lead time is the whole wait, from the day you place the order to the day the stock is on your shelf and sellable. For an imported product that can include production, freight, customs and receiving.

The safety factor, usually called z, comes from the service level you choose. The notes define cycle service level as the “percentage of cycles without a stockout.” A 95% service level means that in 95 of every 100 reorder cycles, the stock you hold when you reorder is enough to last until the delivery arrives.

Choosing a service level

The safety factors below are the standard normal critical values published in the NIST/SEMATECH e-Handbook of Statistical Methods, checked November 4, 2026.

Service level (cycles with no stockout) Safety factor z Stockouts to expect
90% 1.282 About 1 cycle in 10
95% 1.645 About 1 cycle in 20
97.5% 1.960 About 1 cycle in 40
99% 2.326 About 1 cycle in 100
z values are the NIST upper-tail critical values for p = 0.900, 0.950, 0.975 and 0.990. They assume demand during the lead time is roughly normally distributed.

A stockout in one cycle does not mean you lose every sale in that cycle. It means you run out for some days before the delivery lands. The Iowa notes point out that cycle service level and fill rate (the share of demand you fill from stock) “can be quite different”.

Pick a higher level for your best sellers and for products where a stockout costs you ad momentum or marketplace ranking. Pick a lower level for slow, cheap or easily substituted items.

Formula 1: when your lead time is reliable

If your supplier delivers in close to the same number of days every time, only demand varies. Daily demand swings add up over the lead time in a predictable way: the variance of a sum of independent days is the sum of their variances. So the standard deviation of lead-time demand is the daily standard deviation times the square root of the lead time:

Safety stock = z x daily demand standard deviation x square root of lead time (days)

To get the daily standard deviation, export daily units sold for the product over a recent normal period (eight to twelve weeks is a reasonable start), then use the STDEV.S function in your spreadsheet. Leave out days when the product was out of stock, because a zero there is missing demand, not low demand.

Formula 2: when your lead time varies too

Most small stores buy from suppliers whose delivery dates move around, especially with overseas freight. When the lead time itself varies, a late delivery means more days of sales come out of your buffer. The standard deviation of lead-time demand then becomes:

Standard deviation of lead-time demand = square root of (average lead time x daily demand SD squared + average daily demand squared x lead time SD squared)

Then safety stock is z times that figure. The first term is the demand swing from Formula 1. The second term is the lead-time swing, and it grows with the square of your daily sales, which is why it tends to dominate for anything that sells steadily.

To measure lead-time variation, list the order date and the date received for your last several purchase orders from that supplier, count the days for each, and take the standard deviation.

Worked example: one product, both formulas

Here is a hypothetical product. It is an illustration, not a benchmark.

  • Average sales: 8 units a day, with a daily standard deviation of 3 units.
  • Supplier lead time: 21 days on average, with a standard deviation of 4 days.
  • Unit cost: $12.

Expected demand during the lead time is 8 x 21 = 168 units. That is the reorder point with no buffer at all, and on its own it would run out in roughly half of all cycles.

Service level Safety stock, Formula 1 (fixed lead time) Reorder point, Formula 1 Safety stock, Formula 2 (lead time varies) Reorder point, Formula 2 Formula 2 buffer at cost
90% 18 units 186 45 units 213 $540
95% 23 units 191 58 units 226 $696
97.5% 27 units 195 69 units 237 $828
99% 32 units 200 82 units 250 $984
Hypothetical product: 8 units a day (SD 3), 21-day lead time (SD 4), $12 unit cost. Safety stock rounded up to whole units. Calculated in python with scipy z values, then recalculated with the NIST table values and day-by-day variance sums; both methods agree.

At 95%, the step-by-step working for Formula 2 is:

  1. Demand part of the variance: 21 x 3 x 3 = 189.
  2. Lead-time part: 8 x 8 x 4 x 4 = 1,024.
  3. Standard deviation of lead-time demand: square root of 1,213 = 34.8 units.
  4. Safety stock: 1.645 x 34.8 = 57.3, rounded up to 58 units.
  5. Reorder point: 168 + 58 = 226 units.

Formula 2 asks for more than twice the buffer of Formula 1. The extra 35 units cost $420 at cost price.

What happens if you use the wrong formula

We tested both reorder points in a simulation of 200,000 order cycles for the same hypothetical product, drawing daily sales and lead times at random from the stated averages and standard deviations (normal distributions, lead times rounded to whole days). The chart shows how often each reorder point actually avoided a stockout.

Bar chart of simulated cycles with no stockout: the fixed lead-time formula reaches 70.0, 74.7, 78.2 and 82.0 percent against targets of 90, 95, 97.5 and 99 percent, while the formula with lead-time variation reaches 89.8, 94.9, 97.3 and 98.9 percent
Modelled data. With a 4-day lead-time standard deviation, the fixed lead-time formula aimed at 95% avoided a stockout in only 74.7% of simulated cycles. Formula 2 landed on target.

When we fixed the lead time at exactly 21 days and reran the simulation, Formula 1 hit its targets (90.5%, 95.3%, 97.5% and 99.0%). It is fine for steady suppliers. If your lead time moves, use Formula 2.

Why lead-time reliability is worth paying for

Because the lead-time term grows with the square of your sales, a more reliable supplier can cut your buffer more than a faster one. The chart holds everything else in the example steady and changes only the lead-time standard deviation.

Bar chart of safety stock at a 95 percent service level for lead-time standard deviations of 0, 2, 4, 6 and 8 days: 23, 35, 58, 83 and 108 units, worth 276 to 1,296 dollars at cost
Hypothetical product at a 95% service level. Going from a 4-day to a 2-day lead-time swing cuts the buffer from 58 to 35 units.
Lead-time SD Safety stock Reorder point Buffer at cost Reorder point in days of sales
0 days 23 191 $276 23.9
2 days 35 203 $420 25.4
4 days 58 226 $696 28.2
6 days 83 251 $996 31.4
8 days 108 276 $1,296 34.5
95% service level, z = 1.645, 8 units a day (SD 3), 21-day average lead time. Same python checks as above.

Use this when you compare suppliers. A supplier who is two days slower but very consistent can leave you holding less stock than a faster one who is unpredictable. If you are weighing these trade-offs against price, our guide to markup vs margin helps you see what each unit of buffer actually costs you in profit terms.

Adjustments that matter for small stores

If you only check stock once a week

The formulas assume you notice the moment stock hits the reorder point. If you review once a week, you could pass the reorder point the day after a check and not act for six more days. A simple fix is to add the review period to the lead time. In the example, a 7-day review period turns the 21-day lead time into 28 days, which gives 224 units of expected demand plus 59 units of safety stock, so you reorder when stock is at or below 283 units on your weekly check. An automated alert (covered below) removes most of this gap.

If demand is about to change

A reorder point built on last month’s sales is only as good as last month’s sales. Before a peak season, rework it with the demand you expect. In the example, if daily sales climb from 8 to 12 units and the reorder point stays at 226, the model avoids a stockout in only about 30% of cycles. Rerun with 12 units a day and the reorder point becomes 335 units. Recalculate again after the peak so you do not keep holding holiday-level stock into a quiet month.

Putting it to work in Shopify

All of the following was checked against the Shopify Help Center on November 4, 2026.

Use the right inventory number

Shopify splits inventory into states. In Shopify’s words, Available inventory “isn’t committed or set aside as Unavailable” and does not include Incoming stock. Committed units are “set aside and can’t be sold, such as units in an unfulfilled order”. Incoming is inventory on its way to your location from transfers, purchase orders or apps, and it is not sellable until received. On hand is the total of Committed, Unavailable and Available.

The Iowa notes define the trigger as an inventory position, not stock on the shelf. In Shopify terms, a practical inventory position is Available + Incoming: stock you can still sell plus stock already ordered, leaving out units already promised to customers. Compare the reorder point with on-hand stock alone and you may reorder again while the last order is still in transit.

Shopify’s inventory states page also lists “safety stock” as one reason to mark units as Unavailable. Be careful with that. Unavailable units cannot be sold, so parking your buffer there means it will not protect you from a stockout unless you move it back to Available when you need it. For most small stores, it is simpler to keep the buffer sellable and let the reorder point do the work.

Get your demand figures from the inventory reports

Shopify’s inventory reports include Inventory sold daily by product, which gives average units sold per day for a period you choose, and Inventory remaining per product, which shows Days of inventory remaining. Shopify calculates that column as ending quantity divided by average units sold per day over the last 28 days. Two cautions from the Help Center: since October 1, 2026, inventory reports measure stock by On hand quantity instead of Available quantity, and inventory-based metrics only go back to October 1, 2023.

You can convert your reorder point into days for a quick weekly scan. In the example, 226 units divided by 8 a day is about 28 days. Any variant with fewer days of cover than that needs attention. Remember that this column uses on-hand stock and a 28-day sales average, so it will lag a sudden rise in demand. Our walkthrough of the Shopify Analytics reports that matter weekly covers where these reports sit alongside your sales reports.

Automate the alert with Shopify Flow

Shopify Flow is a free app on the Basic, Grow, Advanced and Plus plans. Its Product variant inventory quantity changed trigger (previously called Inventory quantity changed) starts a workflow whenever a variant’s inventory changes, whether from an order, a manual edit or an app. The trigger page lists a template called “Get notified by email when product variant inventory is low”. Start from that template and set the threshold condition to your reorder point for each product or product group. Our guide to Shopify Flow automations worth setting up first covers how templates and conditions work.

Record the order so it shows as Incoming

You can create purchase orders directly in the Shopify admin to record what you ordered from each supplier, with statuses of Draft and Ordered. Once ordered stock is tracked as Incoming, your Available + Incoming figure reflects it, and you will not double-order. Keeping these records also gives you the order and receipt dates you need to measure lead-time variation. If you have outgrown spreadsheets for this, see how to choose inventory software.

Common mistakes

  • Using shipping time as the lead time. Count from the day you order to the day the stock is sellable, including production and receiving.
  • Ignoring lead-time variation. As the simulation shows, a 95% target can quietly become 75%.
  • Counting stockout days as zero demand. This lowers your average and inflates your standard deviation at the same time.
  • Using a “max minus average” rule of thumb. A common shortcut sets safety stock at maximum daily sales x maximum lead time minus average daily sales x average lead time. With a peak of 14 a day and a worst lead time of 30 days, that gives 252 units for the example product, more than four times the 58 units Formula 2 needs at 95%.
  • Setting one reorder point and forgetting it. Recalculate monthly, and before and after any seasonal peak.
  • Applying the same service level to every product. Spend your buffer on the products where a stockout hurts most. If you also sell on a marketplace, remember the same stock may be shared across Amazon and Shopify, so base demand on all channels.

What you should check next

  1. Pick your top ten products by revenue and export at least eight weeks of daily units sold for each.
  2. List the order and receipt dates of your last five or six purchase orders per supplier and calculate the average and standard deviation of the lead time.
  3. Choose a service level for each product and calculate safety stock with Formula 2.
  4. Set up a Flow low-inventory alert at each reorder point, and record new orders as purchase orders so they show as Incoming.
  5. Diary a recalculation for the start of each month and two lead times before any peak season.

Frequently asked questions

What service level should a small store use?

There is no single right answer. A reasonable starting point is 95% for core products and 90% for the rest, then adjust once you see how often you actually run out and how much cash the buffer ties up.

Does the reorder point tell me how much to order?

No. It only tells you when to order. Order size depends on supplier minimums, price breaks, storage space and cash. Once you have a reorder point, you can decide the quantity separately.

My product sells only a few units a week. Do these formulas still work?

They become less reliable, because the normal distribution is a poor fit for very low, lumpy demand. For slow movers, a simple minimum such as one full lead time of sales plus a few units is often good enough, and the cash at stake is small.

Can I enter a reorder point directly in Shopify?

The Shopify Help pages we checked did not describe a dedicated reorder point field. The low-inventory Flow template and the Days of inventory remaining report are the built-in ways to act on one.

The takeaway

Reorder when Available plus Incoming stock falls to average daily sales times lead time plus safety stock. If your supplier’s delivery time moves around, include that variation in the safety stock formula, or your buffer will fall well short of the service level you think you are buying. Then let a Flow alert watch the number for you.

Sources

  • Dennis Bricker, University of Iowa, Department of Mechanical and Industrial Engineering, “Reorder Point” lecture slides (reorder point and safety stock definitions, cycle service level, fill rate), checked November 4, 2026. user.engineering.uiowa.edu
  • NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.7.1 “Cumulative Distribution Function of the Standard Normal Distribution” (critical values 1.282, 1.645, 1.960, 2.326), checked November 4, 2026. itl.nist.gov
  • Shopify Help Center, “Understanding inventory states” (Available, Committed, Unavailable, Incoming, On hand), checked November 4, 2026. help.shopify.com
  • Shopify Help Center, “Inventory reports” (Inventory remaining per product, Days of inventory remaining, 28-day average, On hand change from October 1, 2026), checked November 4, 2026. help.shopify.com
  • Shopify Help Center, “Shopify Flow” (plan availability), checked November 4, 2026. help.shopify.com
  • Shopify Help Center, “Product variant inventory quantity changed” Flow trigger (description, low-inventory email template), checked November 4, 2026. help.shopify.com
  • Shopify Help Center, “Purchase orders” (creating purchase orders in the admin, Draft and Ordered statuses), checked November 4, 2026. help.shopify.com

Last reviewed: November 4, 2026. The formulas do not change; the Shopify report definitions, Flow trigger and plan availability are as published on that date.

How this article was made: researched and drafted with AI assistance, with every factual claim checked against the sources above. The product, its sales and lead-time figures, the $12 unit cost and the simulation results are a hypothetical model built to illustrate the formulas, not data from a real store.