# Rafter Calculator – Length – Slope (Free Online Calculator)

Nathan Clark | 🗓️Modified: March 3, 2024 | ⏳Time to read:7 min

This online rafter calculator helps you calculate rafter length based on the roof slope ratio in inches per foot and the width of the building. The computation includes results for the hip/valley factor, slope factor, and the roof slope in degrees.

If you include an eaves overhang dimension, the calculator will incorporate the extension of the rafter beyond the wall into the rafter length. If you input a value for the ridge board, the calculator will deduct half of this amount from the rafter length.

Roof rafters may seem like a mundane aspect of building construction, but they play a critical role in supporting the roof structure and ensuring its integrity. In this comprehensive guide, we’ll delve into the world of roof rafters, exploring their importance, understanding rafter length, pitch variations, calculation methods, and common mistakes to avoid.

## What are Roof Rafters?

Roof rafters are structural elements that form the framework of a roof. They run from the ridge (the highest point of the roof) down to the eaves (the edges of the roof), providing support for the roof covering, such as shingles or tiles.

## Importance in Building Construction:

Roof rafters are vital components of building construction for several reasons:

• They distribute the weight of the roof evenly to the load-bearing walls of the structure.
• They provide stability and strength to the roof, preventing it from sagging or collapsing.
• They determine the overall shape and pitch of the roof, affecting its aesthetic appeal and functionality.
• Properly installed roof rafters ensure the structural integrity and longevity of the building.

## What is Rafter Length?

Rafter length refers to the distance between the ridge and the wall plate (the top of the supporting wall). It is a crucial measurement in roof construction, as it determines the size and spacing of the rafters.

## Factors Influencing Rafter Length:

Roof Span: The distance between the two opposite walls of the building.

Roof Pitch: The angle or slope of the roof surface.

Building Codes: Local building codes may specify minimum rafter size and spacing requirements.

## Importance of Accurate Rafter Length Determination:

Accurate rafter length calculation is essential for ensuring proper roof construction.

Incorrect rafter length can lead to structural issues, such as sagging or overloading, compromising the safety and stability of the roof.

## Different Types of Roof Pitches:

Roof pitch refers to the steepness or slope of the roof. There are several types of roof pitches, including:

• Flat Roof: Minimal slope or no slope at all, commonly used in modern architecture.
• Low-Pitch Roof: Gentle slope, suitable for areas with low precipitation and snowfall.
• Steep-Pitch Roof: High slope, ideal for regions with heavy rainfall or snow accumulation.

## How Roof Pitch Affects Rafter Length:

• The pitch of the roof directly influences the length and spacing of the rafters.
• Steeper pitches require longer rafters to cover the same roof span compared to shallower pitches.
• Roof pitch also affects the overall design and appearance of the roof, impacting factors such as drainage and snow load capacity.

## Calculating Rafter Length:

1. Step-by-Step Guide to Calculating Rafter Length: a. Measure the roof span from wall to wall. b. Determine the roof pitch angle using a protractor or pitch gauge. c. Use trigonometric formulas or online calculators to calculate rafter length based on span and pitch.
2. Use of Mathematical Formulas and Equations:
• Rafter length calculation involves trigonometric principles, such as sine, cosine, and tangent functions.
• The Pythagorean theorem is often applied to determine rafter length in right-angled triangles formed by the roof pitch.
3. Considerations for Different Roof Pitches and Span Distances:
• Shallower roof pitches require shorter rafters, while steeper pitches necessitate longer rafters.
• Longer roof spans may require additional support, such as ridge beams or collar ties, to prevent rafter deflection.

## Different Types of Roof Pitches:

Roof pitch refers to the steepness or slope of the roof. There are several types of roof pitches, including:

• Flat Roof: Minimal slope or no slope at all, commonly used in modern architecture.
• Low-Pitch Roof: Gentle slope, suitable for areas with low precipitation and snowfall.
• Steep-Pitch Roof: High slope, ideal for regions with heavy rainfall or snow accumulation.

## How Roof Pitch Affects Rafter Length:

• The pitch of the roof directly influences the length and spacing of the rafters.
• Steeper pitches require longer rafters to cover the same roof span compared to shallower pitches.
• Roof pitch also affects the overall design and appearance of the roof, impacting factors such as drainage and snow load capacity.

## Calculating Rafter Length:

Step-by-Step Guide to Calculating Rafter Length:

a. Measure the roof span from wall to wall.

b. Determine the roof pitch angle using a protractor or pitch gauge.

c. Use trigonometric formulas or online calculators to calculate rafter length based on span and pitch.

Use of Mathematical Formulas and Equations:

Rafter length calculation involves trigonometric principles, such as sine, cosine, and tangent functions.

The Pythagorean theorem is often applied to determine rafter length in right-angled triangles formed by the roof pitch.

Considerations for Different Roof Pitches and Span Distances:

Shallower roof pitches require shorter rafters, while steeper pitches necessitate longer rafters.

Longer roof spans may require additional support, such as ridge beams or collar ties, to prevent rafter deflection.

## Rafter Length Calculator

Here’s an example of how to input the values:

• For a building width of 44 feet 6 and ¾ inches, with an overhang of 22 and ½ inches, and using a 1 ½ inch ridge board.
• The roof pitch is 8:12 (it rises 8 inches in a one-foot run).
• If you know the decimal equivalent of 44′ 6 ¾”, you can input it directly in the building width feet field (e.g., 44.5625).
• Otherwise, you can input 44 in the feet field, 6 in the inches field, and 3/4 in the fraction fields (3 in the numerator field and 4 in the denominator field).
• For the overhang, you can input 22.5 directly in the inches field or input 22 in the inches field and 1/2 (1 in the numerator field and 2 in the denominator field) in the fraction fields.
• Enter the ridge board dimension similarly to the overhang, utilizing the appropriate fields.
• The roof pitch, such as 8:12, is entered in a single field.

### Rafter Length

#### Calculation

Building Width ft in n
d
Overhang in n
d
Ridgeboard Thickness in n
d
Roof Pitch : 12

#### Results

 Roof Angle: ° Slope Factor: # Hip and Valley Factor # Rafter Length In Decimal Feet ft Rafter Length ft in Rafter Length in inches in