Exterior · Roofing

Roof Pitch Calculator

Rise and run, an angle, or span and height: get the pitch, angle, slope, multiplier and rafter length, and which roofing the slope allows.

Code basis: 2021 IRC R905Sources

1 What do you know?
Input
in
in
Measure 12 in. level, then the rise
Units
2 Rafter (optional)
ft
Outside of wall to outside of wall
ft
Pitch
6:12
6.00 in. per foot
Angle
26.57°
50.0% slope
Multiplier
1.1180
Roof area = plan × this
Rafter
16′ 9 1/4″
14.0 ft run + 1 ft overhang, before ridge and plumb cuts
Common pitches
PitchAngleMultiplierHip/valley factor
3:1214.0°1.0311.436
4:1218.4°1.0541.453
5:1222.6°1.0831.474
6:1226.6°1.1181.500
7:1230.3°1.1581.530
8:1233.7°1.2021.563
9:1236.9°1.2501.601
10:1239.8°1.3021.641
12:1245.0°1.4141.732

Pitch, angle and slope are the same thing

Builders in the U.S. describe a roof by its pitch: inches of rise for every 12 in. of horizontal run, written 6/12 or 6:12. Engineers use the angle, and some plans give slope as a percentage. They all describe the same triangle, and the calculator converts between them.

run = 12 in.riseanglerafter = run × multiplier
Pitch is rise over a 12 in. run; the rafter is the hypotenuse, so its length is the run times the pitch multiplier.
Pitch (x/12) = rise ÷ run × 12 Angle = arctan(pitch ÷ 12) Slope % = pitch ÷ 12 × 100 Multiplier = √(1 + (pitch ÷ 12)²) Hip factor = √(2 + (pitch ÷ 12)²) (hip or valley length per foot of common run) Rafter = (half span + overhang) × multiplier

Worked example

A gable is 28 ft wide and rises 7 ft from the wall plates to the ridge. Run = 14 ft, so pitch = 7 ÷ 14 × 12 = 6/12, angle 26.57°, slope 50%, multiplier 1.118. With a 1 ft overhang, the common rafter is (14 + 1) × 1.118 = 16.77 ft (16′ 9¼″) before the ridge and plumb cuts, so it comes out of an 18 ft board.

What the pitch decides

  • Roofing material: each has a minimum slope in IRC R905: 2/12 for asphalt shingles, 2½/12 for tile, 3/12 for wood shingles, 4/12 for shakes, and much lower for standing-seam metal.
  • Underlayment: asphalt shingles from 2/12 to under 4/12 need a double layer.
  • Labor: at 8/12 and steeper, crews need roof jacks and fall protection, and most contractors charge more.
  • Material quantity: a 12/12 roof has 41% more area than its footprint; a 4/12 roof only 5% more.

Measuring tips

  • Measure from a rafter in the attic when you can; shingles and ridge vents make the outside surface uneven.
  • A phone level app works if you lay the phone on a straight board resting on the roof, not on the shingles directly.
  • Different parts of a house can have different pitches. Measure each plane you plan to price.

Next: turn the pitch into squares and bundles with the roofing calculator.

Common pitches and where you see them

Low pitches from 3/12 to 4/12 are common on ranch houses and porches; 5/12 to 7/12 is the typical range for suburban gable roofs; 8/12 to 12/12 shows up on colonials, Cape Cods and steep-roofed styles where the attic becomes living space. Very low slopes on additions and porches are where leaks happen most, because shingles there are near their minimum slope.

Pitch from a photo or plan

Plans often state pitch directly (for example “6:12”). On a gable you can photograph square-on, measure the rise and half the width in the same units on the image; the ratio is the same as the real roof.

Questions people ask

What is a 6/12 roof pitch in degrees?
arctan(6 ÷ 12) = 26.57°. A 4/12 roof is 18.43°, 8/12 is 33.69° and 12/12 is exactly 45°.
How do I measure roof pitch?
From the attic or a ladder at the rake, hold a level horizontally against the roof surface or a rafter, mark 12 in. along it, and measure straight up (or down) to the roof from that mark. That vertical distance is the rise per 12. From the ground, you can measure a gable’s rise and half its width and enter them as span and height.
What is the roof pitch multiplier?
The ratio of sloped length to horizontal run: √(1 + (rise ÷ 12)²). Multiply a plan area by it to get the actual roof area, or a horizontal run to get a rafter length. At 6/12 it is 1.118, so a roof is about 12% bigger than its footprint.
What is the minimum pitch for shingles?
2/12 under IRC R905.2.2, with two layers of underlayment up to 4/12. Below 2/12 you need a low-slope roofing system, or standing-seam metal rated for the slope.
How do I calculate rafter length?
Multiply the horizontal run (half the building span, plus the level overhang) by the pitch multiplier. For a 28 ft span with a 1 ft overhang at 6/12: (14 + 1) × 1.118 = 16.77 ft. Subtract half the ridge board thickness and add your plumb and seat cuts when you lay it out.

Sources

  1. 2021 International Residential Code (IRC) — International Code Council, checked Nov 2026.

Related calculators

All exterior tools →