Roof pitch calculator
A rise of 6 in over a run of 12 in is a 6/12 pitch: 26.6°, or a 50.0% slope.
Works in feet and inches or metres and centimetres, for projects in the United States and Canada. Unit conversions are exact; other constants are named with their source. Checked 6 December 2026. Sources
Your roof pitch
6/12, 26.6°
- Pitch
- 6/12
- Angle
- 26.6°
- Percent slope
- 50.0%
- Pitch factor
- 1.1180
- Rafter length
- 13.42 ft
- Ridge height
- 6.00 ft
- Asphalt shingles, IRC 2021
- Allowed
The IRC applies where your state or city has adopted it, sometimes with changes. The maker of your roofing can ask for more.
How this is worked out
- Slope: 6 ÷ 12 = 0.5000. Rise and run only need the same unit.
- Pitch: 0.5000 × 12 = 6 in 12, written 6/12.
- Angle: arctan(0.5000) = 26.6°.
- Percent slope: 0.5000 × 100 = 50.0%.
- Pitch factor: √(1 + 0.5000²) = 1.1180. Multiply a flat length or area by it to get the length or area along the slope.
- Run of each rafter: 24 ft ÷ 2 = 12 ft.
- Rafter length, wall to ridge: 12 × 1.1180 = 13.42 ft, before any overhang.
- Ridge height above the top of the walls: 12 × 0.5000 = 6.00 ft.
- IRC 2021 at 6/12: every covering in the table below is allowed.
Lowest pitch for each roof covering
The 2021 International Residential Code sets the lowest slope each covering may be laid on. Below the figure, the covering is not allowed; asphalt shingles and clay or concrete tile also need a double layer of underlayment until the roof reaches 4/12.
| Covering | Lowest pitch | Section |
|---|---|---|
| Metal roof panels, standing seam | ¼/12 | R905.10.2 |
| Metal roof panels, lapped, with lap sealant | ½/12 | R905.10.2 |
| Mineral-surfaced roll roofing | 1/12 | R905.5.2 |
| Asphalt shingles | 2/12; double underlayment up to 4/12 | R905.2.2 |
| Clay and concrete tile | 2½/12; double underlayment up to 4/12 | R905.3.2 |
| Metal roof shingles | 3/12 | R905.4.2 |
| Wood shingles | 3/12 | R905.7.2 |
| Wood shakes | 3/12 | R905.8.2 |
| Metal roof panels, lapped, no lap sealant | 3/12 | R905.10.2 |
| Slate shingles | 4/12 | R905.6.2 |
The IRC applies only where a state or city has adopted it, sometimes with changes. The maker’s instructions for your roofing can ask for a steeper roof, and your building department has the final word.
Roof angle to pitch
Pitch is the rise for every 12 of run, so it is tan(angle) × 12. The percent slope is tan(angle) × 100.
| Angle | Pitch | Percent slope |
|---|---|---|
| 5° | 1.05/12 | 8.7% |
| 10° | 2.12/12 | 17.6% |
| 15° | 3.22/12 | 26.8% |
| 20° | 4.37/12 | 36.4% |
| 25° | 5.60/12 | 46.6% |
| 30° | 6.93/12 | 57.7% |
| 35° | 8.40/12 | 70.0% |
| 40° | 10.07/12 | 83.9% |
| 45° | 12/12 | 100.0% |
Measuring the pitch
- Hold a level flat against the underside of a rafter, or lay it on the roof.
- Mark 12 inches along the level from where it touches.
- Measure straight up from the mark to the rafter or the roof. That height in inches is the pitch: 5 inches is a 5/12 roof.
Questions
What is a 4/12 roof pitch in degrees?
18.4°. The roof rises 4 inches for every 12 inches across, a 33.3% slope.
What is the minimum pitch for asphalt shingles?
2/12 under the 2021 International Residential Code (R905.2.2). From 2/12 up to 4/12, the code asks for a double layer of underlayment.
How do I convert a roof angle to pitch?
Multiply tan(angle) by 12. A 30° roof is tan(30°) × 12 = 6.93, about a 7/12 pitch.
What is a 12/12 roof pitch?
A roof that rises as much as it runs: 12 inches up for every 12 inches across. It slopes at 45°, a 100% slope.
Sources
Checked on 6 December 2026. If a figure here differs from the official page, the official page is right; please tell us.
- 2021 International Residential Code, Chapter 9, Section R905: requirements for roof coverings (ICC)
- NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement
Know the pitch? Work out the roof area, squares and shingle bundles.
Roofing calculator