Rafter Roof Pitch Calculator

Rafter Roof Pitch Calculator

Calculate rafter lengths, roof rise, and slope angles instantly.

Roof Dimensions

Usually half the building span (minus ridge thickness).

Rafter Line Length

0' 0"

Plus Overhang

Rafter Diagram

Pitch: 6/12

Total Rise

0"

Tail Length

0"

Total Length

0"

Angle

Was this tool helpful?

Your feedback helps us build better tools.

What is a Rafter Calculator?

A Rafter Roof Pitch Calculator helps carpenters and DIYers determine the precise length of roof rafters based on the building's span (run) and the roof's slope (pitch). It calculates the "line length" from the ridge to the wall plate, the total rise of the roof, and the length of the overhang tail, ensuring accurate cuts for a structurally sound roof.

How to Calculate Rafter Lengths

3 Simple Steps

Measure twice, cut once.

1

Determine Run

Measure from the outside of the wall plate to the center of the ridge (usually half the building width).

2

Select Pitch

Choose your roof slope (e.g., 6/12 means 6 inches of rise for every 12 inches of run).

3

Add Overhang

Don't forget to add the horizontal overhang distance to calculate the rafter tail length.

The Pythagorean Theorem in Roofing

Calculation Logic

Roof framing is essentially a series of right-angled triangles. We use the Pythagorean theorem (a² + b² = c²) to find the hypotenuse (rafter length).

Rise = Run × (Pitch / 12)
Rafter Length = √(Run² + Rise²)
Tail Length = √(Overhang² + (Overhang × Pitch/12)²)
Total Length = Rafter Length + Tail Length
Rafter calculation geometry diagram
Framing a roof with rafters

Why Precision is Key

Even a small error in rafter calculation can lead to a wavy roof line or structural weakness. Professional framers calculate the "Line Length" (from the ridge cut to the bird's mouth cut) separately from the tail to ensure the walls bear the load correctly.

Remember to deduct half the thickness of the ridge board from the total run before calculating, otherwise, your rafters will be slightly too long!

Frequently Asked Questions

The run is the horizontal distance covered by the rafter. For a standard gable roof, the run is exactly half the total span of the building (minus half the ridge board thickness).

Pitch is the steepness of the roof, expressed as a ratio of Rise over Run (e.g., 6/12). It means for every 12 inches of horizontal run, the roof rises 6 inches.

The bird's mouth is a notch cut into the rafter where it sits on the wall top plate. This provides a flat bearing surface for the rafter to rest securely and transfer load to the walls.

The result gives you the theoretical length. You should always buy lumber longer than this value (usually the next standard even foot length, like 12', 14', 16') to account for the ridge cut angle and tail trimming.

You can use the formula: `Pitch = tan(Angle) * 12`. For example, a 45° angle means tan(45) = 1, so 1 * 12 = 12/12 pitch.

For precise cutting, you must subtract half the thickness of the ridge board from the total run length before calculating. Standard 2x lumber ridge boards are 1.5" thick, so subtract 0.75" from your run.

User Reviews

Tom H.

Professional Framer

"Saves me from having to pull out the Construction Master calculator every time. Quick and simple."

Sarah M.

DIY Enthusiast

"Good for estimating. I wish it had an option to enter the ridge thickness directly."

Robert K.

First-time Builder

"A bit confusing at first but I figured it out. Helped me get the general length I needed."

Emily R.

Renovator

"Does exactly what it says. The diagram updating is a nice touch."

Michael T.

Contractor

"Useful for shed building projects."

David G.

Estimator

"Great visualizer. Helped me see the pitch."

Have Feedback or a Question?

We'd love to hear from you! If you have suggestions, questions, or just want to say hello, please get in touch.