ROOF FRAMING GEOMETRY
Rafter Length Calculator
Calculate exact theoretical common rafter length, slope angle in degrees, vertical rise, and overhang allowances from horizontal run and roof pitch.
Rafter Length Calculator
Calculate precise theoretical rafter length, vertical rise, and overhang allowances.
Horizontal distance from outside wall top plate to ridge centerline.
How Rafter Length Is Calculated
Rafter length is determined using the Pythagorean theorem where the horizontal run is one leg, the vertical rise is the second leg, and the rafter hypotenuse is the sloped length from ridge to wall plate.
Framing Formulas
Rise = Run × (Pitch ÷ 12)
Base Rafter Length = √(Run² + Rise²)
Overhang Length = √(Overhang² + (Overhang × Pitch ÷ 12)²)
Total Rafter Length = Base Rafter Length + Overhang Length
Related Framing Calculators
Example: Known Run with a Horizontal Overhang
For a 10 ft horizontal run at 3/12, rise is 2.50 ft and the base theoretical length is √(10² + 2.5²) = 10.31 ft. A 12-inch horizontal overhang adds about 1.03 ft along that slope, giving 11.34 ft total before bearing, ridge and cut adjustments. An overhang measured along the slope is a different input.
Use the rafter calculator when starting from building span, or the shed roof calculator for one-plane geometry with overhangs on both ends. The single-slope roof guide connects the measurements to layout planning. A theoretical length is not a lumber-size recommendation or a finished cutting dimension.