Skip to content
EstimatorKit

Rafter length from run and pitch

A rafter’s line length runs from the ridge to the plate, and from a run (or a span, which it halves) and a pitch this gives it three ways at once: feet and inches to the sixteenth, decimal feet, and plain inches. Alongside it sits the figure a framing square is stamped with, the length of rafter per foot of run, so the answer can be checked against the tool in your hand. The same triangle then gives the hip or valley off that corner, the ladder of jack rafters at 12, 16, 19.2 or 24 inch centers, and the stock length that covers the piece in one board.

Horizontal distance you have

Measured level, not along the slope. 14' 3 1/2", 171 in and 4.34 m all read the same.

How you know the slope
Jack spacing

Leave the overhang at zero and the answer stops at the plate, which is the number most plans dimension.

Common rafter, ridge to plate

13' 5"

13.416 ft · 161 in · rises 6' over the run

Stepping it off with a framing square

13.42 in of rafter for every foot of run. That is 12 full steps of the square and no odd inches to chase.

Hip and valley off the same corner

Run, measured in plan
16' 11 5/8"
Per foot of common run
18 in
Length
18'
Slope on its own run
4.24 in 12

the diagonal of a 12 in square, 16.97 in, which framers round to 17 on the blade. The hip climbs the same rise across a longer run, so it always lies flatter than the commons it meets.

Jacks, 16 in on center

Each one is 17.89 in shorter than the last.

  1. Jack 1, run 10' 8"11' 11 1/8"
  2. Jack 2, run 9' 4"10' 5 1/4"
  3. Jack 3, run 8'8' 11 5/16"
  4. Jack 4, run 6' 8"7' 5 7/16"
  5. Jack 5, run 5' 4"5' 11 9/16"
  6. Jack 6, run 4'4' 5 11/16"

Stock length to buy

14 ft

7" falls off each piece before the cuts.

Rafter length questions

Is rafter length measured along the top edge or the bottom edge of the board?

Either, because the two cuts are parallel and the distance between two parallel lines is the same wherever you measure it. That is only true once both ends are plumb cuts, which is the normal case. It stops being true the moment one end is square-cut or the tail is cut level for a soffit return, and then the top edge and the bottom edge differ by the board depth multiplied by the pitch — 4 5/8 in on a 2x10 at 6:12.

Why is a hip rafter flatter than the common rafters it meets?

Because it climbs the same rise across a longer run. On a square corner with equal pitches, the hip travels the diagonal of the plan, which is 16.97 in for every 12 in the common travels. The rise at the top is identical, so the hip's own slope is the common pitch divided by the square root of two: a 6:12 roof carries a hip at 4.24:12. That is why hip layout swaps the 12 on the framing square blade for a 17 — and why the seat cut on a hip is a different angle from the seat cut on the commons beside it.

What are the numbers stamped on a framing square blade for?

They are this calculation, precomputed for each whole pitch, and they have been stamped on the blade for well over a century. The first line is the length of a common rafter per foot of run, the second is the hip or valley per foot of common run, and the two below are the difference in length of jacks at 16 and 24 in centers. A square gives you four figures per pitch and nothing between them; this page gives the same four for a 6 1/2:12 and for a run of 14 ft 3 1/2 in.

The plan gives a ridge height instead of a pitch. Can I still get a rafter length?

Yes — switch the slope input to total rise and enter the height gained from the top of the wall plate to the underside of the ridge. The pitch falls out of that and the run, and the page shows it so you can sanity-check it against a number anyone frames to. Watch what the drawing measures from: a ridge height taken from finished floor or from grade includes the wall height and will report a roof roughly twice as steep as the one being built.

Do all the jack rafters step down by the same amount?

On an equal-pitch hip with evenly spaced jacks, yes — the common difference is the spacing multiplied by the per-foot factor, so at 16 in centers on a 6:12 every jack is 17.89 in shorter than the one before it. It stops holding on an irregular hip, where the two roof planes have different pitches and the hip does not run at 45 degrees in plan; there the two sides have separate common differences and separate cheek-cut bevels. Uneven spacing at an opening breaks it too, which is why the ladder here lists each jack with its own run.

Does this length include the tail and the ridge deduction?

The headline figure does not — it is the line length from the ridge centerline to the outside of the plate, which is the dimension a plan and a lumber list both use. Enter an overhang and the tail is added below it, on the slope, so you can see how much longer the board is than the projection. The half-ridge shortening is deliberately left out here and handled where the rest of the cuts are, because it changes with the ridge material rather than with the roof.

The number a framing square already carries

Rafter length is one square root, and everything interesting about it is in what gets measured. The run is horizontal and the length is not, so the two are related by the slope factor — but a run taken along an old rafter, off a section drawing, or across a foundation rather than a plate is a different number from the one the formula wants, and no amount of precision downstream recovers it. The convention that makes this workable on a job is the measuring line: pick the run to the ridge centerline, mark plumb at both ends, and the length is the same on any edge of the board.

The four figures a steel framing square carries on its blade are worth knowing because they turn the whole layout into repeated addition. Length of common rafter per foot of run; length of hip or valley per foot of common run; difference in length of jacks at 16 in centers, and at 24. A carpenter with those four numbers can lay out a hip roof by stepping the square along a board, and every one of them is the same triangle evaluated once. The square only carries whole pitches, though, and only for a run in whole feet — which is why the two things this page adds are half pitches and odd inches, the two cases a remodel produces constantly and a stamped table never covers.

Hips and valleys are where the arithmetic stops being obvious. The hip runs the diagonal, so its plan run is longer by the square root of two while its rise stays put, and it therefore lies flatter than the commons — the reason its per-foot constant is built on 288 rather than 144. When the pitch itself is unknown, give the rise from plate to ridge instead and the page works the pitch back out of it. The same step-off logic drives a stair stringer, and the sheathing these rafters carry is counted plane by plane on the plywood calculator.