Bill of materials in Excel: components, material cost and order quantities

A bill of materials, or BOM, lists everything that goes into a product. This template turns it into the material cost per unit, the quantities required for a planned run and an order list per supplier, rounded up to whole packs.

In short: one row per component with quantity per unit, unit of measure, cost per unit of measure and supplier. Quantity times cost is the cost per finished unit, and the total is the material cost of the product. Required = quantity times planned units times (1 + scrap allowance), shortage = required minus stock on hand, and =ROUNDUP(shortage/pack_size,0) turns that into whole packs.

You should know: basic arithmetic and absolute references. SUMPRODUCT, MAX and ROUNDUP are explained in the exercises.

Try it now

Six components, each with a quantity and a cost: what does the material for one lamp cost?

Task What does the material for one lamp cost? In B9, work out the material cost per unit: quantity times cost for each component, all added up, in one formula without a helper column.

ABC
1 Component Qty per unit Cost per unit of measure
2 LED module 1 4.2
3 Power adapter 1 5.9
4 Cable (m) 1.8 0.35
5 Base 1 6.4
6 Joint 2 1.15
7 Screw M4 6 0.02
8
9 Material cost per unit

Download the bill of materials template

The file holds a BOM for 60 components with cost per finished unit, share, required quantity, stock on hand, shortage, packs, order quantity and order value; a printable order list per supplier with minimum order value and lead time; a Suppliers sheet for 20 suppliers; and instructions. A desk lamp with eleven components is filled in as an example. Costs have no fixed currency symbol, so the file works for dollars and pounds.

Preview of the bill of materials template in Excel: components of a desk lamp with quantity per unit, unit of measure, cost and supplier, cost per finished unit with share, required quantity for 500 units with scrap allowance, stock on hand, shortage and packsEnlarge preview

Download the finished template

The finished Excel file bill-of-materials-template.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.

Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.

Create a free account and download the template Already have an account? Log in

How the BOM is laid out

Sheet, columnContentsInput or formula
BOM C2 to C4Product, planned units, scrap allowanceInputs
B to GPart no., description, qty per unit, unit, cost per unit of measure, supplierInputs, supplier from a drop-down
H, ICost per finished unit, share=D8*F8, =H8/$H$2
JRequired=ROUND(D8*$C$3*(1+$C$4),2)
K, LOn hand, shortageInput, =MAX(0,ROUND(J8-K8,2))
M, NPack size, packsInput, =ROUNDUP(L8/M8,0)
O, POrder qty, order value=N8*M8, =ROUND(O8*F8,2)
Order listLines of the chosen supplier, total, minimum order valueINDEX, MATCH
SuppliersContact, lead time, minimum order value, lines, order valueCOUNTIFS, SUMIFS

In the file the formulas are also wrapped in IF so empty rows stay empty, and an empty pack size counts as 1.

Build it yourself, step by step

  1. List the components. Quantity and cost must use the same unit of measure: 0.02 rolls of tape at 1.80 per roll, not at 10.80 per pack of six.
  2. Work out the cost per finished unit. Quantity times cost in each row, with the total at the top. In a single cell that is SUMPRODUCT. A column of its own has one advantage: the share of each component sits right next to it.
  3. Work out what is required. Qty per unit times planned units times (1 + scrap allowance). Planned units and the allowance exist once at the top, so they need $; see absolute references.
  4. Subtract stock on hand. MAX(0,required-on_hand) stops the shortage from going negative when you hold more than you need.
  5. Round up to packs. Suppliers sell boxes, reels and bundles. ROUNDUP with 0 digits returns the next whole pack, and the order quantity is packs times pack size.
  6. Fill the order list. A helper column numbers every row of the chosen supplier that has to be ordered: =IF(AND($G8='Order list'!$B$4,O8>0),COUNT(Q$7:Q7)+1,""). The order list then looks up the numbers 1, 2, 3 with INDEX and MATCH and pulls part number, description and quantities.

From requirement to order quantity

For 500 lamps with a 3% scrap allowance the template plans material for 515 units. There are 40 power adapters on hand, so 475 are short. At 20 per box that is 23.75, so 24 boxes and 480 pieces. Practice the four steps here, without the allowance:

Task Plan the material for the number of units in K1. E2: required = qty per unit times planned units. F2: shortage = required minus on hand, but never below 0. G2: the number of packs, rounded up to whole packs. H2: order qty = packs times pack size. All four formulas are used down to row 7.

ABCDEFGHIJKL
1 Component Qty per unit On hand Pack size Required Shortage Packs Order qty Planned units 500
2 LED module 1 120 50
3 Power adapter 1 40 20
4 Cable (m) 1.8 200 100
5 Joint 2 150 50
6 Screw M4 6 1000 500
7 Manual 1 600 250
8
9

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

Order list and minimum order value

On the Order list sheet you pick the supplier. The list shows that supplier's lines with packs, order quantity and amount and prints one page wide. Below it are the minimum order value from the Suppliers sheet and the amount you are short of it. The Suppliers sheet adds up the order value per supplier with SUMIFS and flags orders below the minimum.

To send the order, use the order form template. What is in stock after delivery belongs in the inventory template, and when you build it in the production schedule.

Common mistakes

ROUND instead of ROUNDUP

ROUND turns 7.4 packs into 7 and you run out of material. ROUNDUP always goes to the next whole pack.

Mixed units of measure

If the quantity is per piece and the cost is per box, the cost is off by the size of the box. Pack size belongs in its own column, not in the cost.

Negative order quantities

Without MAX, a full shelf produces a negative shortage that cuts into the order value of the other lines.

Counting scrap twice

If your quantity per unit already includes waste, set the scrap allowance at the top to 0%. Otherwise the allowance is in the requirement twice.

The formulas in German Excel

EnglishGerman
SUMPRODUCT, SUM, MAXSUMMENPRODUKT, SUMME, MAX
ROUNDUP, ROUNDAUFRUNDEN, RUNDEN
INDEX, MATCH, COUNT, IFERRORINDEX, VERGLEICH, ANZAHL, WENNFEHLER
SUMIFS, COUNTIFSSUMMEWENNS, ZÄHLENWENNS

German Excel separates arguments with a semicolon. The German file is called "Materialliste" and shows amounts in euros.

Which Excel versions does this work in?

Microsoft lists SUMPRODUCT, ROUNDUP, MAX, INDEX, MATCH and COUNTIFS for Excel 2016 through Microsoft 365, including Mac. SUM, IF, SUMIFS, drop-downs and sheet protection are in all current versions.

Frequently asked questions

Is the template free?

Yes. With a free account you download the Excel file, with no subscription and no payment details.

Can I use it as a material list for a single job?

Yes. Enter 1 as the planned units and the quantities for the whole job. The requirement, shortage and order list then apply to that job.

Does the template handle subassemblies?

No, it is a single-level BOM. Every component sits directly under the product. You can enter a subassembly as one row with its cost and break it down in a second file.

Are the costs with or without tax?

The template uses the costs you enter. For costing, those are usually before sales tax or VAT, shipping and discounts.

How many components fit?

60 components and 20 suppliers. The order list shows up to 30 lines per supplier and turns red if there are more.

Next: set the selling price

Material cost is the first building block. The pricing calculator shows markup and margin side by side and works out a list price that survives a discount.

Open the pricing calculator

You can find every file on the Excel templates page.

Write to us

Choose language

Select your preferred language