How to use the roof pitch calculator
- Pick what you know. Use Rise and run if you measured with a level and tape, Angle if you have a reading in degrees from a phone or angle finder, or Rise and span if you know the ridge height above the walls and the building width, for example from house plans.
- Enter the measurements. The run does not have to be 12 in. A 9 in rise over a 24 in level is scaled to 4½/12 for you.
- Add the building span to get the common rafter length. Open “Rafter overhang” to change the default 12 in eave overhang.
- Read the result. The headline is the pitch in inches of rise per foot of run. Below it are the angle, percent grade, ratio, slope factor, rafter length and what the pitch means for roofing and safety. The triangle redraws to your pitch.
How the numbers are worked out
Roof pitch is the rise of the roof for every 12 inches of horizontal run, written as rise/12. Everything else follows from that one ratio.
from an angle: pitch = 12 × tan(angle)
from rise and span: run = span ÷ 2
angle = arctan(pitch ÷ 12)
percent grade = pitch ÷ 12 × 100
ratio = 1 : (12 ÷ pitch)
slope factor = √(1 + (pitch ÷ 12)²)
rafter length = (span ÷ 2 + overhang) × slope factor
Example: you hold a 24 in level against a rafter and measure 9 in of rise. 9 ÷ 24 × 12 = 4.5, so the roof is a 4½/12 pitch: 20.6°, a 37.5% grade, a ratio of 1:2.67 and a slope factor of 1.068. On a 28 ft wide house with a 12 in overhang, each rafter covers 14 ft + 1 ft = 15 ft of run, and 15 × 1.068 = 16.02 ft, or 16 ft ¼ in along the slope. That leaves nothing for cuts on a 16 ft board, so order 18 ft stock.
The headline pitch is rounded to the nearest ¼ in of rise, because a level-and-tape measurement over 12 in is rarely more precise than that and roofers talk in whole and half pitches. When the exact figure differs, such as 6.93/12 for a 30° roof, it is listed under the headline. The angle, grade and slope factor always use the exact value.
The rafter length is the common rafter from the ridge centre line to the tail, measured along the slope, with the overhang added as level distance. It does not subtract half the ridge board thickness or allow for the plumb and seat cuts, and it assumes a symmetrical gable with the ridge in the middle of the span.
Roof pitch to degrees chart
Common pitches converted to angle, percent grade and slope factor. Multiply a run or a flat plan area by the slope factor to get the length or area along the roof.
| Pitch | Angle | Percent grade | Slope factor | Category |
|---|---|---|---|---|
| 1/12 | 4.8° | 8.3% | 1.003 | Flat |
| 2/12 | 9.5° | 16.7% | 1.014 | Low slope |
| 3/12 | 14.0° | 25.0% | 1.031 | Low slope |
| 4/12 | 18.4° | 33.3% | 1.054 | Conventional |
| 5/12 | 22.6° | 41.7% | 1.083 | Conventional |
| 6/12 | 26.6° | 50.0% | 1.118 | Conventional |
| 7/12 | 30.3° | 58.3% | 1.158 | Conventional |
| 8/12 | 33.7° | 66.7% | 1.202 | Conventional |
| 9/12 | 36.9° | 75.0% | 1.250 | Conventional |
| 10/12 | 39.8° | 83.3% | 1.302 | Steep |
| 11/12 | 42.5° | 91.7% | 1.357 | Steep |
| 12/12 | 45.0° | 100.0% | 1.414 | Steep |
How to measure roof pitch
- From the attic (safest). Mark 12 in on a level. Hold one end against the underside of a rafter, bring the level to level, and measure straight up from the 12 in mark to the rafter. That measurement is the rise per 12 in. With a shorter level, enter whatever run you used.
- On the roof. Only on a dry roof you can stand on comfortably. Lay the level on the roof pointing up the slope, lift the low end until the bubble centres, and measure from the 12 in mark down to the roof surface. Shingle edges throw this off, so lay a straight board under the level.
- From a rafter tail or gable trim. From a ladder set at the gable end, use the same 12 in level method against an exposed rafter tail or the rake board, or read the angle with an angle finder.
- With a phone. Level and inclinometer apps read the angle. Check the phone on a known flat surface first, take two or three readings, and enter the average in Angle mode.
Tips before you buy
- Pitch decides the roofing. Under 2/12, asphalt shingles are not allowed; use a low-slope membrane, which typically still needs at least ¼ in of fall per foot (a 2.1% grade) to drain. From 2/12 up to 4/12, shingles need two layers of underlayment. Always follow the instructions on the shingle wrapper.
- Buy rafters one size up. Take half the ridge board thickness (¾ in for a 1½ in ridge) off the run before cutting, and leave length for the plumb cut at the ridge and the tail cut. Standard lumber comes in 2 ft steps.
- Size rafters from code tables. Rafter size and spacing depend on span, snow load and wood species. Use the span tables your local building department follows, and check whether new framing or a re-roof needs a permit.
- Treat anything over 4/12 as a fall risk. OSHA's construction rules class roofs steeper than 4/12 as steep roofs. Above about 7/12, use roof jacks with toe boards and a harness, or hire a roofer.
- Set the ladder right. Put the base 1 ft out for every 4 ft of height and extend it 3 ft above the eave. Stay off wet, frosty or mossy roofs.
Ready to price the roof? The roofing calculator turns your house size and pitch into squares, shingle bundles and underlayment. Framing a covered porch or a deck beside the house? The deck calculator works out boards, joists and screws.
Last updated November 30, 2026.