← IFC Quantity Takeoff

How to check the quantities stored in an IFC model before you price them

Authoring tools write quantities into an IFC export, and estimators price from them. Most are right, but not all: on 8 public models the stored GrossVolume agreed with the element's own geometry for 4,863 of 5,495 elements. The rest were not random noise. Most had a cause you can name and correct for: a wall split by level that writes the whole wall's volume on every piece, a GrossVolume that already has the openings taken out, a slab volume written 1,000 times too large, or a volume that contradicts the element's own stored length and section. Checking means recomputing each figure from the geometry, comparing, and reading why they differ before the figure reaches a rate.

Open the free IFC takeoff (or press Try the sample model on it)

Steps

  1. Open the takeoff page and choose the .ifc. Every element's volume is computed from its body, with its openings cut exactly; the areas each quantity set defines are cut from the body by a plane (a wall's side on its middle plane, a slab's plan, a member's cross-section).
  2. Read Stored quantities against the geometry. Each stored figure that differs from the computed one by more than 2% is listed with the likely cause.
  3. Colour the 3D view by agreement under Colour by to see where the disagreements sit; click a row of the checks to show just those elements.
  4. Use the bill of quantities as it comes: where the stored figure is known to be the wrong one, the line already uses the computed one, and its CSV counts how many figures on each line were stored and how many computed.

A worked example

The page's sample office stores four GrossVolumes and three NetVolumes. Two of each agree with the geometry. The three that do not:

ElementStoredFrom the geometryCause named
Wall C, Level 1 piece3.6 m31.8 m3Split by level: the piece stores the whole wall
Wall C, Level 2 piece3.6 m31.8 m3Split by level: the piece stores the whole wall
Beam IPE 2000.0142 m30.011394 m3Contradicts its own Length x CrossSectionArea (0.011392 m3)

The two wall pieces share a Tag and a stored figure, and their computed volumes sum to it, which is what a split-by-level export looks like. The beam's stored length (4 m) and cross-section (0.002848 m2, the steel tables' 28.48 cm2) agree with each other and with its I-section geometry; only its stored volume does not. In each case the stored figure is the odd one out, so the bill of quantities uses the computed one, and the beam is weighed from its geometry: 89.44 kg, not the 111.47 kg its stored volume implies. The two pieces' stored GrossSideArea of 18 m2 each is flagged the same way (9 m2 each from the geometry).

What it finds on real models

On public models from Revit, ArchiCAD and Tekla (every figure, file and rerun command is in the repository's eval folder):

Where stored and computed agree, they usually agree to about 1e-15 relative: the disagreements are faults, not rounding.

On the command line

node cli.mjs model.ifc --check          # summary: how many stored figures agree
node cli.mjs model.ifc --rows rows.csv  # one row per element: stored, computed, and the check

Questions

Can I trust the quantities in an IFC export?

Mostly, but check them. On 8 public models the stored GrossVolume matched the geometry for 4,863 of 5,495 elements; most of the rest had a nameable fault, such as split-by-level pieces, net volumes written as gross, or volumes in the wrong unit.

Why would a stored volume be wrong?

The exporter writes what the authoring tool reports, and tools differ: Revit writes a split wall's whole volume on every piece, some exports subtract openings from GrossVolume, some write litres under a cubic-metre unit, and Tekla works steel volumes out from a simplified section.

What does the page do when the stored figure is wrong?

When the cause is known and the stored figure is the wrong one, the bill of quantities uses the volume computed from the geometry instead and says so in the CSV. Disagreements with no named cause are listed for you to judge.

Is the 2% tolerance fixed?

No. On the command line --tolerance sets the relative difference that still counts as agreeing.

More guides