Rafter Calculator
Calculate rafter run, rise, length, roof angle, overhang, and total rafter length from your roof measurements.
Enter Roof Measurements
Rafter Calculation Results
Rafter length is calculated from the horizontal run and vertical rise. Overhang length is calculated using the same roof pitch.
This calculator provides a mathematical estimate of rafter geometry. Actual roof construction may require adjustments for birdsmouth cuts, fascia, ridge boards, wall plates, overhangs, lumber dimensions, local building codes, and structural requirements.
Verify measurements and structural requirements with applicable building codes or a qualified building professional before construction.
How to Use the Rafter Calculator
Our free rafter calculator helps you estimate rafter dimensions based on the building span, roof pitch, overhang, and ridge board thickness. Enter your measurements to calculate the rafter run, rise, main rafter length, roof angle, overhang measurements, and total rafter length.
- Enter the building width or span.
- Enter the roof pitch, such as 6:12.
- Enter the desired overhang or eave measurement.
- Enter the ridge board thickness.
- Click Calculate Rafter to see the results.
What Is a Rafter?
A rafter is a structural framing member that runs from the ridge or highest point of a roof down toward the exterior wall. Rafters support the roof structure and help transfer the roof load to the walls and other supporting components.
Rafter dimensions depend on several factors, including the building span, roof pitch, overhang, and the way the roof is framed. Accurate measurements are important when estimating rafter length.
Rafter Length Formula
The basic rafter length can be calculated using the Pythagorean theorem. The horizontal rafter run and vertical rise form the two sides of a right triangle, while the rafter represents the hypotenuse.
Rafter Length = √(Run² + Rise²)
For example, if the horizontal run is 12 feet and the rise is 6 feet, the main rafter length is approximately 13.42 feet before considering additional framing details such as overhangs and ridge-board adjustments.
What Does This Rafter Calculator Calculate?
This calculator provides several measurements that can help you understand the basic geometry of a roof rafter.
- Rafter Run: The horizontal distance from the ridge area toward the wall.
- Rise: The vertical height created by the roof pitch.
- Main Rafter Length: The calculated length of the main rafter section.
- Roof Angle: The angle of the roof measured from the horizontal.
- Overhang Run: The horizontal extension beyond the wall.
- Overhang Rise: The vertical rise associated with the overhang.
- Overhang Rafter Length: The calculated rafter length for the overhang section.
- Total Rafter Length: The combined estimated rafter length including the overhang.
Understanding Roof Pitch
Roof pitch describes how much a roof rises vertically for every 12 inches of horizontal run. It is commonly written in a format such as 6:12, meaning the roof rises 6 inches for every 12 inches of horizontal run.
A higher roof pitch produces a steeper roof and generally results in a longer rafter for the same horizontal run. A lower pitch produces a shallower roof and a shorter rafter for the same run.
Rafter Run and Rise
The rafter run is the horizontal distance from the roof centerline toward the supporting wall. The rise is the vertical distance from the top of the wall or wall plate toward the roof ridge.
These two measurements create a right triangle. The rafter length is the hypotenuse of this triangle, which is why the Pythagorean theorem can be used to calculate it.
Rafter Length Example
Suppose a building has a 24-foot span and the roof has a 6:12 pitch. The horizontal run for one side of the roof is approximately half of the span, before accounting for the ridge board thickness.
With a 6:12 pitch, the roof rises 6 inches for every 12 inches of horizontal run. The calculator uses these measurements to determine the rise, rafter length, and roof angle.
If an overhang is included, the calculator also estimates the additional run, rise, and rafter length associated with the overhang.
Rafter Measurements and Units
Rafter calculations can be performed using common construction measurements such as feet and inches. Keeping your measurements consistent helps reduce calculation errors.
When entering dimensions, measure the building span, roof pitch, overhang, and ridge board thickness carefully. The calculator provides mathematical estimates based on the measurements you enter.
Rafter Length vs. Roof Pitch
Roof pitch directly affects rafter length. When the horizontal run stays the same, increasing the roof pitch increases the vertical rise and therefore increases the rafter length.
For example, a roof with a 3:12 pitch has a smaller rise than a roof with a 9:12 pitch over the same horizontal run. As the rise increases, the diagonal rafter length also increases.
Important Information
The results provided by this calculator are mathematical estimates based on the measurements entered by the user. Actual roof framing can involve additional factors, including lumber dimensions, structural requirements, birdsmouth cuts, ridge-board or ridge-beam details, local building codes, loads, and framing methods.
Always verify measurements and framing requirements before using calculator results for actual construction. For structural work, consult applicable building codes and a qualified building professional when appropriate.
Frequently Asked Questions
How do you calculate rafter length?
Rafter length can be calculated using the horizontal run and vertical rise. The basic formula is √(run² + rise²). This calculator performs this calculation using the roof measurements you provide.
What information do I need to calculate a rafter?
The basic information includes the building span, roof pitch, and any overhang. This calculator also allows you to account for ridge board thickness.
Does roof pitch affect rafter length?
Yes. For the same horizontal run, a steeper roof pitch creates a greater rise and therefore a longer rafter.
Does the calculator include overhang?
Yes. The calculator can estimate the overhang run, overhang rise, overhang rafter length, and total rafter length based on the overhang measurement you enter.
What is a 6:12 roof pitch?
A 6:12 roof pitch means the roof rises 6 inches vertically for every 12 inches of horizontal run. It corresponds to a roof angle of approximately 26.57 degrees.
Related Calculators
Explore our other roofing calculators to calculate roof pitch, slope, angle, and related rafter measurements.
Calculate Your Rafter Length
Enter your building span, roof pitch, overhang, and ridge board thickness above to calculate your estimated rafter dimensions.
