Roof Pitch Calculator: Angle, Slope Factor and Rafter Length
Turn a pitch like 6/12 into an angle, a percent slope, the multiplier for roof area, and the length of a rafter.
Enter a positive rise and run.
- Percent slope
- %
- Slope factor (area multiplier)
- Rise of the roof
- ft
- Rafter length (no overhang)
- ft
How roof pitch is calculated
Pitch is the ratio of rise to run. A roof that rises 6 inches over 12 inches of horizontal run is a "6/12" or "six-twelve" roof. From the ratio, the rest follows from a right triangle: the angle is the inverse tangent of rise ÷ run, the percent slope is the ratio times 100, and the length along the slope is the hypotenuse, which is the run times the square root of 1 plus the ratio squared.
That square root is the slope factor, and it is the number roofers use most. A roof is always larger than the footprint of the house under it, and the factor says by how much. At 6/12 the factor is 1.118, so a 1,000 square foot footprint is a 1,118 square foot roof. If you also have the building width, the calculator finds the run of one side (half the width) and the rafter length along the slope.
Worked example: a 24 ft wide building at 6/12
- Ratio: 6 ÷ 12 = 0.5, so the slope is 50%.
- Angle: arctan(0.5) = 26.57°.
- Slope factor: √(1 + 0.5²) = √1.25 = 1.118.
- Run of one side: 24 ÷ 2 = 12 ft. Rise: 12 × 0.5 = 6 ft.
- Rafter length along the slope: 12 × 1.118 = 13.42 ft.
Assumptions and rounding
- The rafter length is the theoretical length from the wall plate to the ridge, measured along the top of the rafter. It does not include the overhang, and it does not subtract half the thickness of the ridge board. Add and subtract those for a cut length.
- The building is assumed to be a symmetrical gable, so each side has half the width as its run. For other shapes, enter the run of the side you are measuring as the width times two.
- Angles are shown to 0.1 degree and the factor to three decimals.
- Pitch is for roof geometry only. Framing size, spacing and loads come from your plans and local code.
Common pitches
| Pitch | Angle | Percent | Slope factor |
|---|---|---|---|
| 3/12 | 14.0° | 25.0% | 1.031 |
| 4/12 | 18.4° | 33.3% | 1.054 |
| 5/12 | 22.6° | 41.7% | 1.083 |
| 6/12 | 26.6° | 50.0% | 1.118 |
| 7/12 | 30.3° | 58.3% | 1.158 |
| 8/12 | 33.7° | 66.7% | 1.202 |
| 9/12 | 36.9° | 75.0% | 1.250 |
| 10/12 | 39.8° | 83.3% | 1.302 |
| 12/12 | 45.0° | 100.0% | 1.414 |
Ready to order? The roofing calculator turns your footprint and pitch into squares and bundles of shingles.
Frequently asked questions
What does a 6/12 roof pitch mean?
The roof rises 6 inches for every 12 inches it runs horizontally. That is a slope of 50%, an angle of 26.6 degrees, and a slope factor of 1.118, meaning the roof surface is 11.8% bigger than the flat area beneath it.
How do I measure my roof pitch?
Place a level 12 inches long against the underside of a rafter in the attic, hold it level, and measure straight up from the 12 inch mark to the rafter. That measurement is the rise per 12. A pitch gauge or smartphone level app can also read the angle.
What is the slope factor used for?
The slope factor is the square root of 1 plus (rise ÷ run) squared. Multiply the flat footprint of a roof by it to get the actual roof surface area, which is what you need for roofing materials. The roofing calculator does this for you.
What is a low-slope or flat roof?
Very shallow roofs, roughly below 2/12, are generally treated as low-slope, and shingle makers set their own minimum pitch. Check the manufacturer’s minimum for the product you plan to use before buying.
How long are my rafters?
Rafter length along the slope is half the span times the slope factor. A 24 ft wide building at 6/12 has 12 ft of run, so each rafter is 12 × 1.118 = 13.4 ft before adding the overhang and subtracting any ridge board.
Related calculators
- Concrete CalculatorSlabs, footings and round columns in cubic yards and bags.
- Concrete Slab CalculatorPatios, pads and driveways by length, width and thickness.
- Concrete Bags CalculatorHow many 40, 50, 60 or 80 lb bags a volume takes.
- Gravel CalculatorCubic yards and tons of stone, pea gravel or road base.
- Mulch CalculatorBags or bulk yards of mulch for any bed and depth.
- Cubic Yard CalculatorConvert any box or round volume to cubic yards.