Roof Pitch Calculator
Roof pitch is the rise for every 12 inches of horizontal run: pitch = 12 × rise ÷ run. A roof that rises 4 ft over an 8 ft run is 12 × 4 ÷ 8 = 6/12, which is an angle of arctan(0.5) ≈ 26.57° and a 50% grade. This roof pitch calculator converts pitch, angle and percent, and adds rafter length, pitch factor and roofing squares.
Measure rise and run in the same unit: for example 7 in up for every 12 in across, or 4 ft up over 8 ft. Fractions such as 7 1/2 work.
Rafter length and roof area (optional)
Flat area seen from above, for roofs whose planes share this pitch.
A 7/12 pitch rises 7 in for every 12 in of run: an angle of 30.26°, a 58.33% grade, and a pitch factor of 1.1577.
| Pitch | Angle | Grade | Factor |
|---|---|---|---|
| 1/12 | 4.76° | 8.33% | 1.003 |
| 2/12 | 9.46° | 16.67% | 1.014 |
| 3/12 | 14.04° | 25% | 1.031 |
| 4/12 | 18.43° | 33.33% | 1.054 |
| 5/12 | 22.62° | 41.67% | 1.083 |
| 6/12 | 26.57° | 50% | 1.118 |
| 7/12 | 30.26° | 58.33% | 1.158 |
| 8/12 | 33.69° | 66.67% | 1.202 |
| 9/12 | 36.87° | 75% | 1.250 |
| 10/12 | 39.81° | 83.33% | 1.302 |
| 11/12 | 42.51° | 91.67% | 1.357 |
| 12/12 | 45° | 100% | 1.414 |
| 14/12 | 49.4° | 116.67% | 1.537 |
| 16/12 | 53.13° | 133.33% | 1.667 |
| 18/12 | 56.31° | 150% | 1.803 |
| 24/12 | 63.43° | 200% | 2.236 |
Show steps
- Pitch = 12 × rise ÷ run = 12 × 7 ÷ 12 = 7, so the roof rises 7 for every 12 of run.
- Angle: tan θ = rise ÷ run = 0.5833, so θ = arctan(0.5833) ≈ 30.26°.
- Percent grade = rise ÷ run × 100 = 0.5833 × 100 ≈ 58.33%.
- Ratio: run ÷ rise = 1 ÷ 0.5833 ≈ 1.714, so the slope is 1 : 1.714 (1 unit up for every 1.714 across).
- Pitch factor (the sloped length for each 1 of run), from the Pythagorean theorem: √(1 + 0.5833²) = √(1.3403) ≈ 1.1577. It also equals 1 ÷ cos θ.
- Hip or valley factor for two planes of the same pitch meeting at 90°: √(pitch² + 288) ÷ 12 = √(49 + 288) ÷ 12 ≈ 1.5298 per 1 of common run.
- Rafter length: (run + overhang) × pitch factor = 15 ft × 1.1577 ≈ 17.37 ft. This is the line length along the slope; deduct half the ridge board thickness (measured level) before cutting.
- Roof area: footprint × pitch factor = 1,800 × 1.1577 ≈ 2,083.87 sq ft. A roofing square is 100 sq ft, so that is 20.84 squares; with 10% extra, order 20.84 × 1.1 ≈ 22.92 squares.
Roof area and squares are estimates for planes of one pitch. Dormers, hips, valleys and different pitches change the total; measure each plane separately for an order.
How to use the roof pitch calculator
- Pick what you know: Rise & run (measured with a level and tape), Pitch x/12 (from plans), Angle (from an angle finder or phone level) or Percent grade.
- Type the value. Rise and run can be in any unit as long as both use the same one, and fractions such as 7 1/2 work.
- For framing and ordering, fill in the rafter run (half the building span), the overhang and the roof footprint seen from above. Leave them blank if you only need the conversion.
- Read the pitch, angle, percent grade, ratio, pitch factor and hip/valley factor, plus rafter length, roof area and roofing squares. The chart highlights your pitch among the common ones, and Show steps gives the trigonometry.
Roof pitch formulas
Every way of describing a roof slope comes from the same right triangle, with the run as the horizontal leg and the rise as the vertical leg.
| Quantity | Formula |
|---|---|
| Pitch (x/12) | x = 12 × rise ÷ run |
| Angle θ | θ = arctan(rise ÷ run) |
| Pitch from angle | x = 12 × tan θ |
| Percent grade | rise ÷ run × 100 |
| Pitch factor (multiplier) | √(1 + (x ÷ 12)²) = 1 ÷ cos θ |
| Hip or valley factor | √(x² + 288) ÷ 12 |
| Rafter length | (run + overhang) × pitch factor |
| Roof area | footprint × pitch factor |
| Roofing squares | roof area (sq ft) ÷ 100 |
The pitch factor is the Pythagorean theorem with the run set to 1: the sloped length is √(1² + slope²). Multiply any horizontal distance by it to get the length along the roof. The hip or valley factor does the same for the diagonal where two planes of the same pitch meet at a right angle in plan; the 288 is 12² + 12², because the hip runs diagonally across a 12 × 12 square.
Worked example: from rise and run
- Measure 4 ft of rise over 8 ft of run.
- Pitch: 12 × 4 ÷ 8 = 6, so the roof is 6/12.
- Angle: arctan(4 ÷ 8) = arctan(0.5) ≈ 26.57°.
- Grade: 4 ÷ 8 × 100 = 50%. Ratio: 1 : 2.
- Pitch factor: √(1 + 0.5²) = √1.25 ≈ 1.118, so every foot of run is about 1.118 ft along the slope.
A level held 12 in out from the roof surface gives the same result directly: if the gap below the 12 in mark is 6 in, the pitch is 6/12.
Worked example: from an angle
An angle finder reads 30°. The slope is tan 30° ≈ 0.5774, so the pitch is 12 × 0.5774 ≈ 6.93/12, just under 7/12. The grade is about 57.74%. Angles rarely land on whole pitches, which is why the calculator shows two decimals.
Worked example: rafter length and roofing squares
A gable roof has a 7/12 pitch, a 28 ft span (a 14 ft run on each side), 1 ft overhangs and a footprint of 1,800 sq ft including the overhangs.
- Pitch factor: √(1 + (7 ÷ 12)²) ≈ 1.1577.
- Rafter length: (14 + 1) × 1.1577 ≈ 17.37 ft, about 17 ft 4 3/8 in, measured along the slope before the ridge deduction.
- Roof area: 1,800 × 1.1577 ≈ 2,083.87 sq ft.
- Squares: 2,083.87 ÷ 100 ≈ 20.84. With 10% extra for cutting and starter courses, about 22.92 squares.
Treat the area as an estimate. Dormers, valleys and planes with a different pitch need to be measured and added separately.
Roof pitch chart
| Pitch | Angle | Percent grade | Pitch factor |
|---|---|---|---|
| 1/12 | 4.76° | 8.33% | 1.003 |
| 2/12 | 9.46° | 16.67% | 1.014 |
| 3/12 | 14.04° | 25% | 1.031 |
| 4/12 | 18.43° | 33.33% | 1.054 |
| 5/12 | 22.62° | 41.67% | 1.083 |
| 6/12 | 26.57° | 50% | 1.118 |
| 7/12 | 30.26° | 58.33% | 1.158 |
| 8/12 | 33.69° | 66.67% | 1.202 |
| 9/12 | 36.87° | 75% | 1.250 |
| 10/12 | 39.81° | 83.33% | 1.302 |
| 11/12 | 42.51° | 91.67% | 1.357 |
| 12/12 | 45° | 100% | 1.414 |
Notice that the angle does not grow in step with the pitch: going from 1/12 to 2/12 adds about 4.7°, while going from 11/12 to 12/12 adds about 2.5°. That is the arctangent flattening out. Doubling the pitch never doubles the angle.
Pitch, slope and angle: the names
Roofers usually say pitch for the x/12 figure, but some older texts define pitch as rise ÷ span (the full width of the building), which makes a 6/12 roof a “1/4 pitch”. Slope is the same rise-over-run idea written as a ratio or a percent, and the angle is the one between the roof and the horizontal. The calculator gives all of them so you can match whatever your plans or supplier use.
Common roof pitch mistakes
- Using the span instead of the run. The run is half the span on a symmetrical gable. Using the full span halves the pitch.
- Measuring the run along the slope. Run is horizontal. A tape laid on the shingles measures the rafter, not the run.
- Mixing units. 7 in of rise over 1 ft of run is 7/12, not 7/1.
- Using one multiplier for a mixed roof. A pitch factor only applies to planes with that pitch; work out each pitch separately.
- Cutting rafters to the line length. Deduct half the ridge board and add the tail before cutting.
Roof pitch practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
Pitch = 12 × rise ÷ run = 12 × 3 ÷ 6 = 6, so 6/12. Reading the raw numbers as 3/12 ignores the run.
θ = arctan(6 ÷ 12) = arctan(0.5) ≈ 26.57°. 63.43° uses run ÷ rise, and 50 is the percent grade.
Grade = rise ÷ run × 100 = 8 ÷ 12 × 100 ≈ 66.67%. 33.69 is the angle in degrees.
Pitch = 12 × tan 20° ≈ 12 × 0.364 ≈ 4.37/12. 1.67 is 20 ÷ 12, which is not a trig conversion.
Pitch factor = √(1 + (6 ÷ 12)²) = √1.25 ≈ 1.118. 1.25 forgets the square root.
Rafter = run × pitch factor = 12 × 1.25 = 15 ft. It is the hypotenuse of a 9-12-15 triangle.
Roof area = 2,400 × 1.054 ≈ 2,529.6 sq ft, and a square is 100 sq ft, so about 25.3 squares. 24 ignores the pitch.
The run is half the span, 15 ft. Pitch = 12 × 5 ÷ 15 = 4/12. Using the full 30 ft span gives 2/12.
12 × tan 30° ≈ 6.93, which is closest to 7/12 (30.26°). 6/12 is 26.57° and 8/12 is 33.69°.
Quiz complete
Frequently asked questions
What angle is a 4/12 roof pitch?
arctan(4 ÷ 12) ≈ 18.43°. Its grade is 33.33%, and its pitch factor is about 1.054.
How do I convert degrees to roof pitch?
Multiply the tangent of the angle by 12. For 35°, tan 35° ≈ 0.7002, so the pitch is about 8.4/12.
What is a roof pitch multiplier?
It is the pitch factor, √(1 + (pitch ÷ 12)²). Multiply the flat footprint by it to get the sloped roof area: at 6/12 the factor is about 1.118, so 2,000 sq ft of footprint is about 2,236 sq ft of roof.
How many squares is my roof?
Divide the roof area in square feet by 100. A roof of 2,083.87 sq ft is about 20.84 squares before any extra for waste.
Is a 12/12 roof 45 degrees?
Yes. When rise equals run, tan θ = 1, so θ = 45°, the grade is 100% and the pitch factor is √2 ≈ 1.414.
Related calculators
- Slope calculator for slope, grade and angle from two points
- Trigonometry calculator for tangent and arctangent
- Stair calculator for risers, treads and stringers
- Pythagorean theorem calculator for rafter lengths
- Square footage calculator for the roof footprint
Related to This Article
More math articles
- How to Find a Unit Rate (With Examples)
- The Best Grade 3 Math Book for Nevada Students
- What a Theory Does
- Elements, Compounds, and Mixtures
- How to Simplify Variable Expressions? (+FREE Worksheet!)
- How to Master the ISEE Math Section: 2026 Guide for Lower, Middle & Upper Level
- 10 Most Common 4th Grade ACT Aspire Math Questions
- The Cell: Life’s Basic Unit
- 6th Grade NYSE Math Practice Test Questions
- Energy: Kinetic, Potential, and Conservation
















What people say about "Roof Pitch Calculator: x/12 to Degrees, %, Rafter & Squares"?
No one replied yet.