The words: span, run, rise and pitch

Gable rafter: run, rise, overhang and ridge board A rafter climbs from the wall line to the ridge board. The run is 12 feet level, the rise is 6 feet, the overhang is 12 inches measured level past the wall, and the rafter length is 14 feet 5-9/16 inches from the ridge face to the tail. wall ridge board Run 12' 0" (half of a 24' span) Rise 6' 0" Rafter 14' 5-9/16" overhang 12" level 12 6
The 24 ft, 6/12 example used throughout this guide. The rafter length runs from the face of the ridge board to the tail. The overhang and the ridge board are measured level, then multiplied by the same pitch multiplier as the run.

Worked example: a 24 ft gable at 6/12

Building 24 ft wide, 6/12 pitch, 1-1/2" ridge board (a 2x), and a 12" overhang measured level from the outside of the wall.

  1. Run. Half the span: 24 ft ÷ 2 = 12 ft = 144".
  2. Pitch multiplier. √(1 + (6/12)²) = √1.25 = 1.1180. Said another way, every foot of run takes √(12² + 6²) = 13.42" of rafter.
  3. Line length (outside of wall to the center of the ridge): 144 × 1.1180 = 161.00", which is 13' 5".
  4. Ridge deduction. The rafter stops at the face of the ridge board, not its center. Half the thickness is 0.75" level, so take off 0.75 × 1.1180 = 0.84". That leaves 143.25 × 1.1180 = 160.16", which is 13' 4-3/16" from the wall line to the ridge face.
  5. Overhang (tail). 12" level × 1.1180 = 13.42", or 1' 1-7/16".
  6. Rafter length. 160.16 + 13.42 = 173.57", which is 14' 5-9/16" to the nearest 1/16".
  7. Ridge height. Rise = run × pitch ÷ 12 = 144 × 6 ÷ 12 = 72" (6 ft) above the wall line.
  8. Board to buy. The plumb cut at the ridge makes the bottom edge run past the top edge by the rafter depth × rise ÷ 12. For a 2x8 (7-1/4" deep) that is 3-5/8", so you need about 177.2", and a 16 ft board covers it.

The plumb cut (the vertical cut at the ridge and usually at the tail) is at the roof angle, 26.57° for 6/12. The seat cut of the birdsmouth, where the rafter sits on the wall plate, is 90° minus that: 63.43°.

Shed roof example. A 10 ft wide shed at 3/12 with a 12" overhang at the low wall and no ridge board: run = 120", multiplier = √(1 + 0.25²) = 1.0308, so (120 + 12) × 1.0308 = 136.06", or 11' 4-1/16".

Roof pitch table: multiplier, angle and rafter length per foot

Look up your pitch, then multiply. The "per ft of run" columns are in inches: multiply them by the run in feet. The hip and valley column is per foot of the common run, so you can use the same run number for both.

PitchAngleMultiplierRafter per ft of runHip / valley per ft of runJack step 16" OCJack step 24" OC
3/1214.04°1.030812.37"17.23"16.49"24.74"
4/1218.43°1.054112.65"17.44"16.87"25.30"
5/1222.62°1.083313.00"17.69"17.33"26.00"
6/1226.57°1.118013.42"18.00"17.89"26.83"
7/1230.26°1.157713.89"18.36"18.52"27.78"
8/1233.69°1.201914.42"18.76"19.23"28.84"
9/1236.87°1.250015.00"19.21"20.00"30.00"
10/1239.81°1.301715.62"19.70"20.83"31.24"
11/1242.51°1.356616.28"20.22"21.71"32.56"
12/1245.00°1.414216.97"20.78"22.63"33.94"

Calculated exactly. The rafter tables printed on many framing squares give the hip and valley figure using 17" for the diagonal of a 12" square (the exact value is 16.97"), so they read a few hundredths higher, for example 18.03" instead of 18.00" at 6/12.

Hip and valley rafters

Where two roof planes of the same pitch meet at a right-angle corner, the hip (outside corner) or valley (inside corner) runs diagonally across the plan. Its run is the common run × 1.414 (√2), but it climbs the same height, so it is flatter: a 6/12 roof has a hip pitch of 6/17, about 19.47°.

The short way: hip or valley line length = common run × √(2 + (rise/12)²). For the same 24 ft, 6/12 building:

Jack rafters

Jack rafters run from the wall to the hip (or from the valley to the ridge) and get shorter by the same amount at each step. The common difference is the spacing × pitch multiplier: at 6/12 that is 16 × 1.1180 = 17.89" for 16" on center, and 26.83" for 24" on center. Laid out from the corner, the first jack at 16" is 17.89" long (line length, before the cut at the hip), the second 35.78", and so on.

Roof area, squares and shingle bundles

If every plane of the roof has the same pitch, the sloped area is simply the plan area (including overhangs) × the pitch multiplier. That works for gable, hip and shed roofs alike, so you don't need to measure each plane.

  1. Plan area. Length × width, with the overhangs added on each side.
  2. Sloped area. Plan area × multiplier.
  3. Waste. Add a waste allowance for cutting and starter courses. Many estimators start around 10% for a plain gable and use more for hips, valleys and dormers.
  4. Squares. One roofing square is 100 sq ft, so divide by 100.
  5. Bundles. Squares × bundles per square, rounded up. Many asphalt shingles are packed 3 bundles per square, but some are 4 or 5, so use the number on the wrapper.
ExampleGable 40' × 30', 6/12, no overhangHip 40' × 30', 6/12, 1' overhang
Plan area40 × 30 = 1,200 sq ft42 × 32 = 1,344 sq ft
× 1.11801,341.6 sq ft1,502.6 sq ft
Waste+10% = 1,475.8 sq ft+15% = 1,728.0 sq ft
Squares14.7617.28
Bundles at 3 per square44.27 → 4551.84 → 52

The hip roof also gives you the lengths for trim: a 10 ft ridge (42 − 32), four hips of 24 ft each (16 ft common run × 1.5), and 148 ft of eave (2 × (42 + 32)) for drip edge and starter strip.

Mistakes that make rafters come out wrong

Do it faster on site: Raftora

Raftora is a free Android app that does every step above for you: lay the phone on the roof to read the pitch, enter the span, ridge board and overhang, and get the cut length in feet, inches and 1/16", with a drawing you can show the crew.

The screenshots at the bottom of this page are the 24 ft, 6/12 example from this guide: the rafter comes out at 14' 5-9/16" and the hip at 19' 4-7/8", the same as the hand calculation above. Get Raftora free on Google Play (Android).

Frequently asked questions

How do you calculate rafter length from roof pitch?

Find the pitch multiplier: divide the rise by 12, square it, add 1 and take the square root. Multiply the run (half the span on a gable roof) by it, take off half the ridge board thickness times the same multiplier, and add the level overhang times the multiplier. A 24 ft gable at 6/12 with a 1-1/2" ridge board and a 12" overhang gives 14' 5-9/16".

How do you calculate rafter length from rise and run?

Rafter line length = √(run² + rise²). For a 12 ft run and a 6 ft rise: √(144 + 36) = √180 = 13.42 ft, or 13' 5". Then take off half the ridge board and add the overhang, both multiplied by the pitch multiplier, to get the length to cut.

What is the pitch multiplier for a 6/12 roof?

1.1180. Every foot of run takes 13.42" of rafter, and the roof angle is 26.57°. For hips and valleys on a 6/12 roof the figure is 18.00" per foot of common run.

Is the rafter run half the span?

On a gable roof, yes: the run goes from the outside of the wall to the center of the ridge, which is half the building width. On a shed roof the run is the full span.

How many bundles of shingles are in a square?

A square is 100 sq ft of roof. Many asphalt shingles are packed 3 bundles per square, but some products need 4 or 5, so check the wrapper. Round the bundle count up after adding waste.

How do I find my roof pitch without a pitch gauge?

Hold a level against the underside of a rafter in the attic, mark 12" along the level, and measure straight up from that mark to the rafter. That measurement is the rise per 12. You can also lay a phone pitch gauge, such as Raftora, on the roof surface or an exposed rafter.

Is there a free app that calculates rafter length?

Raftora is a free Android app (with ads) that reads roof pitch with the phone and gives rafter, hip, valley and jack rafter lengths in feet, inches and fractions, plus roof squares and shingle bundles. It needs no account and works offline.

These are geometric calculations for planning. Check measurements on site and follow your local building code and the shingle manufacturer's instructions.

Related