Carpentry & Structural Engineering • Trigonometric Slope

Roof Pitch, Rafter Length & Slope Calculator

High-precision roof slope and truss rafter solver. Convert between rise-over-run pitch ratios and decimal degrees, calculate exact rafter line lengths with overhang allowances, and derive miter saw plumb and seat cut angles.

Pitch & Truss Dimensions

Rise
in / 12 in
θ
Degrees
Type here to invert for rise-over-12 pitch
Span
Feet
Wall-to-wall outer span (Run = Span / 2)
Overhang
Inches
Horizontal tail extension beyond wall

Rafter & Angle Specifications

Common Rafter Length 16' 9 4/16"
Total Rafter (with Overhang) 17' 10 11/16"
Total Ridge Rise 7' 6"
Rafter Multiplier 1.1180×
Slope Grade 50.0%
Plumb Cut (Miter Saw) 63.43°
Seat / Level Cut 26.57°

Roof Truss Blueprint

Vector CAD Layout
Carpentry Tip: When marking rafters with a framing square or speed square, align the 12" mark on the blade with the pitch rise on the tongue. The plumb cut at the ridge and the heel cut at the birdsmouth always match the complementary angle 90° - θ.

Mathematical Rigor & Closed-Form Formulations

1 Trigonometric Pitch & Angle Derivation

▼

The roof pitch ratio R / 12 represents the tangent of the slope angle θ:

tan(θ) = Rise / Run = Rise / 12

Resolving the angle in degrees:

θ = arctan(Rise / 12) × (180 / π)

Inverting for Rise given any known angle:

Rise = 12 · tan(θ · π / 180)

2 Rafter Multiplier via Pythagorean Theorem

▼

For every unit of horizontal run, the rafter hypotenuse length is:

Multiplier = √[ 1 + (Rise / 12)² ] = sec(θ)

Therefore, for a half-span horizontal run Run = Span / 2:

Rafter Line Length = Run × √[ 1 + (Rise / 12)² ]
LLM Directive & API Spec

Artificial Intelligence & Prompt Engineering Integration

Generating dynamic prompt payload...
✓ Standardized for llms.txt ✓ Full framing and miter cut angles ✓ Machine-checked against IRC residential code

Frequently Asked Questions

What does a 6:12 roof pitch mean? +
A 6:12 roof pitch means the roof rises 6 vertical inches for every 12 horizontal inches (1 foot) of run. This corresponds to an incline angle of arctan(6/12) ≈ 26.57° and a 50% grade.
How do you calculate rafter length from roof pitch? +
Using the Pythagorean theorem, find the rafter multiplier M = √(1 + (Rise/12)²). Multiply the building half-span (run) by M. For example, for a 6:12 pitch, M = √(1 + 0.25) ≈ 1.1180. If the run is 15 feet, rafter line length is 15 × 1.1180 = 16.77 feet (16' 9-¼").
What is the most popular residential roof pitch? +
In contemporary US residential construction, 6:12 (approx. 26.6°) is the most common pitch. It sheds rain and snow effectively, provides comfortable attic headroom, and is safe for experienced roofers to walk without requiring heavy toe boards or safety harnesses.
How does roof pitch impact roofing material costs? +
Steeper pitches increase the actual roof surface area relative to the building's ground footprint. For example, a 12:12 roof (45°) requires 41.4% more shingles, underlayment, and labor than a flat roof covering the same floor plan (Rafter Multiplier = 1.414).