Rafter Length & Roof Pitch Calculator

Common rafter length, pitch in degrees and X/12, plumb cut, and birdsmouth seat cut

Embed this calculator Free · no API key · keep the attribution link

Copy the snippet below to embed this calculator on your site. The attribution link must stay intact and dofollow (no rel="nofollow"). Browse all embeddable calculators

<div class="ttq-embed" style="max-width:100%;margin:0 auto;">
  <iframe src="https://testtalkhq.com/embed/rafter-length-calculator/?theme=light&utm_source=embed" width="100%" height="980" frameborder="0" loading="lazy" scrolling="no" title="Rafter Length & Roof Pitch Calculator — TestTalkHQ" style="border:0;max-width:100%;width:100%;"></iframe>
  <p style="font:400 13px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0;">Powered by the <a href="https://testtalkhq.com/rafter-length-calculator/?utm_source=embed&utm_medium=referral&utm_campaign=calculator_embed&utm_content=rafter-length-calculator" target="_blank" rel="noopener">Rafter Length & Roof Pitch Calculator</a> from <a href="https://testtalkhq.com/?utm_source=embed&utm_medium=referral&utm_campaign=calculator_embed&utm_content=rafter-length-calculator" target="_blank" rel="noopener">TestTalkHQ</a></p>
</div>

Any trade

Contractor Job Estimator

Contractor Job Estimator

$29.00

Buy

See all products

Checkout opens here — you stay on this page.

Rafter Layout Gear

A framing square set to 12 and the pitch number is the same math as this calculator. The saw only follows the plumb and seat lines.

Swanson Speed Square

Swanson Speed Square

Pivot to the pitch degree for a fast plumb cut at the ridge and fascia. Confirm the number against the calculator's pitch angle before the first kerf.

View on Amazon →
16 by 24 inch framing square

16×24 Framing Square

12 on the body, pitch on the tongue. That is common-rafter layout. Stair gauges lock the numbers so the walk does not drift.

View on Amazon →
Johnson stair gauges for a framing square

Johnson Stair Gauges

Clamp 12 and the pitch on the square. Same hardware as a stringer walk — on a rafter they keep the plumb and seat cuts honest.

View on Amazon →
7-1/4 inch circular saw

7-1/4" Circular Saw

Set the bevel to the plumb-cut angle for the ridge. Cut the birdsmouth seat and heel separately so you do not overcut the remaining depth.

View on Amazon →
48 inch box beam level

48" Box Beam Level

Prove the plate is level and the ridge is on layout before you hang the first pair. A long level also checks fascia for a straight eave.

View on Amazon →
Rafter length and pitch guide

Mark Plumb Cuts & Birdsmouth

How the pitch triangle becomes lines on a 2x. Use the calculator for numbers, then this guide before the first kerf.

Read the Layout Guide →

As an Amazon Associate, TestTalkHQ earns from qualifying purchases.

How to Use This Rafter Length Calculator

Pick building span (the tool halves it) or enter rafter run directly. Then either type pitch as 6/12, or switch to rise+run and enter total rise in feet. Add the horizontal overhang. Read common-rafter line length, tail, total stock, pitch in degrees and X/12, plumb-cut angle, and birdsmouth seat-cut angle.

run = span ÷ 2  ·  rise = run × (X ÷ 12)  ·  length = √(run² + rise²)

Marking plumb cuts and the birdsmouth: rafter length and pitch guide. Wrong angle or short rafter: rafter troubleshooting. When this math does not apply: common vs hip/valley rafter.

Stairs still live next door: Stair Stringer Calculator and Deck Stair Calculator.

Related Carpentry & Shop Calculators