Reorder Point Formula and Safety Stock for Multi-Location Stores
A reorder point is the stock level that tells you to buy more: demand during the lead time plus safety stock. Here's the math, the Z-score table and how to run it per location in Shopify.
The reorder point formula is average daily demand times lead time, plus safety stock. Safety stock is Z times the variability of demand during the lead time. When available stock at a location falls to its reorder point, you place the next order. Run the math per SKU and per location, not for the whole store.
Most stores set reorder points by feel. Someone picks "reorder at 100" and the number never changes. That works until a SKU starts selling faster, a supplier slips a week, or a second warehouse opens. Then the store runs out of its best sellers and sits on extra slow ones at the same time.
This guide covers the plain formula and the full version with lead time variability, a service level to Z-score table, worked examples for a fast mover and a slow mover, seasonality, multiple locations, how inventory works by location in Shopify, low-stock alerts with Shopify Flow, and the money math on carrying cost versus stockouts.
Key takeaways
- Two parts. Reorder point is lead time demand plus safety stock, and safety stock is where the judgment lives.
- Lead time swings matter most. For a fast mover, a two-day swing in supplier lead time can more than double the safety stock you need.
- Service level is a money choice. Pick it per SKU by comparing carrying cost with the margin a stockout loses.
- Every location is its own math. Shopify tracks each location's stock separately, so each one needs its own reorder point.
- Automate the alert. Store the number per variant and let Shopify Flow tell you when available stock drops below it.
What is a reorder point?
A reorder point is the stock level that tells you to order more. It has to cover two things. First, what you'll sell while you wait for the new order to arrive. Second, a buffer for when you sell more than usual or the order arrives late.
The first part is lead time demand. The second part is safety stock. Lead time is the time from placing an order to having stock on the shelf, ready to sell. Count every day: supplier processing, transit, receiving and putting away.
Here's the key idea. If demand and lead time never changed, you wouldn't need safety stock. You'd reorder when stock equals exactly what you'll sell before the delivery lands. Safety stock exists only because both move around.
What is the reorder point formula?
The plain version, with no variability at all:
Reorder point = average daily demand x lead time in days
The working version, with a buffer:
Reorder point = (average daily demand x lead time) + safety stock
Here's a quick example. A SKU sells 40 units a day. The supplier takes 10 days. Lead time demand is 400 units. With 146 units of safety stock, the reorder point is 546. When available stock falls to 546, you order.
Which stock number do you compare against?
Use available stock, plus anything already on order. Don't use on hand. On hand includes units promised to open orders and units set aside as damaged. Shopify splits these out, as covered later. If you already have an order on the way, add those incoming units, or you'll order twice.
Inventory position = available + incoming - backorders
Order when inventory position <= reorder point
How do you calculate safety stock?
There are two common formulas. Both use Z, a number from your target service level. Both lean on the same idea: demand over the lead time roughly follows a bell curve, so you can size a buffer that covers a set share of outcomes.
Safety stock when only demand varies
Use this when your supplier is reliable and lead time barely moves.
Safety stock = Z x sd_d x sqrt(L)
Z = service level factor (from the table below)
sd_d = standard deviation of daily demand, in units
L = average lead time, in days
The square root is there because daily ups and downs partly cancel out. Ten days of demand is less jumpy than ten times one day's swing.
Safety stock when demand and lead time both vary
Use this when supplier lead times move around. For most stores importing goods, that's the honest version.
Safety stock = Z x sqrt( L x sd_d^2 + d^2 x sd_L^2 )
d = average daily demand, in units
sd_L = standard deviation of lead time, in days
The first term inside the root is demand swings over the lead time. The second term is lead time swings, scaled by how much you sell per day. For a fast mover, that second term often dominates. A late container costs you many days of sales, not one.
What assumptions sit behind the formula?
The formula is a model. It's useful because its assumptions hold well enough for most SKUs. Know where they don't.
| Assumption | What it means | When it breaks |
|---|---|---|
| Normal approximation | Demand over the lead time follows a bell curve | Slow movers selling under about one unit a day |
| Independent days | Today's sales don't predict tomorrow's | Promotions, viral spikes, weekly patterns |
| Stable average | Average demand holds over the lead time | Seasonal ramps, launches, end of life |
| Lead time independent of demand | Suppliers don't slow down when you get busy | Peak season, when every brand orders at once |
| Continuous review | You check stock every day, so you catch the reorder point when it's crossed | Weekly ordering cycles |
| Cycle service level | Z sets the chance of no stockout per order cycle | You care about fill rate, the share of units shipped |
Two of these need a fix often enough to spell out.
If you only review stock weekly, swap L for L + R, where R is the review period in days. A weekly check with a 10-day lead time means you're covering 17 days of risk, not 10.
Cycle service level is the share of order cycles with no stockout. It's not the share of orders you fill. A 95% cycle service level usually fills more than 95% of units, because most stockouts are short. That's fine. Just know which one you're quoting when someone asks.
What Z-score goes with each service level?
Z is the number of standard deviations of buffer you hold. These values come from the standard normal distribution.
| Cycle service level | Z-score | Chance of a stockout per cycle |
|---|---|---|
| 80% | 0.842 | 1 in 5 |
| 85% | 1.036 | about 1 in 7 |
| 90% | 1.282 | 1 in 10 |
| 95% | 1.645 | 1 in 20 |
| 97.5% | 1.960 | 1 in 40 |
| 98% | 2.054 | 1 in 50 |
| 99% | 2.326 | 1 in 100 |
| 99.5% | 2.576 | 1 in 200 |
| 99.9% | 3.090 | 1 in 1,000 |
Notice the curve. Going from 90% to 95% adds about 0.36 to Z. Going from 99% to 99.9% adds about 0.76. Each extra point of service costs more stock than the last.
Worked example: a fast mover
Say you sell a merino sock from a main warehouse. Here are its numbers, pulled from 90 days of sales and your last ten purchase orders.
| Input | Value |
|---|---|
| Average daily demand (d) | 40 units |
| Standard deviation of daily demand (sd_d) | 12 units |
| Average lead time (L) | 10 days |
| Standard deviation of lead time (sd_L) | 2 days |
| Target service level | 95%, so Z = 1.645 |
With the demand-only formula
Safety stock = 1.645 x 12 x sqrt(10)
= 1.645 x 37.9
= 62.4, round up to 63 units
Reorder point = 40 x 10 + 63 = 463 units
With the full formula
Safety stock = 1.645 x sqrt( 10 x 12^2 + 40^2 x 2^2 )
= 1.645 x sqrt( 1,440 + 6,400 )
= 1.645 x sqrt( 7,840 )
= 1.645 x 88.5
= 145.6, round up to 146 units
Reorder point = 40 x 10 + 146 = 546 units
Look at the two terms inside the root. Demand swings add 1,440. Lead time swings add 6,400. A two-day wobble in supplier timing drives most of the risk. The demand-only formula would leave you with less than half the buffer you need.
This is the most useful thing the full formula tells you. If you can cut lead time variability, you can cut safety stock. A supplier who always ships in 10 days is worth real money compared with one who ships in 8 to 12.
How safety stock changes with service level
Same SKU, full formula, at different service levels:


| Service level | Z | Safety stock | Reorder point | Days of cover at the reorder point |
|---|---|---|---|---|
| 90% | 1.282 | 114 | 514 | 12.9 |
| 95% | 1.645 | 146 | 546 | 13.7 |
| 98% | 2.054 | 182 | 582 | 14.6 |
| 99% | 2.326 | 206 | 606 | 15.2 |
| 99.9% | 3.090 | 274 | 674 | 16.9 |
Days of cover is stock divided by average daily demand. It's the easiest way to explain a reorder point to someone who doesn't want the formula. "We reorder when we have about two weeks of socks left."
Worked example: a slow mover
Now a different SKU. A boxed gift set sits at a retail store location. It sells less than one a day.
| Input | Value |
|---|---|
| Average daily demand (d) | 0.4 units |
| Standard deviation of daily demand (sd_d) | 0.9 units |
| Average lead time (L) | 14 days |
| Standard deviation of lead time (sd_L) | 3 days |
| Target service level | 95%, so Z = 1.645 |
Lead time demand = 0.4 x 14 = 5.6 units
Safety stock = 1.645 x sqrt( 14 x 0.9^2 + 0.4^2 x 3^2 )
= 1.645 x sqrt( 11.34 + 1.44 )
= 1.645 x 3.57
= 5.9, round up to 6 units
Reorder point = 5.6 + 6 = 11.6, round up to 12 units
The formula gives 12. But the normal approximation is shaky here. Most days this SKU sells zero. Some days it sells two. A bell curve fits that badly.
A Poisson check is a good sanity test for slow movers. Poisson is the usual model for counts of rare events, like a few sales a week. With an average of 5.6 units over the lead time, a reorder point of 10 covers about 97% of outcomes and 9 covers about 94%. That check assumes a fixed lead time, so it runs a little low. Taken together, a reorder point of 10 to 12 is defensible.
For slow movers, three practical rules beat more math:
- Round up to whole units, and to case packs. If the supplier ships in sixes, a reorder point of 11 means nothing. Think in cases.
- Set a floor. Never let a SKU you want to keep selling go below one display unit plus one spare.
- Ask if it needs stock at every location. A slow mover often belongs in one warehouse that ships to the rest.
How do you handle seasonality?
The formula uses an average. Seasonal demand doesn't sit still. If you size November on September's average, you'll run out in week two of peak.
The fix is to use forecast demand for the lead time window, not a trailing average.
Lead time demand = sum of forecast daily demand over the next L days
Safety stock = Z x sqrt( L x sd_e^2 + d_f^2 x sd_L^2 )
sd_e = standard deviation of daily forecast error
d_f = average forecast daily demand over the window
Use forecast error, not raw demand swings, for sd_e. Seasonal demand swings a lot, but much of that swing is predictable. Safety stock only needs to cover the part you can't predict.
Worked example: the sock going into peak
Your forecast says the sock will average 70 a day over the next 10 days. Past forecasts have missed by a standard deviation of 20 units a day. Lead time variability is still 2 days.
Lead time demand = 70 x 10 = 700 units
Safety stock = 1.645 x sqrt( 10 x 20^2 + 70^2 x 2^2 )
= 1.645 x sqrt( 4,000 + 19,600 )
= 1.645 x 153.6
= 252.7, round up to 253 units
Reorder point = 700 + 253 = 953 units
The reorder point went from 546 to 953. If you'd left it at 546, you'd place the order with only about eight days of peak demand on hand, against a lead time of ten.
Three more seasonal habits help:
- Recompute monthly going into peak. Weekly in the last month before it.
- Watch supplier lead times move too. Factories and freight get slower when everyone orders at once. Bump sd_L for peak.
- Plan the step down. After peak, drop the reorder point early. Otherwise the last order before January lands on a cold shelf.
Peak planning ties into the rest of your calendar. Promotions and paid pushes change demand, so the people running ecommerce paid ads and email and SMS flows should share their dates with whoever owns inventory.
How do reorder points work with more than one location?
Each location that fills orders needs its own reorder point, built on its own demand. A warehouse in New Jersey and a store in Austin don't sell the same mix. Averaging them hides the location that's about to run out.
| Location type | Demand to use | Lead time to use | Typical service level |
|---|---|---|---|
| Main warehouse for online orders | Online orders routed there | Supplier lead time | 95% to 99% on best sellers |
| Second warehouse or 3PL | Orders routed there | Supplier lead time, or transfer time if fed from the main warehouse | 95% |
| Retail store | In-store sales plus pickup orders | Transfer time from the warehouse | 90% to 95% |
| Wholesale stock | Wholesale order volume | Supplier lead time | Set by your wholesale terms |
A store fed from your own warehouse has a short lead time: the transfer. A warehouse fed by a supplier has the long one. That's why stores often need less safety stock than you'd guess. If your wholesale channel draws on the same stock, the Shopify B2B and wholesale guide covers how to split it.
Why central stock needs less buffer
Safety stock pools. If three locations each face independent demand swings, holding the buffer in one place needs less total stock. The swings partly cancel out.
Say each of three locations has a lead time demand standard deviation of 40 units. At 95%:
Separate: 3 x (1.645 x 40) = 3 x 65.8 = 197 units
Pooled: 1.645 x (sqrt(3) x 40) = 1.645 x 69.3 = 114 units
Pooling saves 83 units of buffer. The trade is speed and shipping cost. Orders from the far coast take longer and cost more to ship. This assumes the three locations' demand moves independently. If a TikTok spike hits all three at once, the saving shrinks.
How does inventory by location work in Shopify?
Shopify tracks stock per location. Its multi-location inventory page says each location's inventory is independent and can't be shared or pooled with other locations. A product is only sellable and fulfillable from locations where it's active.
A location is any physical place where you sell, fulfill orders or stock inventory, per Shopify's locations overview. Some apps, like dropshipping and 3PL apps, also count as locations.
How many locations can you have?
These come from Shopify's location setup page, as of November 2026. Deactivated locations don't count.
| Plan | Active locations |
|---|---|
| Starter | 2 |
| Basic | 10 |
| Grow | 10 |
| Advanced | 10 |
| Shopify Plus | 200 |
To add one, go to Settings > Locations and click Add location. Each location has a setting, "Inventory at this location is available to fulfill online orders", that's on by default. Turn it off for a store that only sells in person.
Which inventory state should your reorder point use?
Shopify splits on hand stock into states. The definitions come from its inventory states page.
| State | What it is | Use in reorder math? |
|---|---|---|
| On hand | All units at a location: committed plus unavailable plus available | No, too high |
| Available | Units you can sell right now | Yes, as the base |
| Committed | Units tied to open orders, draft order reservations or transfers ready to ship | Already spoken for |
| Unavailable | Held but not for sale, for example damaged, quality control or safety stock | No |
| Incoming | On the way from a transfer or app, not sellable until received | Yes, add to inventory position |
One detail is worth noticing. Shopify lists safety stock as one reason a unit can be unavailable. If an app parks your buffer there, available stock already excludes it. In that case your reorder point is just lead time demand. Don't count the buffer twice.
Where do you get demand data?
Shopify's inventory reports include "Inventory sold daily by product", "Products by sell-through rate" and "Inventory remaining per product". The days of inventory remaining estimate divides ending stock by average units sold per day over the last 28 days.
That 28-day estimate is a decent days-of-cover check. It isn't a reorder point. It has no lead time and no buffer. For the reorder math, export daily sales by variant and location to Google Sheets or your warehouse, and compute the average and standard deviation there. Ninety days of history is a reasonable default for steady SKUs. Use less for fast-changing ones.
If you'd rather stream sales in as they happen, Shopify webhooks can push order and inventory events to your sheet or database.
How do you set up low-stock alerts with Shopify Flow?
Shopify has no built-in reorder point field. So you store the number yourself and let Shopify Flow, Shopify's workflow automation app, watch for it. Flow is free on the Basic, Grow, Advanced and Plus plans, per its help page, as of November 2026.
Store the reorder point per variant and location
Create a variant metafield for each location that holds stock. One number per location keeps Flow conditions simple.
Namespace and key Type Example value
inventory.rop_main_wh Integer 546
inventory.rop_austin_store Integer 40
inventory.ss_main_wh Integer 146 (optional, for reporting)
Write the values from your sheet with a bulk import or a small script. Recompute them on a schedule, monthly for most SKUs.
Build the real-time alert
Use the Product variant inventory quantity changed trigger. It fires when a variant's inventory changes from an order, a manual change or an app. It gives you the product, the variant and the prior quantity.
The trigger doesn't hand you the location that changed. So the check reads the location's level directly, through the variant's inventory levels. The cleanest way to compare that level with your stored number is a Run code step. It runs JavaScript on data from earlier steps, with a 5 second time limit and no outside calls.
Trigger: Product variant inventory quantity changed
Run code: compare each location's available with its rop_ metafield
Condition: output.reorder is true
and variant metafield inventory.reorder_sent_main_wh is not true
Action: Send internal email to purchasing@example.com
Action: Update product variant metafield inventory.reorder_sent_main_wh = true
Here's a trimmed example of the code step. Pick the exact input fields in Flow's input editor, because the names there follow Flow's own data paths.
// Trimmed example. input comes from the Run code input query.
export default function main(input) {
const v = input.productVariant;
const rop = Number(v.ropMainWh?.value ?? 0);
const level = v.inventoryItem.inventoryLevels.find(
(l) => l.location.name === "Main warehouse"
);
const available = level ? level.available : 0;
return {
reorder: rop > 0 && available <= rop,
available,
rop,
};
}
The "reorder sent" flag matters. Without it, every sale below the line sends another email. A second small workflow clears the flag once stock comes back above the reorder point, so the next crossing alerts again. You can use the Update product variant metafield action for both.
The trigger page also notes that draft orders don't affect available inventory until they're converted to orders. So a big wholesale draft order won't fire the alert until it's real.
Add a weekly sweep
Real-time alerts can miss things: a metafield set after the stock dropped, or a tag that never cleared. A weekly sweep catches them.
Use the Scheduled time trigger. It can run at most once every 10 minutes, and weekly is plenty for this. Add Get product variant data, which returns up to 100 variants per run, then a For each loop with the same condition. If you track more than 100 variants, split the sweep by vendor or product type.
Route the alert where buying happens
Email is the floor. Most teams want the alert in Slack or a task tool too. The trigger page's own templates include Slack messages for out-of-stock variants at a location and tasks when stock drops below a threshold. Our Shopify Flow recipes post has more builds like this.
What does the money math say about service levels?
Every unit of safety stock costs money to hold. Every stockout loses margin. The right service level is where those two meet. Your contribution margin per unit is the stockout side of the scale, and the contribution margin guide shows how to get it right.
Carrying cost is what it costs to hold a unit for a year: the cash tied up, storage, insurance, shrink and the risk it goes out of style. Use your own number. In the examples below, I assume 25% of unit cost a year.
To compare, you need expected units short per order cycle. That's the standard deviation of lead time demand times a value called the normal loss function, G(Z). G(1.645) is about 0.021 and G(2.326) is about 0.0034.
The pattern holds broadly. Cheap, fast, high-margin SKUs earn a high service level. Expensive, slow SKUs don't. One caveat cuts the other way. A stockout can cost more than one unit of margin. A buyer who finds your hero product gone may buy a competitor's and not come back. If you can measure that, add it to the stockout side. If you can't, nudge hero SKUs up a point.
Paid media adds a hidden stockout cost. If ads keep running to a product page that's sold out, you pay for clicks that can't convert. That's another reason to send the low-stock alert to whoever runs ads, as covered in our ecommerce marketing strategy. Inventory is part of your unit economics, not a separate ops topic.
How do reorder points go wrong?
These are the common failure modes, and they're mostly about stale inputs rather than bad math.
| Mistake | What happens | Fix |
|---|---|---|
| One reorder point for all locations | One location runs out while another sits on stock | Compute per location from its own demand |
| Demand-only formula with a jumpy supplier | Buffer is far too small, stockouts every late shipment | Use the full formula with sd_L |
| Lead time measured as ship time only | Receiving and putaway days missing | Measure order date to sellable date |
| Comparing against on hand | Committed units counted twice, order placed late | Use available plus incoming |
| Trailing average into peak | Runs out in the first weeks of the season | Use forecast demand and forecast error |
| Stockout days in the demand history | Average demand looks lower than it is | Remove days with zero stock, or estimate lost sales |
| Same service level for every SKU | Too much cash in slow items, too little buffer in best sellers | Set service level per SKU class |
| Numbers set once and never updated | Reorder points drift away from reality | Recompute monthly, weekly before peak |
| Safety stock already held as unavailable | Buffer counted twice | Check what your apps put in the unavailable state |
| Alert with no owner | Email arrives, nobody orders | Name one buyer per location and vendor |
The stockout-days mistake is sneaky. If a SKU was sold out for 12 of the last 90 days, its sales history shows zero for those days. The average falls. The next reorder point comes out lower. Then it runs out again. Strip those days out before you average.
Build checklist: reorder points for a multi-location store
Here's the full build, in order.
- List locations that hold stock. Note which fill online orders and which only sell in person.
- Pull 90 days of daily sales per variant per location. Remove days the SKU was out of stock.
- Measure lead time per supplier. Use the last ten purchase orders, from order date to sellable date. Compute the average and standard deviation.
- Measure transfer lead time for locations fed by your own warehouse.
- Group SKUs into classes. For example, best sellers, core and long tail. Give each class a service level.
- Compute safety stock and reorder points with the full formula. Our free reorder point calculator does this per SKU and location: enter average daily demand, demand variability, lead time and service level, and it returns safety stock, the reorder point and days of cover.
- Round to case packs and apply floors for slow movers.
- Write the numbers to variant metafields, one per location.
- Build the Flow alert and the weekly sweep. Test by changing stock on one variant by hand.
- Name an owner per location and vendor, and set a monthly recompute date.
What to do this week
Pick your top 20 SKUs by revenue and your two busiest locations. That's 40 reorder points, enough to see the method work.
- Export daily sales for those SKUs by location and pull the last ten purchase orders from each supplier.
- Run the numbers through the reorder point calculator at 95%, then at 99% for your three best sellers.
- Compare the results with the reorder points you use today. Note where the gap is biggest.
- Set up one Shopify Flow alert for your best seller at your main location and watch it for a week.
If you'd like help wiring the data, metafields and Flow alerts across your whole catalog, that's the kind of build we do in GTM engineering.
FAQ
What is the reorder point formula?
Reorder point equals average daily demand times lead time in days, plus safety stock. If a SKU sells 40 units a day and the supplier takes 10 days, lead time demand is 400 units. Add safety stock on top. When available stock falls to that number, you place the next order. Run it separately for each location that holds stock.
How do I calculate safety stock?
The simple version is Z times the standard deviation of daily demand times the square root of lead time. If lead times also vary, use Z times the square root of lead time times demand variance plus average demand squared times lead time variance. Z comes from your target service level, for example 1.645 for 95%.
What service level should I target?
Set it by SKU, not for the whole catalog. Fast movers with good margin usually justify 97% to 99%, because a stockout loses a lot of sales and extra units sell through quickly. Slow, expensive items often do better at 90% to 95%. Compare the carrying cost of the extra units with the margin you'd lose from stockouts.
Does Shopify calculate reorder points?
Not as a built-in field. Shopify tracks on hand, available, committed, unavailable and incoming stock per location, and its inventory reports estimate days of inventory remaining. You calculate the reorder point yourself, store it, for example in a variant metafield, and use Shopify Flow to alert you when available stock drops below it.
How does seasonality change the reorder point?
Use forecast demand for the lead time window instead of a trailing average. If a SKU usually sells 40 a day but you expect 70 a day in late November, size the reorder point on 70. Base safety stock on forecast error, not raw demand swings, and recompute at least monthly going into peak season.
Should each location have its own safety stock?
Yes, when each location fills its own orders. Shopify tracks each location's inventory separately and doesn't pool it, so a unit in one warehouse can't cover a shortfall in another without a transfer. Size each location on its own demand. Holding safety stock centrally needs less total stock, if you can ship from there fast enough.
More like this
E-commerceStrategy