Roof Rafter Length Calculator
Rafter length connects the wall bearing to the ridge along the slope of a roof and is a core dimension in framing takeoffs and layout planning. This calculator estimates theoretical rafter length and pitch angle from horizontal run, rise, and overhang. It is useful for quick planning and material estimation, but it does not replace detailed framing layout that accounts for ridge thickness, birdsmouth cuts, seat cuts, and eave details. Always follow engineered plans and applicable building codes.
In a common rafter, run is the horizontal distance from the bearing point to the ridge centerline and rise is the vertical change over that distance. The sloping member length is the hypotenuse of that right triangle. Adding overhang provides an approximate total length for the rafter tail; precise cuts depend on fascia/soffit details and construction methods.
Formula
Pitch = Rise × (12 / Run)
Angle (°) = arctan(Rise / Run) × 180 / π
Rafter (to wall) = √(Run² + Rise²)
Total Rafter Length = Rafter (to wall) + OverhangThe Pythagorean theorem yields the sloped length over the run. Pitch and angle come from the rise/run ratio. Overhang is added linearly for a planning estimate; adjust for actual slope overhang and framing deductions/additions when cutting.
Framing Considerations
| Item | Impact |
|---|---|
| Ridge thickness | Half the ridge thickness is typically deducted from run in layout. |
| Birdsmouth | Seat/plumb cuts affect bearing and net length. |
| Overhang detail | Fascia and tail cut determine finished eave length. |
Use consistent units and verify dimensions in the field. Structural sizing and connections must meet load requirements for your location and be performed per code and design specifications.
Frequently Asked Questions
Is this the exact cut length?
No. It is a geometric estimate; deduct/add for ridge, birdsmouth, and eave details per your framing layout.
Can I use feet and inches?
Use consistent units (e.g., decimal feet). Convert inches to decimal feet if needed for input.
Does steeper pitch change length?
Yes. For the same run, greater rise increases rafter length.
Is this for hip rafters?
No. Hip/valley rafters have a longer plan run and require different geometry.
Is this a structural design?
No. It estimates length only, not member size, grade, or connections.