Methodology

Every calculator on this site uses published trigonometry and code minimums, computes in a single canonical unit, and rounds only at display time. The formulas below are the complete set — you can reproduce any result on paper.

Formulas used across the calculators
QuantityFormulaNote
Roof pitchpitch = (rise ÷ run) × 12Stated as rise per 12 units of run.
Roof angleangle = arctan(rise ÷ run) × 180 ÷ πDegrees, unrounded until output.
Slope percentageslope% = (rise ÷ run) × 100Used for drainage checks.
Pitch multiplierm = √(rise² + run²) ÷ runFootprint area × m = sloped area.
Hip / valley factorh = √(rise² + 2 × run²) ÷ runLength per unit of common run.
Rafter lengthrafter = √(rise² + run²)Add overhang separately.
Roof squaressquares = sloped area ÷ 100One square = 100 ft² of roof surface.
Shingle bundlesbundles = squares × 3 × (1 + waste)Three bundles per square for 3-tab and most architectural shingles.

Units and rounding

Inputs are converted to one canonical unit per quantity before any maths runs, so mixing metres with inches cannot introduce an error. Intermediate values are kept at full double precision; rounding happens once, at the moment a value is displayed.

Testing

Each calculator has unit tests that pin its outputs against hand-worked examples, and the registry is audited automatically for duplicate titles, over-length metadata and orphaned pages.