MRP calculator with a worked MRP example, week by week

Enter your build plan, open POs, lead time and lot rule, and the MRP calculator works out each week's gross requirement, net requirement and planned orders for one purchased part, with the reason behind every PO. It opens on a worked MRP example, a bracket used in two pumps, so you can check each step before you type your own numbers.

An MRP example: one purchased part, ten weeks

MRP, material requirements planning, is the planning run inside your ERP that decides what to buy, how many, and when. The material requirements planning lesson explains the method in full. MRP reads three inputs: the master schedule, which says which products you build in which week; the bill of materials, which says which parts each product uses; and your inventory records, which hold stock on hand, open POs, and each part's lead time, lot rule and safety stock. It gives back planned orders, each with a quantity and a release week, and exception messages for open orders that no longer fit the plan.

The example is mounting bracket BR-210, used twice in pump P-100 and once in pump P-200. You start with 420 on hand, an open PO for 500 due in week 2, a safety stock of 150, a 3-week lead time, 2% scrap and a supplier minimum of 600 in multiples of 200. Fig. 1 follows the bracket through ten weeks. Each week's builds draw stock down. An open PO lands in week 2, and MRP plans three orders so stock never falls below safety stock. Each planned order lands in the week stock would otherwise have dipped under the floor.

Fig. 1: Projected stock of the mounting bracket BR-210 over 10 weeks, illustrative
0250500750100012345678910WeekSafety stock, 150 unitsOpen PO 500Planned 600Planned 600Planned 600

MRP works out every week in four steps

MRP works through the grid one week at a time, left to right. It explodes the parents' build plan into a gross requirement, nets it against stock and open POs, sizes an order with the lot rule, and offsets that order by the lead time. Hover over or tap any term to see what it stands for.

Explode the bill of materials

For a part used in two products, add each product's builds times its quantity per, then add the scrap allowance and round up:

Fig. 2: Gross requirement
=(×+×)×(1+)

Net against what you have

Stock left from last week and the open POs due this week cover what they can. The net requirement is what it takes to keep safety stock intact:

Fig. 3: Available
=+−
Fig. 4: Net requirement
=max(0, −)

Size the order with the lot rule

Lot-for-lot orders the net requirement. A fixed quantity orders whole lots. An MOQ with an order multiple orders at least the minimum, in steps of the multiple:

Fig. 5: Fixed quantity
=⌈⌉×
Fig. 6: MOQ with order multiple
=⌈max(, )⌉×

Offset by the lead time

The order has to be placed a lead time before the week that needs it. A release week before week 1 is past due:

Fig. 7: Release week
=−

Check one week by hand

In the illustrative example, week 4 has the first planned order:

  • Builds: 80 of P-100 at 2 brackets each is 160, and 120 of P-200 at 1 each is 120, so the bill of materials needs 280.
  • Scrap: 280 × 1.02 = 285.6, rounded up to a gross requirement of 286.
  • Available: week 3 ends with 388 on hand and no open PO lands in week 4, so 388 − 286 = 102.
  • Net: the safety stock is 150, so the week is 150 − 102 = 48 short.
  • Lot size: max(48, 600) = 600, a multiple of 200, so MRP plans 600. On hand ends week 4 at 102 + 600 = 702.
  • Offset: 4 − 3 weeks of lead time puts the release in week 1, this week.

Work an MRP grid for your own part

The calculator opens on an illustrative bracket used in two pumps, so a complete plan is visible before you change anything. Type your own build plan and open POs into the grid, set the lead time and lot rule, and read the reason for each planned order under it. Everything runs in your browser, and the link keeps your inputs.

Illustrative example

Mounting bracket BR-210, a purchased part used in two pumps

Item

Plans each order to arrive this many weeks early.

Lot rule
Bill of materials
Time-phased MRP grid for Mounting bracket BR-210. Build plans and scheduled receipts are editable; the other rows are calculated.
WeekNow12345678910
Pump P-100 builds2 per unit
Pump P-200 builds1 per unit
Gross requirementsBOM × builds + scrap123245164286164357204357164317
Scheduled receiptsopen POs, editable
Projected on handend of week420297552388702538181577220656339
Net requirements00048001730940
Planned order receipts0006000060006000
Planned order releasesplace the PO6000060006000000

Type into the build plan and open PO rows, and the other rows recalculate.

Why each planned order

  1. PO 1 600 units, due week 4Place week 1

    Week 4 needs 286: 80 × Pump P-100 at 2 each plus 120 × Pump P-200 at 1 each = 280, plus 2% scrap. Stock and open POs leave 102, 48 under the 150 safety stock, so the net requirement is 48. The MOQ of 600 in multiples of 200 raises it to 600, and the extra 552 carry forward to later weeks. With a 3-week lead time, place it in week 1.

  2. PO 2 600 units, due week 7Place week 4

    Week 7 needs 204: 100 × Pump P-100 at 2 each, plus 2% scrap. Stock and open POs run out first: projected on hand would be -23, 173 under the 150 safety stock, so the net requirement is 173. The MOQ of 600 in multiples of 200 raises it to 600, and the extra 427 carry forward to later weeks. With a 3-week lead time, place it in week 4.

  3. PO 3 600 units, due week 9Place week 6

    Week 9 needs 164: 80 × Pump P-100 at 2 each, plus 2% scrap. Stock and open POs leave 56, 94 under the 150 safety stock, so the net requirement is 94. The MOQ of 600 in multiples of 200 raises it to 600, and the extra 506 carry forward to later weeks. With a 3-week lead time, place it in week 6.

Typed lead time against the real one

MRP places every order with the 3 weeks typed in the item master. Slide to the lead time your supplier delivers in. MRP's plan stays fixed and the planned orders arrive later or earlier. Open POs keep their due dates.

WeekNow12345678910
On hand, MRP's plan3-week lead time420297552388702538181577220656339
On hand, what happens5-week lead time420297552388102-62181-23-38056-261

Each planned order lands 2 weeks after MRP expects it.

Stock runs out in week 5, short by up to 380 units. The builds in the red weeks wait for parts unless you expedite.

600 units now land after week 10.

With 5 weeks typed in instead, MRP would show 1 order as past due today. The typed lead time hides that warning.

When timing is the risk, a safety lead time of 2 weeks plans each order to arrive early enough to cover the slip, without raising safety stock on every week.

Amber cells are below safety stock; red cells are below zero.

Kit availability: every part, every build

Mounting bracket BR-210 is one part in each pump's kit, and the build starts only when every part is there. Set each part's chance of being on hand when the build starts, and see how often the whole kit is complete.

With 10 parts each on hand 98% of the time, the kit is complete for 81.7% of builds: 98% to the power of 10.

To build from a complete kit 95% of the time, each part needs to be on hand 99.5% of the time: 95% to the power of 1 ÷ 10.

This assumes the parts run short independently. Set each part's safety stock or safety lead time from the kit target, and treat the part figure as a cycle service level: the chance of no stockout before the build.

Run the same MRP grid in Excel or Google Sheets

Download the MRP grid template (Excel, opens in Google Sheets too). It holds the same illustrative bracket as live formulas: change the inputs in column B and the build plan and open PO rows, and the gross requirement, projected on hand, net requirement and planned orders recalculate. The calculator's Download CSV button exports whatever grid you have on screen. Each row uses one formula across the weeks:

  • Gross requirements: =ROUNDUP((builds P-100 × qty per + builds P-200 × qty per) × (1 + scrap), 0)
  • Net requirements: =MAX(0, safety stock − (last week's projected on hand + open POs − gross))
  • Planned order receipts: =IF(net > 0, CEILING(MAX(net, MOQ), multiple), 0)
  • Planned order releases: =OFFSET(planned receipt, 0, lead time), the receipt the lead time later

Set part targets from the kit, not part by part

A pump build needs every part in its kit. If each of 10 purchased parts is on hand for 98% of builds, and the parts run short independently, the whole kit is complete for 0.9810 = 81.7% of builds. About one build in five waits for a part.

Fig. 8: Kit availability
=^
Fig. 9: Part availability from a kit target
=^(1÷)

Work backward from the kit: a 95% kit target across 10 parts asks for 99.5% on each part. Cheap parts can carry more than that, which lets an expensive part run a little lower while the kit still hits its target. Treat the part figure as a cycle service level, the chance of no stockout before a build, and label it that way wherever you quote it. A fill rate, the share of demand served from stock, measures something else. On lumpy demand a 95% cycle service level can sit beside a fill rate near 50%.

Measure lead time from your receipts and buffer for the supplier you have

Measure lead time from your own PO receipts: received date minus order date, per supplier and part. A supplier who lands on the same day every time needs little buffer; one whose deliveries swing needs more at the same target. A swing above about a quarter of the average lead time marks unreliable supply. The spread goes into safety stock through σLT:

Fig. 10: Safety stock with demand and lead-time variation
=×square root of×2+2×2

Z is one-sided: 1.645 covers 95% of replenishment cycles. The safety stock calculator works the formula from a supplier quote or your PO history.

Use safety lead time when timing is the risk

When receipts land late and demand holds steady, safety lead time often beats safety stock. It plans each order to arrive a set number of weeks early. Set 2 weeks of safety lead time in the calculator and slide the real lead time to 5: the bracket never runs short. The grid shows the cost too: each order arrives two weeks early, and the first one is past due today. Short shipments are a different risk, a yield problem that lead-time spread does not capture.

Keep strategic buffers in their own layer

A single-source part, or a disruption your receipt history has never seen, needs a strategic buffer above safety stock. Size it in days of cover, so the time you can run without the supplier is at least the time the supplier needs to recover. Keeping it separate shows what resilience costs.

MRP is only as good as its inputs: check them before you trust a suggestion

MRP's arithmetic holds up. Bad inputs send the plan wrong, most often these:

  • The typed lead time. MRP offsets every order by the number in the item master and never checks it against real receipts. Move the slider in the calculator to watch a typed 3 weeks that runs 5 in practice turn into a stockout. The supplier lead time lesson shows how to check the field.
  • Open POs that will not land on their due date. MRP counts a scheduled receipt in full, in the week it is due, whether or not the supplier confirmed it. An unconfirmed PO that slips two weeks leaves the same hole as a missing one. See purchase order tracking, and list each open line by its promised date in the open PO tracker.
  • Stock you cannot issue. Unposted receipts, stock in quarantine, or a second warehouse counted twice all change the netting.
  • A stale bill of materials. A wrong quantity per or a missing scrap allowance multiplies through every week. If the floor issues 2.1 brackets per pump and the bill of materials says 2, MRP buys short every time.
  • Infinite capacity. MRP assumes your plant can build whatever the master schedule says. If the line cannot run the week 6 builds, the brackets for week 6 arrive too early.
  • MOQ overbuy. Turning a 48-unit need into a 600-unit order is correct arithmetic and may still be the wrong buy. Price the leftover with the EOQ calculator before you accept it, and see MOQ vs EOQ for when the minimum is worth paying.
  • The wrong tool for the part. For cheap parts with steady use, a reorder point or a two-bin kanban does the job with less setup and the same protection. The reorder point formula sets one.

Where your ERP may count differently

If your ERP's suggestion differs from the grid by a few units or a week, check three settings before you suspect the arithmetic. Your ERP may add scrap on top of the bill of materials quantity, as this grid does, or treat it as a yield and divide by (1 − scrap). At 2% scrap the two differ by less than half a unit in a thousand. Your ERP may net safety stock as a floor, as here, or leave it out of netting and report it as an exception. And most ERPs store and plan lead time in days, while this grid plans in weekly buckets, so a 17-day lead time becomes 3 weeks here. The material requirements planning lesson walks through the method in more depth.

MRP plans with the dates you give it. Cartograph follows up on every open PO: Scout Agent emails and calls your suppliers to confirm dates and expedite late lines. You learn which receipts your plan counts on will land late while there is still time to act. Get Cartograph free to see it on your own POs.

MRP questions

What is the difference between gross and net requirements?

The gross requirement is everything the build plan consumes in a week: builds times quantity per, plus scrap. The net requirement is what you still need to buy after stock on hand and open POs cover what they can, with safety stock kept intact. MRP plans orders for net requirements only.

Why did my ERP suggest this PO quantity?

Start with the week the order is due. Find the gross requirement, subtract what stock and open POs leave, and add back safety stock: that is the net requirement. Then apply the lot rule. When a suggestion runs far above the need, look at the minimum order quantity, the order multiple or a fixed lot size.

Why does MRP suggest an order that is already late?

The need date minus the lead time falls before today. MRP still suggests the order so you can see the shortage. Place it, ask the supplier whether they can expedite, and check whether the build can move.

How does an MOQ change an MRP suggestion?

MRP raises the order to the minimum, then rounds up to the order multiple. The extra units go into projected on hand and cover later weeks, which pushes the next order out.

Does MRP use safety stock?

Most systems can. In this grid safety stock is a floor: MRP plans an order whenever projected on hand would drop below it. Some ERPs leave safety stock out of netting and only flag it, so check how yours is set.

What lead time should I type into my ERP?

Use the time from placing the PO to having the part in stock, ready to issue, measured from your own receipts. For parts that can stop a build, plan with a slow delivery from that history, such as the 90th percentile. The median delivery runs late about half the time. Recheck it every quarter.

How should I set service levels for parts in a kit?

Start from the kit. Pick how often the build must start with every part on hand, then give each part that target to the power of 1 ÷ the number of parts. A 95% kit target across 10 parts asks for 99.5% per part.

What is an example of MRP?

A purchased bracket used twice in one pump and once in another. MRP multiplies each pump's weekly builds by its quantity per, adds 2% scrap, nets the result against 420 on hand, an open PO of 500 and a safety stock of 150, and plans orders of 600 for weeks 4, 7 and 9. With a 3-week lead time, you place them in weeks 1, 4 and 6. The calculator opens on that example.

How does MRP calculate when to order?

It finds the first week projected on hand would fall below safety stock, plans an order to arrive that week, and subtracts the lead time to get the week you place the PO. A 3-week lead time and a need in week 4 put the release in week 1. If the result falls before this week, the order is past due.

What inputs does an MRP calculation need?

The build plan for each parent product by week, the quantity per from the bill of materials, stock on hand, open POs with their due weeks, safety stock, lead time, the lot rule with any MOQ and order multiple, and a scrap allowance.

How do I do an MRP calculation in Excel?

Put weeks across the columns and one row each for builds, gross requirements, open POs, projected on hand, net requirements, planned receipts and planned releases. Each row uses one formula copied across the weeks. The free MRP grid template has them set up on the illustrative example.

What is the difference between MRP and a reorder point?

A reorder point triggers an order when stock falls to a level set from average use. MRP orders for specific future builds, so it handles lumpy demand from a production schedule. Many plants run MRP for components on the bill of materials and reorder points for cheap, steady consumables.