E-commerce replenishment: set your reorder points
Replenishment adjusts purchasing to actual sales. You set reorder points and safety stock; the system suggests purchase orders for approval. In the intelligent replenishment case study, a retailer with over 12,000 SKUs cut purchasing from 2 days a week to a 30-minute weekly review and reduced stockouts on top sellers to zero.
The essentials
- The 12-week, 4-week, and 2-week rolling windows separate the underlying trend, current sales pace, and recent spikes that a single 30-day window can hide.
- Available stock excludes reserved units. Backorders consume incoming units, and supplier lead time determines when to order to avoid a stockout.
- The reorder point sets timing; min/max sets quantity. Safety stock expressed in days of sales needs review as demand changes.
- The software calculates landed cost and margin before the purchase order is sent. Assess inventory turnover alongside the stockout count.
Every week, you need to decide which products to reorder and how much to buy. Many merchants settle it by guesswork, or with a minimum stock threshold in a spreadsheet that never changes. On one side, the best sellers run out; on the other, the warehouse fills with dead stock. Both are costly: according to analyst firm IHL Group (2025), stockouts and overstocks cost global retail $1.73 trillion a year, 6.5% of sales.
The intelligent replenishment case study follows a multi-brand retailer with seasonal sales through its online store and several marketplaces.
The system proposes at each step; the operator approves the purchase order.
Choose when to order and how much to buy
Before you calculate anything, you have to pick a replenishment approach. The methods differ in two ways: the trigger (a fixed date or a stock threshold) and the quantity (a fixed volume or one recalculated each time).
Continuous but uneven demand, known lead times: trigger on a threshold, not the calendar.
A fourth method replenishes inventory up to a target level. Push/Pull and DDMRP also distinguish forecast-based orders from orders triggered by actual demand. Ford W. Harris set out EOQ in 1913 in an article later reprinted in Operations Research. The reprint was published in 1990. But EOQ assumes stable demand, rare in e-commerce.
For most e-commerce catalogs, the sensible default is the reorder point coupled with a dynamic Min-Max. Demand is continuous but uneven, supplier lead times are known, and the right reflex is to trigger on a threshold rather than on the calendar. For stores using the WooCommerce WMS integration, imported sales and available inventory provide the inputs for this replenishment work.
Measure the selling pace (12 / 4 / 2-week windows)
Everything starts with sales velocity: how many units a SKU sells per week, on average, over a recent window. Without that figure, no reorder point means anything.
The problem with a spreadsheet is relying on a single sales window. If you always look at the last 30 days, you smooth out sales spikes and miss new launches. Compare several rolling windows:
| Window | What it captures | Use it for |
|---|---|---|
| 12 weeks | The underlying trend, with short-term fluctuations smoothed out | Stable SKUs, the baseline |
| 4 weeks | The current sales pace | Most replenishment decisions |
| 2 weeks | A recent acceleration, a launch | Spikes, new items, seasonal goods |
The short window gives an early warning; the long one keeps the underlying trend in view. In myFulfillment, the system compares recent sales with the same period last year to adjust thresholds for seasonality. In the intelligent replenishment case study, fixed minimums left summer best sellers out of stock while winter items sat idle.
Calculate the days before stockout (available stock, backorders, supplier lead time)
Once you know sales velocity, calculate how many days remain before this SKU runs out of stock. That is the days-before-stockout indicator.
Divide available stock by average daily sales to calculate days of supply.
Available stock is physical stock minus units reserved for open orders. Using physical stock overstates your days of supply and makes you order too late.
Backorders are orders you have accepted but cannot ship because stock is unavailable. Allocate the required units from the next receipt. Your stock needs to cover sales during the supplier lead time. If stock runs out in ten days and replenishment takes fifteen, the delivery will arrive after the stockout.
In myFulfillment, Stock Helper displays days before stockout per warehouse, with supplier lead time built in. When projected days of supply drop below the threshold, the SKU automatically appears in the purchasing recommendations table.
Trigger the order at the right stock level
The reorder point is the stock level that should trigger the order. It has several names: reorder point, replenishment threshold, reorder level, or ROP. The safety stock is the buffer that absorbs the unexpected: a demand spike, a late supplier.
Calculate the reorder point as follows:
Reorder point = (daily velocity x supplier lead time) + safety stock
Place the order when available stock reaches the reorder point. Recalculate the threshold when sales velocity or supplier lead time changes.
The reorder point sets timing; min/max sets quantity.
Match safety stock to the SKU
Safety stock is calculated in three ways, from the simplest to the most statistical.
| Family | Formula | Use it for |
|---|---|---|
| Simple (days of sales) | Average sales x safety days | Stable SKU, reliable lead time |
| Average-max | max(sales) × max(lead time) − avg(sales) × avg(lead time) | Variable supplier lead time, demand that drops off |
| Statistical (normal distribution) | Z x demand standard deviation x sqrt(lead time) | Critical, very high-volume SKU |
The average-max formula compares maximum sales and lead time with their averages. The NIST table (2012) gives Z values of 1.282 for 90%, 1.645 for 95%, and 2.326 for 99%. These probabilities set the target service level in the model. A higher target increases safety stock.
For a stable SKU with reliable lead times, start with safety stock expressed in days of sales and review it as demand changes. For a critical SKU, estimate sales variability and check the assumptions before applying the statistical formula. Z sets the service target; standard deviation measures variability.
Let the system propose the min/max per SKU
For every SKU due for replenishment, Min-Max suggests a minimum and a maximum quantity to order. The recommendation also includes an estimated pack quantity and shipping lead time.
The minimum quantity covers demand until the next delivery you can realistically receive. The maximum quantity factors in your capacity and optimal storage duration, so you do not buy too many units of a SKU whose sales are slowing. The operator reads the proposal, adjusts it if they have information from day-to-day operations that the system lacks, and approves it.
The operator checks the suggested quantities before sending the order. For authorized workflows, purchase rules can retain an optional approval step.
Create the purchase order with landed cost and margin calculated
A recommendation must be immediately convertible into a purchase order.
In myFulfillment, purchase orders are pre-built from the replenishment needs and grouped by supplier, ready to review and send in one click. You enter the suggested min or max quantity and add the line to the purchase order. The purchase order progresses from a draft to a sent order, then to awaiting delivery and completion. Partial receipts are supported, and the supplier is notified by email.
The software calculates landed cost, including freight and taxes, and the corresponding margin in the purchase order. You then decide what to buy with the margin already known.
Read inventory turnover alongside stockouts
Inventory turnover measures how many times you sell through and rebuild stock over a period. Calculate average days in stock by dividing the number of days in that period by its turnover rate.
Use the rate to identify problems:
- A rate that rises without creating stockouts signals replenishment well tuned to real demand: you tie up less cash for the same service level.
- A rate that collapses reveals dormant stock, order quantities that are too high relative to actual sales velocity.
- A rate that spikes but comes with stockouts points the other way: reorder point or safety stock set too low.
Track turnover by product category alongside the stockout count. A seasonal product and a year-round staple need different settings.
Reduce purchases when sales slow
If you track only stockouts, you end up filling the warehouse with products that no longer sell. You also need to reduce purchases at the right time.
The adjustment is automatic: dynamic replenishment cuts ordered quantities when velocity declines. Where a fixed minimum keeps triggering purchases of a product that no longer moves, a velocity-based threshold drops by itself. At the retailer we worked with, this brought recurring overstock on slow movers under control.
The Stock Helper adds explicit guardrails: maximum storage capacity, optimal storage duration, warning and ideal stock levels, and discontinued-product flagging. In practice, you set a ceiling per SKU so you do not run out of storage space. You also take products you no longer want to rebuy out of the replenishment calculation. For workflows without storage, the cross-docking guide describes the handoff from receiving to shipping. Examples include the multi-supplier cross-dock of an auto-parts distributor and the supplier-side cross-dock and dropship automation.
Automate purchase orders using your buying rules
Automate orders when manual review no longer keeps up. The retailer in the intelligent replenishment case study managed over 12,000 SKUs and spent 2 days a week on purchasing in Excel.
Automation happens in stages, not all or nothing. Purchase orders can be created manually or automatically from the replenishment needs. Purchase rules run in priority order for each store or warehouse when their conditions are met. You keep an optional approval step: the system generates the PO from your rules, and the operator approves it before sending. For controlled workflows such as dropshipping, the system can send the purchase order automatically by email, file, or API.
In the intelligent replenishment case study, time spent on weekly purchasing fell from 2 working days to a 30-minute review. Stockouts on top sellers fell from 15–20 per month during peak periods to zero within the first quarter.
To see this method tooled end to end, from velocity measurement to purchase order, look at the myFulfillment replenishment and purchasing page. For Magento stores, the Magento ERP integration for inventory and purchasing shows how catalog, orders and sellable stock feed this operating model. Our procurement masterclass walks through it live.
Frequently asked questions
Reorder point = (average daily sales × supplier lead time in days) + safety stock. Place the order when available stock reaches this threshold. Recalculate it when sales or lead times change.
You can hold safety stock expressed in days of sales, compare maximum sales and lead time with their averages, or use a statistical formula. Choose based on demand and lead-time stability. NIST provides the normal-distribution coefficients used in the statistical formula.
Days of supply equals available stock divided by average daily sales. Turnover measures how often stock is sold and replenished over a period. Average days in stock equals the number of days in that period divided by its turnover rate.
The reorder point coupled with a dynamic Min-Max system. E-commerce demand is continuous but uneven and supplier lead times are known: triggering on a threshold beats calendar replenishment. For stable SKUs with reliable lead times, start with safety stock expressed in days of sales. For critical SKUs, estimate sales variability and check the assumptions before using a statistical formula.
Recommendations suggest quantities and a purchase order for review. Purchase rules can retain operator approval or send orders automatically for workflows you have authorized.
Yes. The calculation uses demand and includes the backorder quantity alongside the forecast replenishment need. So one purchase order restocks the shelf and covers orders already placed but not yet shipped, with no need to run two separate flows.
At this retailer with over 12,000 SKUs, automating purchase orders with optional approval cut purchasing from 2 days a week in Excel to a 30-minute weekly review. See the intelligent replenishment case study.
Continue exploring
Stock availability, picking accuracy, and shipping times affect marketplace sales. Jonathan Coloma, COO of Repiauto, explains how his team went from 300 to 1,000 orders a day in two years. He describes the limits of paper-based work, ERPs built for different needs, a go-live estimate of fifteen days, and changes to his daily routine.
To hold up under peak volume, split the order queue into waves based on real operating constraints, then decide where barcode checks belong. At the packing bench, the operator verifies the parcel. Carrier rules select the service and print the label, so the next order can start without another decision.
Industrializing your purchasing means ordering on rules, not guesswork: at the right time (the reorder point), in the right quantity (your coverage period), from the right supplier, with a purchase order validated in one click. Available on replay.
See it in your own operations
Book a 20-minute call. We'll map your workflow and point out where it breaks. No slides.
Free 20-min call · No commitment


















