Roof Pitch Calculator
Type a roof pitch as the rise for every 12 of run, as an angle in degrees or as a percent slope, and get all three. Add the width and length of the building and the overhang to get the rafter length, the height of the ridge above the walls and the area of the roof, with a waste allowance and the number of roofing squares. Use feet or meters. A table of the common pitches from 2 in 12 to 12 in 12 sits below. Everything runs in your browser.
| Pitch | Angle | Percent | Slope factor |
|---|---|---|---|
| 2 : 12 | 9.46 deg | 16.7% | 1.0138 |
| 3 : 12 | 14.04 deg | 25% | 1.0308 |
| 4 : 12 | 18.43 deg | 33.3% | 1.0541 |
| 5 : 12 | 22.62 deg | 41.7% | 1.0833 |
| 6 : 12 | 26.57 deg | 50% | 1.118 |
| 7 : 12 | 30.26 deg | 58.3% | 1.1577 |
| 8 : 12 | 33.69 deg | 66.7% | 1.2019 |
| 9 : 12 | 36.87 deg | 75% | 1.25 |
| 10 : 12 | 39.81 deg | 83.3% | 1.3017 |
| 12 : 12 | 45 deg | 100% | 1.4142 |
Pitch is the rise for every 12 units of horizontal run, so 6 : 12 climbs 6 for every 12. The angle is the arctangent of rise over run, and the percent slope is rise over run times 100. The slope factor, the square root of 1 + (rise / run) squared, is how much longer the sloping surface is than its footprint, so the roof area is the footprint times the slope factor. This works when every plane has the same pitch, as on a gable or hip roof, and it counts the overhang as part of the footprint. The rafter length is measured along the top edge from the ridge line to the end of the overhang, so the cut length is a little less once the ridge board and the notch at the wall are allowed for. Dormers, valleys and cut-offs add area and waste, so the waste allowance is yours to choose. Everything runs in your browser.
Related Tools
[5 suggestions]Stair Calculator: Risers, Treads, Run and Stringer Length
Work out the number of risers, the riser height, the tread depth, the total run, the angle and the stringer length of a staircase from its total rise.
Math & MoneyPythagorean Theorem Calculator
Find the missing side, angles, area and perimeter of a right triangle from any two values, and see whether the sides form a Pythagorean triple.
Student ToolsSlope Calculator
Find the slope, equation, intercepts, distance and midpoint of the line through two points, with exact fractions.
Student ToolsTriangle Calculator
Solve any triangle from three values (SSS, SAS, ASA, AAS or SSA) and get every side and angle, the area, perimeter, type and circle radii.
Student ToolsBoard Foot Calculator: Lumber Volume, Waste and Cost
Work out the board feet in a stack of lumber from its thickness, width and length, add a waste allowance, and get the cost at your price per board foot.
Math & MoneyAbout the Roof Pitch Calculator
Pitch is the steepness of a roof. In North America it is written as the rise for every 12 units of horizontal run, so a roof that climbs 6 for every 12 is a 6 in 12 pitch, written 6:12. The angle is the arctangent of rise over run, so 6:12 is 26.57 degrees, 4:12 is 18.43 degrees, 8:12 is 33.69 degrees and 12:12 is 45 degrees. The percent slope is rise over run times 100, so 6:12 is 50 percent. The slope factor is the square root of 1 plus the rise over run squared, which is 1.118 at 6:12. It shows how much longer the sloping surface is than the ground it covers. For a building 30 feet wide and 40 feet long at 6:12 with a 1 foot overhang, the half span plus the overhang is 16 feet of run, so the rafter measures 17.89 feet along its top edge and the ridge stands 7.5 feet above the walls. The footprint with the overhang is 32 by 42 feet, which is 1,344 square feet, so the roof area is 1,344 times 1.118, about 1,503 square feet, or 15 roofing squares of 100 square feet. With a 10 percent waste allowance that is 1,653 square feet. The area method works when every plane has the same pitch, as on a gable or hip roof. Some older books use pitch for the rise over the whole span, so a pitch of 1/4 is a 6:12 slope. This tool uses the x:12 form. Valleys, dormers and cut-offs add waste, and the allowance is yours to choose.
How do you calculate roof pitch?▾
Divide the rise by the run and multiply by 12. A roof that rises 6 feet over a run of 12 feet has a pitch of 6:12, an angle of 26.57 degrees and a slope of 50 percent.
What does a 6/12 pitch mean?▾
It means the roof rises 6 inches for every 12 inches of horizontal run. The angle is 26.57 degrees and the slope factor is 1.118, so the sloping surface is about 12 percent longer than the ground it covers.
How do I find the rafter length?▾
Take half the building width as the run and multiply it by the slope factor, which is the square root of 1 plus the rise over run squared. For a 30 foot wide building at 6:12 the rafter is 16.77 feet to the wall, or 17.89 feet with a 1 foot overhang.
How do I find the roof area?▾
Multiply the footprint, including the overhang, by the slope factor. A 30 by 40 foot building with a 1 foot overhang has a footprint of 1,344 square feet, so at 6:12 the roof is about 1,503 square feet, or 15 roofing squares.
Is my data uploaded?▾
No. The calculation runs in your browser and nothing you enter is sent anywhere.