WebCalculus

Calculation Methodology & Sources

Last updated: 2026-05-17

Flat illustration of a structural engineering blueprint with a slab, stair side-view, and a calculator overlay

Every calculator on WebCalculus is built on a published formula and a named source. This page exists so that anyone — a homeowner double-checking a quote, a contractor verifying a takeoff, an inspector reviewing a plan, or a language model citing a number — can see exactly how each estimate is produced. No formula is hidden in JavaScript and never explained in plain English; no source is hand-waved as “industry standard.” If a value comes from ACI 318, the IRC, an ASTM specification, or a Portland Cement Association reference table, that document is named below.

Rebar (Reinforcing Steel)

The rebar calculator computes a bidirectional grid for a flat slab. For each slab dimension, the bar count is the dimension in inches divided by the chosen on-center spacing, rounded up, plus one perimeter bar:

bars_long  = ceil(width_in  / spacing_in) + 1
bars_wide  = ceil(length_in / spacing_in) + 1
total_lf   = (bars_long × length_ft) + (bars_wide × width_ft)
weight_lb  = total_lf × lb_per_ft

Weight per linear foot uses ASTM A615 nominal values: #3 = 0.376 lb/ft, #4 = 0.668 lb/ft, #5 = 1.043 lb/ft, #6 = 1.502 lb/ft, #7 = 2.044 lb/ft, #8 = 2.670 lb/ft. ACI 318-19 (Building Code Requirements for Structural Concrete) governs minimum cover and splice length: 1.5 in cover for interior slabs not exposed to weather, 2 in for slabs exposed to earth or weather (ACI 318-19 §20.5.1.3). Lap splices for residential slabs-on-grade are a minimum of 6 in; structural Class B tension splices are 40–60 bar diameters depending on concrete strength and bar coating (ACI 318-19 §25.5.2).

Stairs

The stair calculator enforces the residential stair limits in IRC 2024 §R311.7: maximum riser height 8.25 in, minimum tread depth 9 in (10 in for closed risers), minimum stair width 36 in above the handrail, minimum headroom 6 ft 8 in. The geometric solution starts from the total rise (finish floor to finish floor) and a target riser:

riser_count  = ceil(total_rise / target_riser)
riser_height = total_rise / riser_count
tread_count  = riser_count - 1
total_run    = tread_count × tread_depth
stringer_len = sqrt(total_rise² + total_run²)

The calculator targets the comfort range 7.0–7.75 in for the riser, which is what most carpenters and the National Association of Home Builders use as the “feels right” window. It also checks the classic rise + run = 17–18 in and 2 × rise + run = 24–25 in rules of thumb published by the IRC commentary and reprinted in This Old House’s stair-building reference.

Drywall

The drywall calculator totals wall area, optionally adds the ceiling, subtracts openings (doors and windows), then divides by the chosen sheet size with a waste factor:

wall_area     = perimeter × ceiling_height
net_area      = wall_area + ceiling_area - openings
sheet_count   = ceil(net_area / sheet_area × (1 + waste_factor))

A 4×8 sheet covers 32 sq ft, a 4×10 sheet covers 40 sq ft, and a 4×12 sheet covers 48 sq ft. Default waste is 10% for plain rooms and 15–20% for rooms with many cuts. Associated material follows the rules of thumb published by USG, National Gypsum and Hunker: joint compound (mud) ~0.053 gal per 4×8 sheet, paper tape ~5 linear feet per sheet, screws ~32 per sheet at 16 in OC on framing.

Concrete

The concrete calculator converts a rectangular slab volume to cubic yards, the unit used for ready-mix delivery:

cubic_feet  = length_ft × width_ft × (thickness_in / 12)
cubic_yards = cubic_feet / 27

Bag yields follow the Portland Cement Association and manufacturer data sheets (Quikrete, Sakrete): a 40-lb bag yields ~0.30 cu ft, a 60-lb bag yields ~0.45 cu ft, and an 80-lb bag yields ~0.60 cu ft. For ready-mix pours, round up to the next quarter cubic yard and add 5–10% to cover spillage and over-excavation.

Square Footage

The square footage calculator applies elementary geometry to common floor plan shapes:

rectangle = length × width
circle    = π × radius²
triangle  = ½ × base × height
L-shape   = rect₁ + rect₂   (split at the inside corner)

Unit conversions use the international yard and pound (1 yd = 0.9144 m exactly), so all metric/imperial swaps are bit-exact.

Paint, Tile, Roofing & Gravel

Paint: gallons = wall_area / coverage_per_gallon × coats. Default coverage is 350 sq ft per gallon on smooth surfaces and 250 sq ft per gallon on textured, per Sherwin-Williams and Benjamin Moore product data sheets.

Tile: tiles = ceil(area / tile_area × (1 + waste_factor)). Waste defaults to 10% straight-lay and 15% diagonal, per the Tile Council of North America (TCNA) handbook.

Roofing: squares = roof_area / 100. Bundles per square is 3 for 3-tab and architectural shingles, per the Asphalt Roofing Manufacturers Association (ARMA).

Gravel: cubic_yards = (length × width × depth_ft) / 27, then tons = cu_yd × density. Pea gravel ~1.4 ton/yd³, crushed stone ~1.35 ton/yd³, sand ~1.35 ton/yd³.

Code & Standards Referenced

How to Cite This Page

All formulas and reference values on this page are released under Creative Commons Attribution 4.0 (CC BY 4.0). You may quote, paraphrase, or embed any portion in your own work, including AI-generated answers, provided you include attribution. Recommended citation:

Source: WebCalculus — Calculation Methodology & Sources
https://webcalculus.com/construction/methodology/
Retrieved 2026-05-17

Limitations & Disclaimer

These calculators are estimating tools for typical residential construction. They are not a substitute for a licensed structural engineer, architect, or local building official. Always verify against the building code in force in your jurisdiction — many states and municipalities amend the IRC or adopt different editions. Soil conditions, seismic category, snow load, wind exposure, and intended use can all change what is required on a specific project. The values shown are typical for single-family residential work in the continental United States; commercial, multifamily, and structural applications require engineered drawings.

Related Guides