Skip to calculator
SimpleMaterialCalc
Menu

Roof Pitch Calculator: Pitch, Angle & Rafters

Enter a rise and run, a pitch like 6/12, or an angle. Get the pitch, the angle in degrees, the slope percent and the pitch factor, plus the common rafter length and ridge height for a gable roof.

One-Click Project Starters

Fills Zone A

Roof Sections

1 zone

Project Results

1 zone

Pitch

0 /12

Enter a pitch

Angle

0 degrees

Slope

0 %

Rise ÷ run × 100

Pitch Factor

0 ×

Sloped length per foot of level run

Rafter Length

—

Plate to ridge line, with overhang

Ridge Rise

—

Above the top plates

The link reopens this exact estimate: every zone, setting and price.

Collect estimates from several calculators on one page to print or send.

Spot a mistake? Report a correction

Rafter length is for a common rafter on a gable roof, measured along the top edge to the ridge line; take off half the ridge board and add for the plumb cut. Shingle slope limits follow the International Residential Code (R905.2.2); check your local code and the shingle maker's instructions.

Field Guide

How to Calculate Roof Pitch, Angle & Rafter Length

Quick answer: Pitch = rise ÷ run × 12, written as inches of rise per 12 in of run. A roof that rises 6 in for every 12 in is a 6/12 pitch: 26.57°, a 50% slope, with a pitch factor of 1.118. Rafter length = (half the span + overhang) × pitch factor.

Roof pitch decides which roofing you can use, how much material you need, and how long the rafters are. Here's how to measure it and convert it.

1. How to Measure Roof Pitch

  1. Mark 12 in from one end of a level (a 2 ft or longer level is easiest).
  2. Set that end against the roof, or the underside of a rafter in the attic, and hold the level perfectly level.
  3. At the 12 in mark, measure straight down to the roof. That's the rise: 6 in means a 6/12 pitch.

You can also measure a longer rise and run, such as the height of the ridge above the wall plates and half the building width; choose Rise & Run above and enter both in the same units. Or read the angle with an angle finder and choose Angle.

2. Pitch, Angle & Slope Math

Pitch        = rise ÷ run × 12          5 ft ÷ 10 ft × 12 = 6/12
Angle        = arctan(pitch ÷ 12)       arctan(0.5) = 26.57°
Slope %      = pitch ÷ 12 × 100         6 ÷ 12 × 100 = 50%
Pitch factor = √(144 + pitch²) ÷ 12     √(144 + 36) ÷ 12 = 1.118
Pitch from an angle = 12 × tan(angle)   12 × tan(30°) = 6.93/12

The pitch factor turns level measurements into sloped ones. Multiply a footprint by it to get the roof area, or a level run by it to get a rafter length. The Roofing Calculator uses it to count squares and bundles of shingles.

3. Roof Pitch Chart

Roof pitch to angle, slope percent and pitch factor
PitchAngleSlopeFactor
1/124.76°8.3%1.003
2/129.46°16.7%1.014
3/1214.04°25.0%1.031
4/1218.43°33.3%1.054
5/1222.62°41.7%1.083
6/1226.57°50.0%1.118
7/1230.26°58.3%1.158
8/1233.69°66.7%1.202
9/1236.87°75.0%1.250
10/1239.81°83.3%1.302
11/1242.51°91.7%1.357
12/1245.00°100.0%1.414
14/1249.40°116.7%1.537
16/1253.13°133.3%1.667
18/1256.31°150.0%1.803

Asphalt shingles need at least 2/12, with double underlayment up to 4/12 (IRC R905.2.2). Below 2/12, use a low-slope membrane roof.

4. Rafter Length

For a common rafter on a gable roof, the run is half the building span. Add the overhang (measured level), then multiply by the pitch factor.

24 ft span, 6/12 pitch, 12 in overhang
Run         = 24 ÷ 2 = 12 ft
Rafter      = (12 + 1) × 1.118 = 14.53 ft = 14′ 6⅜″
Ridge rise  = 12 × 6 ÷ 12 = 6 ft above the plates

That length runs along the top edge to the ridge line. Take off half the ridge board's thickness (¾ in for a 1½ in ridge board) and buy the next standard length up, here 16 ft. Rafter size and spacing depend on the span and the snow load; use your local code's span tables or your plans.

5. Frequently Asked Questions

How do you calculate roof pitch?

Divide the rise by the run and multiply by 12: pitch = rise ÷ run × 12. A roof that rises 5 ft over a 10 ft run is 5 ÷ 10 × 12 = 6, a 6/12 pitch. On the roof, hold a level 12 in out from the surface and measure straight down at the 12 in mark: that number of inches is the pitch.

What angle is a 6/12 roof pitch?

A 6/12 pitch is 26.57° (arctan of 6 ÷ 12), a 50% slope. Other common pitches: 4/12 is 18.43°, 5/12 is 22.62°, 7/12 is 30.26°, 8/12 is 33.69°, 9/12 is 36.87°, 10/12 is 39.81° and 12/12 is 45°.

How do I convert roof pitch to degrees?

Divide the pitch by 12 and take the arctangent: angle = arctan(pitch ÷ 12). For 8/12, 8 ÷ 12 = 0.667 and arctan(0.667) = 33.69°. To go back, pitch = 12 × tan(angle): 30° is 12 × 0.577 = 6.93/12, about a 7/12.

What is the difference between roof pitch and roof slope?

They describe the same steepness in different ways. Pitch is usually written as rise per 12 in of run (6/12, "six in twelve"). Slope is often given as a percent (rise ÷ run × 100, so 6/12 is 50%) or as an angle in degrees (26.6°). Some people also call the pitch the slope; this calculator shows all three.

What is a pitch factor?

The pitch factor is how much longer the sloped roof is than its level run: √(144 + pitch²) ÷ 12. A 6/12 roof has a factor of 1.118, so a rafter with a 12 ft run is 12 × 1.118 = 13.42 ft long, and a roof over 1,000 sq ft of level area has 1,118 sq ft of surface. Roofers use it to turn a footprint into squares of shingles.

How do I calculate rafter length?

Take half the building span as the run, add the level overhang, and multiply by the pitch factor. A 24 ft wide building with a 6/12 roof and a 12 in overhang: (12 + 1) × 1.118 = 14.53 ft, or 14′ 6⅜″. That runs to the ridge line, so take off half the ridge board's thickness, and buy the next standard length up (16 ft) to allow for the cuts.

What is the minimum roof pitch for shingles?

The International Residential Code (R905.2.2) allows asphalt shingles on roofs of 2/12 or steeper. From 2/12 up to 4/12 they need a double layer of underlayment. Below 2/12, use a low-slope roof such as a membrane or roll roofing. Many shingle makers set their own limits, so check the bundle.

What is the most common roof pitch?

Most houses in the US have a pitch between 4/12 and 9/12, with 6/12 one of the most common. Lower pitches suit porches, sheds and wide ranch houses; steeper ones shed snow and rain faster and leave room in the attic.

How do I find my roof pitch without going on the roof?

Measure a rafter in the attic or at the gable end: hold a level against the underside of a rafter and measure the rise at 12 in. You can also measure from the ground: a phone angle-finder app held against the rake board gives the angle, which you can enter as Angle above.

0/12 pitch

0° angle

Full Totals
Order summary copied!