Insights

How to Calculate Material Shortages Correctly

Learn how to calculate material shortages from demand, BOMs, inventory, open orders, and lead times - then buy and build before production stops suddenly.

A sales order for 500 finished units should not trigger a frantic walk through the stockroom. It should produce a clear answer: which parts are short, how many are needed, and when they must be ordered. That is the practical purpose of learning how to calculate material shortages. The arithmetic is reasonably straightforward. The difficulty is making the process consistent in a small company so that everything can be automated.

My worst case scenario (in my early days) was simply not getting the analysis done immediately as the order base changes. A customer makes a big order, and because it is big, we give a quote a little bit longer lead time. Thinking everything is ok we don’t check materials soon enough to find out that purchase lead times were even longer.

For a small manufacturer, a shortage calculation needs to take account of customer demand, Bills of Materials, inventory, work already in production, and in-bound purchase orders. Miss one of those inputs and the result can be worse than no calculation at all: duplicate purchases, components sitting idle, or a production job that stops for one inexpensive part.

The basic material shortage formula

At the component level, the basic calculation is:

Material shortage = total material required - net available supply

If the result is positive, you have a shortage. If it is zero or negative, you have enough supply for the demand you included.

The formula becomes useful only when both sides are defined carefully. Total material required is not simply the quantity on the latest sales order. It is the quantity needed across all demand that falls within your planning period, after exploding every finished product and subassembly through its Bill of Materials.

Net available supply is not necessarily the quantity displayed as on hand in your accounting system. It should generally include usable on-hand inventory and confirmed incoming purchase orders, while subtracting inventory already allocated to other orders or consumed by released work orders.

A practical version looks like this:

Shortage = gross requirement - (usable on hand + scheduled receipts + available production output - existing allocations)

Each business needs a few policy decisions around that formula. For example, should quality-hold inventory count as available? Should a supplier PO count before it is acknowledged? Should forecast demand be included alongside confirmed customer orders? There is no universal answer, but the rules need to be consistent.

Start with the demand you must fulfill

Material planning starts with demand, not with a reorder point. Gather the demand that your business has committed to make or ship during the planning horizon. This may include open sales orders, internal replenishment orders, forecast demand, and production orders that have already been released.

Suppose you sell a finished assembly called Product A. You have 300 units on open customer orders due this month, 100 units needed to replenish finished-goods stock, and 50 units already on a work order that has not been issued yet. Your gross demand for Product A is 450 units.

Before you explode the BOM, net off usable finished goods. If 80 finished units are genuinely available and not allocated elsewhere, production demand falls to 370 units. That step matters. Planning materials for all 450 units when 80 are ready to ship creates unnecessary buying.

Dates make it complicated. In all cases, we recommend to move to Lean Manufacturing concepts where there are short lead times for everything. This is not always achievable but then have clear policies over safety stock. For small company systems such as Dream MRP everything is calculated “net” which allows the user to “eye ball” their critical components. If this is not enough then a mid sized system such as Manu Online can include logic for “windows” of time to solve the problem of “should I buy or should I wait for an open order.”

Do not mix confirmed orders and forecasts by accident

Forecasts are useful, especially for Shopify sellers and businesses with seasonal demand. But they are not the same as firm customer orders. Keep them visible as separate demand sources or apply a deliberate confidence rule.

For example, you might plan against 100% of confirmed orders and 50% of the forecast beyond the confirmed-order window. The right percentage depends on demand volatility, supplier lead times, and the cost of carrying extra stock. What causes trouble is silently treating a forecast as a firm requirement, then wondering why the warehouse is full.

Explode the Bill of Materials accurately

Once you know how many finished products must be made, multiply that quantity through the Bill of Materials. This is called BOM explosion.

If Product A requires two housings, four screws, one cable, and 0.25 pounds of adhesive, making 370 units requires 740 housings, 1,480 screws, 370 cables, and 92.5 pounds of adhesive. Those are the gross requirements for the first level of the BOM.

The calculation becomes more interesting when a product includes subassemblies. If each Product A uses one Control Module, and each Control Module uses one PCB, three capacitors, and one enclosure, the demand for 370 Control Modules must also be exploded into its child components. This is where spreadsheet planning often breaks down. A change in one parent quantity can ripple through several BOM levels, and it is easy to overlook shared parts.

Shared components need special attention. If the same M4 screw appears in five products, calculate one combined requirement for that screw across all applicable demand. Planning each product separately can make inventory look adequate until all jobs are released at once.

Also use the BOM quantity that production actually consumes. If a build needs 1.05 yards of material because of trim loss, enter 1.05, not 1. If a process has a 3% expected yield loss, reflect it through a yield factor or an adjusted requirement. A perfectly accurate BOM on paper is still wrong if it ignores normal shop-floor loss.

Calculate net available inventory, not just on-hand stock

After calculating gross requirements, determine how much supply is truly available. Start with the physical on-hand balance, then remove stock that cannot be used for this requirement.

That commonly includes inventory reserved for another customer order, stock on quality hold, damaged material, and parts assigned to a work order already in progress. If 500 connectors are in the system but 350 are allocated to jobs due before yours, you do not have 500 connectors available for planning.

Then add reliable incoming supply. An open purchase order for 1,000 connectors can reduce a shortage, but only if its expected receipt date is early enough. A supplier promise without a PO may be worth tracking as a risk, but it should not quietly erase a calculated shortage.

Work orders can also be a source of supply. If you are producing a subassembly internally, its expected completion can cover downstream demand. But count it only once. The components consumed by that subassembly should be allocated to its work order, while the completed subassembly becomes available after the planned completion date.

A worked shortage example

Assume your plan requires 1,480 M4 screws over the next two weeks. Your inventory record shows 900 screws on hand. Of those, 120 are allocated to a work order already released, leaving 780 usable screws. You also have a confirmed purchase order for 500 screws due in five days.

Your net available supply is 1,280 screws: 780 usable on hand plus 500 scheduled to arrive. The calculation is:

1,480 required - 1,280 available = 200 screws short

That tells you the quantity to cover. It does not automatically tell you what to buy. If the supplier sells screws in packs of 250, your planned PO should be 250, not 200. If the supplier lead time is ten days and the material is needed in seven, you have a timing shortage even though a normal replenishment order has been placed. You may need an alternate supplier, a partial delivery, or a production-sequence change.

This is why shortages should be presented with both quantity and required date. “Short 200” is useful. “Short 200 by Tuesday, supplier lead time ten days” is actionable.

Include lead times and order constraints

A correct shortage calculation is only half the job. Purchasing needs a release date. Work backward from the date material is required, allowing for supplier lead time, receiving time, inspection, and any internal preparation before the part reaches production.

If a component is needed on June 20, supplier lead time is 12 calendar days, and receiving plus inspection takes two days, the PO needs to be issued by June 6. If the supplier only ships on certain days or has a minimum order quantity, account for that at the planning stage rather than after the shortage appears.

Order constraints can change the recommended quantity significantly. Common examples are minimum order quantities, pack sizes, order multiples, and safety stock. Safety stock is not a substitute for accurate planning, but it can protect against normal variability in demand, yield, and supplier delivery. Use it selectively. Holding safety stock for a cheap, long-lead component may be sensible; holding it for a costly, stable, easily sourced part may not be.

Common reasons shortage reports are wrong

Most shortage errors come from data discipline rather than complicated mathematics. The things people actually ask us tend to be familiar: Why does the system say we are short when the shelf looks full? Why did we buy the same component twice? Why did a work order release without enough material?

Usually, one of four things happened:

  • Inventory transactions were late or stock was counted incorrectly.
  • BOMs were missing a component, a yield allowance, or a current revision.
  • Open purchase orders had unrealistic receipt dates or were never closed.
  • Inventory and incoming supply were counted without subtracting existing allocations.

The fix is not a larger spreadsheet. It is a repeatable planning process with clear status rules. Define what “available,” “allocated,” “on order,” and “due” mean in your operation. Update purchase-order dates when suppliers change commitments. Maintain BOM revisions when engineering or production changes a product.

Automate the calculation, but keep approval in control

For a small team, manual shortage calculations may work until demand changes faster than the spreadsheet can be updated. A new Shopify order, a delayed supplier delivery, or a revised work order can alter requirements across dozens of components.

An MRP planning system calculates these dependencies from live demand, inventory, purchase orders, and BOMs, then turns the result into planned purchase orders and work orders. Dream MRP is designed to do this without replacing the accounting and commerce systems already running the business. The calculation can be automated; approval of what gets issued should remain a deliberate operational decision.

That balance matters. Planning should be fast enough to rerun whenever demand or supply changes, but controlled enough that nobody sends an unnecessary PO because a data import was wrong or a forecast was too aggressive.

The useful outcome is not a prettier shortage report. It is the moment your team can answer, with confidence, what to buy, what to build, and what needs attention before a customer order becomes an emergency.

Insights cover manufacturing planning in general. For exactly how Dream MRP works, see the Blog. Written with AI assistance, reviewed and edited by James Casserly.

← All insights