Roof pitch calculator: pitch, angle, slope percentage and roof area
Enter the rise and run of a roof to get its pitch in inches per foot, its angle in degrees, the slope as a percentage and the rafter factor, and turn a floor footprint into roof area and roofing squares.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Roofers describe slope as rise over a 12 unit run, such as 6/12, while plans, apps and solar installers may use degrees or percent. This calculator converts any rise and run into all three, gives the rafter factor that turns horizontal distances into sloped lengths, and multiplies a house footprint by that factor to estimate the actual roof surface and the number of roofing squares.
How to use it
- Enter the rise and the run in the same unit. For a standard pitch such as 6/12, enter 6 and 12.
- If you measured with a level, enter the rise over any run you used, for example 3.5 over 10.
- Optionally enter the footprint area the roof covers, including the overhangs.
- Run it to see the pitch per 12, the angle, the percentage, the rafter factor and, with a footprint, the roof surface.
How the calculation works
Pitch per 12 is rise ÷ run × 12, the angle is the arctangent of rise ÷ run and the percentage is rise ÷ run × 100. The rafter factor is the length of the sloped side divided by the run, √(rise² + run²) ÷ run, so a 6/12 roof is about 11.8% longer along the slope than across the plan. Roof surface is footprint × factor, and a roofing square is 100 square feet.
pitch = rise ÷ run × 12; angle = atan(rise ÷ run); factor = √(rise² + run²) ÷ run; roof area = footprint × factorWorked example
A bungalow has a 4/12 roof over a 2,000 sq ft footprint including eaves. The pitch is 18.43° or a 33.33 % slope, the rafter factor is 1.0541, and the sloped roof surface is about 2,108.2 sq ft, or 21.08 roofing squares before any allowance for waste, ridges and starter rows.
Sample input and result
6/12 pitch: 26.57°, 50% slope, factor 1.118; 1,500 sq ft footprint = 1,677.1 sq ft of roof
Limitations
- One pitch for the whole roof. Measure hip, valley and dormer sections separately and add them.
- Roof surface is an estimate for planning; it does not include waste, ridge caps, starter strips or flashing.
- It does not check structural loads, snow loads or local code minimums.
Last updated:
Frequently asked questions
What does a 6/12 pitch mean?
The roof rises 6 units for every 12 units of horizontal run, which is about 26.6 degrees or a 50% slope.
Can I enter the pitch in metres or centimetres?
Yes. Rise and run only need the same unit, because the pitch is a ratio. The footprint area can be in square feet or square metres and the roof area comes back in the same unit.
Is my roof too flat for shingles?
Shingle makers set a minimum pitch and often ask for extra underlayment on shallow roofs, and building codes add their own rules. Compare the pitch shown here with the product instructions and your local code before you buy.
How do I measure pitch without going on the roof?
Hold a level horizontally against a rafter end in the attic or at the gable, measure 12 inches along the level and then the vertical distance up to the underside of the rafter.
Does the footprint include overhangs?
It should, because the roof covers the eaves and rakes too. Measure the outside of the drip edge rather than the walls.
Troubleshooting
It says to enter a run greater than 0.
The run is the horizontal distance and cannot be zero. A rise of 0 is allowed and gives a flat roof.
The squares line looks wrong for metric.
Roofing squares assume square feet. With a footprint in square metres, use the roof surface line, which is in square metres.
My plans give the angle in degrees.
Use the angle converter or enter rise = tan(angle) × 12 and run = 12; for example 30° is a rise of about 6.93.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Square footage calculator for rooms and floors
Add up the area of up to three rooms or sections in square feet and square metres, include extra for waste and estimate the cost of flooring or other materials.
Home & DIYConcrete calculator: cubic yards, cubic metres and bags
Estimate the concrete needed for a slab, patio, footing or round post hole in cubic yards and cubic metres, and how many premix bags to buy.
Home & DIYPaint calculator: how much paint for a room
Work out how many litres or gallons of paint a room needs from its size, the number of doors and windows, coats and whether you are painting the ceiling.
Home & DIY