Rafter Calculator

Last updated

This rafter calculator works out rafter length, run, and plumb and seat cut angles from your span, pitch, overhang and ridge board.

Size your rafters

Free · no sign-up · results update as you type

ft

Building width across the outside of the walls.

in

Level distance from the wall out to the rafter tail.

Roof pitch
/12
in

Filled in with 1½ in (a 2× board). Enter 0 if the rafters meet with no ridge board.

Rafter length, ridge to tail

14 ft 5⅝ in

14.46 ft along the slope, before any tail cut · 6/12 pitch

Run
11 ft 11¼ in
Ridge to wall
13 ft 4⅛ in
Overhang on the slope
1 ft 1⅜ in
Pitch multiplier
1.118
Plumb cut
26.6°
Seat cut
63.4°
rafter 14 ft 5⅝ inrun 11 ft 11¼ inoverhang 12 inridgewall

Formula used

  1. Run = 24 ft ÷ 2 − 1.5 in ÷ 2 = 11.938 ft
  2. Multiplier = √(1 + (6 ÷ 12)²) = 1.118
  3. Rafter length = (11.938 + 1 ft overhang) × 1.118 = 14.465 ft = 14 ft 5⅝ in
  4. Plumb cut = atan(6 ÷ 12) = 26.6°
  5. Seat cut = 90° − 26.6° = 63.4°

Rafter length is the run plus the overhang, times the pitch multiplier. The run is half the span minus half the ridge board. A 24 ft span at 6/12 with a 1½ in ridge board and 12 in overhang needs rafters about 14 ft 5⅝ in long before the tail cut. Enter your own numbers above.

Rafter length per foot of run: 1/12 to 12/12

For every 12 inches of level run, a rafter is this long along the slope. Multiply by your run in feet for the length to the wall. Cut angles are measured from a square cut across the rafter.

Rafter length per foot of run and cut angles by pitch
PitchLength per foot of runPlumb cutSeat cut
1/1212.04 in4.8°85.2°
2/1212.17 in9.5°80.5°
3/1212.37 in14.0°76.0°
4/1212.65 in18.4°71.6°
5/1213.00 in22.6°67.4°
6/1213.42 in26.6°63.4°
7/1213.89 in30.3°59.7°
8/1214.42 in33.7°56.3°
9/1215.00 in36.9°53.1°
10/1215.62 in39.8°50.2°
11/1216.28 in42.5°47.5°
12/1216.97 in45.0°45.0°

Rafter length by span: 20 to 40 ft

Rafter length from ridge to tail for common building widths, with a 1½ in ridge board (a 2× board) and a 12 in overhang, the values the calculator starts with. For a different overhang or ridge board, use the calculator.

Rafter length by span and pitch
Span4/126/128/1212/12
20 ft11 ft 6⅜ in12 ft 2¾ in13 ft 1¾ in15 ft 5⅝ in
24 ft13 ft 7⅝ in14 ft 5⅝ in15 ft 6⅝ in18 ft 3½ in
28 ft15 ft 9 in16 ft 8⅜ in17 ft 11⅜ in21 ft 1½ in
32 ft17 ft 10¼ in18 ft 11¼ in20 ft 4¼ in23 ft 11½ in
36 ft19 ft 11½ in21 ft 2⅛ in22 ft 9⅛ in26 ft 9⅜ in
40 ft22 ft ⅞ in23 ft 4⅞ in25 ft 2 in29 ft 7⅜ in

How to measure for rafters

Every number this calculator needs can be taken from the ground, the attic or your house plans. For anything on the roof itself, hire a licensed, insured roofer.

Span

At ground level, measure across the house from the outside face of one wall to the outside face of the opposite wall. Use the walls the rafters sit on, under the eaves. Plans list this as the building width.

Pitch

In the attic, a 12-inch level held against the underside of a rafter gives the rise per 12 inches. A photo of the gable end also works. The roof pitch calculator shows both ways.

Overhang

Plans usually give the overhang. From the ground you can only estimate it: measure out from the wall to the spot directly below the roof edge.

Ridge board

In the attic, measure the thickness of the board the rafters meet at the peak. If the rafters meet each other with no board between them, enter 0.

Worked example: 28 ft span at 8/12

A house 28 ft wide across the outside of the walls, with an 8/12 pitch, an 18 in overhang and a 1½ in ridge board (a 2× board).

  1. Run: 28 ÷ 2 − 1½ in ÷ 2 = 13.938 ft (13 ft 11¼ in).
  2. Overhang: 18 in ÷ 12 = 1.5 ft.
  3. 8/12 multiplier: √(1 + (8 ÷ 12)²) = 1.202.
  4. Rafter length: (13.938 + 1.5) × 1.202 = 18.554 ft, or 18 ft 6⅝ in.
  5. Cuts: plumb cut 33.7° and seat cut 56.3°, from square.

The ridge to wall part is 13.938 × 1.202 = 16 ft 9 in; the rest is the overhang.

What a birdsmouth cut is

A birdsmouth is the notch cut into the underside of a rafter so it sits flat on top of the wall. Seen from the side it looks like an open beak, which is where the name comes from. You can see it in the drawing above, where the rafter crosses the wall.

It has two faces:

Past the birdsmouth, the rest of the rafter is the overhang, or tail. How deep the notch is comes from your plans or your builder; this calculator gives the angles and lengths, not the notch size.

Rafter questions

How do you calculate rafter length?

Work out the run (half the span minus half the ridge board), add the overhang, and multiply by the pitch multiplier, √(1 + (rise ÷ 12)²). A 24 ft span at 6/12 with a 1½ in ridge board and a 12 in overhang gives 14 ft 5⅝ in.

What is the run of a rafter?

The run is the level distance a rafter covers, from the face of the ridge board to the outside of the wall. It is half the span minus half the ridge board’s thickness, so a 24 ft span with a 1½ in ridge board has a run of 11 ft 11¼ in.

How long are rafters for a 24 ft span?

With a 1½ in ridge board and a 12 in overhang, about 13 ft 7⅝ in at 4/12, 14 ft 5⅝ in at 6/12 and 18 ft 3½ in at 12/12. Other spans are in the rafter length by span table.

Does rafter length include the overhang?

The main result does: it runs from the ridge to the tail, before any tail cut. The “Ridge to wall” figure leaves the overhang out, and “Overhang on the slope” is the tail on its own.

What are the plumb cut and seat cut angles?

Measured from a square cut across the rafter, the plumb cut angle equals the roof’s pitch angle and the seat cut is 90° minus that. At 6/12 they are 26.6° and 63.4°; the table above lists every pitch from 1/12 to 12/12.

How we estimate

  • Run = span ÷ 2 − ridge board thickness ÷ 2, with the span across the outside of the walls.
  • Rafter length = (run + overhang) × √(1 + (rise ÷ 12)²), measured along the slope before any tail cut.
  • Plumb cut = atan(rise ÷ 12); seat cut = 90° − plumb cut, both from a square cut across the rafter.
  • The ridge board starts at 1½ in, the actual thickness of a 2× board; change it, or enter 0 for none.
  • Lengths are rounded to the nearest ⅛ inch and angles to 0.1°.

An estimate, not a quote. Get written quotes from licensed, insured roofers.