Roof Pitch Calculator
Pitch, angle and slope from rise and run, plus the common rafter length.
A 6/12 roof pitch rises 6 in per 12 in of run: 26.57 degrees, a 50% slope, 1.118 ft of roof per ft of run.
Straight up from the 12 in mark on a level, or the full rise of the roof.
Level distance in the same units: 12 in if you used a level.
Inches of rise for each 12 in of run: 6 for a 6/12 roof.
The roof's angle up from level.
Rise ÷ run × 100: a 6/12 roof is 50%.
Rafter length
Outside to outside of the walls the rafters sit on.
1 1/2 in for a 2x ridge board; 0 if the rafters meet with no ridge board.
Measured level, from the outside of the wall to the end of the rafter tail.
- Run: half the 24 ft width less half the 1 1/2 in ridge board = 143.25 in. Rafter to the wall line 13 ft 4 3/16 in (160.16 in), then 13 7/16 in of tail for a 12 in overhang.
- The ridge centerline sits 6 ft above the top of the walls, measured on the rafter's layout line.
- Inside the 4/12 to 9/12 range GAF gives for most U.S. homes.
- 4/12 or steeper: the standard asphalt shingle method; the extra underlayment layer is for 2/12 to under 4/12 (GAF, ARMA).
- 3/12 or steeper: most exposed-fastener metal panels go on without sealant in the side laps (HPM; McElroy Metal, quoted by Design & Build with Metal). Standing seam: check the panel maker.
- Over 4/12, OSHA calls this a steep roof: crews 6 ft or more up must use guardrails with toeboards, safety nets or a personal fall arrest system. Measure from the attic, or hire a roofer, rather than walk it.
- Need squares and bundles? The roofing calculator works them out from the house size and this pitch.
Building codes also set minimum roof slopes, rafter sizes and spans: check your local building code.
This works out pitch and lengths, not rafter sizes, spans or code compliance.
- What you know: Rise and run
- Rise: 6 in
- Run: 12 in
- Building width: 24 ft
- Ridge board: 1.5 in
- Overhang: 12 in
Roof pitch and slope chart: degrees, percent and pitch factor
| Pitch | Angle | Slope | Pitch factor | Hip or valley per ft of run, in |
|---|---|---|---|---|
| 1/12 | 4.76° | 8.3% | 1.003 | 17 |
| 2/12 | 9.46° | 16.7% | 1.014 | 17.09 |
| 3/12 | 14.04° | 25% | 1.031 | 17.23 |
| 4/12 | 18.43° | 33.3% | 1.054 | 17.44 |
| 5/12 | 22.62° | 41.7% | 1.083 | 17.69 |
| 6/12 | 26.57° | 50% | 1.118 | 18 |
| 7/12 | 30.26° | 58.3% | 1.158 | 18.36 |
| 8/12 | 33.69° | 66.7% | 1.202 | 18.76 |
| 9/12 | 36.87° | 75% | 1.25 | 19.21 |
| 10/12 | 39.81° | 83.3% | 1.302 | 19.7 |
| 11/12 | 42.51° | 91.7% | 1.357 | 20.22 |
| 12/12 | 45° | 100% | 1.414 | 20.78 |
A hip or valley rafter crosses the corner at 45 degrees, so it covers 16.97 in of level run for every 12 in a common rafter covers.
A roof that rises 6 in over 12 in of run has a 6/12 pitch: 26.57 degrees, a 50% slope. On a 24 ft wide gable with a 1 1/2 in ridge board, each common rafter is 14 ft 5 9/16 in long, tail included, for a 12 in overhang.
How to calculate roof pitch from rise and run
Divide the rise by the run and multiply by 12: a roof that rises 6 in over 12 in of run has a 6/12 pitch, 26.57 degrees and a 50% slope. Pitch, slope or gradient all describe the same tilt. Pitch is the rise in inches per 12 in of level run, the angle is the arctangent of rise ÷ run, and the slope percent is rise ÷ run x 100. Use the same units for both numbers and they cancel.
The pitch factor, √(1 + (rise ÷ run)²), is how much longer the sloped roof is than its level run: 1.118 for a 6/12 roof, so each foot of run takes 1.118 ft of rafter. The roofing calculator uses it to turn a house footprint into shingle bundles.
How to measure roof pitch from the attic with a level
Hold a level with one end against the underside of a rafter, center the bubble, and measure straight up from the 12 in mark to the rafter: 6 in means a 6/12 roof. The steps, from This Old House:
- Mark 12 in from one end of a level.
- Hold that end against the underside of a rafter and level it.
- Measure from the mark straight up to the rafter.
Outside, Metal Roofing Source sets the level on the roof edge or a rake board and measures down from the 12 in mark to the roof. This Old House says the attic is safer than climbing onto the roof, where a fall is the danger. OSHA counts 4/12 and flatter as low-slope, and crews 6 ft or more up still need fall protection there, so measure from the attic or a ladder at the eaves where you can.
How the rafter length is worked out: run, ridge board, overhang
A common rafter is the run times the pitch factor: for a 24 ft wide 6/12 roof with a 1.5 in ridge board, 143.25 in x 1.118034 = 160.16 in to the wall line. Fine Homebuilding measures the run level, from the ridge centerline to the outside of the wall, so it starts as half the building width. Half the ridge board’s thickness comes off the run before the factor (Fine Homebuilding, Ask the Builder). A 2x ridge board is 1.5 in thick; type 0 if the rafters meet with no ridge board.
The tail is the rafter past the wall that makes the overhang. The overhang is measured level, and the tail is that times the same factor: 12 x 1.118034 = 13.42 in. Run plus overhang, times the factor, gives 173.57 in along the rafter’s layout line.
Roseburg makes 2x4 to 2x10 lumber in 8 to 20 ft lengths, 2 ft apart, and Hunker notes most stores stop at 16 ft, so ask for 18 or 20 ft. The calculator picks the shortest board that covers the rafter. The board foot calculator counts the rafters in board feet.
Roof pitch limits for shingles, metal panels and roof work
Asphalt shingles need at least 2/12, and from 2/12 up to 4/12 a double layer of underlayment or self-adhering underlayment (GAF, ARMA).
Exposed-fastener metal panels go on at 3/12 and steeper, where most profiles need no sealant tape in the side laps (HPM; McElroy Metal, quoted by Design & Build with Metal). Below 3/12, use only a panel its maker rates for that slope; for standing seam, check the panel maker. Your local building code also sets minimum roof slopes: check it.
OSHA’s rules split at 4/12. On a low-slope roof, 4/12 or flatter, crews 6 ft or more up still need fall protection. Over 4/12 is a steep roof, where they need guardrails with toeboards, safety nets or a personal fall arrest system to stop a fall.
What the roof pitch calculator leaves out: rafter sizes, trusses, gambrel roofs
Rafter size, spacing and span come from span tables in your building code: ask your building department. Trusses are engineered by the truss maker. The birdsmouth cut and the heel height depend on the wall and the rafter depth, so the page does not lay them out. Gambrel and mansard roofs have two pitches: work each part as its own roof. Roof area belongs to the roofing calculator, and snow and wind loads to your building department or an engineer.
Worked example
- Pitch: 6 ÷ 12 × 12 = 6, so 6/12
- Angle: atan(6 ÷ 12) = 26.57°
- Slope: 6 ÷ 12 × 100 = 50%
- Pitch factor: √(1 + 0.5²) = 1.118034
- Run: 24 ft ÷ 2 = 144 in, less half the 1.5 in ridge board = 143.25 in
- Rafter to the wall line: 143.25 × 1.118034 = 160.16 in, about 13 ft 4 3/16 in
- Tail: 12 × 1.118034 = 13.42 in, about 13 7/16 in
- Rafter with tail: (143.25 + 12) × 1.118034 = 173.57 in, about 14 ft 5 9/16 in, so a 16 ft board (18.43 in spare)
- Ridge: 144 in × 0.5 = 72 in, 6 ft above the walls
Questions people ask
What is a 4/12 roof pitch in degrees?
A 4/12 pitch is 18.43 degrees, a 33.3% slope, with a pitch factor of 1.054. OSHA counts 4/12 as a low-slope roof and anything steeper as a steep roof. For comparison, 6/12 is 26.57 degrees.
What is the most common roof pitch?
6/12, or 26.57 degrees: Swanson, the maker of the Speed Square, calls it the default residential pitch and the one most framers cut first. GAF says most U.S. home roofs fall between 4/12 and 9/12.
What is a 12/12 roof pitch?
A 12/12 pitch is 45 degrees, a 100% slope: the roof rises 12 in for every 12 in of level run. Each foot of run takes 1.414 ft of rafter.
How do I find rafter length from the roof pitch?
Multiply the run by the pitch factor: a 24 ft wide 6/12 roof with a 1.5 in ridge board has a run of 143.25 in (half the width less half the ridge board), and 143.25 x 1.118034 = 160.16 in to the wall line. Add the overhang times the same factor for the tail.
How much longer is a hip rafter than a common rafter?
On a 6/12 roof a hip or valley rafter is 18 in per 12 in of common run, against 13.42 in for a common rafter. It crosses the corner at 45 degrees, covering 16.97 in of level run per 12 in. Framers round that to 17 and call the hip's pitch 6 in 17 (Swanson, Fine Homebuilding).