Roof Pitch Calculator

Guide

How to Calculate Roof Pitch

You can calculate roof pitch with nothing more than a rise, a run and a calculator, and the same two numbers unlock degrees, slope percent, rafter length and roof area. The core formula is pitch = rise ÷ run × 12, and every other roof measurement builds on it. This guide works through each formula step by step with real numbers, then shows how to handle spans, wall heights, angles and common mistakes.

By Wajiha Shoaib KhanUpdated 4 min read

RunRisePitch = rise ÷ run × 12

The roof pitch formula

Pitch describes how many inches a roof rises for every 12 inches of horizontal run. If you know any rise and its matching run, scale the ratio to a run of 12:

Pitch = rise ÷ run × 12

Rise and run must be in the same unit. Measure both in inches, or both in feet, and the units cancel out.

Example: a roof rises 5 ft over a 10 ft run. 5 ÷ 10 × 12 = 6, so the pitch is 6/12. A roof that rises 32 in over 8 ft (96 in) is 32 ÷ 96 × 12 = 4/12.

The quickest way to run these numbers is the roof pitch calculator, which also handles feet-and-inches input and draws the result.

Step by step: from tape measure to pitch

  1. Find the rise. Measure the vertical distance from the top of the wall plate to the line where the rafters meet the ridge. On an existing roof you can measure a small rise instead, such as the rise over a 12 in level in the attic.
  2. Find the matching run. Measure the horizontal distance the rise happens over. On a gable roof that's half the span, from the outside of the wall to the center of the ridge.
  3. Divide and multiply. Rise ÷ run × 12.
  4. Round sensibly. Field measurements are never perfect. A result of 5.9/12 is almost certainly a 6/12 roof.

If you're on site and need a quick reading, our guide on how to measure roof pitch covers the level-and-tape method from the attic or the roof surface.

Converting pitch to degrees and percent

Angle = arctan(pitch ÷ 12)

Pitch from angle = 12 × tan(angle)

Slope % = pitch ÷ 12 × 100

A 4/12 roof is arctan(0.333) = 18.43° and a 33.3% slope. A 30° roof is 12 × tan(30°) = 6.93/12. Set your calculator to degrees before you use tan or arctan. The roof pitch to degrees calculator does the conversion both ways and includes a full table.

Calculating pitch from a span and ridge height

On a gable roof the ridge height and the building width are often easier to find than a run.

  • Run = span ÷ 2
  • Pitch = ridge rise ÷ run × 12

A 30 ft wide house with the ridge 7 ft 6 in above the plates has a 15 ft run: 7.5 ÷ 15 × 12 = 6/12.

Calculating pitch from two wall heights

For a lean-to or single-slope roof, the rise is the difference between the walls.

  • Rise = high wall − low wall
  • Run = level distance between the walls

A 10 ft wall and an 8 ft wall, 8 ft apart: (10 − 8) ÷ 8 × 12 = 3/12. Measure both walls to the same framing point, usually the top of the plates, or the answer will be off.

Rafter length from pitch

Once you know the pitch, the pitch multiplier turns any horizontal distance into a length along the slope.

Multiplier = √(12² + pitch²) ÷ 12

Rafter length = (run + overhang) × multiplier

Example: a 14 ft run at 4/12 with an 18 in overhang. The multiplier is √(144 + 16) ÷ 12 = 1.054. The rafter is (14 + 1.5) × 1.054 = 16.34 ft. To turn that into a cut length, take off half the ridge board's thickness (measured level, so multiply it by 1.054 too) and allow for the plumb and tail cuts.

You can also get the rafter length straight from the Pythagorean theorem: √(rise² + run²). For a 14 ft run with a 4 ft 8 in rise, √(4.667² + 14²) = 14.76 ft, the same answer as 14 × 1.054.

Roof area from pitch

Multiply the building's footprint, including the overhangs, by the same multiplier.

Example: a 1,500 sq ft footprint at 6/12 is 1,500 × 1.118 = 1,677 sq ft, or 16.8 roofing squares. Add a waste allowance before ordering, more for hips and valleys than for a plain gable.

Common calculation mistakes

Mistake What happens Fix
Using the full span as the run on a gable Pitch comes out half as steep as it is Halve the span
Mixing inches and feet Pitch is off by a factor of 12 Convert both to one unit first
Measuring along the slope instead of level Run is too long, pitch too low Measure the run horizontally
Calculator in radians Angle is wildly wrong Switch to degrees
Measuring to the shingles at one end and the framing at the other Rise is inconsistent Use the same reference at both ends

A quick sanity check

Most US houses fall between 4/12 and 9/12. If your number comes out at 1/12 or 18/12 for an ordinary house, recheck your measurements before you order anything. The roof pitch chart shows what each pitch looks like in degrees and multipliers, which makes a wrong answer easy to spot.

What is the formula for roof pitch?

Pitch = rise ÷ run × 12. Rise and run must be in the same unit.

How do I calculate roof pitch in degrees?

Take the arctangent of the pitch divided by 12. For 6/12, arctan(0.5) = 26.57°.

How do I calculate the pitch of a roof from the span?

Halve the span to get the run, divide the ridge rise by that run, and multiply by 12.

Can I calculate roof pitch without going on the roof?

Yes. Measure in the attic with a level and tape, or measure the ridge height and span from plans or the gable end.