Roof Pitch, Slope & Gradient Calculator
Work out a roof’s pitch, slope and gradient — convert between rise-in-12 (x:12), degrees and percent — and get the rafter length and ridge rise from your building’s span. Enter the pitch in whichever form you have, whether a 4:12 pitch or an angle. Everything runs on your device.
Guide: How Do I Calculate Roof Pitch? (And Rafter Length)Your pitch
How pitch works
Pitch is the rise (vertical) over the run (horizontal). The rafter is the sloping length from wall plate to ridge. A steeper rise means a higher pitch.
Rafter length (optional)
Roof geometry
Mind the covering’s minimum pitch
Every covering has a minimum: profiled metal sheeting commonly 5–10° depending on the profile and laps, concrete tiles typically 17–26°, slates more. Below it, wind-driven rain gets under the laps — use the manufacturer’s figure for the exact profile, and add the eaves overhang to the rafter length.
Questions & answers
Everything you need to understand the roof pitch, slope & gradient calculator.
How is roof pitch measured?
Three interchangeable ways: rise-in-12 — the US standard — written x:12 (a 4:12 pitch means 4 inches of rise for every 12 inches of run), degrees (the angle from horizontal), and percent (rise ÷ run × 100). A 4:12 pitch is about 18.4°, or a 33% slope; a 12:12 pitch is 45°. The calculator converts freely between all three.
How do I calculate rafter length?
Rafter = horizontal half-span ÷ cos(pitch angle). A building 24 ft wide (12 ft from wall plate to ridge, horizontally) at a 4:12 pitch (18.4°) needs 12 ÷ cos 18.4° ≈ 12.6 ft (3.85 m) rafters, and the ridge rises 12 × tan 18.4° ≈ 4 ft (1.22 m) above the plates. Add the eaves overhang and birdsmouth allowance on top.
How do I measure an existing roof’s pitch?
Hold a level horizontally against the rafter or roof surface, measure 12 in along the level, then measure vertically down to the surface — that vertical figure in inches is the rise, giving the pitch directly as rise:12. A 4 in drop over 12 in is a 4:12 pitch (18.4°). Enter that ratio and the calculator reads off the angle and percent.
What is the minimum pitch for roof coverings?
It depends on the covering: standing-seam and profiled metal panels commonly go down to about 1:12–2:12 (5–10°) depending on the profile and seams, asphalt shingles generally want a 2:12 minimum (with special underlayment below 4:12), and concrete tiles typically need 4:12–6:12 (17–26°). Below the covering’s minimum, wind-driven rain gets under the laps. Always use the manufacturer’s stated minimum for the exact product, not a generic figure.
Does a steeper roof cost more?
Yes — rafters lengthen, the covering area grows (area = plan area ÷ cos pitch), and scaffolding and labor rise with the pitch. A 12:12 roof (45°) has over 40% more surface than a flat one covering the same plan. Against that, steep roofs shed water and dirt better, resist leaks and can add attic space — the sweet spot is usually the covering’s comfortable range.
More construction tools
Roofing Calculator (Shingles & Squares)
Squares, shingle bundles and underlayment for a roof.
OpenMetal Roof Calculator (Tin & Steel)
Panels, screws and cost for a metal roof.
OpenGutter & Downspout Cost Calculator
Gutters, downspouts and cost for a roof.
OpenConstruction Quote Builder
Price materials, labor, markup and Tax/VAT, then export a PDF quote.
OpenExequtechOS
Do the whole job in one place
A calculation is just the start. ExequtechOS takes it from estimate to quote, job card, invoice and paid — for your whole team.
Get started with ExequtechOS- Turn these numbers into a client-ready quote
- Job cards, invoicing & inventory in one place
- Works offline in the field, syncs when you’re back