BOM cost rollup: calculating a costed bill of materials from the bottom up, with a worked example and Excel
Published December 2, 2026 — a product's cost is calculated by rolling its BOM up: each subassembly adds up its components and its operations. The rule, how phantoms, scrap and materials by weight are handled, a three-level example, a calculator and the Excel formulas.
In short: the cost of a manufactured item is the sum of the quantities of its components multiplied by their cost, plus the cost of its own operations. The cost of a purchased item is its purchase price. So the calculation runs from the bottom up (cost rollup): purchased items first, then each subassembly, up to the finished product. A phantom item has no operations of its own: its cost passes straight to its parent. Example: a frame made of 4 tubes at 6.50, 8 screws at 0.12 and 18.00 of welding costs 4 × 6.50 + 8 × 0.12 + 18.00 = 44.96.
1. The rule: each level adds up the level below
Cost of an item = Σ (quantity of each component × cost of the component) + cost of the item's operations. A component's cost is itself calculated with the same rule, which sets the order: an item is calculated only once all its components are known. It is the reverse of where-used, which goes from a component up to its parents to find where it is used; here, you go up to find how much the parent costs.
Scrap: if part of the material is lost (offcuts, planned scrap), the calculation quantity becomes quantity × (1 + scrap rate). Example: 4 tubes with 5% scrap cost 4 × 1.05 × 6.50 = 27.30 instead of 26.00.
2. Example: the series' cart, over three levels
The BOM is the one on the series' reference page; costs are fictitious and have no currency, to show the calculation.
3. Cost rollup calculator
One line per item, in indented BOM order: level; reference; quantity per parent; purchase cost (items with no components); operations cost (manufactured items). Decimals accept a comma or a point.
Default example: the cart in section 2. For scrap, multiply the line quantity by (1 + rate) before entering it. The calculator only reads what you paste: nothing is sent.
4. What the cost contains, and what it does not
The calculation adds up purchases and operations. Splitting it in two ways helps to read it: by cost type, to see what weighs most; by subassembly, to see where to act.
- Operations cost: routing time × work center hourly rate. The routing, not the BOM, carries it.
- Standard or actual cost: calculating with planned prices and times gives a standard cost, frozen for a period; the actual cost is measured after production, with the prices paid and the time spent. The variance between the two is tracked in accounting.
- Outside the BOM calculation: overheads, packaging and shipping, unless they are modelled as items or operations. Their allocation is a cost accounting matter.
5. The cost rollup in Excel
Start from the indented BOM: level in A, reference in B, quantity per parent in C, from row 2. Column D holds the cumulative quantity (quantity per finished product); F the purchase cost of items with no components; G the operations cost of manufactured items.
The cumulative quantity avoids calculating each subassembly: each purchase cost and each operations cost is multiplied by the number of times it is used in one product, then everything is added up. The result is the same as the level-by-level calculation. Formulas checked in LibreOffice Calc on the cart; in French-language Excel: SI, RECHERCHE and SOMMEPROD, with semicolons.
Printable version: the BOM cost rollup as a PDF (A4, no sign-up): rule, worked example and Excel formulas.
6. Points to watch
- Units: a quantity in kg multiplied by a price per metre gives a wrong cost. The quantity's unit must be the price's unit.
- Phantoms: an operation entered on a phantom is counted although no order will trigger it. Operations belong to the parent that actually assembles the parts.
- Duplicate records: two records for the same part, one with an up-to-date price and one without, give two costs for the same product depending on which BOM is read.
- Engineering or manufacturing BOM: the cost is calculated on the mBOM, which contains consumables, packaging and the shop floor's real groupings.
7. FAQ
What is a BOM cost rollup?
Calculating a product's cost by rolling its BOM up from the bottom: the cost of each manufactured item is the sum of its component quantities multiplied by their cost, plus its operations. The result is called a costed BOM.
How do you calculate the cost of a BOM?
Give a purchase cost to each purchased item and an operations cost to each manufactured item, then calculate the subassemblies from the lowest level up to the finished product. In a spreadsheet, each line's cumulative quantity multiplied by its cost, then summed, gives the same total.
How is a phantom item costed?
As the sum of its components, with no operation of its own: it has no work order and no stock. Its cost passes straight to its parent, multiplied by the number of phantoms per parent.
Should the eBOM or the mBOM be costed?
The mBOM, because it describes what is actually bought and assembled, consumables and packaging included. Costing the eBOM can be useful at the concept stage, to estimate an order of magnitude.
How is scrap included in the cost?
By multiplying the component quantity by (1 + scrap rate): 4 tubes with 5% scrap count as 4.2 tubes. The scrap rate is entered on the BOM line or in the item record, depending on the software.
Bill of materials (BOM) series — the site's seventeen articles on the BOM, from the concept to the ERP:
- Bill of materials (BOM): definition, types, roles of PDM, PLM and ERP
- Multi-level, single-level, indented or summarized BOM
- Where-used: find every assembly that uses a part
- Phantom BOM and phantom assembly
- BOM vs routing: bill of materials and routing
- BOM compare: comparing two BOMs
- BOM accuracy: measurement and errors
- eBOM vs mBOM: the difference, with an example
- Types of BOM: engineering, manufacturing, sales, 150%
- BOM to ERP integration: the 4 architectures
- BOM management software: how to choose
- Free multi-level BOM Excel template
- Part numbering and properties: where a correct BOM starts
- Item master: the base data of a part
- BOM cost rollup (this page)
- ECR / ECO: controlling BOM changes
- PDM / PLM glossary: eBOM, mBOM, revision, vault…