How to get a bill of quantities from an IFC model
An IFC file carries every element of a building model with its geometry, and usually with the quantities the authoring tool worked out (a wall's length, height, side area and volume in Qto_WallBaseQuantities, a beam's length and cross-section in Qto_BeamBaseQuantities). A bill of quantities from it is those figures grouped into lines: count, m3, m2, m and kg per class and type, per storey, per material or per elemental code. You do not need Revit, ArchiCAD or Tekla to get it: drop the .ifc on a free page that reads it in the browser and download the lines as CSV.
Open the free IFC takeoff (or press Try the sample model on it)
What you need
- The model as a STEP
.ifc(IFC2X3, IFC4 or IFC4X3), exported from Revit, ArchiCAD, Tekla, Allplan, Vectorworks or any other tool. Export with base quantities switched on if you can; the page computes volumes and areas from the geometry either way. - Your rates, if you want the lines priced. The page ships none.
Steps
- Open the takeoff page and choose the file under IFC model (.ifc: IFC2X3, IFC4 or IFC4X3). It is read in the tab; nothing is uploaded.
- Pick how the lines are grouped under Group by: class and type, storey, material, classification code, room, or Uniformat II element for an elemental estimate.
- Decide how openings are treated under Openings: every opening deducted as modelled, or small voids left in up to a size you set, as many methods of measurement ask.
- Type a rate and its unit (each, m3, m2, m or kg) on any line to price it, then press Download bill of quantities (CSV). Download every element (CSV) gives one row per element with its stored and computed figures, for a spreadsheet or an audit trail.
A worked example
The page's sample is a small invented office: four wall pieces, a ground slab, a round concrete column and a steel IPE 200 beam. Grouped by class and type, its bill of quantities is:
| Class | Type | Count | Volume m3 | Area m2 | Length m | Weight kg |
|---|---|---|---|---|---|---|
| IfcBeam | (no type) | 1 | 0.011394 | 0 | 4 | 89.44 |
| IfcColumn | (no type) | 1 | 0.212058 | 0 | 3 | 0 |
| IfcSlab | (no type) | 1 | 5 | 20 | 0 | 0 |
| IfcWall | Basic Wall 200 | 4 | 8.18 | 40.9 | 15 | 0 |
Three of those lines are not simply the model's stored quantities added up, and the CSV says which figure each line used:
- The walls, 8.18 m3. Wall C is split by level into two pieces, and each piece stores the whole wall's 3.6 m3. Adding the stored figures would count 7.2 m3 for a wall whose two pieces measure 1.8 m3 each, so the line uses the volumes computed from the pieces' geometry for those two (2 of 4 stored, 2 computed): 2.58 + 2 + 1.8 + 1.8 = 8.18 m3.
- The column, 0.212058 m3. It stores no volume at all; the page computes it from its circular profile: pi x 0.15² x 3.
- The beam, 0.011394 m3 and 89.44 kg. It stores a NetVolume of 0.0142 m3, but also a Length of 4 m and a CrossSectionArea of 0.002848 m2, whose product is 0.011392 m3, the same as its geometry. The stored volume is the odd one out, so the line uses the geometry and weighs it at 7,850 kg/m3: 89.44 kg, where the stored volume would have given 111.47 kg, a quarter too much steel.
Grouped by storey,class instead, Level 1 holds three wall pieces (6.38 m3) and Level 2 one (1.8 m3). Grouped by Uniformat II element, the slab lands in A1030 Slab on Grade by its geometry (nothing under it, nothing carrying it), the walls in B2010 Exterior Walls from the model's own classification, and the column and beam stop at B10 Superstructure, because nothing in the model says what they carry.
On the command line
The same code runs in Node 20 or later, for a folder of models or a script:
node cli.mjs model.ifc # bill of quantities by class and type, CSV
node cli.mjs model.ifc --by storey,class # or by storey, material, classification, space, uniformat
node cli.mjs model.ifc --rows rows.csv # every element, stored and computed side by side
The source and every measurement behind the numbers on this page are in the repository.
Questions
Can I get quantities from an IFC file without Revit?
Yes. An IFC file holds the geometry and usually the stored quantities of every element, and a reader that understands IFC can group them into a bill of quantities. IFC Quantity Takeoff does it in the browser for free; paid estimating tools such as CostX, Cubit and Solibri read IFC too.
Which quantities does it take off?
Count, volume in m3, area in m2, length in m and weight in kg for every physical element: walls, slabs, beams, columns, members, doors, windows, coverings, stairs, furniture and the rest. Volumes and the areas the quantity sets define are also computed from each element's geometry, openings taken out.
What if the model was exported without base quantities?
The page computes each element's volume and its side, footprint, plan or cross-section area from the geometry, and a member's length and plain steel's weight from its body, so the lines are filled either way.
Is my model uploaded?
No. The model is read by JavaScript in your browser tab, and the same code runs offline on the command line.