ProBuildermuse Pro is live — Fire sale: Pro for $1.99/mo.Get Pro
Buildermuse
Residential

How to Calculate Roof Pitch: Rise, Run, and Rafter Length

Mike Callahan·June 30, 2026·Updated October 29, 2026·12 min read

Share this with your estimator.

How to Calculate Roof Pitch: Rise, Run, and Rafter Length

A surprising share of the callbacks I get from drywall and trim crews trace back to a roofline that does not match the plan, and most of those trace back to a pitch that got miscalculated or misread on the job site. You would think calculating roof pitch is simple. Rise over run, right? Here's the deal: it is not complicated, but it has to be exact. A pitch error changes the rafter length, the ridge height, the roof area you are buying shingles for, and whether the shingle you ordered is even allowed on the slope you framed.

I am walking you through the math, the formulas and worked examples so you never leave money on the jobsite again. An earlier version of this article had several code citations and material prices that did not hold up when I checked them; those are corrected below.

Understanding Roof Pitch: Rise-Over-Run Math

Pitch is expressed as a ratio of rise to run over a 12-inch horizontal distance. When you hear "6/12 pitch," that means 6 inches of vertical rise for every 12 inches of horizontal run. The denominator is always 12; that is the convention in residential framing and in the International Residential Code's roof covering tables.

The formula is dead simple:

Pitch = Rise ÷ 12 (horizontal run)

A blueprint that calls for a 7/12 pitch is 7 inches up for every foot over. A 5/12 is 5 inches up per foot. The higher the numerator, the steeper the roof. Most residential homes run between 4/12 and 12/12. Anything below 4/12 is low-slope territory for shingles and triggers extra underlayment (more on that below). Anything over 12/12 is a steep specialty roof.

Here is what trips up crews: rise and run are sometimes measured at different points. To express pitch, standardize the run to 12 inches. If you measure a roof that climbs 4 inches in 6 inches of horizontal distance, multiply both by 2 to get 8/12. Same pitch, different measurement points.

Converting Pitch to Degrees

Pitch is not only expressed as a ratio. Architects and engineers also use degrees. If the plan says "25 degrees" and your foreman thinks that is a 6/12, you are off. A 6/12 pitch is 26.57 degrees. The difference is small but it compounds over a 20-foot run.

The conversion uses the inverse tangent (arctan):

Angle in degrees = arctan(rise ÷ run)

Or simpler: use a calculator. But here is the practical version to carry in your head: a 4/12 is 18.4 degrees. A 6/12 is 26.6 degrees. An 8/12 is 33.7 degrees. A 12/12 is 45 degrees. Memorize those four and you will catch most spec errors on the fly.

Why does this matter beyond reading plans? Because the shingle and tile manufacturers and the code both set slope limits, and they express them as ratios. GAF's installation instructions say its shingles must be installed on slopes of 2/12 or greater, and both GAF and Owens Corning treat 2/12 up to (but not including) 4/12 as a low-slope installation that requires a different underlayment procedure, either a double layer of underlayment or a self-adhered leak barrier over the whole deck. Go below 2/12 and no asphalt shingle manufacturer will stand behind the roof.

Calculating Rafter Length: The Pythagorean Theorem

Once you lock in pitch, you need rafter length. This is where math meets framing, and a 1-inch error compounds across 20 or 30 rafters. The rafter runs from the wall plate to the ridge. It is the hypotenuse of a right triangle: the rise is vertical, the run is horizontal, and the rafter is the diagonal.

Rafter length = √(rise² + run²)

But here is the trick: the "run" in this formula is not the pitch denominator. It is the horizontal distance from the outside of the wall plate to the center of the ridge, which on a simple gable is half the building width (less half the ridge thickness, which we will ignore here for clarity). If your house is 40 feet wide, the run is 20 feet. If it is 30 feet wide, the run is 15 feet.

Let me work through a real example. Say you are framing a 40×30 house with a 6/12 pitch, ridge running the long way:

  1. Building width: 30 feet = 360 inches
  2. Run (wall to ridge): 360 ÷ 2 = 180 inches
  3. Pitch is 6/12, so for every 12 inches of run you rise 6 inches
  4. Total rise: (180 ÷ 12) × 6 = 15 × 6 = 90 inches = 7 feet 6 inches
  5. Rafter length: √(90² + 180²) = √(8,100 + 32,400) = √40,500 = 201.2 inches = 16 feet 9-1/4 inches

That is the line length from plate to ridge. You also need overhang. If the plan calls for a 24-inch horizontal eave overhang at a 6/12, the rafter tail adds 24 × 1.118 = 26.8 inches of length: 201.2 + 26.8 = 228 inches, or 19 feet. Order 20-foot stock.

Most crews lay out rafters with a framing square or speed square. A 6/12 on a speed square is the "6" mark. The geometry is baked in. But if you are ordering rafters pre-cut or estimating material, you need the exact length. Run your numbers through our free Roof Pitch Calculator to avoid the inch-off disasters.

How Pitch Drives Material Quantity and Waste

Here is the money side: pitch determines how much roofing material you buy. A steeper roof means more surface area on the same footprint.

The slope factor (also called the pitch multiplier) converts flat footprint area to actual roof area. It is simply the rafter length per foot of run: √(rise² + 12²) ÷ 12.

Roof area = footprint area × slope factor

Pitch Slope factor Degrees
3/12 1.031 14.0
4/12 1.054 18.4
5/12 1.083 22.6
6/12 1.118 26.6
7/12 1.158 30.3
8/12 1.202 33.7
10/12 1.302 39.8
12/12 1.414 45.0

Note that a 6/12 roof has about 6% more area than a 4/12 on the same footprint (1.118 ÷ 1.054), not 20% as an earlier version of this article claimed. The big jumps come at steep pitches: a 12/12 roof is 41% larger than its footprint.

Back to our 40×30 house with a 6/12 pitch:

  1. Base footprint: 40 × 30 = 1,200 square feet
  2. Slope factor for 6/12: 1.118
  3. Actual roof area: 1,200 × 1.118 = 1,341.6 square feet (ignoring overhangs; add them to the footprint if the eaves are more than a foot)

Now shingles. Standard three-bundle-per-square shingles cover 33.3 square feet per bundle, 100 square feet per square.

  1. Base bundles: 1,341.6 ÷ 100 = 13.4 squares = 40.2 bundles
  2. Plus 10% waste: 40.2 × 1.10 = 44.2, so 45 bundles
  3. Hip and ridge: the ridge on this gable is 40 feet plus any gable overhang, call it 44 feet. Owens Corning hip-and-ridge shingles cover 33 linear feet per bundle, so that is 2 bundles.

Total: 47 bundles. At the roughly $41 per bundle Home Depot was listing GAF Timberline HDZ at in October 2026, that is about $1,930 in shingles. If you thought the roof was a 4/12 and it is really a 6/12, you would have ordered 42 field bundles and shown up three short, which is a trip to the supplier and a crew waiting. Not a disaster, but on a steeper mistake (an 8/12 read as a 6/12) you are short eight percent of the roof.

Metal roofing raises the stakes. Panels are cut to length at the factory. If the pitch is wrong, the panel length is wrong, and you cannot stretch a steel panel. Verify pitch in the field before the panel order goes in.

Real-World Example: Gable End with Overhang

Let me walk the full calculation for a 24×16 addition with a 7/12 pitch, ridge running the 24-foot direction, and an 18-inch eave overhang.

Step 1: Measure the width and lock pitch

  • Building width (perpendicular to ridge): 16 feet = 192 inches
  • Pitch: 7/12

Step 2: Calculate total rise

  • Run: 192 ÷ 2 = 96 inches
  • Rise: (96 ÷ 12) × 7 = 8 × 7 = 56 inches = 4 feet 8 inches

Step 3: Calculate rafter length (plate to ridge)

  • Rafter = √(56² + 96²) = √(3,136 + 9,216) = √12,352 = 111.1 inches = 9 feet 3-1/8 inches

Step 4: Add overhang

  • 18-inch horizontal overhang × 1.158 slope factor = 20.8 inches of tail
  • Total rafter length: 111.1 + 20.8 = 131.9 inches = 11 feet, so order 12-foot stock

Step 5: Calculate roof area for material

  • Footprint including 18-inch eaves: 24 × 19 = 456 square feet
  • Slope factor for 7/12: 1.158
  • Roof area: 456 × 1.158 = 528 square feet, about 5.3 squares
  • Shingles: 5.3 squares × 3 = 15.8 bundles + 10% waste = 17.4, so 18 bundles
  • Hip and ridge: 24 feet plus gable overhangs, 1 bundle

This is where precision pays. You order 18 field bundles and 1 ridge bundle, nobody runs short mid-day, and you are not returning a stack of unopened bundles either.

Code Limits on Pitch

The International Residential Code does not set a single minimum roof pitch. It sets a minimum slope per roof covering in Chapter 9, and the manufacturer's installation instructions govern on top of that. The ones that matter most for residential work (2021 IRC section numbers; your jurisdiction's adopted edition may differ):

  • Asphalt shingles: minimum 2/12 (R905.2.2). From 2/12 up to 4/12, the code requires double underlayment applied per the underlayment section, and the manufacturers say the same thing. Below 2/12, shingles are not permitted.
  • Clay and concrete tile: minimum 2-1/2/12 (R905.3.2), with underlayment requirements that step up on slopes below 4/12.
  • Metal roof panels: depends on the seam (R905.10.2). Lapped, non-soldered seams without lap sealant need 3/12; with lap sealant, 1/2/12; standing seam can go down to 1/4/12.
  • Built-up and membrane roofs: 1/4/12 design slope for drainage (R905.9.1 for built-up), which is the "flat" roof territory handled with tapered insulation and drains.

Two things an earlier version of this article got wrong and I want to be clear about: the IRC does not require extra "wind bracing" at 7/12 and steeper (R802.11 is about uplift connections, not pitch), and it does not change attic ventilation requirements by pitch (R806 ventilation rules apply regardless of slope). Wind exposure changes your fastening schedule and uplift connections, not your rise-over-run math.

Frequently Asked Questions

What's the most common residential pitch, and why?

In my market, 6/12 and 8/12 are the workhorses, and 6/12 is the sweet spot for a lot of production work. It is steep enough to shed water and snow, shallow enough to keep ridge heights and rafter lengths reasonable, and walkable for the roofers. Steeper pitches above 8/12 cost more in framing labor and roofing labor because the crew is working on staging and roof jacks instead of walking the deck.

Can I mix pitches on the same roof?

Yes, and architects do it all the time. The addition might be 6/12 while the main house is 8/12. Calculate each section independently. The intersections are where it gets tricky: valleys between different pitches are not symmetrical, the valley flashing and underlayment have to be detailed per the manufacturer and R905, and cutting shingles into an off-angle valley wastes more material. Carry extra waste on mixed-pitch roofs.

Does wind speed affect pitch calculations?

Not the math. Wind affects the fastening schedule, the uplift connections at the plate and ridge (R802.11), and in high-wind regions the shingle nailing pattern and the shingle's wind rating. Your rise-over-run and rafter length are the same in Kansas and on Cape Cod.

What if the existing house has an irregular pitch?

Two different slopes on the same ridge are common on older colonials and Victorians. Calculate each slope separately with the same formulas. The ridge still has to be level; what changes is the plate height or the wall height on one side. If you are tying into an existing irregular roof, get a structural engineer involved before you cut a rafter.

How do I verify pitch in the field?

Put a level on the top of a rafter or the sheathing, mark 12 inches along the level, and measure straight down to the roof surface. That measurement in inches is your pitch. A speed square with a degree scale works too: a 6/12 reads about 26.5 degrees. Verify before the sheathing goes on. Once plywood is nailed, you are committed.

What happens if my pitch is too shallow for the shingles I ordered?

Below 2/12, you cannot use asphalt shingles at all; the manufacturer will not warrant it and the code does not allow it. Between 2/12 and 4/12, you can still shingle, but you have to install the low-slope underlayment system (double layer or full self-adhered membrane per the manufacturer) and expect the shingles to look a little different. Frame it right the first time and this never comes up.

Your Action Item for This Week

Pull your three most recent framing plans and verify the pitch spec. Convert each from rise-over-run to degrees using arctan (or a calculator) and check that spec against your rafter cutlist. If there is a discrepancy, recalculate your material orders before next week's lumber delivery.

If you are ordering for a new project this month, run your numbers through our free Roof Pitch Calculator. Plug in the building width, overhang and pitch. It gives you rafter length and roof area in seconds. Compare the rafter length to your cutlist. If it is off by more than half an inch, there is either a calculation error or a spec mismatch on the plan.

Finally, read the installation instructions for the shingle you are specifying. GAF, Owens Corning and CertainTeed all publish the minimum slope and the low-slope underlayment procedure. If the plan is near 4/12, know which side of that line you are on before you order underlayment.

Check out our article on roof tear-off season and material waste for how pitch errors turn into waste on the back end. And before you frame to a code edition, verify which one your jurisdiction has adopted; our guide to the 2024 IRC changes residential builders need to know covers what moved in the current edition.

MC

Mike Callahan

20-Year General Contractor

More from Mike Callahan→
attach_money

Track material prices for your next project

Lumber, rebar, concrete, and more — live BLS pricing updated monthly.

Track prices free