Roof Pitch Calculator
Find a roof's pitch from a rise over a run, from the width and height of a gable, or from an angle, with the angle in degrees, the slope factor and the rafter length.
How far the roof goes up over the run.
Level distance. Hold a 12 in level flat against the roof or a rafter.
Roof pitch
Enter your measurements to see a result.
Pitch is the rise of a roof for every 12 in of run, written as 6/12 or 6 in 12. Measure it with a level and a tape, from an attic rafter or on the roof, or from the size of a gable end. How to measure a roof shows each way.
Worked example
A 24 ft wide gable, 6 ft high at the ridge
| Span | 24 ft |
|---|---|
| Rise | 6 ft |
| Run (span ÷ 2) | 12 ft |
| Pitch (rise per 12 of run) | 6/12 |
| Angle | 26.6° |
| Grade (rise ÷ run) | 50% |
| Slope factor √(1 + pitch²) | 1.118 |
| Rafter length (run × slope factor) | 13 ft 5 in |
Answer: a 6/12 pitch. The rise over the run, scaled to 12 units of run.
Formula and method
pitch = rise ÷ run × 12 (rise per 12 of run)
angle = arctan(rise ÷ run)
slope factor = √(1 + (rise ÷ run)²)
rafter length = run × slope factor
The run is level distance; for a gable it is half the building's width. Grade is the same ratio as a percentage. The slope factor turns any level distance into the distance along the roof, which is how a roof's area and its rafters are worked out. The rafter length here runs from the wall line to the ridge; add the overhang and the cuts at each end for lumber.
Pitch, angle and slope factor
| Pitch | Angle | Slope factor | 1,000 sq ft of plan is |
|---|---|---|---|
| 2/12 | 9.5° | 1.014 | 1,013.79 sq ft |
| 3/12 | 14° | 1.031 | 1,030.78 sq ft |
| 4/12 | 18.4° | 1.054 | 1,054.09 sq ft |
| 5/12 | 22.6° | 1.083 | 1,083.33 sq ft |
| 6/12 | 26.6° | 1.118 | 1,118.03 sq ft |
| 7/12 | 30.3° | 1.158 | 1,157.7 sq ft |
| 8/12 | 33.7° | 1.202 | 1,201.85 sq ft |
| 9/12 | 36.9° | 1.25 | 1,250 sq ft |
| 10/12 | 39.8° | 1.302 | 1,301.71 sq ft |
| 12/12 | 45° | 1.414 | 1,414.21 sq ft |
What the pitch means for shingles
- Below 2/12: building codes don't allow asphalt shingles (IRC R905.2.2). Low-slope roofing is used instead.
- From 2/12 up to 4/12: shingles are allowed over two layers of underlayment. CertainTeed calls this low slope.
- 4/12 and steeper: one layer of underlayment. OSHA's safety rules treat any roof steeper than 4 in 12 as a steep roof.
- Over 21/12: shingle makers call for their steep-slope nailing (CertainTeed, GAF).
Ready to count shingles? The roofing calculator takes the pitch and the size of the house.
Common mistakes
- Using the full span as the run. A gable's run is half its width: a 24 ft wide house with a 6 ft high ridge is 6/12, not 3/12.
- Measuring along the roof. The run is level. On the roof, hold a level flat and measure straight down from its 12 in mark.
- Mixing degrees and pitch. A 6/12 roof is 26.6°, not 6°.
Frequently asked questions
How do I convert roof pitch to degrees?
Take the arctangent of rise ÷ run. 4/12 is 18.4°, 6/12 is 26.6° and 12/12 is 45°.
What pitch is a 30° roof?
About 6.93/12, with a slope factor of 1.155.
Is pitch the same as slope?
In everyday use, yes: both mean rise over run, such as 6 in 12. Roofing manuals and building codes call it slope; many people call it pitch. As a percentage, 6/12 is a 50% grade.
Related tools and guides
- CalculatorRoofing CalculatorWork out roofing squares and shingle bundles from your house size and roof pitch, with waste, underlayment rolls, starter strip, ridge cap and drip edge.
- GuideHow to Measure a Roof for ShinglesHow to measure a roof from the ground: the footprint, overhangs and pitch, the slope factor, roofing squares, and how many bundles of shingles to buy for it.