Rafter Calculator

How long does a common rafter need to be? Enter your building span, roof pitch and overhang — and get the rafter length (in feet and inches), the rise, the roof angle, how many rafters your roof needs at your spacing, and the total board feet to order. One page, whole job.

Length is the theoretical common-rafter length from ridge to the outside of the wall, plus the overhang — measure along the top edge. The birdsmouth seat cut and ridge thickness are not deducted; cut one test rafter and check the fit before cutting the rest.

Frequently Asked Questions

What does a 6/12 roof pitch mean?

Pitch is written as rise over a 12-inch run: 6/12 means the roof rises 6 inches for every 12 inches of horizontal run. That is a 26.57° angle. A 4/12 roof is low-slope, 8/12 is steep, and 12/12 is a 45° roof.

How is rafter length calculated?

By the Pythagorean theorem. Run = half the span plus the overhang; rise = run × pitch ÷ 12; rafter length = √(run² + rise²). For a 24 ft span at 6/12 pitch with no overhang: run 12 ft, rise 6 ft, length √(144 + 36) = 13.42 ft, or 13 ft 5 in.

How many rafters do I need?

Divide the roof length by the spacing and add one for the starting rafter: a 40 ft roof at 16 in spacing needs 40 × 12 ÷ 16 + 1 = 31 rafters per side. Double it for both sides of a gable roof.

What is a board foot?

One board foot = 144 cubic inches of lumber. For a rafter: board feet = (thickness in inches × width in inches × length in feet) ÷ 12. A 2×6 rafter 13.42 ft long is 13.42 board feet; 31 of them total about 416 board feet.

Does the birdsmouth cut change the length?

No — the birdsmouth is a notch cut into the rafter where it sits on the wall plate; it does not change the overall length you order. What it does change is the seat depth, so check your local code for the maximum notch (usually no more than one-third of the rafter depth) before cutting.