Woodworking & Carpentry · Calculator

Roof Pitch & Rafter Calculator

This roof pitch calculator converts rise and run, an x/12 pitch, or an angle into pitch, degrees, slope percent and the roof multiplier. Add your building span to get common rafter length with overhang, the board length to buy, and plumb and seat cut angles.

Your roof

in
in
Run measured in
Common rafter
Building span
ft
in
in
in

Span is outside of wall to outside of wall. The overhang is measured level, from the wall to the end of the tail.

26.6°Run 12'Rise 6'RidgeRafter 14' 5-9/16"Overhang 1'
Roof pitch
6/1226.6°
Angle
26.57°
Slope
50.0%
Multiplier (slope factor)
1.118
Footprint x this = roof area
Rafter run
12'
Rise 6'
Rafter length
14' 5-9/16"
173.57 in, with overhang
Board to buy
16 ft
2x8, incl. 3-5/8" for plumb cuts
Plumb cut
26.6°
From square (speed square or miter)
Seat (level) cut
63.4°
From square, 90° to the plumb cut
Line length to ridge center13' 5"
Minus half the ridge (3/4" level)- 13/16"
Plus overhang along the slope+ 1' 1-7/16"
6/12 is a conventional pitch. Standard shingle installation applies.
The math
pitch = 6 / 12 x 12 = 6/12. Angle = atan(6 / 12) = 26.57°. Multiplier = √(1 + (6 / 12)²) = 1.118. Rafter = (144 - 0.75 + 12) x 1.118 = 173.57 in

How to calculate roof pitch

Roof pitch is the inches of rise for every 12 inches of level run. A 6/12 roof climbs 6 inches for each foot you move toward the ridge. Angle and slope percent describe the same thing in different units.

On the roof (the 12 inch level method): hold a 2 ft level flat, with one end touching the roof. Mark 12 inches along the level and measure straight down to the shingles. That number is your pitch.

Without getting on the roof: go into the attic and do the same thing against the underside of a rafter. Or measure from a ladder at the gable end, along the rake board. You can also use a digital angle finder and switch the calculator to Angle mode, or divide the ridge height above the wall plates by half the building span.

Formula
pitch = rise / run x 12
angle = atan(pitch / 12)
slope % = pitch / 12 x 100
multiplier = √(1 + (pitch / 12)²)
pitch = 12 x tan(angle)
Example: a gable rises 3 ft over an 8 ft run. 36 / 96 x 12 = 4.5/12, which is 20.56° and a multiplier of 1.068.

Roof pitch chart: 1/12 to 12/12

Every value below is computed from the formulas above. The multiplier is also the rafter length per foot of run, so a 6/12 roof needs 13.42 inches of rafter for every 12 inches of run.

Roof pitch to degrees, slope percent and multiplier
PitchAngleSlopeMultiplierRafter per ft of runCategory
1/124.76°8.3%1.00312.04 inLow slope: membrane roofing
2/129.46°16.7%1.01412.17 inLow slope: double underlayment for shingles
3/1214.04°25.0%1.03112.37 inLow slope: double underlayment for shingles
4/1218.43°33.3%1.05412.65 inConventional slope
5/1222.62°41.7%1.08313.00 inConventional slope
6/1226.57°50.0%1.11813.42 inConventional slope
7/1230.26°58.3%1.15813.89 inConventional slope
8/1233.69°66.7%1.20214.42 inConventional slope
9/1236.87°75.0%1.25015.00 inConventional slope
10/1239.81°83.3%1.30215.62 inSteep slope
11/1242.51°91.7%1.35716.28 inSteep slope
12/1245.00°100.0%1.41416.97 inSteep slope

Common roof pitches and what they are used for

  • Under 2/12 (low slope): porches, additions and commercial roofs. Shingles are not allowed. Use a membrane (EPDM, TPO, modified bitumen) or standing seam metal.
  • 2/12 to under 4/12: sheds, porch roofs and modern designs. Shingles are allowed, but the IRC requires double underlayment, and water sheds slowly, so ice dams are a bigger risk.
  • 4/12 to 9/12 (conventional): most houses. Sheds water well, takes standard shingle installation, and is still walkable.
  • Over 9/12 (steep): snow country, Cape Cods and Tudors. It sheds snow well and adds attic room, but roofers need jacks and harnesses, which raises labor cost.
Minimum roof slope by roofing material (IRC R905)
RoofingMin slopeNotes
Asphalt shingles2/12Double underlayment from 2/12 up to 4/12 (R905.2.2)
Wood shingles3/12R905.7.2
Wood shakes3/12R905.8.2
Slate4/12R905.6.2
Clay or concrete tile2-1/2/12Double underlayment up to 4/12 (R905.3.2)
Metal panels, lapped seams3/121/2 in 12 with lap sealant (R905.10.2)
Standing seam metal1/4 in 12R905.10.2
Membrane (EPDM, TPO, mod bit)1/4 in 12Needs slope to drain

How rafter length is calculated

The run of a common rafter is half the building span, measured from the outside of the wall to the center of the ridge. Multiply it by the pitch multiplier and you get the line length: the theoretical rafter length along the slope.

Two adjustments turn that into a real board. Deduct half the ridge board, since the rafter stops at the ridge face, not its center. Then add the overhang, converted from its level length to the length along the slope. Both use the same multiplier.

The calculator also adds the plumb cut offset (rafter depth x pitch / 12) before picking a board length, because a plumb cut across a sloped board needs extra length. It does not size the rafter for strength. For that, use the IRC rafter span tables (R802.4.1) for your species, grade, spacing and snow load.

Plumb cut vs seat cut

The plumb cut is vertical when the rafter is installed. Set a speed square or miter saw to the roof angle: 26.6° for 6/12. The seat cut of the birdsmouth is level, at 90° to the plumb cut. Keep the birdsmouth shallow; a common limit is 1/4 of the rafter depth.
Rafter example
run = span / 2
line length = run x multiplier
rafter = (run - ridge / 2 + overhang) x multiplier
24 ft span, 6/12, 1-1/2 in ridge, 12 in overhang: run = 144 in. Line length = 144 x 1.1180 = 161.00 in. Rafter = (144 - 0.75 + 12) x 1.1180 = 173.57 in (14' 5-9/16"). Buy 16 ft 2x8s.

Roof pitch calculator tips and common mistakes

  • Use the multiplier for materials. Roof area is the footprint (with overhangs) times the multiplier. Get the footprint from our square footage calculator, then multiply.
  • Measure span outside to outside. Using the inside of the walls shortens every rafter by the wall thickness times the multiplier.
  • Cut one pattern rafter first. Test fit it at both ends of the building before you cut the rest. Walls are rarely perfectly parallel.
  • Use the right saw. A circular saw handles long plumb cuts on 2x10s and 2x12s. A miter saw is faster for repeat cuts on blocking and smaller rafters.

Building stairs up to a loft or deck too? The stair stringer calculator uses the same rise and run logic. Bookmark this roof pitch calculator for your next shed, porch or addition, and round rafter cuts to the nearest 1/16" on the tape.

Frequently asked questions

What is a 6/12 roof pitch in degrees?

A 6/12 roof pitch is 26.57 degrees. The angle is the arctangent of rise over run: atan(6 / 12). It is also a 50 percent slope, with a multiplier of 1.118.

How do I calculate roof pitch?

Measure the rise over a known level run, then scale it to 12 inches of run. The easy way: hold a level horizontally against the roof or a rafter, mark 12 inches along it, and measure straight down (or up) to the roof surface. That measurement in inches is the pitch, so 6 inches means 6/12.

What is the most common roof pitch?

Most pitched residential roofs fall between 4/12 and 9/12, and 6/12 is a very common choice. That range sheds water well, takes standard shingle installation, and is still walkable for roofers. Steeper roofs are common in snowy regions and on some architectural styles.

What is the minimum roof pitch for asphalt shingles?

The IRC allows asphalt shingles on slopes of 2/12 or steeper. From 2/12 up to 4/12 you must install double underlayment. Below 2/12, use a low slope system such as a membrane or standing seam metal.

How do I calculate roof area from the pitch?

Multiply the flat footprint of the roof, including the overhangs, by the pitch multiplier. A 1,500 square foot footprint at 6/12 is 1,500 x 1.118 = 1,677 square feet, or about 16.8 squares of shingles before waste.

How do you calculate rafter length?

Multiply the rafter run (half the building span) by the pitch multiplier to get the line length to the ridge center. Subtract half the ridge thickness (times the multiplier) and add the overhang times the multiplier. A 24 foot span at 6/12 with a 1-1/2 inch ridge and 12 inch overhang gives a rafter of 14' 5-9/16".

Gear for this job

Our research-backed picks

More free tools

Calculators give estimates. Check local building codes and manufacturer specs before you build or buy.