The Complete Shopify Reorder Forecasting & Replenishment Math Guide

Quick Answer (TL;DR): Accurate Shopify replenishment follows one unbreakable chain: calculate true in-stock Daily Velocity, multiply by (Supplier Lead Time + Safety Days) to find Target Stock, subtract Net Available (On Hand + Incoming Open POs), and round the positive remainder up to your supplier’s Case Pack and MOQ.

Visualizing the reorder point & safety stock cycle

Every healthy SKU follows a predictable sawtooth cycle. Stock starts high right after a Purchase Order arrives, declines each day at your Daily Sales Velocity, crosses the Reorder Point when remaining stock equals Supplier Lead Time plus Safety Days, and receives the next shipment right before touching zero.

The secret to zero-stress purchasing is issuing your Purchase Order the exact week stock crosses the blue Reorder Point line—not when the shelf looks empty. Once you cross below Supplier Lead Time, even ordering that afternoon cannot prevent out-of-stock days without expensive air freight.

The 4 core equations behind every RestockPO recommendation

You do not need opaque "AI black-box" forecasts that buyers cannot explain to their finance team. Transparent, deterministic replenishment math lets you audit every single number on a Purchase Order in five seconds.

1. Net Available    = On Hand + Incoming Units on Sent/Partial POs
2. Days of Cover    = Net Available ÷ Daily Sales Velocity
3. Target Stock     = Daily Sales Velocity × (Lead Time Days + Safety Days)
4. Raw Needed       = max(0, Target Stock − Net Available)
5. Final PO Qty     = Raw Needed == 0 ? 0 : max(MOQ, ceil(Raw Needed ÷ Case Pack) × Case Pack)

Worked numerical walkthrough across 4 real SKU profiles

Look at how the exact same equation adapts across four very different Shopify SKUs—from a stocked-out bestseller to a slow-moving luxury item that already has an open PO in transit:

SKU ProfileVelocityLead + SafetyOn Hand + Open PORaw NeededMOQ / PackFinal PO Qty
Stocked-Out Bestseller4.8 / day21d + 14d (35d)0 + 0 = 0168.0MOQ 48 / Pack 12168 units (14 cases)
Steady Core Product3.6 / day14d + 14d (28d)18 + 0 = 1882.8MOQ 24 / Pack 684 units (14 cases)
Protected by Open PO2.2 / day14d + 14d (28d)34 + 40 = 740 (74 > 61.6)MOQ 30 / Pack 100 units (Healthy)
Low-Velocity MOQ Floor0.6 / day18d + 14d (32d)8 + 0 = 811.2MOQ 24 / Pack 624 units (MOQ floor)

Fixing the Stockout Spiral: True In-Stock Velocity

The biggest trap in 30-day automated sales sync is what happens right after a stockout. Suppose your Vitamin C Serum normally sells 4.0 units per day, but it ran out of stock on Day 15 and sat at zero for the remaining 15 days of the month. Total 30-day sales = 60 units.

A naive 30-day average divides 60 by 30 calendar days and reports 2.0 units/day—cutting your next Purchase Order in half and guaranteeing you stock out again two weeks after the next truck arrives. Always divide units sold by actual In-Stock Days (`60 ÷ 15 = 4.0/day`) whenever a SKU recently hit zero.

True In-Stock Velocity = Trailing Units Sold ÷ Actual Days In Stock

Setting Safety Days by supplier reliability and seasonality

Safety stock is insurance against two uncertainties: supplier delays and unexpected demand spikes. Rather than using one blunt 30-day buffer across your whole catalog (which traps cash in slow movers), tier your Safety Days by vendor geography and ABC profit rank:

  • Reliable domestic vendors (3–7 day transit): 10–14 Safety Days.
  • Overseas air freight / cross-border vendors (14–21 day transit): 14–21 Safety Days.
  • Overseas ocean freight (30–60 day transit): 21–35 Safety Days.
  • Q4 / BFCM Peak Season (Oct–Nov): temporarily add +7 to +14 Safety Days exclusively on your top 20% A-tier giftable SKUs.

Actionable urgency triage for 500–5,000 SKU catalogs

When you open your Replenish dashboard on Tuesday morning, sort strictly by urgency tier so you solve the highest-cost emergencies first: Stockout (0 on hand), Critical (Days of Cover < Supplier Lead Time), Reorder Soon (Days of Cover < Lead Time + Safety Days), and Healthy (hold cash).

Frequently Asked Questions

How many days of sales history should I use for Daily Velocity?

A rolling 30-day window is the best default for active Shopify stores—responsive enough to catch rising winners without overreacting to a single weekend.

What if a flash sale or influencer drop spiked my 30-day average?

After a one-off 48-hour promo ends, manually adjust that SKU’s Daily Velocity back to its normal steady-state run rate so you do not over-order next month.

How should I forecast a brand-new SKU with zero sales history?

Seed its initial Daily Velocity at 60%–80% of a comparable sister SKU in the same price band, order the lowest feasible test MOQ, and review real velocity at Day 14.

Should MOQ force an order when Net Available already covers Target Stock?

Never. If Raw Needed is 0, the suggested order quantity must always remain 0.