Command line
npx craftquantities · offline
Construction quantities from the command line
craftquantities runs the site’s calculators, job takeoffs, room sketches, quote checks and scopes of work in a terminal or a script. The engine runs inside the process, so the answers are the pages’ answers, and each one ends with a link to the page with your figures filled in.
- 1.9.0Package version
- 15Commands
- 20.12+Node.js
- OfflineNetwork
Install
Run it without installing, or install it once for the short command:
npx craftquantities --helpnpm install -g craftquantities
craftquantities --version- Node.js 20.12 or newer, on Windows, macOS or Linux. No dependencies of its own.
- Offline: every calculation runs in the process. Only
updategoes online, and only when you run it. - The version is the engine’s. An older install gives older answers, and every JSON answer names its engine version.
Quick start
A slab of 6 by 4 metres, 10 centimetres thick. The calculator is named by a word, the inputs by a word of their label, and a length takes any unit: 6m, 600cm, 19ft 6in or 5' 3-7/8".
npx craftquantities calc concrete --length 6m --width 4m --thickness 10cmConcrete Calculator [metric] [v1.2.0]
Estimate how much concrete a slab needs — in cubic yards or cubic metres,
and as a count of premix bags.
╭─────────────────────────────────────────╮
│ Result 2.64 m³ (3.45 yd³) +10% waste │
│ Estimated concrete needed │
╰─────────────────────────────────────────╯
Breakdown
┌────────────────────────────────────┬──────────────────┬──────────────────┐
│ Item │ Metric │ US customary │
├────────────────────────────────────┼──────────────────┼──────────────────┤
│ Estimated concrete needed │ 2.64 m³ │ 3.45 yd³ │
│ Volume (no waste) │ 2.4 m³ │ 3.14 yd³ │
│ Volume with waste factor │ 2.64 m³ │ 3.45 yd³ │
│ Cubic feet │ 93.23 ft³ │ 93.23 ft³ │
│ 80 lb bags needed │ 156 bags │ 156 bags │
│ Smaller premix bags: 25 kg │ 226 bags │ │
│ Smallest premix bags: 20 kg │ 282 bags │ │
│ Edge forms, the run round the slab │ 20 m │ 65.62 ft │
│ Edge form face, run by thickness │ 2 m² │ 21.53 sq ft │
│ Form boards stacked to the slab's │ 1 row │ 1 row │
│ depth │ │ │
│ Form boards to buy, whole boards │ 6 x 4.8 m boards │ 8 x 12 ft boards │
│ each side │ │ │
│ Sub-base under the slab, compacted │ 2.4 m³ │ 3.14 yd³ │
│ Sub-base stone to order, loose │ 2.88 m³ │ 3.77 yd³ │
│ Sub-base stone by weight, loose │ 4.46 t │ 4.92 tons │
│ crushed stone │ │ │
│ Smaller premix bags: 60 lb │ │ 208 bags │
│ Smallest premix bags: 40 lb │ │ 311 bags │
└────────────────────────────────────┴──────────────────┴──────────────────┘
Your inputs (11 more at the page's opening values: --all-inputs)
┌────────────────┬──────────────────┬─────────────────┐
│ Input │ Id │ Value │
├────────────────┼──────────────────┼─────────────────┤
│ Slab Length │ --slab-length │ 6 m (19.69 ft) │
│ Slab Width │ --slab-width │ 4 m (13.12 ft) │
│ Slab Thickness │ --slab-thickness │ 10 cm (3.94 in) │
└────────────────┴──────────────────┴─────────────────┘
A professional must decide
! This is a volume take-off, not a structural decision. It accepts
whatever thickness you type without sizing it, and says nothing about mix
strength, aggregate size, air entrainment or fibre.
! Structure: sizes, thicknesses, spans, reinforcement and bearing are a
structural engineer's or the building official's decision. This is a
quantity, not a design.
Sources
1. Standard formula: cubic yards = length (ft) x width (ft) x thickness
(ft) / 27
2. An 80 lb bag of pre-mixed concrete yields approximately 0.6 cubic feet
once mixed; 60 lb about 0.45 and 40 lb about 0.30 cubic feet — 0.0075
cubic feet per pound of dry mix, which puts 20, 25 and 30 kg bags at
about 9.4, 11.7 and 14.0 litres
3. Reinforcing bar mass from its nominal diameter, 7850 kg/m³ x π d² / 4:
10 mm 0.617 kg/m, 12 mm 0.888 kg/m (BS 4449 tables); #4 0.668 lb/ft, #5
1.043 lb/ft (ASTM A615 Table 1); bars counted as floor(clear span /
spacing) + 1 each way
4. Sub-base stone weighed loose at 1,550 kg/m³ (97 lb/ft³), crushed stone
in the site's bulk-density table (lib/materials/bulk-density.ts);
compaction allowances of 15 to 25% are common supplier and specification
practice for crushed stone and hardcore
Craft Quantities. Concrete Calculator. Version 1.2.0. Sources checked
2026-10-31.
https://craftquantities.com/calculators/materials-quantities/concrete-calcul
ator/ · CC BY 4.0
Edit visually, see the drawing, or add it to a project and export (Excel/PDF):
https://craftquantities.com/calculators/materials-quantities/concrete-calculator/#slabLength=6&slabWidth=4&slabThickness=0.1&wasteFactorPercent=10&subBaseDepth=0.1&subBaseCompaction=20&formBoardDepth=0.15&reinforcement=none&meshSheet=10x5ft&meshLap=0.2&barSize=0.0127&barSpacing=0.3&barCover=0.05&barLap=0.5&cq.u=metricA name it cannot place stops with the closest matches rather than a guess, and exits with code 2 or 3:
Using concrete-calculator (Concrete Calculator) for "concret".
Error --lenght matches no input.
See every input: craftquantities info <name>
exit 2The link in every answer
Every answer, in the terminal and in JSON as interactive_url, ends with the page on craftquantities.com that already holds the figures: the calculator with its inputs, the takeoff with its measurements and add-ons, the sketch drawn as given, the quote check with the quote and the measurements, the shared project. Open it to see the drawing, change a figure, open the job in the Canvas or export to Excel, CSV, PDF or DXF where the page offers it.
When an AI agent shows a CLI answer in a chat, the link gives the person a way to check it and keep working on it, without retyping a figure.
Commands
Fifteen commands. Each takes --help, the global options --units metric|imperial, --market, --json, --csv, --md and --quiet, and a misspelt command or option is answered with the closest ones. The outputs below were run with --quiet, which leaves out the sources and the citation.
Every command is listed in the overview:
craftquantities 1.9.0 construction quantities from the command line — offline, cited, no prices
Usage craftquantities <command> [arguments] [options]
Commands
Quantities
calc Run any of the 1,257 calculators with your figures
takeoff Work a whole job: the three-part bill and labour bands
sketch A room from its corners: areas, walls and the bill
tape Tape-measure arithmetic in feet, inches, fractions and mm
convert Convert a value with the site's exact factors
Find and read
search Find calculators, takeoffs, worked examples and diagnoses
info Inputs, formula and sources of a calculator or a job
Documents and links
quote-check Read a builder's quote against your own job
scope Write a job's scope of work (Markdown and PDF)
share Make a share link to a whole project
AI and shell
mcp Start the stdio MCP server (the same as craftquantities-engine)
init Print (or --write) the MCP config for Claude, Cursor, VS Code, Codex
completion Shell completion for bash, zsh, fish and PowerShell
update Check npm for a newer version (the only command that uses the network)
help Help for a command, the exit codes, the JSON schema or units
Examples
$ craftquantities calc concrete --length 6m --width 4m --thickness 10cm
$ craftquantities takeoff concrete-slab --length 20ft --width 12ft --units imperial
$ craftquantities tape "5' 3-7/8\" + 1200mm"
$ craftquantities search "how much tile for a floor" --json
Every answer ends with interactive_url: the page on craftquantities.com with your figures filled in.
Global options: --json --csv --md --format --units --market --lang --color --ascii --quiet --raw
--all-sources
Help for one command: craftquantities help <command> · Docs:
https://craftquantities.com/developers/cli/calc
Runs any calculator by slug, title or words. Inputs go by id or by a word of their label, in any unit; the ones you leave out take the page's opening values.
npx craftquantities calc concrete --length 6m --width 4m --thickness 10cmConcrete Calculator [metric] [v1.2.0]
Estimate how much concrete a slab needs — in cubic yards or cubic metres,
and as a count of premix bags.
╭─────────────────────────────────────────╮
│ Result 2.64 m³ (3.45 yd³) +10% waste │
│ Estimated concrete needed │
╰─────────────────────────────────────────╯
Breakdown
┌────────────────────────────────────┬──────────────────┬──────────────────┐
│ Item │ Metric │ US customary │
├────────────────────────────────────┼──────────────────┼──────────────────┤
│ Estimated concrete needed │ 2.64 m³ │ 3.45 yd³ │
│ Volume (no waste) │ 2.4 m³ │ 3.14 yd³ │
│ Volume with waste factor │ 2.64 m³ │ 3.45 yd³ │
│ Cubic feet │ 93.23 ft³ │ 93.23 ft³ │
│ 80 lb bags needed │ 156 bags │ 156 bags │
│ Smaller premix bags: 25 kg │ 226 bags │ │
│ Smallest premix bags: 20 kg │ 282 bags │ │
│ Edge forms, the run round the slab │ 20 m │ 65.62 ft │
│ Edge form face, run by thickness │ 2 m² │ 21.53 sq ft │
│ Form boards stacked to the slab's │ 1 row │ 1 row │
│ depth │ │ │
│ Form boards to buy, whole boards │ 6 x 4.8 m boards │ 8 x 12 ft boards │
│ each side │ │ │
│ Sub-base under the slab, compacted │ 2.4 m³ │ 3.14 yd³ │
│ Sub-base stone to order, loose │ 2.88 m³ │ 3.77 yd³ │
│ Sub-base stone by weight, loose │ 4.46 t │ 4.92 tons │
│ crushed stone │ │ │
│ Smaller premix bags: 60 lb │ │ 208 bags │
│ Smallest premix bags: 40 lb │ │ 311 bags │
└────────────────────────────────────┴──────────────────┴──────────────────┘
Your inputs (11 more at the page's opening values: --all-inputs)
┌────────────────┬──────────────────┬─────────────────┐
│ Input │ Id │ Value │
├────────────────┼──────────────────┼─────────────────┤
│ Slab Length │ --slab-length │ 6 m (19.69 ft) │
│ Slab Width │ --slab-width │ 4 m (13.12 ft) │
│ Slab Thickness │ --slab-thickness │ 10 cm (3.94 in) │
└────────────────┴──────────────────┴─────────────────┘
A professional must decide
! This is a volume take-off, not a structural decision. It accepts
whatever thickness you type without sizing it, and says nothing about mix
strength, aggregate size, air entrainment or fibre.
! Structure: sizes, thicknesses, spans, reinforcement and bearing are a
structural engineer's or the building official's decision. This is a
quantity, not a design.
Sources
1. Standard formula: cubic yards = length (ft) x width (ft) x thickness
(ft) / 27
2. An 80 lb bag of pre-mixed concrete yields approximately 0.6 cubic feet
once mixed; 60 lb about 0.45 and 40 lb about 0.30 cubic feet — 0.0075
cubic feet per pound of dry mix, which puts 20, 25 and 30 kg bags at
about 9.4, 11.7 and 14.0 litres
3. Reinforcing bar mass from its nominal diameter, 7850 kg/m³ x π d² / 4:
10 mm 0.617 kg/m, 12 mm 0.888 kg/m (BS 4449 tables); #4 0.668 lb/ft, #5
1.043 lb/ft (ASTM A615 Table 1); bars counted as floor(clear span /
spacing) + 1 each way
4. Sub-base stone weighed loose at 1,550 kg/m³ (97 lb/ft³), crushed stone
in the site's bulk-density table (lib/materials/bulk-density.ts);
compaction allowances of 15 to 25% are common supplier and specification
practice for crushed stone and hardcore
Craft Quantities. Concrete Calculator. Version 1.2.0. Sources checked
2026-10-31.
https://craftquantities.com/calculators/materials-quantities/concrete-calcul
ator/ · CC BY 4.0
Edit visually, see the drawing, or add it to a project and export (Excel/PDF):
https://craftquantities.com/calculators/materials-quantities/concrete-calculator/#slabLength=6&slabWidth=4&slabThickness=0.1&wasteFactorPercent=10&subBaseDepth=0.1&subBaseCompaction=20&formBoardDepth=0.15&reinforcement=none&meshSheet=10x5ft&meshLap=0.2&barSize=0.0127&barSpacing=0.3&barCover=0.05&barLap=0.5&cq.u=metrictakeoff
Works a whole job: the bill in three parts (materials, accessories, the add-ons you turn on) and the labour as person-hours with each rate's confidence.
npx craftquantities takeoff concrete-slab --length 6m --width 4m --thickness 100mmConcrete slab takeoff [metric]
Concrete, reinforcement and formwork for a ground slab from one set of
dimensions.
╭────────────────────────────────────────────────────────────╮
│ Result 11.6 person-hours likely 5.8–27.1 h, confidence C │
│ Labour for planning, never a price │
╰────────────────────────────────────────────────────────────╯
Bill of materials
┌───────────────┬───────────────┬────────────────┬────────┬────────────────┐
│ Item │ Quantity │ Other system │ Labour │ Material id / │
│ │ │ │ │ status │
├───────────────┼───────────────┼────────────────┼────────┼────────────────┤
│ Materials (5) │
├───────────────┼───────────────┼────────────────┼────────┼────────────────┤
│ Ready-mix │ 2.64 m³ │ 3.45 yd³ │ 5.8 h │ ready-mix-conc │
│ concrete │ │ │ │ rete │
│ Compacted │ 5.28 metric │ 5.93 tons │ 2.4 h │ crushed-stone- │
│ sub-base │ tons │ │ │ sub-base │
│ stone │ │ │ │ │
│ Vapor │ 1 roll │ 1 roll │ 1.4 h │ poly-vapor-ret │
│ retarder │ │ │ │ arder-roll │
│ (damp-proof │ │ │ │ │
│ membrane) │ │ │ │ │
│ under the │ │ │ │ │
│ slab │ │ │ │ │
│ Reinforcing │ 11 x 12 m │ 21 x 20 ft │ │ rebar-stick │
│ bar (rebar), │ sticks │ sticks │ │ │
│ stock lengths │ │ │ │ │
│ Form boards │ 10 x 2.4 m │ 10 x 8 ft │ 2 h │ form-board │
│ │ boards │ boards │ │ │
├───────────────┼───────────────┼────────────────┼────────┼────────────────┤
│ Accessories, fixings and consumables (5) │
├───────────────┼───────────────┼────────────────┼────────┼────────────────┤
│ Curing │ 4.8 L │ 1.29 gal │ │ curing-compoun │
│ compound │ │ │ │ d │
│ Tape for the │ 21 m │ 68.9 ft │ │ under-slab-sea │
│ retarder's │ │ │ │ m-tape │
│ laps and │ │ │ │ │
│ edges │ │ │ │ │
│ Rebar chairs │ 30 chairs │ 25 chairs │ │ rebar-chair │
│ Rebar tie │ 1 coil │ 1 coil │ │ rebar-tie-wire │
│ wire │ │ │ │ -coil │
│ Form release │ 1 container │ 1 container │ │ form-release-a │
│ agent │ │ │ │ gent │
├───────────────┼───────────────┼────────────────┼────────┼────────────────┤
│ Add-ons (4) │
├───────────────┼───────────────┼────────────────┼────────┼────────────────┤
│ Isolation │ 1 x 25 m roll │ 7 x 10 ft │ │ left out │
│ joint filler │ │ lengths │ │ │
│ at walls and │ │ │ │ │
│ columns │ │ │ │ │
│ Perimeter │ 9 boards │ 9 boards │ │ left out │
│ insulation │ │ │ │ │
│ boards │ │ │ │ │
│ Welded wire │ 2 sheets │ 2 sheets │ │ left out │
│ mesh (instead │ │ │ │ │
│ of bars) │ │ │ │ │
│ Skip │ 6 m³ │ 7.85 yd³ │ │ left out │
│ (dumpster) │ │ │ │ │
│ for the │ │ │ │ │
│ dig-out spoil │ │ │ │ │
└───────────────┴───────────────┴────────────────┴────────┴────────────────┘
Add-ons not turned on: isolation-joint-filler-strip-calculator (Isolation
joint filler at walls and columns), under-slab-perimeter-foam-calculator
(Perimeter insulation boards), welded-wire-mesh-calculator (Welded wire mesh
(instead of bars)), skip-and-dumpster-size-calculator (Skip (dumpster) for
the dig-out spoil) — add with --addons.
Labour: 11.6 h (5.8–27.1) person-hours, about 0.4 crew-days likely
┌──────────────────┬─────────────────┬──────────────────┬──────────────────┐
│ Row │ Person-hours │ Operation │ Confidence │
├──────────────────┼─────────────────┼──────────────────┼──────────────────┤
│ Ready-mix │ 5.8 h (2.9–12) │ Placing and │ B — trade │
│ concrete │ │ finishing │ reference │
│ │ │ concrete │ │
│ Compacted │ 2.4 h (1–7.2) │ Laying and │ B — trade │
│ sub-base stone │ │ compacting a │ reference │
│ │ │ hardcore │ │
│ │ │ sub-base │ │
│ Vapor retarder │ 1.4 h (0.7–2.9) │ Fixing a vapour │ C — rule of │
│ (damp-proof │ │ control layer │ thumb │
│ membrane) under │ │ │ │
│ the slab │ │ │ │
│ Form boards │ 2 h (1.2–5) │ Erecting and │ A — published │
│ │ │ striking │ source │
│ │ │ formwork │ │
└──────────────────┴─────────────────┴──────────────────┴──────────────────┘
Person-hours as a low, likely and high band from each operation's production
rate, for planning. Never a price: the hourly rate is the reader's own.
Not counted
• Any structural design. Thickness, mesh size, bar spacing and cover are
an engineer's figures for your ground and your loading; this page takes
them as given.
• Excavation and the depth of the sub-base, which the ground decides: the
sub-base row orders stone at the depth you enter, and the spoil skip is an
add-on.
• A radon barrier, and edge thickenings under walls.
• Saw-cut control joints: their spacing is a design figure (the control
joint page gives the maximum), not an order line. Laps are in the rebar
row, as a flat allowance on the bar length.
• The pour itself: pump hire, access, and cold or hot weather protection.
A professional must decide
! Any structural design. Thickness, mesh size, bar spacing and cover are
an engineer's figures for your ground and your loading; this page takes
them as given.
! Structure: sizes, thicknesses, spans, reinforcement and bearing are a
structural engineer's or the building official's decision. This is a
quantity, not a design.
! Electrics: circuit design, protection, cable sizing and the work itself
are for a qualified or licensed electrician, under the rules where you
build.
Sources
1. Standard formula: cubic yards = length (ft) x width (ft) x thickness
(ft) / 27
2. An 80 lb bag of pre-mixed concrete yields approximately 0.6 cubic feet
once mixed; 60 lb about 0.45 and 40 lb about 0.30 cubic feet — 0.0075
cubic feet per pound of dry mix, which puts 20, 25 and 30 kg bags at
about 9.4, 11.7 and 14.0 litres
3. Reinforcing bar mass from its nominal diameter, 7850 kg/m³ x π d² / 4:
10 mm 0.617 kg/m, 12 mm 0.888 kg/m (BS 4449 tables); #4 0.668 lb/ft, #5
1.043 lb/ft (ASTM A615 Table 1); bars counted as floor(clear span /
spacing) + 1 each way
4. Sub-base stone weighed loose at 1,550 kg/m³ (97 lb/ft³), crushed stone
in the site's bulk-density table (lib/materials/bulk-density.ts);
compaction allowances of 15 to 25% are common supplier and specification
practice for crushed stone and hardcore
5. Coverage rate is set by the specific curing compound product's
technical data sheet — this calculator applies that rate to the slab's
surface area
6. Mass = area x thickness x in-place compacted density
… 26 more in --json (sources[]).
Craft Quantities. Concrete slab takeoff.
https://craftquantities.com/build/concrete-slab/ · CC BY 4.0
Edit the bill visually, open it in the Canvas, or export to Excel/CSV/PDF:
https://craftquantities.com/build/concrete-slab/?length=6&width=4&thickness=0.1&subBaseDepth=0.1&cq.u=metricsearch
Finds calculators, takeoffs, worked examples and diagnoses in everyday words, and names the command that runs each one.
npx craftquantities search "how much tile for a floor" -n 4Search: how much tile for a floor
4 results, best first.
┌───┬────────────┬────────────────────────────┬────────────────────────────┐
│ # │ Kind │ Title │ Run it │
├───┼────────────┼────────────────────────────┼────────────────────────────┤
│ 1 │ calculator │ Floor & Wall Tile │ calc floor-tile-calculator │
│ │ │ Calculator │ │
│ 2 │ takeoff │ Tile a floor takeoff │ takeoff tile-floor │
│ 3 │ calculator │ Tile & Grout Calculator │ calc tile-grout-calculator │
│ 4 │ diagnosis │ The tiles on my floor are │ /diagnostics/cracked-floor │
│ │ │ cracking │ -tiles/ │
└───┴────────────┴────────────────────────────┴────────────────────────────┘
See every match on the site's search page:
https://craftquantities.com/search/?q=how+much+tile+for+a+floorinfo
Lists what a calculator or a takeoff asks for: every option name, its units and its opening value in both systems, with the formula and the sources.
npx craftquantities info concrete-slab --takeoffConcrete slab takeoff [takeoff]
Concrete, reinforcement and formwork for a ground slab from one set of
dimensions.
Measurements (4)
┌──────────────────┬─────────────┬─────────────┬──────────────┬────────────┐
│ Option │ Label │ Units │ Opens │ Opens (US) │
│ │ │ │ (metric) │ │
├──────────────────┼─────────────┼─────────────┼──────────────┼────────────┤
│ --length │ Slab length │ mm, cm, m, │ 6 m │ 19.5 ft │
│ │ │ in, ft, yd │ │ │
│ --width │ Slab width │ mm, cm, m, │ 4 m │ 13 ft │
│ │ │ in, ft, yd │ │ │
│ --thickness │ Slab │ mm, cm, m, │ 100 mm │ 4 in │
│ │ thickness │ in, ft, yd │ │ │
│ --sub-base-depth │ Compacted │ mm, cm, m, │ 100 mm │ 4 in │
│ │ sub-base │ in, ft, yd │ │ │
│ │ depth │ │ │ │
└──────────────────┴─────────────┴─────────────┴──────────────┴────────────┘
Bill rows (14)
┌────────────────────┬────────────────────┬───────────┬────────────────────┐
│ Row key │ Name │ Part │ Calculator │
├────────────────────┼────────────────────┼───────────┼────────────────────┤
│ concrete-calculato │ Concrete │ material │ concrete-calculato │
│ r │ Calculator │ │ r │
│ curing-compound-co │ Curing compound │ accessory │ curing-compound-co │
│ verage-calculator │ │ │ verage-calculator │
│ gravel-base-tonnag │ Compacted sub-base │ material │ gravel-base-tonnag │
│ e-calculator │ stone │ │ e-calculator │
│ vapor-barrier-calc │ Vapor retarder │ material │ vapor-barrier-calc │
│ ulator │ (damp-proof │ │ ulator │
│ │ membrane) under │ │ │
│ │ the slab │ │ │
│ air-barrier-tape-c │ Tape for the │ accessory │ air-barrier-tape-c │
│ alculator │ retarder's laps │ │ alculator │
│ │ and edges │ │ │
│ rebar-calculator │ Rebar Calculator │ material │ rebar-calculator │
│ rebar-chair-count- │ Rebar chairs │ accessory │ rebar-chair-count- │
│ calculator │ │ │ calculator │
│ rebar-tie-wire-cal │ Rebar tie wire │ accessory │ rebar-tie-wire-cal │
│ culator │ │ │ culator │
│ concrete-formwork- │ Concrete Formwork │ material │ concrete-formwork- │
│ calculator │ Calculator │ │ calculator │
│ form-release-agent │ Form release agent │ accessory │ form-release-agent │
│ │ │ │ -calculator │
│ isolation-joint-fi │ Isolation joint │ add-on │ isolation-joint-fi │
│ ller-strip-calcula │ filler at walls │ │ ller-strip-calcula │
│ tor │ and columns │ │ tor │
│ under-slab-perimet │ Perimeter │ add-on │ under-slab-perimet │
│ er-foam-calculator │ insulation boards │ │ er-foam-calculator │
│ welded-wire-mesh-c │ Welded wire mesh │ add-on │ welded-wire-mesh-c │
│ alculator │ (instead of bars) │ │ alculator │
│ skip-and-dumpster- │ Skip (dumpster) │ add-on │ skip-and-dumpster- │
│ size-calculator │ for the dig-out │ │ size-calculator │
│ │ spoil │ │ │
└────────────────────┴────────────────────┴───────────┴────────────────────┘
Not counted
• Any structural design. Thickness, mesh size, bar spacing and cover are
an engineer's figures for your ground and your loading; this page takes
them as given.
• Excavation and the depth of the sub-base, which the ground decides: the
sub-base row orders stone at the depth you enter, and the spoil skip is an
add-on.
• A radon barrier, and edge thickenings under walls.
• Saw-cut control joints: their spacing is a design figure (the control
joint page gives the maximum), not an order line. Laps are in the rebar
row, as a flat allowance on the bar length.
• The pour itself: pump hire, access, and cold or hot weather protection.
Craft Quantities. Concrete slab takeoff.
https://craftquantities.com/build/concrete-slab/ · CC BY 4.0
Open the takeoff page:
https://craftquantities.com/build/concrete-slab/convert
Converts one value with the exact factor the calculators apply.
npx craftquantities convert 6m3 yd36 m³ → Cubic yards
volume: × 1.307950619 (m³ → yd³)
╭─────────────────────────╮
│ Result 7.847703716 yd³ │
│ 6 m³ in yd³ │
╰─────────────────────────╯
┌──────┬─────────────────┬─────────────┬───────────┐
│ From │ To │ Factor │ Dimension │
├──────┼─────────────────┼─────────────┼───────────┤
│ 6 m³ │ 7.847703716 yd³ │ 1.307950619 │ volume │
└──────┴─────────────────┴─────────────┴───────────┘
Sources
1. Craft Quantities unit table
https://craftquantities.com/api/v1/units.json
Craft Quantities unit table — https://craftquantities.com/api/v1/units.json
· CC BY 4.0
Open the Cubic Metres to Cubic Yards Calculator with 6 m³:
https://craftquantities.com/calculators/measurements-conversions/cubic-meters-to-cubic-yards-calculator/#cubicMetres=6&cq.u=metrictape
Adds, subtracts, multiplies and divides tape readings: feet, inches and fractions mixed with millimetres, rounded to the tape mark you choose.
npx craftquantities tape "5' 3-7/8\" + 1200mm"Tape: 5' 3-7/8" + 1200mm [1/16 in]
2 terms: 5' 3-7/8" · 1200mm
╭─────────────────────────────────────╮
│ Result 9 ft 3 1/8 in (2,822.4 mm) │
│ The length │
╰─────────────────────────────────────╯
┌───────────────────┬───────────────┬─────────────────┐
│ Form │ Value │ │
├───────────────────┼───────────────┼─────────────────┤
│ Tape reading │ 9 ft 3 1/8 in │ nearest 1/16 in │
│ Millimetres │ 2,822.4 mm │ │
│ Metres │ 2.8224 m │ │
│ Decimal inches │ 111.1191 in │ │
│ Decimal feet │ 9.2599 ft │ │
│ Tape mark − exact │ 0.15 mm │ │
└───────────────────┴───────────────┴─────────────────┘
Notes
• The page link rounds 1,200 mm to the nearest 1/64 in (the calculator's
finest fraction).
Craft Quantities. Feet and Inches Calculator.
https://craftquantities.com/calculators/measurements-conversions/feet-and-in
ches-calculator/ (1 in = 25.4 mm exactly) · CC BY 4.0
Open it in the Feet and Inches Calculator:
https://craftquantities.com/calculators/measurements-conversions/feet-and-inches-calculator/#firstFeet=5&firstInches=3&firstTop=7&firstBottom=8&secondValue=length&lengthOperation=add&secondFeet=3&secondInches=11&secondTop=1&secondBottom=4&numberOperation=multiply&factor=3&precision=16&cq.u=imperialsketch
Measures a room from its corners in order (any shape), with its doors and windows, and gives the room planner's materials.
npx craftquantities sketch --corners "0,0 4,0 4,3 0,3" --door 1 --window 3Sketched room: 12 m² (129.2 ft²) [metric]
4 corners, 4 walls, 2 openings, square corners.
╭────────────────────────────╮
│ Result 12 m² (129.2 ft²) │
│ Floor area │
╰────────────────────────────╯
Room
┌───────────────────┬──────────┬───────────┐
│ Figure │ Metric │ Imperial │
├───────────────────┼──────────┼───────────┤
│ Floor area │ 12 m² │ 129.2 ft² │
│ Ceiling area │ 12 m² │ 129.2 ft² │
│ Perimeter │ 14 m │ 45.93 ft │
│ Ceiling height │ 2.5 m │ 8.2 ft │
│ Wall area, gross │ 35 m² │ 376.7 ft² │
│ Doors and windows │ 3.29 m² │ 35.4 ft² │
│ Wall area, net │ 31.71 m² │ 341.4 ft² │
└───────────────────┴──────────┴───────────┘
Walls
┌──────┬─────────┬────────────────┬──────────┐
│ Wall │ Corners │ Length │ Openings │
├──────┼─────────┼────────────────┼──────────┤
│ 1 │ 1 → 2 │ 4 m (13.12 ft) │ 1 │
│ 2 │ 2 → 3 │ 3 m (9.84 ft) │ 0 │
│ 3 │ 3 → 4 │ 4 m (13.12 ft) │ 1 │
│ 4 │ 4 → 1 │ 3 m (9.84 ft) │ 0 │
└──────┴─────────┴────────────────┴──────────┘
Materials (room planner, 10 lines)
┌──────────────────────────────────────┬──────────────┬──────────┐
│ Line │ Quantity │ Trade │
├──────────────────────────────────────┼──────────────┼──────────┤
│ Primer for the walls │ 7.57 L │ painting │
│ Wall paint │ 6.34 L │ painting │
│ Primer for the ceiling │ 3.79 L │ painting │
│ Ceiling paint │ 2.4 L │ painting │
│ Paint for doors, frames and skirting │ 1.35 L │ painting │
│ Skirting boards │ 14.41 m │ trim │
│ Door casing │ 5.5 m │ trim │
│ Window casing │ 5.28 m │ trim │
│ Trim nails │ 1 box │ trim │
│ Decorator's caulk along the skirting │ 3 cartridges │ trim │
└──────────────────────────────────────┴──────────────┴──────────┘
Craft Quantities. Sketch to takeoff.
https://craftquantities.com/plan/sketch/ · CC BY 4.0
Open the room on the sketch page — move corners, add openings, build the full bill:
https://craftquantities.com/plan/sketch/#s=AQDEEwQAAMA-AADwLr8-AAIAjgyEB4IQAAX4CrAJsAmEBwAquote-check
Reads a builder's quote, a text file or standard input, against the job worked from your measurements. Money is taken out before reading and never judged.
npx craftquantities quote-check quote.txt --job concrete-slab --length 6m --width 4m$ cat quote.txt
Concrete C25 2.6 m3 $480
Rebar 11 x 12m sticks
Formwork boards 10 x 2.4m
Skip hire 1
Quote check: concrete slab [metric]
4 quote rows read. Money in the quote was taken out before it was read: the
check compares quantities against your job, never prices, and judges no
price.
╭──────────────────────────────────────────────────────────────────────────╮
│ Result 1 of 3 lines within range 2 outside, 0 not in the quote, 1 extra │
│ Lines within the job's range │
╰──────────────────────────────────────────────────────────────────────────╯
Job lines against the quote
┌─────────────────┬──────────────────┬──────────────────┬──────────────────┐
│ Job line │ Quoted │ The job's range │ Reading │
├─────────────────┼──────────────────┼──────────────────┼──────────────────┤
│ Concrete │ 2.6 m³ │ 2.52–2.76 m³ │ within the range │
│ Rebar │ 1 x 12 m sticks │ 11 x 12 m sticks │ below the range │
│ Concrete │ 1 x 2.4 m boards │ 9–10 x 2.4 m │ below the range │
│ Formwork │ │ boards │ │
└─────────────────┴──────────────────┴──────────────────┴──────────────────┘
Extra in the quote
┌───────────┬──────────┬─────────┐
│ Quote row │ Quantity │ Read as │
├───────────┼──────────┼─────────┤
│ Skip hire │ 1 │ removal │
└───────────┴──────────┴─────────┘
Reading
• A difference is a question to ask, not a verdict. Quantities only: no
price is read or judged.
Questions to ask
• What lap-splice allowance is the Rebar on the concrete slab quote worked
to?
• What cutting allowance does the concrete slab quote allow on the
Concrete Formwork?
• Does the removal line cover the old material as well as the offcuts, and
is it a fixed figure?
Outside the takeoff
• Any structural design. Thickness, mesh size, bar spacing and cover are
an engineer's figures for your ground and your loading; this page takes
them as given.
• Excavation, spoil removal and the sub-base — none of which is derived
from the slab's own dimensions.
• Damp-proof membrane, radon barrier and under-slab insulation.
• Chairs, tying wire and edge thickenings. Laps are in the rebar row, as a
flat allowance on the bar length.
• The pour itself: pump hire, access, curing compound, and cold or hot
weather protection.
Open this check on the page, with your quote and measurements filled in:
https://craftquantities.com/check/concrete-slab-quote/#length=6&width=4&cq.u=metric&cq.quote=Concrete+C25+2.6+m3%0ARebar+11+12+m%0AFormwork+boards+10+2.4+m%0ASkip+hire+1scope
Writes the job's scope of work as Markdown, and as a PDF with --pdf, in the current folder.
npx craftquantities scope concrete-slab --length 6m --width 4m --pdfScope of work: Project from Craft Quantities [csi]
Three-part section format (North American). 3 lines from Concrete slab.
Part 2 — Products
┌───────────────┬──────────────────┬───────────────────┬───────────────────┐
│ Trade │ Item │ Quantity │ Cited for this │
│ │ │ │ item │
├───────────────┼──────────────────┼───────────────────┼───────────────────┤
│ 03 — Concrete │ Concrete slab · │ 2.64 m³ │ ASTM A615 │
│ │ Concrete │ │ │
│ 03 — Concrete │ Concrete slab · │ 11 x 12 m sticks │ ACI 318; ASTM │
│ │ Rebar │ │ A615; CSA G30.18 │
│ 03 — Concrete │ Concrete slab · │ 10 x 2.4 m boards │ — │
│ │ Concrete │ │ │
│ │ Formwork │ │ │
└───────────────┴──────────────────┴───────────────────┴───────────────────┘
Document
• Part 1 — General: Summary of work; Related work and work not included;
Submittals; Quality assurance and governing documents; Site conditions
• Part 2 — Products: Materials
• Part 3 — Execution: Examination and preparation; Sequence and
installation; Inspections and hold points; Tolerances; Cleaning and
completion
Note
• Quantities for estimating, worked out by the calculator named here. Not
a design, not a structural or code check, and not a certificate of
anything. The site supplies no prices. Check the figures against the
drawings, the manufacturer's data and the code in force where you build.
Written
Markdown:
~/garage-job/scope-of-work-concrete-slab.md
PDF:
~/garage-job/scope-of-work-concrete-slab.pdf
Open the shared project — every line, quantity and source; take a copy to edit and export (Excel/PDF):
https://craftquantities.com/project/shared/#s=v1ztVXNThsxEH4Vaw6cnNV6SUJkKYeSFhWVVrRBr…share
Makes a share link to a whole project from a project file. The project rides in the link's fragment; prices, the client's name and the site address never travel.
npx craftquantities share project.jsonShare link: Garage slab [view]
3 lines, 1 takeoff. Opens read-only; 985 characters.
Travels in the link
• every line with its quantity, unit and calculator
• areas and chosen alternates
• the takeoffs' setups (the address that reopens each)
• the planner's rooms
• notes
• the units and market
Stays behind
• prices and rates (the engine adds none, and a file's own rates are taken
out)
• the client's name and the site address
• job costs, diary, requests for quote, programme and proposal
Open the shared project — every line, quantity and source; take a copy to edit and export (Excel/PDF):
https://craftquantities.com/project/shared/#s=v1ztVXNThsxEH4Vaw6cnNV6SQKylENJS4tKq7ZBr…mcp
Starts the stdio MCP server: the same program as craftquantities-engine, with the same tools.
npx -y craftquantities mcpinit
Prints the MCP config for Claude Desktop, Claude Code, Cursor, VS Code or Codex. It writes nothing unless you add --write, and then keeps a backup.
npx craftquantities init claude-codeMCP config for Claude Code [npx]
Add this to ~/garage-job/.mcp.json (nothing was written; pass
--write to merge it in).
One command: claude mcp add craftquantities -- npx -y craftquantities mcp
.mcp.json
{
"mcpServers": {
"craftquantities": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"craftquantities",
"mcp"
]
}
}
}
Then
• Or run the one-line command above; `claude mcp list` shows it.
• Ask, for example: how much concrete for a 6 by 4 m slab, 10 cm thick?
The answer links to the page with the figures filled in.
Using the CLI and the MCP server from an AI agent:
https://craftquantities.com/developers/cli/#ai-agentscompletion
Prints the completion script for bash, zsh, fish or PowerShell.
eval "$(npx craftquantities completion bash)"update
Asks the npm registry for the latest version and says how to update. It is the only command that goes online, and only when you run it.
npx craftquantities updatehelp
Help for one command, the exit codes, the JSON schema or how to write units. Every command also takes --help.
npx craftquantities help takeoffJSON output
--json prints one object in a stable, versioned shape, the same for every command. The schema is published at craftquantities.com/schemas/cli-output.v1.json and ships in the package.
| Key | What it holds |
|---|---|
schema_version | 1. Keys are only ever added within a version. |
ok | true, or false with an error object (kind, message, exit_code, suggestions). |
cli_version, engine_version | The package and the engine that answered. |
result | The headline figure in metric and imperial (value, unit, printed), or null. |
breakdown | The lines: a calculator's breakdown, a bill's rows by part, search results. |
inputs, units | What was used, and the unit system and market. |
sources | The calculator's sources and the standards they name. |
warnings | What a professional must decide, and the CLI's notes (a unit it assumed, a value outside an input's range). |
interactive_url | The page on craftquantities.com with the figures filled in. |
citation, licence | How to cite the answer (CC BY 4.0). |
data | What only this command returns; --raw adds the engine's whole answer. |
npx craftquantities calc concrete --length 6m --width 4m --thickness 10cm --json{
"$schema": "https://craftquantities.com/schemas/cli-output.v1.json",
"schema_version": 1,
"ok": true,
"command": "calc",
"cli_version": "1.9.0",
"engine_version": "1.9.0",
"title": "Concrete Calculator",
"result": {
"label": "Estimated concrete needed",
"metric": {
"value": 2.6400000000000006,
"unit": "m³",
"printed": "2.64 m³"
},
"imperial": {
"value": 3.4529896349899962,
"unit": "yd³",
"printed": "3.45 yd³"
},
"primary": "metric",
"note": "+10% waste",
"confidence": "high"
},
"breakdown": [
{
"label": "Volume (no waste)",
"metric": {
"value": 2.4000000000000004,
"unit": "m³",
"printed": "2.4 m³"
},
"imperial": {
"value": 3.1390814863545415,
"unit": "yd³",
"printed": "3.14 yd³"
}
},
…
],
"inputs": [
{
"id": "slabLength",
"label": "Slab Length",
"value": 6,
"printed": "6 m (19.69 ft)",
"source": "caller",
"metric": {
"value": 6,
"unit": "m"
},
"imperial": {
"value": 19.68503937007874,
"unit": "ft"
}
},
…
],
"units": {
"system": "metric",
"market": null
},
"sources": [
{
"label": "Standard formula: cubic yards = length (ft) x width (ft) x thickness (ft) / 27"
},
…
],
"warnings": [
"This is a volume take-off, not a structural decision. It accepts whatever thickness you type without sizing it, and says nothing about mix strength, aggregate size, air entrainment or fibre.",
…
],
"interactive_url": "https://craftquantities.com/calculators/materials-quantities/concrete-calculator/#slabLength=6&slabWidth=4&slabThickness=0.1&wasteFactorPercent=10&subBaseDepth=0.1&subBaseCompaction=20&formBoardDepth=0.15&reinforcement=none&meshSheet=10x5ft&meshLap=0.2&barSize=0.0127&barSpacing=0.3&barCover=0.05&barLap=0.5&cq.u=metric",
"interactive_label": "Edit visually, see the drawing, or add it to a project and export (Excel/PDF)",
"page_url": "https://craftquantities.com/calculators/materials-quantities/concrete-calculator/",
"citation": "Craft Quantities. Concrete Calculator. Version 1.2.0. Sources checked 2026-10-31. https://craftquantities.com/calculators/materials-quantities/concrete-calculator/",
"licence": {
"name": "CC BY 4.0",
"url": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "Craft Quantities — craftquantities.com"
},
"data": {
"calculator": {
"slug": "concrete-calculator",
"title": "Concrete Calculator",
"version": "1.2.0",
"category": "materials-quantities",
"last_verified": "2026-10-31",
"url": "https://craftquantities.com/calculators/materials-quantities/concrete-calculator/"
},
…
}
}CSV and Markdown
--csv prints the main table with raw values and units in their own columns, ready for a spreadsheet; its last line carries the link. --md prints a Markdown report to paste into a ticket, a wiki or a chat. Colour is off in a pipe, in a file and when NO_COLOR is set.
item,metric_value,metric_unit,metric,imperial_value,imperial_unit,imperial
Estimated concrete needed,2.6400000000000006,m³,2.64 m³,3.4529896349899962,yd³,3.45 yd³
Volume (no waste),2.4000000000000004,m³,2.4 m³,3.1390814863545415,yd³,3.14 yd³
Volume with waste factor,2.6400000000000006,m³,2.64 m³,3.4529896349899962,yd³,3.45 yd³
Cubic feet,93.2307201447299,ft³,93.23 ft³,93.2307201447299,ft³,93.23 ft³
…
# interactive_url,https://craftquantities.com/calculators/materials-quantities/concrete-calculator/#slabLength=6&slabWidth=4&slabThickness=0.1&wasteFactorPercent=10&subBaseDepth=0.1&subBaseCompaction=20&formBoardDepth=0.15&reinforcement=none&meshSheet=10x5ft&meshLap=0.2&barSize=0.0127&barSpacing=0.3&barCover=0.05&barLap=0.5&cq.u=metric## Concrete Calculator
Estimate how much concrete a slab needs — in cubic yards or cubic metres, and as a count of premix bags.
**Estimated concrete needed: 2.64 m³ (3.45 yd³)** — +10% waste
### Breakdown
| Item | Metric | US customary |
|---|---:|---:|
| Estimated concrete needed | 2.64 m³ | 3.45 yd³ |
| Volume (no waste) | 2.4 m³ | 3.14 yd³ |
…Exit codes
| Code | Meaning |
|---|---|
| 0 | Done. |
| 1 | An internal or engine failure. |
| 2 | Usage: an unknown command or option, or a value that cannot be read. |
| 3 | Not found: no such calculator, job or file. Suggestions follow. |
| 4 | Refused: a negative measurement, or the engine's own refusal (a value out of range, a question that sizes or certifies). |
| 5 | Network: update could not reach the registry. |
| 130 | Interrupted. |
With --json, a failure is still JSON: ok is false and error holds the kind, the message and the suggestions.
Error Slab Length -6 m is outside 0.01–50 m: a negative measurement.
See every input's range: craftquantities info concrete-calculator
exit 4For AI agents
An agent with a shell runs one command with --json, reads result and warnings, and gives the person the interactive_url with its answer. Nothing to install, no key, and nothing leaves the machine.
npx -y craftquantities takeoff concrete-slab --length 6m --width 4m --jsonAn agent that speaks MCP gets the same engine as tools. init prints the config for its client:
npx craftquantities init claude
npx craftquantities init cursor --writeThe remote server needs no install at all: see the remote MCP server.
Shell completion
The scripts complete commands, options, calculator slugs, takeoff ids, quote checks and option values as you type.
# bash
eval "$(craftquantities completion bash)"
# zsh
eval "$(craftquantities completion zsh)"
# fish
craftquantities completion fish > ~/.config/fish/completions/craftquantities.fish
# PowerShell
craftquantities completion powershell | Out-String | Invoke-ExpressionWhat it will not do
- No prices. Labour comes as person-hours for planning, never as money.
- Nothing sized or certified. Structure, cables, breakers and equipment capacity are a professional’s decision, and the answer says so.
- No account, no key and no tracking. Answers cite their page under CC BY 4.0.