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
Building width across the outside of the walls.
Level distance from the wall out to the rafter tail.
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°
Formula used
- Run = 24 ft ÷ 2 − 1.5 in ÷ 2 = 11.938 ft
- Multiplier = √(1 + (6 ÷ 12)²) = 1.118
- Rafter length = (11.938 + 1 ft overhang) × 1.118 = 14.465 ft = 14 ft 5⅝ in
- Plumb cut = atan(6 ÷ 12) = 26.6°
- 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.
| Pitch | Length per foot of run | Plumb cut | Seat cut |
|---|---|---|---|
| 1/12 | 12.04 in | 4.8° | 85.2° |
| 2/12 | 12.17 in | 9.5° | 80.5° |
| 3/12 | 12.37 in | 14.0° | 76.0° |
| 4/12 | 12.65 in | 18.4° | 71.6° |
| 5/12 | 13.00 in | 22.6° | 67.4° |
| 6/12 | 13.42 in | 26.6° | 63.4° |
| 7/12 | 13.89 in | 30.3° | 59.7° |
| 8/12 | 14.42 in | 33.7° | 56.3° |
| 9/12 | 15.00 in | 36.9° | 53.1° |
| 10/12 | 15.62 in | 39.8° | 50.2° |
| 11/12 | 16.28 in | 42.5° | 47.5° |
| 12/12 | 16.97 in | 45.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.
| Span | 4/12 | 6/12 | 8/12 | 12/12 |
|---|---|---|---|---|
| 20 ft | 11 ft 6⅜ in | 12 ft 2¾ in | 13 ft 1¾ in | 15 ft 5⅝ in |
| 24 ft | 13 ft 7⅝ in | 14 ft 5⅝ in | 15 ft 6⅝ in | 18 ft 3½ in |
| 28 ft | 15 ft 9 in | 16 ft 8⅜ in | 17 ft 11⅜ in | 21 ft 1½ in |
| 32 ft | 17 ft 10¼ in | 18 ft 11¼ in | 20 ft 4¼ in | 23 ft 11½ in |
| 36 ft | 19 ft 11½ in | 21 ft 2⅛ in | 22 ft 9⅛ in | 26 ft 9⅜ in |
| 40 ft | 22 ft ⅞ in | 23 ft 4⅞ in | 25 ft 2 in | 29 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).
- Run: 28 ÷ 2 − 1½ in ÷ 2 = 13.938 ft (13 ft 11¼ in).
- Overhang: 18 in ÷ 12 = 1.5 ft.
- 8/12 multiplier: √(1 + (8 ÷ 12)²) = 1.202.
- Rafter length: (13.938 + 1.5) × 1.202 = 18.554 ft, or 18 ft 6⅝ in.
- 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:
- The seat cut is level and rests on top of the wall. It meets the rafter at the seat cut angle shown in the calculator.
- The heel cut is plumb, straight up and down. It lines up with the outside face of the wall, the same point the run is measured to, and follows the plumb cut angle.
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.