Inventory replenishment for distributors: from forecast to purchase order, line by line
To calculate how much to order for one SKU, add forecast demand over the lead time plus the review period to safety stock, then subtract stock on hand and stock on order. Raise the result to the supplier's MOQ, round up to whole cartons, and write the reason on the order line.

Part of Ordering & stock guides for distributors
A distributor's replenishment decision ends as a number on a purchase order line: 144 units, six cartons, from one supplier, this week. This guide follows one such line from the forecast to the carton count, shows the same arithmetic as Excel columns, and marks the places where the usual formula stops being true.
Key takeaways
- An order line needs nine inputs: a forecast per week, the lead time, the review period, safety stock, stock on hand, stock on order, quantities already in draft POs, the supplier's MOQ and the carton size.
- Net need = forecast demand over (lead time + review period) + safety stock − on hand − on order − in drafts, never below zero [1] [3].
- The order must cover the review period as well as the lead time, because the next chance to order is one review period away. Some published formulas leave R out.
- MOQ and carton rounding have a price: measure it as extra weeks of cover and euros tied up, line by line.
- Every line should carry its reason, such as "137 → 144: 6 cartons of 24", so the person who signs the PO can check it in seconds.
What does inventory replenishment mean for a distributor?
Inventory replenishment is the routine of deciding, for every SKU, whether to reorder now and how much, so that stock covers demand until the next order can arrive. For a distributor it ends in purchase orders to suppliers. Replenishment planning is the same routine run across all SKUs of a supplier on a fixed cycle.
The word is also used inside warehouses for moving stock from reserve locations to pick faces. That is a different job. Here, replenishment means buying: the decision that ties up cash for months when the supplier is overseas and the lead time is eight weeks.
Many distributors already run replenishment on a rhythm. They order from each supplier every week, every second week or every month, and on that day someone walks through the supplier's SKUs in a spreadsheet. In textbook terms that rhythm is a periodic review policy, written (R,S): every R periods, order enough to bring the inventory position up to a level S [1]. The rest of this guide is the arithmetic behind that walk-through.
Which inputs does one order line need?
One order line needs a weekly forecast, the supplier's lead time, your review period, a safety stock, and three stock figures: on hand, on order and already in draft POs. The supplier adds two constraints, the minimum order quantity and the carton size. A unit cost turns the result into euros.
Input | What it is | Where it usually comes from |
|---|---|---|
Forecast per week (d) | Expected demand per week for the coming weeks | Your forecast; convert monthly figures with × 12 ÷ 52 |
Lead time (L) | Weeks from placing the order to stock being available to sell | Supplier terms, better measured from your own receipts |
Review period (R) | Weeks until you will next order from this supplier | Your ordering rhythm |
Safety stock (SS) | Buffer against forecast error over L + R | A formula, or a number of days of cover; convert a monthly σ with ÷ √(52 ÷ 12), not × 12 ÷ 52 [2] |
On hand | Sellable stock today | Stock report from your ERP export |
On order | Ordered, not yet received | Open purchase orders, open quantity only |
In drafts | Already on a draft PO not yet sent | Your draft POs |
MOQ | The supplier's minimum per line | Price list or contract |
Carton (case pack) | Units per outer carton | Product master data |
The forecast comes first, and its quality limits everything after it. If you have not settled how you forecast each item, start with how to pick a forecasting method per SKU and come back.
What is inventory position, and why subtract open orders?
Inventory position is stock on hand plus stock on order minus backorders [2]. It is the figure you compare with the target, not the stock on the shelf. If you subtract only what is on the shelf, every order already on the water gets ordered a second time.
The inventory position answers one question: if nothing else were ordered, how much stock would you have to cover demand? Goods sitting on a ship to Gdańsk will be sold from the same shelf in a few weeks, so they count. Backorders (customer orders you have accepted but not shipped) are demand you already owe, so they come off.
The formula below assumes no open backorders, or an on-hand figure already net of them; if you carry backorders, add them to net need.
Spreadsheet planners need one more term. A quantity already on a draft PO that nobody has sent yet is not "on order" in the ERP, but it will be. Subtract it too, or the line gets ordered twice when two people plan the same supplier, or when you rerun the plan after editing a draft. This is a practical addition, not part of the textbook definition.
How do you calculate how much to order for one SKU?
Set a target equal to forecast demand over the lead time plus the review period, plus safety stock. Subtract the inventory position, including drafts. If the result is above zero, raise it to the MOQ, then round up to whole cartons. The target is called the order-up-to level, S [1] [3].
Both course sources write the order-up-to level with the same structure: expected demand over the lead time plus the review period, plus a safety factor times the uncertainty over that span (MITx uses forecast error, Stanford demand variability). The order is S minus the inventory position [1]. The Stanford notes call the span L + R the response time: the stretch this order has to cover, until the next order can arrive [3].
Net need = max(0, d × (L + R) + SS − on hand − on order − in drafts). Order = 0 if net need = 0; otherwise CEILING(max(net need, MOQ), carton).
- d: forecast demand per week
- L: lead time in weeks
- R: review period in weeks
- SS: safety stock in units, sized for L + R
- on hand: sellable stock now, net of backorders
- on order: open PO quantity not yet received
- in drafts: quantity on unsent draft POs
- MOQ: supplier minimum per line
- carton: units per outer carton (case pack)
The order-up-to level S is the stock that should cover demand until the order after this one arrives. On each review period you top the position back up to S. Nothing more is needed for a single SKU with a steady forecast. The work is in the inputs and the two supplier constraints at the end.
Worked example: three lines for one supplier
Three invented sample SKUs from one supplier of a sample bathroom-fittings distributor in Poland, priced in EUR, with an invented lead time of 8 weeks from order to sellable stock and an order every 4 weeks. Safety stock uses a 95% cycle service level (z = 1.645) and the weekly forecast error shown.
Invented sample SKU | d per week | σ error per week | SS | Target S = d × 12 + SS | On hand | On order | Net need | MOQ | Carton | Order | Reason on the line |
|---|---|---|---|---|---|---|---|---|---|---|---|
A: hand shower, 3-function | 34 | 12 | 69 | 477 | 148 | 192 | 137 | 48 | 24 | 144 | 137 → 144: 6 cartons of 24 |
B: radiator thermostatic valve | 3 | 2.5 | 15 | 51 | 25 | 0 | 26 | 60 | 12 | 60 | 26 → 60: supplier minimum order; 5 cartons of 12 |
C: shower hose 1.5 m | 40 | 12 | 69 | 549 | 330 | 250 | 0 | 100 | 50 | 0 | Covered by stock and open orders |
Line A, step by step: demand over 12 weeks is 34 × 12 = 408 units; add 69 of safety stock for a target of 477; the inventory position is 148 + 192 = 340; net need is 137. The MOQ of 48 does not bind, so 137 rounds up to 144, six cartons of 24. The purchase order for this supplier is 144 × €6.40 + 60 × €11.50 = €1,611.60.
The calculator above runs the same arithmetic for your own numbers and shows each step as a waterfall. The suggested order calculator is the full version, with the Excel formula to copy.
How much safety stock goes into the line?
Safety stock in an order-up-to policy protects the whole span L + R, not just the lead time. A common sizing is SS = z × σ × √(L + R), where σ is the weekly forecast error and z comes from the target cycle service level, 1.645 for 95% [1] [2].
The MITx notes point out that the σ in this formula is, strictly, the error of the forecast over the protection span, not the spread of raw demand; the standard deviation of demand is a fallback when forecast error is not tracked [1] [2]. For line A: 1.645 × 12 × √12 = 68.4, rounded up to 69 units. In Excel: =ROUNDUP(NORM.S.INV(0.95)*P2*SQRT(C2+D2), 0), with σ in column P.
The √(L + R) step adds weekly variances, which is only valid when weekly errors are independent [2] [3]. When the lead time itself varies, the formula needs a second term for that variability; the safety stock formula for long and variable lead times covers it, and the safety stock and reorder point calculator computes both versions.
What do MOQ and carton rounding cost?
Every unit ordered above net need is stock you did not need yet. Measure it in weeks of cover, (order − net need) ÷ weekly forecast, and in euros, the same units times unit cost. On line A rounding adds 0.2 weeks and €44.80; on line B the MOQ adds 11.3 weeks and €391.00.
Line B is where the money is. The valve sells three a week, net need is 26, and the MOQ of 60 forces 34 extra units. That is more than eleven weeks of stock bought ahead of need. Across the PO, rounding and minimums add €435.80, 27% of its €1,611.60 value, almost all of it from one slow line.
Rounding up to a full case pack is usually the cheap part; the minimum on a slow mover is the expensive part. Showing both in weeks of cover lets you decide line by line: accept it, ask the supplier for a smaller lot, or drop the SKU from this order and buy it next cycle. What a minimum costs, and how to weigh it against a better unit price, is in what a minimum order quantity really costs.
Reorder point or order-up-to level?
A reorder point triggers an order whenever the inventory position falls below a level s, for a fixed quantity. An order-up-to level is checked on a fixed day and tops the position up to S. Distributors that order each supplier on a rhythm are running the second, even if their sheet says "reorder point".
The two are close relatives. The MITx notes convert one into the other: the reorder point becomes the order-up-to level, the fixed quantity becomes demand over one review period, and the lead time becomes R + L [1]. The continuous version is the classic s = expected lead-time demand + z × σ over the lead time [2].
Reorder points suit items you can order any day, one at a time. Order-up-to suits suppliers you consolidate into one PO, which is how overseas buying usually works. The reorder point formula covers the continuous version, with safety stock and a worked Excel sheet.
How does the review period change the order?
A longer review period means bigger, less frequent orders: cycle stock grows in proportion to R, and safety stock grows non-linearly, with √(L + R) when weekly errors are independent [1] [2]. A shorter one lowers average stock but needs more POs, and the supplier's minimums must still fit the smaller lots.
Run line A again with an order every 2 weeks instead of every 4. The target falls to 34 × 10 + 63 = 403, net need to 403 − 340 = 63, and today's order to 72 units, three cartons of 24. Average stock on hand is roughly safety stock plus half a review period's demand [1]: about 69 + 68 = 137 units (€876.80) with monthly orders, and 63 + 34 = 97 units (€620.80) with fortnightly ones, before rounding.
That is €256 less stock for one SKU, paid for with twice as many orders. The lecture notes from MIT make the same point in general terms: cut the time between orders and cycle stock goes down [4]. Whether it pays depends on your order handling cost and on whether the supplier's MOQ allows the smaller lots.
How do order lines become a purchase order?
Group the lines with an order above zero by supplier, check the PO against the supplier's minimum order value and the transport unit, then send it. Each check can change lines, so keep the reason column: it shows which lines were raised and why.
Three checks come after the line arithmetic:
- Supplier minimum value. Some suppliers set a minimum per PO in euros, not per line. If the PO falls short, pull forward the lines with the least extra cover, not the cheapest ones.
- Container or pallet fill. For overseas suppliers the PO usually has to fill a container or ship part-load. Topping up with stock you would not need for months is a cost too; see how many CBM fit in a 40HC and which SKUs to top up.
- Class of the item. A common convention is to review A items more often and accept large minimums only on fast movers. Use ABC and XYZ classes to decide what each class changes, rather than one rule for all SKUs.
In Allocates.ai, the demand plan with a reason per line (coming) will build each line this way: demand over lead time plus review period, safety stock, minus on hand, open POs and quantities already in draft POs, then the MOQ and carton rounding with a note such as "137 → 144: 6 cartons of 24". It will then draft one PO per supplier (coming). Its fallback safety-stock rules will size the buffer on lead-time demand, with no service-level target, so for A items you may prefer to enter safety-stock days from the z × σ calculation above. Uploading Excel or CSV exports with AI column mapping is shipped.
Where this breaks
The formula is a policy, not a guarantee. It assumes a forecast without bias, independent weekly errors, a known lead time and stock figures from the same moment. Each assumption fails in ordinary distributor data, and each failure has a recognisable symptom.
- Biased or correlated errors. √(L + R) scaling assumes weekly errors with zero mean that are independent from week to week. A biased forecast shifts the whole target by about the bias × (L + R), which safety stock does not fix; errors that run in streaks add covariance terms that independence removes [3]. Check bias and streaks before trusting the buffer.
- Review period left out. Ordering for L only, a shortcut seen in some published formulas, under-covers every SKU by about d × R and makes stockouts just before each order day routine.
- Variable lead times. A fixed L hides the risk of late containers. Use the longer formula from the safety-stock article, and note that the textbook normal approximation can miss its service target when both demand and lead time are random [5].
- Slow and intermittent items. For a SKU that sells in a few weeks out of ten, a normal σ says little. Line B already shows the problem: the MOQ, not the forecast, decides the quantity.
- Stale or wrong stock. Negative on-hand from the ERP, unreceived goods counted as on order after they arrived, or a stock snapshot older than the sales data all shift net need by the size of the error. Treat unknown stock as a warning, not as zero.
- Lost sales. When customers buy elsewhere during a stockout, the sales history understates demand, and next cycle's forecast and order come out too low.
Frequently asked questions
What is the difference between inventory replenishment and warehouse replenishment?
Inventory replenishment decides what to buy from suppliers and when. Warehouse replenishment moves stock you already own from reserve storage to the pick locations. The first ties up cash and depends on lead times; the second is a labour and layout task inside one building.
How often should I place replenishment orders with a supplier?
As often as the supplier's minimums and your order handling allow. A shorter review period cuts cycle stock and slightly lowers safety stock, but each order costs time and must still meet the MOQ [1]. A workable starting point, our guidance rather than a rule: fast-moving suppliers weekly or fortnightly, slow ones monthly, then adjust where minimums do not fit.
Do quantities on unsent draft POs count as stock on order?
Not in the ERP, which only knows orders that were sent. Subtract them anyway: otherwise the line is ordered twice when two people plan the same supplier, or when you rerun the plan after editing a draft. This is a practical addition to the textbook inventory position, not part of its definition.
What if stock on hand is negative or missing in the export?
Do not treat it as zero without a flag. Negative stock usually means sales were booked before receipts; missing stock means the line has no basis. Fix the record, or order that line by hand and mark it, so the suggested quantity is not trusted blindly.
- MITx / edX, 2015. Key Concepts: Week 7 Lesson 2, Probabilistic Inventory Models II (CTL.SC1x Supply Chain & Logistics Fundamentals)
- MITx / edX, 2015. Key Concepts: Week 7 Lesson 1, Probabilistic Inventory Models (CTL.SC1x Supply Chain & Logistics Fundamentals)
- Stanford University, 2004. Supply Chain Analysis Tools, MS&E 262 lecture notes (Hausman, Kleinknecht & Wilkinson)
- MIT OpenCourseWare, 2014. Inventory Management, Lecture 13, 15.772J D-Lab: Supply Chains (S.C. Graves)
- INFORMS, 1988. Determining safety stock in the presence of stochastic lead time and demand (Eppen & Martin), Management Science 34(11), 1380–1390


