Roof Pitch Calculator: Pitch, Angle and Rafter Length

Find roof pitch, angle, slope and rafter length from rise and run, with a roof pitch chart.

Loading calculator...

Roof pitch in short
On this page

How to use the roof pitch calculator

1

Choose what you know

Pick rise and run, a pitch such as 6/12, or a roof angle in degrees.

2

Enter your numbers

For rise and run use the same unit for both, such as inches. For a pitch, enter the rise per 12 inches of run.

3

Add the building width

Enter the width of the building to estimate rafter length for a simple gable roof. Add an overhang in the advanced options if you have one.

4

Read the result

You get the pitch, angle, slope percent, area multiplier, roof type and rafter length, plus a chart of common pitches.

How roof pitch is calculated

Roof pitch compares how high the roof rises with how far it runs. Roofers use inches of rise for every 12 inches of run, because it is easy to measure with a level and a tape. The same triangle gives the angle, the slope percent and the length of the sloped surface.

Pitch, angle and slope

Pitch = rise ÷ run × 12 (written as pitch/12)

Angle = arctangent of (rise ÷ run)

Slope percent = rise ÷ run × 100

Area multiplier = √(1 + (rise ÷ run)²)

The area multiplier is the length of the sloped side divided by the length of the run.

Rafter length

Rafter length = (half the span + overhang) × area multiplier

This is the length along the slope for a simple gable roof, before ridge and cut details.

Worked examples

A 6/12 roof on a 24 ft wide building

Rise 6 and run 12 give a slope of 0.5. Half the span is 12 ft.

12 ft × 1.1180 = 13.42 ft along the slope.

An 8/12 roof with a 1 ft overhang

Rise 8 and run 12. Half the 24 ft span plus 1 ft overhang is 13 ft.

13 ft × 1.2019 = 15.62 ft.

From a 30 degree angle

The slope is the tangent of the angle: tan 30° = 0.5774.

A 30 degree roof is a little steeper than 6/12.

Roof pitch chart

Where a roof pitch calculator helps

Roofing estimates

Get the multiplier you need to turn floor area into roof area. Try the roofing calculator.

Choosing materials

Different roofing materials have minimum pitch limits, so check the manufacturer guidance.

Building and framing

Find rafter lengths and angles before cutting lumber.

Buying or inspecting a home

Understand how steep a roof is from a few measurements.

Measure safely

You can measure rise and run from the attic with a level and a tape, or work from building plans. Walking on a steep or wet roof is dangerous, so hire a professional if you are not sure. Results are estimates, and framing and roofing details should be checked against local building codes.

Roof pitch calculator FAQ

It is a roof that rises 6 inches for every 12 inches of horizontal run. The angle is about 26.57 degrees and the slope is 50%.

Hold a level horizontally against the underside of a rafter, measure 12 inches along the level, then measure straight up or down to the rafter. That vertical distance is the rise per 12.

Divide the rise by 12, then take the arctangent. For 4/12, arctangent of 0.3333 is 18.43 degrees.

It is the factor that converts a flat footprint area into sloped roof area. A 6/12 roof has a multiplier of 1.118, so 1,000 square feet of footprint becomes about 1,118 square feet of roof.

A common definition is a pitch below 4/12. Some roofing materials need a minimum slope, so check the product instructions.

They describe the same steepness in different ways. Pitch is usually written as rise per 12, while slope can be given as a percent or an angle.

Embed this calculator on your website

Free to use on any site. Copy the code below and paste it into an HTML block on your page. Please keep the credit link under the calculator.

Works with WordPress, Wix, Squarespace, Webflow and most site builders that allow HTML. How embedding works.

Estimates, not advice

PureCalculate’s calculators give estimates for planning and education. They aren’t financial, tax or legal advice. Fees and tax rules change, so check the official source before making a decision. Spotted a mistake? Please tell us through the contact page.

More free calculators

Scroll to Top