Methodology

Last updated

Principles

  • Pure, tested formulas. Calculations run in your browser as small, deterministic functions. Each calculator has golden test cases computed by hand, run on every build.
  • SI internally. Inputs are converted to meters, square meters and cubic meters, calculated, then converted back for display. This avoids mixing units mid-calculation.
  • Round up to buy. Bags, boxes, sheets, bundles and tins are rounded up to whole units (with a tiny tolerance so 45.0000001 bags becomes 45, not 46).
  • Defaults are editable. Bag yields, coverage rates and densities are typical label or industry values. Every one can be changed under Advanced options.

Conversion constants

Exact or standard factors used (NIST SP 811)
QuantityValue
1 foot0.3048 m (exact)
1 inch0.0254 m (exact)
1 cubic yard27 cu ft = 0.764555 m³
1 US gallon3.785411784 L (exact)
1 pound0.45359237 kg (exact)
1 short ton2,000 lb = 907.18 kg
1 roofing square100 sq ft = 9.29 m²

Waste factors

Waste allowances cover offcuts, breakage, spillage and uneven surfaces. They are presented as typical ranges from manufacturer and installer guidance, not as a standard. Our defaults sit in the middle of the usual range; pattern-dependent defaults (tile, flooring, roofing) change automatically with the layout you choose.

Calculators and formulas

What we don't do

We don't provide structural design, electrical or plumbing compliance calculations. Where loads, spans or safety are involved, consult local codes and a licensed professional.

Change log

  • 2026-10-20 · v0.5.5 — Mobile: sticky result bar keeps the purchase figure on the first screen at ≤390/320 (paint + concrete slab); at ≤360 long titles leave the first input above the fold. Imperial/Metric is one radio group (single Tab stop; arrows/Home/End). Build: Astro upgraded 5.18.2 → 7.4.2 to clear npm production critical/high advisories (requires Node ≥22.23.4). GA consent still uses define:vars with build-time constants only from site.ts (not request/user input); Astro 7 patches the prior define:vars sanitization advisory. No calculation or default values changed.
  • 2026-10-20 · v0.5.4 — Usability: on phones the first calculator inputs now appear on the first screen (the breadcrumb, badges and page details are shown more compactly; no content was removed), and calculator pages have a “Skip to calculator” keyboard link. Preview copies of the site on pages.dev are marked noindex so only diycalclab.com is indexed. No calculation or default values changed.
  • 2026-10-20 · v0.5.3 — Paint calculator: cost is now the price of the cans or tins you actually buy (US quarts priced pro rata), primer has its own coverage (default 300 sq ft per gallon / 7.4 m² per liter) and its own price, tin sizes follow your region (UK 5 / 2.5 / 1 L; Australia 10 / 4 / 2 / 1 L), the metric default coverage is 8.6 m² per liter — the same rate as 350 sq ft per gallon — and purchases read “2 × 1 gal” rather than “2 gal”. A warning appears when doors and windows cover the whole wall. All calculators: an invalid, negative or empty required value now hides the result and shopping list until it is fixed, instead of showing figures from the previous input; whole-number counts are enforced and US ↔ metric switching no longer drifts.
  • 2026-10-20 · v0.5.2 — Source audit: every calculator now cites at least one manufacturer, code or standards document for the figure it relies on, with the quoted value and the date we checked it. Three defaults were recalibrated to those documents: brick mortar bags now follow the bag yields printed by the makers (an 80 lb bag of mortar mix lays about 37 standard bricks; a 20 kg bag makes about 0.0135 m³), so the mortar count roughly doubles; drop-ceiling cartons default to a 64 sq ft carton (8 panels of 2 × 4 ft or 16 of 2 × 2 ft) when the box size is left blank; synthetic underlayment now uses the net coverage after laps (about 929 sq ft per 10-square roll) instead of a flat 10% allowance.
  • 2026-10-19 · v0.5.1 — Purchase-quantity audit: tile results separate tiles needed (incl. waste), tiles purchased (whole boxes), waste allowance and spare; deck screws are rounded up to whole boxes with no hidden extra and the screws-per-box count is editable; drop-ceiling cartons, drywall mud pails, wallpaper and core-fill bag lines state purchased vs needed; one shared door/window deduction (20 / 15 sq ft) across the paint calculator, guide and notes; sources now distinguish verified citations (URL, access date, quoted figure) from general references.
  • 2026-10-19 · v0.5.0 — Added 10 interior calculators: grout (joint-volume method calibrated to the CUSTOM Polyblend chart), thinset by trowel notch, carpet by roll width with seams and pad, baseboard, crown molding (counted wall by wall), laminate flooring with underlayment and last-row check, kitchen backsplash, drop ceiling grid, deck & fence stain by wood porosity, and epoxy floor coatings by kit or mil thickness. The Flooring hub is now Flooring & Trim, Paint is Paint, Stain & Wallpaper, and Drywall is Drywall, Ceilings & Insulation. The general flooring calculator now focuses on vinyl plank and hardwood; laminate has its own page.
  • 2026-10-19 · v0.4.0 — Added 10 calculators: concrete block (CMU, mortar and core fill), rebar grid, Sonotube columns, concrete steps, insulation (batts and blown-in by R-value), roofing (roof area and full materials list), roof pitch, siding, retaining wall and sand. The concrete-block grout figures follow NCMA TEK 4-2A; blown-in insulation follows published manufacturer coverage charts. The Roofing hub is now Roofing & Siding and the Drywall hub is now Drywall & Insulation.
  • 2026-10-18 · v0.3.0 — Added 10 calculators (deck boards, fence, topsoil, pavers, bricks, board feet, stairs, wallpaper, cubic yards, feet & inches) and the Decking, Fencing, Framing & Lumber and Masonry hubs; published 12 guides; expanded every calculator page with in-depth planning notes; stair pitch is now measured along the nosing line (riser ÷ tread); unit labels now follow the selected unit system.
  • 2026-10-17 · v0.1.0 — First release of 10 calculators.