Roof Rafter Calculator | Calculate Rafter Length, Roof Pitch & Angle

Roof Rafter Calculator

Calculate roof rafter length, pitch, angle, and rise using your roof measurements.

Full horizontal width of the roof.
Example: enter 6 for a 6/12 pitch.
Horizontal extension beyond the wall.

Calculation Results

Total Rafter Length (including overhang) —
Rafter Length to Wall —
Overhang Length Along Rafter —
Roof Angle —
Roof Rise —
Horizontal Run —
Roof Pitch —

These are geometric estimates for a common rafter measured from the ridge centerline. The calculation does not deduct ridge board thickness or account for birdsmouth, plumb, or other cutting allowances. Verify structural dimensions before cutting materials.

Use our Roof Rafter Calculator to quickly calculate roof rafter length, roof pitch, roof angle, rise, run, and overhang measurements. Whether you are planning a new roof, estimating framing materials, or checking roof dimensions, this tool helps you get accurate geometric measurements in seconds.

Enter your total roof span, roof pitch, and rafter overhang to calculate the estimated rafter length. The calculator also displays the roof angle and other important measurements, making roof planning easier for homeowners, builders, and DIY enthusiasts.

What Is a Roof Rafter Calculator?

A Roof Rafter Calculator is an online tool that estimates the length of a roof rafter using basic roof measurements. It uses the roof span and pitch to calculate the horizontal run, vertical rise, and sloping rafter length.

Instead of working through the calculations manually, you can enter your measurements and get the results instantly.

A roof rafter calculator is useful for:

  • Estimating common rafter length
  • Calculating roof pitch and angle
  • Finding roof rise and horizontal run
  • Measuring rafter overhang
  • Planning roof framing dimensions
  • Estimating lumber requirements

How to Use the Roof Rafter Calculator

Our calculator is designed to make roof measurements simple. Follow these steps to calculate your rafter dimensions:

  1. Enter Total Roof Span: Input the full horizontal width of your roof in feet.
  2. Enter Roof Pitch: Add the roof pitch as rise per 12 inches. For example, enter 6 for a 6/12 roof pitch.
  3. Enter Rafter Overhang: Input the horizontal overhang measurement in inches. Enter 0 if your roof has no overhang.
  4. Click Calculate Rafter: Press the calculation button to generate your results.
  5. Review the Results: Check the total rafter length, wall-to-ridge length, overhang length, roof angle, rise, and run.

The calculator updates the results using your measurements, so you can quickly compare different roof dimensions.

What Does a Roof Rafter Calculator Calculate?

The tool provides several measurements that are important for basic roof geometry.

1. Total Rafter Length

Total rafter length is the sloping distance from the ridge centerline to the outside end of the overhang. It includes the rafter extension beyond the wall.

2. Rafter Length to Wall

This measurement represents the sloping rafter length from the ridge centerline to the wall line. It does not include the overhang.

3. Rafter Overhang Length

The overhang length is the sloping portion of the rafter that extends beyond the wall. The calculator converts your horizontal overhang input into its corresponding sloping length.

4. Roof Angle

Roof angle is the angle between the roof slope and the horizontal line. A higher roof pitch produces a steeper roof angle.

5. Roof Rise

Roof rise is the vertical height from the wall plate level to the ridge centerline. It depends on the horizontal run and roof pitch.

6. Horizontal Run

For a symmetrical gable roof, the horizontal run is half of the total roof span. It measures the horizontal distance from the outside wall line to the ridge centerline.

Understanding Roof Pitch

Roof pitch describes how much a roof rises vertically for every 12 inches of horizontal distance.

For example, a 6/12 roof pitch means the roof rises 6 inches for every 12 inches of horizontal run.

Here are some common roof pitches:

Roof PitchRise per 12 InchesRoof Angle
2/122 inches9.46°
3/123 inches14.04°
4/124 inches18.43°
5/125 inches22.62°
6/126 inches26.57°
8/128 inches33.69°
10/1210 inches39.81°
12/1212 inches45°

Understanding roof pitch helps you estimate rafter dimensions and compare different roof designs.

Roof Rafter Length Formula

The common rafter length can be calculated using the Pythagorean theorem. The formula uses the horizontal run and vertical rise to find the sloping length.

Rafter Length Formula:

Rafter Length = √(Run² + Rise²)

For a symmetrical gable roof:

  • Run = Total Roof Span ÷ 2
  • Rise = Run × Roof Pitch ÷ 12

To include the overhang, add the horizontal overhang to the run before calculating the sloping length.

Total Rafter Length Formula:

Total Length = √((Run + Overhang)² + Rise²)

All measurements must use the same unit before applying the formula.

Roof Rafter Calculation Example

Let’s calculate a common rafter using these example measurements:

MeasurementValue
Total Roof Span24 feet
Roof Pitch6/12
Rafter Overhang12 inches

Step 1: Calculate Horizontal Run

Run = 24 ÷ 2 = 12 feet

Step 2: Calculate Roof Rise

Rise = 12 × 6 ÷ 12 = 6 feet

Step 3: Calculate Rafter Length to Wall

Rafter Length = √(12² + 6²)

Rafter Length = √(144 + 36)

Rafter Length = √180

Rafter Length = 13.42 feet

Step 4: Calculate Total Rafter Length

The horizontal overhang is 12 inches, or 1 foot.

Total Length = √(13² + 6²)

Total Length = √205

Total Length = 14.32 feet

Therefore, the estimated total rafter length, including the 12-inch horizontal overhang, is approximately 14.32 feet.

You can enter the same measurements into the calculator above to see the results automatically.

Common Roof Rafter Types

Different roof designs use different types of rafters. Understanding their purpose helps when planning a roof framing project.

Common Rafters

Common rafters extend from the ridge to the exterior wall plate. They form the main sloping structure of a typical gable roof.

Hip Rafters

Hip rafters run diagonally from the roof corners toward the ridge. They are commonly used in hip roof designs.

Valley Rafters

Valley rafters are installed where two roof sections meet and form an interior angle. They support the roof framing around the valley.

Jack Rafters

Jack rafters are shorter rafters that connect to hip or valley rafters instead of extending all the way to the ridge.

Our calculator focuses on estimating a straight common rafter for a symmetrical gable roof.

Why Is Accurate Rafter Length Important?

Accurate rafter measurements help make roof framing more organized and reduce unnecessary material waste.

Here are some reasons to calculate rafter length before starting construction:

  • Material Planning: Estimate the required length of lumber before purchasing materials.
  • Roof Design: Understand how roof pitch affects the overall roof shape.
  • Measurement Accuracy: Reduce errors when planning common rafter dimensions.
  • Overhang Planning: Include the horizontal roof extension in your estimated rafter length.
  • Project Preparation: Get basic measurements ready before detailed framing work begins.

Important Measurement Considerations

The Roof Rafter Calculator provides geometric estimates, not complete construction-ready cutting dimensions.

Keep these points in mind:

  • The calculator assumes a symmetrical gable roof.
  • The total roof span is divided equally to calculate the horizontal run.
  • Rafter length is measured from the ridge centerline.
  • The overhang is entered as a horizontal measurement.
  • Ridge board thickness is not deducted.
  • Birdsmouth cuts, seat cuts, plumb cuts, and other cutting allowances are not included.

For actual construction, verify the ridge board dimensions, wall plate position, bearing requirements, lumber specifications, and local building codes. Consult a qualified building professional before cutting or installing structural roof members.

Frequently Asked Questions

1. How do I calculate roof rafter length?

Calculate half of the total roof span to find the horizontal run. Then calculate the rise using the roof pitch. Use the formula √(Run² + Rise²) to find the sloping rafter length.

2. 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 produces a roof angle of approximately 26.57 degrees.

3. Does the Roof Rafter Calculator include overhang?

Yes. Enter the horizontal overhang measurement in inches. The calculator includes its corresponding sloping length in the total rafter length.

4. What is the difference between roof span and roof run?

Roof span is the full horizontal width of the roof. Roof run is the horizontal distance from the outside wall line to the ridge centerline. For a symmetrical gable roof, the run is half of the span.

5. How do I calculate roof rise?

Multiply the horizontal run by the roof pitch and divide the result by 12. For example, a 12-foot run with a 6/12 pitch has a 6-foot rise.

6. How do I convert roof pitch into degrees?

Use the formula: Roof Angle = arctan(Rise ÷ Run). For a 6/12 pitch, the angle is approximately 26.57 degrees.

7. Can I use this calculator for a hip roof?

This calculator is designed for straight common rafters on a symmetrical gable roof. Hip and valley rafters require additional measurements and different calculations.

8. Does this calculator provide exact cutting dimensions?

No. It calculates geometric rafter lengths and related roof measurements. Actual cutting dimensions require additional allowances for ridge thickness, birdsmouth cuts, bearing, and other framing details.

Final Thoughts

Our Roof Rafter Calculator makes it easier to estimate common rafter length, roof pitch, angle, rise, run, and overhang measurements. Simply enter your roof dimensions and get the results without complicated manual calculations.

Whether you are planning a roof project, comparing roof pitches, or estimating lumber lengths, this tool provides a convenient starting point for understanding your roof measurements.

visit for more civil calculators