BOM material explosion

Explode a multi-level bill of materials, sum shared component demand and identify leaf materials for a production quantity.

The example value has been entered. Check it immediately or change the value.

Input is processed in the browser. Refreshing returns a sample value.

Result

Instructions and example

Add parent demand×quantity per unit to each component in topological order, accumulating all paths to shared components.

For 10 P, demand is 20 A and 30 B. At 4 S per A and 1 S per B, total S demand is 110.

At most 50 IDs and 100 edges. IDs start with a letter and use up to 32 ASCII letters, digits, underscores or hyphens. Cycles and duplicate edges are rejected; no stock, scrap or substitutions. Demand is capped at 10^12.

Frequently asked questions

Is a shared BOM component counted only once?

Demand from all parents is summed. Duplicate rows for the same parent-component pair are rejected.

Does material explosion subtract current inventory?

No. This is gross demand; account for stock and open orders separately when planning purchases.

Calculation criteria and reference materials

Verification of calculation criteria: · Calculation·verification principles · Report errors