Rafter calculator

Enter the run and the roof pitch to get the rafter length in feet and inches.

Run

Pitch chart

PitchAngleRafter length per foot of run
2/129.5°1.014 ft
3/1214.0°1.031 ft
4/1218.4°1.054 ft
5/1222.6°1.083 ft
6/1226.6°1.118 ft
7/1230.3°1.158 ft
8/1233.7°1.202 ft
9/1236.9°1.250 ft
10/1239.8°1.302 ft
12/1245.0°1.414 ft

Rafter length = run x pitch factor, where the pitch factor is the square root of 1 + (pitch / 12)². It is the line length along the top of the rafter from the ridge to the tail; deduct half the ridge board and plan for your plumb and birdsmouth cuts.

Common questions

What does a 6/12 roof pitch mean?

The roof rises 6 inches for every 12 inches of horizontal run. That is an angle of about 26.6 degrees.

What is the run of a rafter?

The horizontal distance the rafter covers, usually half the building span minus half the ridge board thickness. For a 24 ft wide building with a gable roof, the run is about 12 ft.

Does the length include the overhang?

Yes, if you enter an overhang. The overhang is measured horizontally, from the wall to the end of the tail, and multiplied by the same pitch factor.