Rafter Length & Pitch Guide

How common-rafter math works — and how to mark plumb cuts and the birdsmouth

A common rafter is a right triangle standing on the plate: run is the horizontal leg, rise is the vertical, the hypotenuse is the board. Pitch is just that triangle written as inches of rise per 12 inches of run.

Need numbers first? Open the Rafter Length & Roof Pitch Calculator. Hip or valley? Use the hip/valley calculator and read common vs hip/valley before you cut — this guide is common rafters only.

Have span and pitch?Common rafter length, X/12, plumb cut, and birdsmouth seat cut.

Open Calculator →

Jump to what you need

How Rafter Length and Pitch Math Works

On a centered gable the building span is the full width, outside of wall to outside of wall. Each common rafter only travels half of that: the run. Rise is measured from the top of the plate up to the top of the ridge. Pitch is rise divided by run, then scaled to 12 inches of run so a framer can say “6-in-12” instead of “0.5”.

run = span ÷ 2
rise = run × (X ÷ 12)
line length = √(run² + rise²)
pitch angle = arctan(rise ÷ run)

That line length is plate-to-ridge along the rafter — the measuring line. Add the tail for a level overhang: tail = overhang ÷ cos(pitch). Total stock ridge-to-fascia is line length plus tail. The calculator prints both so you do not add the overhang twice or forget it.

Worked example — 24 ft span, 6/12, 12" overhangRun = 12 ft = 144". Rise = 144 × 6/12 = 72". Line length = √(144² + 72²) = 161.00" (13′ 5"). Pitch angle = arctan(0.5) = 26.57°. Tail = 12 ÷ cos(26.57°) = 13.42". Total ridge-to-fascia = 174.41" (14′ 6.4"). Plumb cut 26.6°. Seat cut 63.4°. Length per foot of run = 13.416".

A ridge board eats run. A 1.5" ridge in the middle shortens each common rafter by 0.75" of run. Subtract that before you cut or the pair will be long and the ridge will sit high. The calculator does not guess your ridge; you do.

This is the same right triangle as a stair stringer — rise, run, hypotenuse — but the units and the cuts are roof cuts. Stairs get an IRC rise/run flag. Rafters get a pitch angle and a birdsmouth. Do not mix the two layouts on one square without resetting the gauges.

Common Pitches (Quick Check, Not a Substitute)

Use the calculator for the job in front of you. This table is the shop-wall check for standard X/12 roofs: angle, rise per foot of run, and the length-per-foot-of-run number you see on rafter tables.

PitchAngleRise per 12" runLength per foot of run
3/1214.04°3"12.369"
4/1218.43°4"12.649"
5/1222.62°5"13.000"
6/1226.57°6"13.416"
7/1230.26°7"13.892"
8/1233.69°8"14.422"
9/1236.87°9"15.000"
10/1239.81°10"15.620"
12/1245.00°12"16.971"

Length per foot of run times run in feet is the theoretical line length. 6/12 at 12 ft of run: 13.416" × 12 = 161.00" — same as the example. Odd spans and non-even pitches belong in the calculator, not in this table.

How to Mark Plumb Cuts from the Calculator

The plumb cut is vertical when the rafter is in the roof. On the board it is the pitch angle relative to the rafter edge. The calculator's pitch angle and “plumb cut / birdsmouth heel” are the same number. That is what you set on a Speed Square or on the saw bevel for the ridge.

  1. Lock the numbers. Run the Rafter Length & Roof Pitch Calculator. Write pitch X/12, pitch angle, line length, tail, and total stock on the 2x. PDF the cheat sheet if you want it on the sawhorse.
  2. Crown up. Sight the stock. Crown toward the sky so the eave does not sag. Cut the straightest piece as the pattern pair.
  3. Square at 12 and pitch. Body on 12, tongue on the pitch number (6 for a 6/12). That setting is both the plumb line and the seat line — they are complementary.
  4. Ridge plumb first. Tick the plumb cut at the top. Measure line length down the top edge (or along the measuring line if you drop for a birdsmouth). Do not measure along the bottom edge and expect the same number after the birdsmouth is cut.
  5. Fascia plumb. The tail plumb cut is the same angle as the ridge. Measure total stock or add tail to the plate line. Cut a square overhang; do not “eyeball” the fascia and then wonder why the rafter is short.
Pattern pair. Cut two commons as a pair, hang them on layout, and prove the ridge is straight and the fascia is in plane. Then clone. Independent layouts on every rafter is how you get a wavy ridge.

If the angle on the saw does not match the calculator within about a tenth of a degree, the pair will gap at the ridge or the seat will not sit. That is a troubleshooting problem, not a “tap it in” problem.

How to Mark the Birdsmouth

A birdsmouth is two cuts: a heel (plumb, against the outside of the plate) and a seat (level, on top of the plate). The heel uses the same plumb angle as the ridge. The seat uses 90° minus pitch — the calculator's seat/level cut.

  1. From the ridge plumb, measure line length to the building line (outside of the plate). That is where the heel lands.
  2. From that heel line, mark the seat into the rafter, level, equal to the plate width you will actually sit on (typically 3.5" on a 2x4 wall, 5.5" on a 2x6). Do not seat the full width if remaining rafter depth would drop below what the span and loading need.
  3. Cut the heel and the seat as two stops. Do not let a circular saw blow through the crotch. Remaining wood above the seat is the rafter's beam. Overcutting it is the roof version of killing a stringer throat.
Seat vs remaining depthA 2x10 common (9.25" actual) on a 6/12 with a 3.5" seat still has healthy leftover. The same seat on a 2x6 common leaves almost nothing. The calculator gives angles, not a stamp that your stock is deep enough. If remaining depth looks skinny, step up the rafter, not the saw.
Common rafter only. A hip or valley does not get this birdsmouth layout from these angles. Use the hip/valley calculator and the diagonal-run guide. Decision: common vs hip/valley.

Numbers, then the squareSpan or run, pitch or rise, overhang — then mark one pattern pair.

Open Rafter Calculator →

FAQ

Is span the same as run?

No. Span is the building width. Run is half of that on a centered gable. Entering span in the run box doubles the triangle and the rafter will be wildly long.

Do I add overhang to the line length as inches along the board?

No. Overhang is horizontal. The calculator converts it to tail length on the slope. Adding 12" of eave as 12" of board on a 6/12 is about 1.4" short on the tail.

What saw setting is the birdsmouth?

Two settings. Heel = pitch angle (same as ridge plumb). Seat = 90° minus pitch. One bevel does not cut both.

Can I use this for a shed roof (single slope)?

Yes for a common rafter on a single slope if you enter the actual run (plate to bearing), not half a gable span. Do not use span mode unless there is a centered ridge.

Does this size the rafter (2x8 vs 2x10)?

No. It sizes length and cut angles. Span tables, snow, and species size the stock. Stairs have an IRC flag in the stringer calculator; rafters do not get a hidden size stamp here.

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

Lock 12 and the pitch on a framing square. The calculator is the numbers; the square is the line.

Swanson Speed Square

Swanson Speed Square

Pivot to the pitch degree for the ridge plumb cut. Confirm it against the calculator angle so the pair meets the ridge.

View on Amazon →
16 by 24 inch framing square

16×24 Framing Square

12 on the body, pitch on the tongue. Same walk as a stringer, different triangle.

View on Amazon →
Johnson stair gauges for a framing square

Johnson Stair Gauges

Clamp the pitch so the square cannot drift while you tick plumb and seat lines.

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

7-1/4" Circular Saw

Bevel to the plumb-cut angle. Stop the birdsmouth kerfs short of the crotch so remaining depth stays in the board.

View on Amazon →
48 inch box beam level

48" Box Beam Level

Prove plate and ridge before the first pair. A rolling plate shows up as a rafter that is “too short” on one side.

View on Amazon →
Rafter length calculator

Get the Numbers First

Span or run, pitch or rise, overhang. Common rafter only.

Open Rafter Calculator →

As an Amazon Associate, TestTalkHQ earns from qualifying purchases.

Related Carpentry & Shop Calculators