Methodology
This page is the shared formula and assumption index for PitchCalc. The interactive tools apply these relationships to browser inputs; this reference explains what each result means and where the model stops.
Notation used in the formulas
Rise is vertical change; run is horizontal change for the same right triangle.
Pitch is commonly expressed as rise per 12 units of run. w is a decimal waste rate, so 10% is 0.10.
Coverage is square feet covered by one bundle. All real length inputs in a calculation must use matching units.
Roof pitch formulas
rise per 12 = (rise ÷ run) × 12
degrees = atan(rise ÷ run) × 180 ÷ π
slope percent = (rise ÷ run) × 100
pitch multiplier = √(1 + (rise ÷ run)²)
triangle rafter length with zero overhang = √(run² + rise²)
Use the pitch calculator for ratio, angle, percent, and multiplier conversions. Use the rafter calculator to solve length, rise, or run for a real triangle.
Projected area and pre-waste squares
expanded length = building length + (2 × uniform overhang)
expanded width = building width + (2 × uniform overhang)
projected area = expanded length × expanded width
sloped roof area = projected area × pitch multiplier
pre-waste roofing squares = sloped roof area ÷ 100
The roof area calculator stops at sloped area and pre-waste squares. Separate planes or pitch groups should be calculated independently and then summed.
Waste-adjusted squares and bundles
adjusted area = sloped roof area × (1 + w)
waste-adjusted roofing squares = adjusted area ÷ 100
whole bundles = ceil(adjusted area ÷ coverage per bundle)
optional bundle subtotal = whole bundles × price per bundle
waste input is validated from 0% through 50%
The shingle calculator starts from known pre-waste area. The roofing calculator combines footprint or known area with the material steps. Accessory products and complete project pricing remain separate.
Full precision between steps
The engine carries JavaScript numeric precision through intermediate steps and rounds only displayed values. The pitch chart and its converter show rafter length per foot of run to three decimal places. Areas display to one decimal, roofing squares to two decimals, pitch multipliers to three decimals, and common angles or lengths to one decimal where the interface states that precision.
Purchase quantities use whole packages and round up at the final bundle step. A very small relative tolerance prevents binary floating-point residue at an exact integer boundary from adding an extra bundle.
Runs in your browser
Calculator arithmetic and input validation run in the browser. Measurements may be written to the page URL hash so a result can survive refreshes or be shared; URL-hash values are not sent to the server as part of the HTTP request. Copy and print actions use the displayed browser result.
Reproduce a complete estimate
The illustrated gable-roof example states its wall dimensions, horizontal overhangs, pitch, waste, and product coverage. Its roof is hypothetical. The manufacturer's coverage is linked and dated so the product assumption can be checked separately from the geometry.
For that example, the footprint method gives 1,344 × √1.25 = 1,502.63768088… sq ft. The two-plane check gives 2 × 42 × √(16² + 8²) = the same area. The 16 ft run includes the horizontal eave overhang; the 42 ft length includes both gable-end overhangs. Waste is applied after either area calculation.
Automated tests cover the shared formulas, inverse calculations, invalid inputs and bundle rounding. The worked example can also be replayed in both material calculators. These checks verify arithmetic; they do not verify site measurements or provide a professional material takeoff.
Planning limits and assumptions
Rectangular footprint mode assumes one uniform pitch and one uniform overhang. Complex roofs with hips, valleys, dormers, additions, or mixed pitches should be measured plane by plane. Known-area mode assumes the entered value is already sloped surface area before waste.
Results are planning estimates, not structural engineering, truss or lumber design, a cut list, code approval, a contractor quote, or a final material order. Product coverage, waste, accessories, taxes, labor, and local requirements must be confirmed for the actual project.