Skip to content

Roof Pitch Calculator

Your roof’s pitch from a rise over a level, the span or the angle, drawn as a gable.

A roof’s pitch from a rise over a level, the span and height, or the angle: in twelfths, degrees and percent, drawn as a gable you can drag, with the roof coverings each pitch allows.

What you measured

in
in

Hold a level flat against the roof or a rafter, mark 12 in along it, and measure straight down from the mark to the roof.

More optionsdrawn over a 24 ft span, 12 in overhang
ft
in

ExampleRoof pitch

6/12pitch

26.6°, a 50% grade: every foot of run takes 1.118 ft of roof.

Enter yours to see your result.

12626.6°Span 24 ftRise 6 ft12 in overhang
A gable at 6/12: for every 12 in across, the roof climbs 6 in. Drag the ridge to try another pitch.
Angle
26.6°
Grade
50%
Slope factor
1.118

What can go on 6/12 · informational

  • Standing seam metal: allowed0.25/12 and steeper R905.10.2
  • Mineral-surfaced roll roofing: allowed1/12 and steeper R905.5.2
  • Asphalt shingles: allowed2/12 and steeper R905.2.2
  • Clay and concrete tile: allowed2.5/12 and steeper R905.3.2
  • Metal shingles: allowed3/12 and steeper R905.4.2
  • Wood shingles and shakes: allowed3/12 and steeper R905.7.2, R905.8.2
  • Slate: allowed4/12 and steeper R905.6.2

Minimum slopes from the IRC’s section R905, as adopted in the 2025 California Residential Code. The roofing maker’s instructions and your local code decide.

How this works: 2 sources,

How this works

Method

Pitch is the rise for every 12 of level run, so the angle is atan(pitch ÷ 12) and the grade pitch ÷ 12. A common rafter is its run (half the span less half the ridge board, plus the level overhang) times the slope factor √(1 + (pitch ÷ 12)²); a hip on equal pitches runs √2 times as far in plan, so its length is the common run times √(2 + (pitch ÷ 12)²). Roofing minimum slopes are the IRC’s section R905.

How it’s tested

11 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: roof pitch from a rise, a span or an angle, drawn as a gable you can drag, with rafter length, pitch to degrees and hip rafter pages.

Every change on What’s new

How we make toolsReport a mistake

Key facts

  • Roof pitch is the rise in inches for every 12 inches of level run: a roof that climbs 6 in over 12 in is a 6/12 pitch, 26.57° from level.
  • The slope factor √(1 + (pitch ÷ 12)²) turns a run into a rafter length or a plan area into a roof area: 1.118 at 6/12, 1.414 at 12/12.
  • Under the IRC’s section R905, asphalt shingles need at least 2/12 (with a double underlayment up to 4/12), clay and concrete tile 2½/12, wood shingles and shakes 3/12 and slate 4/12.

Source: trigonometry; minimum slopes from IRC R905 as adopted in the 2025 California Residential Code.

All 3 calculators

Pitch · Rafters

Three ways to measure a pitch

With a level: hold a level flat against a rafter, the underside of the roof deck or the roof itself, mark 12 inches along it, and measure square from the level down to the roof at the mark. That number is the pitch: 6 in means 6/12. Any run works if you put it in; the calculator scales it to twelve.

From the building: the span is the width from the outside of one wall to the outside of the other, and the height is from the top of the wall plates to the ridge. Half the span is the run, so a 24 ft wide house with a ridge 6 ft above the plates is 6 ÷ 12 × 12 = 6/12. From a plan or an app that gives the angle, type the degrees instead.

Drag the ridge in the drawing to try other pitches: the angle, grade and slope factor follow, and the list under the answer shows which roof coverings the code allows at that slope.

Sources

The geometry is exact trigonometry. Code minimum slopes are informational: the roofing maker’s instructions and the code your town adopts decide.

Common questions

How do I calculate roof pitch?

Divide the rise by the run and multiply by 12. A roof that rises 4 in over 12 in of level run is 4/12; one that rises 6 ft over a 12 ft run is 6/12.

What is a 6/12 roof pitch in degrees?

26.57°: the angle whose tangent is 6 ÷ 12. 4/12 is 18.43°, 8/12 33.69° and 12/12 exactly 45°.

What is the most common roof pitch?

Pitches between 4/12 and 9/12 cover most houses with shingle roofs. Below 4/12 asphalt shingles need a double layer of underlayment, and below 2/12 they are not allowed.

What is the minimum pitch for shingles?

Under the IRC, asphalt shingles need at least 2/12, with two layers of underlayment from 2/12 up to 4/12. Flatter roofs need roll roofing (1/12) or a membrane or standing-seam metal roof.