Field tool

Roof Framing Tool

Enter the building, the pitch and the timber you have chosen; the tool lays out every rafter of a gable or hip roof the way a framing square does, worked exactly: common, hip, valley and jack lengths along the line, plumb, seat and cheek cuts with the saw settings, the birdsmouth and its height above the plate, the cut list against your stock lengths, and each rafter as a full-size template to print and lay on the board.

  • Screen & modellingWhat it works from
  • Any browserPrinter (optional)

Geometry only, from the sizes you entered. Member sizes, spans, spacing, bearing and connections per your engineer or building code; nothing here checks them.

Your roof and your timber

Roof

Timber you have chosen (actual sizes)

Birdsmouth
Hip top edge
Wing

The roof at a glance

Slope
26.6° (6 in 12)
Run of a common
12 ft (3,658 mm)
Rise, plate to ridge line
6 ft (1,829 mm)
Common, heel point to ridge plumb line
13 ft 4 3/16 in (4,068 mm)
Height above the plate (HAP)
6 3/8 in (161 mm)
Top of commons at the ridge, above the plate
6 ft 6 3/8 in (1,990 mm)
Jacks shorten by, each space
17 7/8 in (454 mm)
Plumb cut on the commons
63.4° to the edge

Opens this roof in the Construction Canvas over its walls, at the same span, length, pitch and overhangs; the canvas lists its own quantity rows for it.

Framing plan and section, to scale

Framing plan of a hip roof, 40 ft (12,192 mm) by 24 ft (7,315 mm), with every rafter at its layout position.CKHJ1J2J3J4J5J6J7J8length 40 ft (12,192 mm)span 24 ft (7,315 mm)
Plan: walls dashed, eaves (the tail line) thin. The letters are the members in the table below: C common, K king common, H hip, V valley, SV supporting valley, J hip jack, M main-roof valley jack, W wing jack, X cripple, WC wing common, F fly rafter.
Section through a common rafter: run 12 ft (3,658 mm), rise 6 ft (1,829 mm), overhang 12 in (305 mm), height above the plate 6 3/8 in (161 mm), slope 26.6°.run 12 ft (3,658 mm)12 in (305 mm)rise 6 ft (1,829 mm)26.6°, 6 in 12HAP 6 3/8 in (161 mm)6 ft 6 3/8 in (1,990 mm) above the plate
Section through a common rafter: the dashed measuring line runs from the heel point (dot) through the ridge's centreline; every length is taken along it.

Every rafter: lengths along the line, cuts and saw settings

Lengths run along the measuring line from the heel point (where the heel cut meets the seat) to the top plumb line, after the deduction for what the rafter butts into; the tail is measured the other way from the same point. “Board” is the length the member needs, end to end at its long points. Cheek cuts are plumb lines cut with the blade tilted 45°; jacks come in left and right hands.

Each member of the roof: count, size, lengths along the line, birdsmouth and the cuts at each end
MemberCountHeel to top plumb lineTailBoardBirdsmouthTop cutTail or foot cut
CCommon rafter1 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°2613 ft 4 3/16 in (4,068 mm)theoretical 13 ft 5 in (4,089 mm), less 13/16 in (21 mm)13 7/16 in (341 mm)14 ft 9 3/16 in (4,501 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Plumb: 63.4° to the edge (saw 26.6°, blade square), against the ridge boardPlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
KKing common rafter (hip end)1 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°213 ft 4 3/16 in (4,068 mm)theoretical 13 ft 5 in (4,089 mm), less 13/16 in (21 mm)13 7/16 in (341 mm)14 ft 9 3/16 in (4,501 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Plumb: 63.4° to the edge (saw 26.6°, blade square), against the end of the ridge boardPlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
HHip rafter1 1/2 in (38 mm) × 9 1/4 in (235 mm), slope 19.5°417 ft 10 7/8 in (5,458 mm)theoretical 18 ft (5,486 mm), less 1 1/8 in (29 mm)18 in (457 mm)19 ft 8 1/8 in (5,998 mm)HAP 6 1/16 in (155 mm); seat 10 1/2 in (267 mm); heel 3 3/4 in (95 mm); notch 3 1/2 in (89 mm) (38% of the depth)Double cheek: plumb 70.5° to the edge, blade 45° (saw 19.5°, bevel 45°); top edge 43.3°, against the corner of the ridge's end and the king commonDouble cheek: plumb 70.5° to the edge, blade 45° (saw 19.5°, bevel 45°); top edge 43.3°, against the fascia corner
J1Hip jack 11 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)11 ft 9 15/16 in (3,605 mm)theoretical 11 ft 11 1/8 in (3,635 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)13 ft 3 13/16 in (4,059 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J2Hip jack 21 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)10 ft 4 1/16 in (3,150 mm)theoretical 10 ft 5 1/4 in (3,181 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)11 ft 9 15/16 in (3,605 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J3Hip jack 31 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)8 ft 10 1/8 in (2,696 mm)theoretical 8 ft 11 5/16 in (2,726 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)10 ft 4 in (3,150 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J4Hip jack 41 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)7 ft 4 1/4 in (2,242 mm)theoretical 7 ft 5 7/16 in (2,272 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)8 ft 10 1/8 in (2,696 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J5Hip jack 51 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)5 ft 10 3/8 in (1,787 mm)theoretical 5 ft 11 9/16 in (1,817 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)7 ft 4 1/4 in (2,242 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J6Hip jack 61 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)4 ft 4 1/2 in (1,333 mm)theoretical 4 ft 5 11/16 in (1,363 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)5 ft 10 3/8 in (1,787 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J7Hip jack 71 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)2 ft 10 9/16 in (879 mm)theoretical 2 ft 11 3/4 in (909 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)4 ft 4 1/2 in (1,333 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face
J8Hip jack 81 1/2 in (38 mm) × 7 1/4 in (184 mm), slope 26.6°8 (4 L, 4 R)16 11/16 in (424 mm)theoretical 17 7/8 in (454 mm), less 1 3/16 in (30 mm)13 7/16 in (341 mm)2 ft 10 9/16 in (878 mm)HAP 6 3/8 in (161 mm); seat 3 1/2 in (89 mm); heel 1 3/4 in (44 mm); notch 1 9/16 in (40 mm) (22% of the depth)Cheek: plumb 63.4° to the edge, blade 45° (saw 26.6°, bevel 45°); top edge 41.8°, against the hip's sidePlumb: 63.4° to the edge (saw 26.6°, blade square), against the fascia's back face

Hip backing: 18.4° on each side of the top edge; or drop the hip 1/4 in (7 mm) and leave it square. The hip's own slope is 19.5°.

Cut list and boards to buy, from your stock lengths

Each rafter is one piece and is never joined; a rafter longer than every stock length is listed, not split. Ridge boards and fascia may be joined, and the plan says where it ran out. The saw kerf is charged on every cut. The pieces come from the cut list optimiser's own planner.

Commons, jacks and cripples, 1 1/2 in (38 mm) × 7 1/4 in (184 mm)

  • 26 × Common rafter14 ft 9 3/16 in (4,501 mm)
  • 2 × King common rafter (hip end)14 ft 9 3/16 in (4,501 mm)
  • 8 × Hip jack 113 ft 3 13/16 in (4,059 mm)
  • 8 × Hip jack 211 ft 9 15/16 in (3,605 mm)
  • 8 × Hip jack 310 ft 4 in (3,150 mm)
  • 8 × Hip jack 48 ft 10 1/8 in (2,696 mm)
  • 8 × Hip jack 57 ft 4 1/4 in (2,242 mm)
  • 8 × Hip jack 65 ft 10 3/8 in (1,787 mm)
  • 8 × Hip jack 74 ft 4 1/2 in (1,333 mm)
  • 8 × Hip jack 82 ft 10 9/16 in (878 mm)

Buy: 20 × 16 ft (4,877 mm), 36 × 18 ft (5,486 mm). Waste 3.7%.

Hips and valleys, 1 1/2 in (38 mm) × 9 1/4 in (235 mm)

  • 4 × Hip rafter19 ft 8 1/8 in (5,998 mm)

Buy: 4 × 20 ft (6,096 mm). Waste 1.6%.

Ridge boards, joined over a rafter pair where longer than the stock

  • 1 × Ridge board16 ft 1 1/2 in (4,915 mm)

Buy: 1 × 18 ft (5,486 mm). Waste 10.4%.

Fascia, joined where longer than the stock

  • 1 × Fascia, back eave42 ft (12,802 mm)
  • 2 × Fascia, hip ends26 ft (7,925 mm)
  • 1 × Fascia, front eave42 ft (12,802 mm)

Buy: 1 × 18 ft (5,486 mm), 6 × 20 ft (6,096 mm). Waste 1.4%.

Full-size rafter templates to print

Pick a member and print it at 1:1 on ordinary paper: the sheets carry registration marks, page names and a calibration square, and tape together into the cuts at full size. By default only the ends are printed (the tail and birdsmouth, and the top cut); the length between them is set with a tape from the heel point.

Working out the sheets…

Geometry only, from the sizes you entered. Member sizes, spans, spacing, bearing and connections per your engineer or building code; nothing here checks them.

Framing conventions this layout uses

  • The ridge board is cut to the hips' points plus half a common's thickness at each end, so the king commons butt its ends and the hips frame into the corners.
  • The hips are dropped (their height above the plate is less by the drop), so their top edges stay square. To back them instead, plane the backing bevel on both sides of the top edge and use the commons' height above the plate.
  • A hip seats over the corner of the plates: on each face the heel line sits half the hip's thickness further in (measured level) than on the centreline drawn, so the heel wraps the corner; or clip the plates' corner instead.
  • Fascia lengths are along its back face, on the tail plumb line; where two boards mitre at a corner the outside face is longer by the board's thickness at that corner.

Where the geometry comes from

  • Leonard Koel, Carpentry (American Technical Publishers), roof framing chapters: common, hip, valley and jack rafter layout with the framing square, the measuring line, the shortening allowances (half the ridge; half the 45° thickness of the common rafter or of the hip or valley) and hip backing and dropping
  • Marshall Gross, Roof Framing (Craftsman Book Company): unit run and unit rise, the 17 in unit run of a hip or valley, the common difference of jacks and the side (cheek) cuts
  • Framing square rafter tables (Stanley and Swanson squares): length of common rafter per foot of run, length of hip or valley per foot of run, difference in length of jacks at 16 in and 24 in centres, side cut of jacks and of hip or valley
  • International Residential Code 2021, R802.6 (bearing) and R802.7.1 (end notches no deeper than one-fourth of the member's depth): quoted as limits to read, not checked

How to use the Roof Framing Tool

  1. Choose gable or hip and enter the building

    The span and the length are to the outside faces of the wall plates, the overhang is level from the wall face to the tail's plumb cut, and the pitch is rise in 12 or degrees.

  2. Enter the timber you have chosen

    Actual sizes, not names: a 2×8 is 1 1/2 × 7 1/4 in, a 45 × 195 is 45 × 195 mm. The ridge's thickness, the plate's width and the spacing set the deductions, the seat and the layout.

  3. Read the lengths along the line

    Each member's length runs from the heel point to the top plumb line, after the deduction for what it meets; the tail is measured the other way from the heel point.

  4. Set the saw from the cut columns

    A plumb cut is a mitre equal to the member's slope across the face; a cheek cut is the same line with the blade tilted 45 degrees, left or right hand as listed.

  5. Print a template and cut a pattern rafter

    Print the ends at 100 percent, check the calibration square, tape the sheets on the registration marks, mark one rafter, cut it, test it on the plate and the ridge, then use it to mark the rest.

Where this tool stops

Equal pitches only, hips and valleys at 45 degrees in plan, a rectangular main roof with at most one gable wing; the deductions follow one stated convention (hips into the ridge end and the king common), so a ridge beam, hangers or rafters bearing on each other need their own. It takes the member sizes, spacing and overhang as given and checks none of them.

Roof Framing Tool — frequently asked questions

How long is a rafter for a 6/12 roof on a 24 ft building?
The run is 12 ft, and at 6 in 12 a rafter is 13.42 in long for every 12 in of run, so its theoretical length is 161 in, 13 ft 5 in, from the heel point to the ridge's centreline. Take half a 1 1/2 in ridge, 3/4 in level or 0.84 in along the rafter, and it is 160 3/16 in to the plumb cut; a 12 in overhang adds 13 7/16 in of tail.
What is the height above the plate (HAP) and how is it set?
It is the plumb distance from the heel point, where the heel cut meets the seat, up to the rafter's top edge. Every rafter that bears on a wall should share it so the roof plane stays true. By default the tool sets the seat to bear on the whole wall plate, which gives HAP = depth over the cosine of the slope less the plate width times the rise per unit run; you can enter your own and the seat follows.
How much shorter is the hip than the common difference suggests, and why the deduction?
A hip is not shortened by the common difference; the jacks are. The hip runs √2 times the common's run in plan, so at 6 in 12 it is 18 in long per foot of common run. Framed into the corner of the ridge's end and the king common rafter, it loses half the 45 degree thickness of the common rafter: 3/4 in times √2, 1.06 in level, 1 1/8 in along a 6/12 hip.
What saw settings cut a jack rafter's cheek?
Mark the plumb line on the face, the same angle as a common's (63.4 degrees to the edge at 6/12), tilt the blade 45 degrees and follow the line. On the top edge the cut reads 41.8 degrees to the edge, which is the framing square's 12 against 10 3/4 for 6 in 12. Jacks come in pairs of hands, one for each side of the hip.
Should I back the hip or drop it?
Either, not both. Backing bevels the hip's top edge to the two roof planes, 18.4 degrees each side at 6 in 12. Dropping leaves it square and lowers it by the amount the planes fall over half its thickness, 0.27 in for a 1 1/2 in hip at 6 in 12, which the tool takes off the hip's height above the plate.
Does this tool size rafters or check spans?
No. It has no span table and makes no structural check. The depth, thickness, spacing and overhang are yours, and the answer is the geometry of those members. Member sizes, spans, bearing, notching and connections are for your engineer or building code; the IRC's limits on bearing and end notches are quoted beside the template for reference only.
How do the printed templates work?
The member is drawn at full size and split over A4, Letter, A3 or Tabloid sheets with an overlap, registration crosses, a page name on every sheet and a square of 100 mm and 4 in to measure before cutting. By default only the ends print, the tail and birdsmouth and the top cut, because a long rafter is mostly two parallel lines; the length between them is set with a tape from the heel point.
Can it frame valleys and an L-shaped roof?
Yes, for a gable wing at the same pitch as the main roof. With equal spans the two valleys run to where the ridges cross; with a narrower wing one valley runs to the main ridge and supports the other, and the main roof's jacks between them become cripples. Each comes with its length, cuts and count.

A reading on its own does not order material. These calculators take what you just measured and give you quantities, cuts or cost.

Other field tools