A BOM you can sort, cost and keep

A BOM you can sort, cost and keep

A bill of materials template is a spreadsheet with one row for each part and columns for the facts you buy with: designators, quantity, manufacturer, part number, price, stock, and lead time. In Flux, the BOM tab is that template, and the design fills it. Sort it by the question you have, check cost and sourcing, and download it as Excel, CSV, Markdown, or PDF with the same columns and the same row order that you see in Flux.

Start with the BOM Flux builds

Open a Flux project and add the BOM with Add tab → BOM. Flux builds the rows from the parts in the project, groups identical parts with their designators, and fills pricing, availability, lead time, and lifecycle from live distributor data.

Ask Flux to do the BOM work in the project:

Replace every end-of-life part in the BOM with an active part that has the same footprint and ratings. Update the schematic and show me the BOM before and after.
Find a 470 µF capacitor with the same voltage rating, in stock with a lead time under four weeks, that fits the C6 and C8 footprint, swap it in, and tell me the new estimated lead time.
Cut the BOM cost at 1,000 units. Consolidate passives onto common values and manufacturers where the circuit allows it, and list each change with its price effect.
Design an enclosure for this board with M2 standoffs at the four mounting holes, a cutout for the LCD, and a panel for the keypad. Add the standoffs and screws as parts with MPNs, so they show on the BOM.
Replace the M2 screws and standoffs with stainless parts from one supplier, in stock at 1,000 units. Keep the board height in the enclosure the same.
Add a sealed cable gland and a gasket so the enclosure fits a damp vending cabinet, update the 3D assembly, and show the change in BOM cost.

Standoffs, screws, cable glands, and other hardware join the BOM when Flux adds them as parts with MPNs. The board, the enclosure hardware, cost, and supply stay in one table.

Start Free Trial

What goes in a bill of materials template

A useful BOM answers two questions: what is on the device, and what does it cost to build. These are the columns that the Flux BOM gives you:

  • Identity: Component, Designator, Quantity, Value, Package, and Description.
  • Sourcing: Manufacturer and MPN.
  • Cost and supply: Unit Price, Availability, Lead Time, and Lifecycle.

For a blank spreadsheet, copy this header row as the core template:

Component,Designator,Quantity,Value,Package,Description,Manufacturer,MPN,Unit Price,Availability,Lead Time,Lifecycle

A blank sheet gives you the columns. Flux fills the rows from the parts in the project and groups identical parts on one row with all their designators. On this board, the four M2 mounting holes for the enclosure are one BOM line next to the electronics. Pricing, stock, lead time, and lifecycle come from live distributor data, and the header of the tab shows the estimated total cost and the estimated lead time of the complete build.

A real BOM in Flux

The screenshots in this post come from the public Smart Vending System Control Board project. It is a 12 V controller with an ESP32-WROOM-32D module, an HLK-PM12 AC-DC supply, an LM2596 buck regulator, a relay, a pump connector, a DS3231 real-time clock, a cellular modem port, a keypad, a graphics LCD, and M2 mounting holes for the enclosure. Open its BOM with Add tab → BOM.

Flux BOM tab for the Smart Vending System Control Board, sorted by manufacturer, with an estimated total of $20.46 to $155.98 and an estimated lead time of 217 days
The BOM tab, sorted by Manufacturer. The header shows the estimated total and the estimated lead time of the build.

This board has 30 BOM lines. Flux estimates the parts cost at $20.46 to $155.98 per board, and the longest lead time at 217 days.

Sort it for the question you have

Sort the BOM by Component, Designator, Quantity, Value, Package, Manufacturer, MPN, or Description. Each sort answers a different question about the build:

  • Manufacturer: parts from the same supplier come together, so you can see how many vendors the build needs and where to consolidate.
  • Quantity, descending: the parts you buy the most of come first, which is where a cheaper equivalent saves the most at volume.
  • Value or Package: passives with the same value or footprint line up, so you can see where two part numbers do the same job.
  • Component: the mounting holes, fasteners, and other mechanical parts group together, so you can check the hardware that holds the board in its enclosure.

Unit Price, Availability, Lead Time, and Lifecycle sit next to each row in every sort. On this board, the 470 µF Würth Elektronik capacitor on C6 and C8 sets the build date at 217 days, and the Murata 10 µH inductor on L1 is at end of life.

Use Columns to show the fields you need and hide the others. The download follows the table that you set up.

Download the BOM in the format you need

When the table shows what you want, open the ⋯ menu at the top right of the BOM. Choose Excel (.xlsx) for a workbook, CSV or Markdown for a text table, or PDF for a document. Copy contents puts the same table on the clipboard.

The BOM table menu in Flux with Copy contents, CSV, Excel, Markdown, PDF, and Manufacturer BOMs
The BOM menu. Excel downloads the table as you set it up.

The workbook is the table you set up:

  • The same columns. The workbook has the columns that you show in Flux, in the same order. We hid Package and Description in this BOM, and the workbook leaves them out too.
  • The same row order. We sorted by Manufacturer, and the workbook has the rows in that order.
  • Ready to work with. The header row is bold and frozen, each column is sized to its content, and a bold total row at the bottom has the estimated cost and lead time.
  • Traceable. The workbook properties record the project, the design version, the export date, and a link to the live project.
The downloaded BOM workbook open in a spreadsheet: the same columns and manufacturer sort as in Flux, a bold header row, and a bold estimated total row of $20.46 to $155.98 and 217 days
The downloaded workbook: same columns, same sort, and the estimated total on the last row.

Keep a costed BOM for every revision

The live BOM in Flux always matches the current design. The workbook is a record of the BOM at one design version, with the prices, stock, and lead times of that day. Use it to:

  • Keep a costed BOM with each design release, next to the fabrication files for that build.
  • Compare two revisions line by line and see what changed in cost and lead time.
  • Model the cost of the build at production quantities with your own spreadsheet formulas and pivot tables.
  • Import parts and quantities into your ERP or inventory system.

Manufacturer BOMs for your assembly house

The Excel download is the BOM table as you set it up. For production, Flux also writes the BOM in the format that each assembly house expects. In the BOM table, open More table actions → Manufacturer BOMs and choose the file for your manufacturer:

  • One manufacturer: Advanced Circuits (.csv), AllPCB (.csv), Elecrow (.csv), Eurocircuits (.csv), JLCPCB (.csv), PCBWay (.csv), or Seeed (.csv).
  • All (.zip): every manufacturer format in one archive, so you can quote the build at more than one house.
The Manufacturer BOMs submenu in the Flux BOM table menu, with All (.zip) and CSV files for Advanced Circuits, AllPCB, Elecrow, Eurocircuits, JLCPCB, PCBWay, and Seeed
Manufacturer BOMs: one CSV for each assembly house, or all of them in one ZIP.

The complete BOM package for the project is also at Flux menu → Export → Electronics → Bill of Materials (.zip).

FAQ

About the author

Nico Tzovanis

Nico is a professional electronics and PCB design engineer at Flux. Find him on Flux @nico

Let’s start building.

Let’s build your idea together. All you need to do is describe what you want to make, or what problem you want to solve. Flux will work with you to make it a reality.

Try it Free
Close-up of a Flux-designed printed circuit board