How to use this calculator
Estimate a common roof rafter from building span, ridge-board thickness, pitch, and horizontal eave overhang.
- Enter Outside-wall-to-outside-wall span (in), Ridge-board thickness (in), Roof pitch rise per 12 in run, Horizontal eave overhang (in). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
A framing layout starts with the horizontal run from the outside wall bearing to the ridge-board face. Roof pitch converts that run to rise, while the eave overhang adds a separate sloped tail. Keeping those pieces explicit avoids treating the full building half-span as the rafter’s run when a ridge board occupies space at the peak.
Inputs and units
span— Outside-wall-to-outside-wall span (in)- Enter the full horizontal building span between the outside wall lines.
ridgeThickness— Ridge-board thickness (in)- For a centered ridge board, half its thickness reduces each rafter run.
pitchRise— Roof pitch rise per 12 in run- For example, enter 6 for a 6-in-12 roof pitch.
overhang— Horizontal eave overhang (in)- Measure horizontally from the outside wall line to the eave plumb line.
Formula
Run to ridge face r = span/2 − ridge-board thickness/2. Rise h = r × pitch/12. Main length L = √(r² + h²). Sloped tail T = overhang × √(1 + (pitch/12)²). Total stock line = L + T.
Method
Use inches for span, ridge-board thickness, and horizontal overhang. Pitch is entered as inches of rise per 12 inches of horizontal run. The result is the straight-line stock length from the bearing line to the ridge-board face plus the sloped tail to the eave plumb line.
Worked example
For a 240 in span, 1.5 in centered ridge board, 6-in-12 pitch, and 12 in horizontal overhang, the run to the ridge face is 119.25 in. The main length is √(119.25² + 59.625²) = 133.326 in; the tail is 13.416 in, for a total layout line of 146.742 in.
Assumptions and limits
Assumes a symmetrical gable roof, centered ridge board, equal rafters, and a single constant pitch. It estimates the uncut layout length before the birdsmouth, seat cut, plumb-cut allowance, fascia detail, or lumber-selection checks. Confirm framing dimensions and structural requirements on the project drawings.
Frequently asked questions
Why subtract half the ridge-board thickness?
The full span is divided at the roof centerline. Each common rafter ends at the near face of a centered ridge board, so its horizontal run is shorter by half the board thickness.
Is the overhang input measured along the roof?
No. Enter horizontal projection from the wall line. The calculator converts it to sloped rafter length using the pitch.
Does this include a birdsmouth cut?
No. It estimates the straight stock line; seat and plumb cuts change the final piece and should follow the framing layout.
Can I use this for a valley rafter?
No. Valley rafters use a different plan geometry and are handled by a separate valley-rafter calculation.
How do I use the Common Rafter Length and Overhang Calculator?
Enter Outside-wall-to-outside-wall span (in), Ridge-board thickness (in), Roof pitch rise per 12 in run, Horizontal eave overhang (in). Match the units shown beside each field and review the result together with the assumptions below.
Reference: U.S. Forest Service roof-framing diagram showing span, pitch, and eave overhang references. See our calculation methodology.