Rafter Calculator

–rafter length, plate to ridge
–roof surface, both slopes
–pitch multiplier
SpanPitchRafterRoof area (40 ft bldg)
24 ft6/1213.42 ft1,073 sq ft
28 ft8/1216.83 ft1,346 sq ft
32 ft6/1217.89 ft1,431 sq ft
40 ft10/1226.03 ft2,083 sq ft
A rafter is the hypotenuse: half the span is the run, the pitch multiplier (read off the rise-per-12) converts it to slope length - 6/12 multiplies by 1.118, 12/12 by 1.414. The calculated length runs plate to ridge; the overhang tail of 12 to 24 inches is extra board, and the birdsmouth notches seat the rafter without shortening it.
Family math: the roof pitch calculator reads the angle if you only know the rise, this page turns span and pitch into rafter length and roof surface, and the shingle calculator takes that surface into squares and bundles. The board depth under it all is a load question - the roof snow load calculator covers the check that code cares about.

A rafter is just the hypotenuse of a right triangle the building hands you: half the span is the run, the pitch sets the rise, and the rafter is the slope between them. That geometry compresses into one handy number per pitch - the multiplier. A 6/12 roof multiplies the run by 1.118, an 8/12 by 1.202, a 12/12 by 1.414 (Pythagoras himself: a 45-degree roof makes the rafter root-two times the run). Half the span times the multiplier is the rafter length, no table lookup needed.

Two things live outside that number. Overhang is the rafter's tail past the wall - 12 to 24 inches of it - so the board you order is rafter length plus the tail, and birdsmouth cuts (the seat and heel notches that sit the rafter on the wall plate) shave depth, not length. And the multiplier is also your area machine: rafter length times building length times two slopes is the roof surface, which is exactly the number the shingle order wants.

How to use

  1. Measure the building span wall-to-wall and take half of it as the run - the calculator does the halving.
  2. Pick the pitch from the roof pitch reading (rise per 12) so the multiplier is honest.
  3. Add the overhang tail on site: the rafter length is wall-plate to ridge, the eave tail is extra board.
Good to know โ€” Rafter math: length = half-span x pitch multiplier (4/12=1.054, 6/12=1.118, 8/12=1.202, 10/12=1.302, 12/12=1.414); roof area = rafter length x building length x 2 slopes; overhang tail 12-24 in is extra board beyond the calculated length; gable-roof tool - hip rafters vary to the corners.

Frequently asked questions

How do I calculate rafter length?

Rafter length = half the span times the pitch multiplier. A 24-foot span on a 6/12 pitch has a 12-foot run, and 12 ร— 1.118 = 13.4 feet per rafter. The multiplier is โˆš(1 + (pitch/12)ยฒ) - the Pythagorean theorem folded into one number per pitch, which is what the old rafter tables printed along the top edge.

What is the pitch multiplier for common pitches?

4/12 is 1.054, 5/12 is 1.083, 6/12 is 1.118, 7/12 is 1.158, 8/12 is 1.202, 10/12 is 1.302, and 12/12 is 1.414. Steeper gets closer to 1.5 (a 24/12 pitch would be 2.06). The multiplier converts horizontal run to slope length directly - no angle finding, no trig on site.

Does rafter length include the overhang?

No - the calculated length runs from the wall plate to the ridge line. The overhang tail (typically 12 to 24 inches past the wall for eaves) is added as extra board, so order rafter stock at rafter length plus tail plus a cut margin. The birdsmouth notches that seat the rafter on the plate reduce effective depth, not length.

How do I get roof area from rafter length?

Rafter length times building length is one slope; times two is the whole roof. A 24-by-40-foot building at 6/12 gives 13.42-foot rafters, so 13.42 ร— 40 ร— 2 โ‰ˆ 1,074 square feet of roof surface - the number the shingle calculator turns into squares and bundles. Hip roofs differ: their rafters run at varying lengths to the corners, so this rectangle math is a gable-roof tool.

What size rafters do I need?

Length is geometry; size is engineering. Span, spacing, species grade and snow load set the board depth - a 24-foot span typically wants 2x10 or deeper rafters at 16-inch centers, but the roof snow load calculator and local code tables make that call, not the tape measure. This page gives the length; the lumber yard and the code book give the 2x.

Why does my rafter table show a slightly different length?

Books round the multiplier to three decimals and this page does not, and classic tables measure to the ridge centerline while some layouts measure to the far face. Expect agreement within about a quarter inch on a 14-foot rafter - cut one test rafter before batch-cutting, and let the first one be the expensive lesson.

Related tools