GuideRoofing3 min read
How to measure a roof and understand its pitch
The pitch of a roof is how much it rises for every 12 inches it runs. Roofers say it as “6 in 12” and write it 6/12. It decides how long the rafters are, how much roof there is to cover and which coverings the code allows.
What the pitch tells you
A 6/12 roof rises 6 inches over each 12 inches of horizontal run. The same pitch as an angle is the arctangent of rise over run:
- 4/12 is approximately 18.43 degrees,
- 6/12 is approximately 26.57 degrees,
- 12/12 is exactly 45 degrees.
Every pitch from 1/12 to 24/12, with its angle, its grade, its rafter multiplier and the coverings the IRC allows on it, and the common angles back to a pitch in 12, are on one page: the Roof pitch chart: pitch to degrees, percent and rafter factor.
Measure the pitch
Work from the attic or from the ground when you can.
- With a level. Hold a level flat against the roof or the underside of a rafter, keep it level, mark 12 inches along it and measure straight to the roof at that mark. That distance is the rise over a 12 inch run.
- From the building. The height of the ridge over the top of the walls, against half the width of the building, is a rise and a run too. A ridge 6 ft above the walls of a building 24 ft wide rises 6 ft over 12 ft: 6/12.
The length of a rafter
A rafter is the long side of a right triangle whose sides are the run and the rise, so its length is run × √(1 + (rise ÷ run)²). A 12 ft run at 6/12 gives 12 × √1.25, approximately 13.42 ft. Add the overhang to the run: with 1 ft of overhang, the run is 13 ft and the rafter is approximately 14.53 ft.
That is the length along the top of the rafter. Allow for the ridge board and for your cuts before you order lumber.
How much roof there is
The roof is larger than the floor plan under it by the same factor, √(1 + (pitch ÷ 12)²): approximately 1.054 at 4/12, 1.118 at 6/12 and 1.414 at 12/12. A 40 ft by 30 ft footprint, overhangs included, is 1,200 square feet; at 6/12 the roof is approximately 1,341.64 square feet. Shingles are sold by the square, 100 square feet, so that roof is approximately 13.42 squares before waste. The roofing calculator turns it into bundles and rolls.
The lowest pitch the code allows
The 2021 International Residential Code sets a minimum slope for each covering:
- Asphalt shingles from 2/12, with two layers of underlayment from 2/12 up to 4/12.
- Clay and concrete tile from 2 1/2/12.
- Metal roof shingles from 3/12.
- Wood shingles and shakes from 3/12.
- Slate from 4/12.
- Mineral-surfaced roll roofing from 1/12.
Local codes can amend the IRC, and manufacturers can ask for more than the code does, so check both before you start.
The roof pitch calculator below turns any rise and run into the pitch, the angle and the rafter length, and checks the pitch against these minimums.
Sources
- Minimum slopes: 2021 International Residential Code, Chapter 9, Section R905,
https://codes.iccsafe.org/content/IRC2021P2/chapter-9-roof-assemblies, retrieved 2026-10-30. - Every other figure in this guide is arithmetic: the right triangle of the rise and the run.