Rafter Length Calculator

The rafter is the sloping side of that triangle, worked out as the square root of run squared plus rise squared. For a gable roof the run is half the span; for a shed roof it is the whole span.

Run: 15.00 ft

Rafter length: 16.77 ft

Buy: 18 ft boards

Embed this tool in your website

Example: a 28 ft span at 6:12. Run is 14 ft, rise is 7 ft, rafter length is 15.65 ft, so you buy 16 ft boards. With a 1 ft overhang the run becomes 15 ft and the rafter works out to 16.77 ft — now you buy 18 ft boards. The geometric length is before cuts: a real rafter loses a little to the birdsmouth cut and the ridge cut, which the carpenter allows for on site. The run the calculator uses already includes the overhang: add the overhang to the run before you multiply, never to the rafter itself.