Common Gable Rafter Length Calculator
Calculate common rafter length from building width and roof pitch, including the overhang tail.
Field tool
A bar-by-bar cutting plan from your own list, with the saw kerf charged on every cut. The stock count is what to buy — not the length divided by the bar, which under-orders whenever the pieces do not happen to nest.

4lengths of 20 ft
15.91 ft offcut (20%), longest 5.98 ft · 0.09 ft lost to the saw
The length the merchant sells, not a length you wish existed. The plan is only as good as this figure.
About 3 mm (1/8 in) for a circular saw blade. It sounds trivial and it is not: three 1 m pieces do not come out of a 3 m bar once the blade has taken its share.
Length, quantity, and a label if it helps you find them again on the plan.
Each bar is drawn to scale with its pieces in place. Working down the list keeps the long pieces on the full bars, which is what leaves one usable offcut instead of a rack of short ones.
The packing is first-fit-decreasing, a heuristic rather than a proven optimum — it never needs more than about 11/9 of the fewest possible lengths. A piece longer than one stock length is listed separately and left out of the count, because it needs a joint and where that joint goes is a structural decision this tool has no business making.
A reading on its own does not order material. These calculators take what you just measured and give you quantities, cuts or cost.
Calculate common rafter length from building width and roof pitch, including the overhang tail.
Estimate the linear feet or metres of baseboard trim needed and how many stock lengths to buy.
Estimate the linear feet or metres of crown molding needed and how many stock lengths to buy.
Estimate how many deck boards you need, accounting for board width and the gap left between boards.