Basement to Roof

Building and Structure

Roof Rafters: How to Cut and Install Them

Updated

Each pair of rafters on a stick-framed gable roof leans against a ridge board and sits on the wall plates through a notch called the birdsmouth. Four things are settled before the first board is cut: the span, the pitch, what holds the walls together, and how the rafter sits on the plate. Once those are right, the rest is repeat work.

This page covers a common gable roof with rafters meeting at a ridge board. Hips, valleys and roofs built with factory trusses are separate jobs.

Rafters, ceiling joists and trusses

Rafters and ceiling joists, sometimes lumped together as "ceiling rafters," do different jobs:

  • Rafters run at the roof slope from the wall plate to the ridge. They carry the roofing, the snow and the wind.
  • Ceiling joists run flat across the top of the walls and carry the ceiling below. When they're nailed to the rafter heels, they also act as rafter ties. Rafter ties stop the rafters from pushing the walls outward.
  • Trusses are factory-built triangles that do both jobs in one piece. Never cut, notch or re-span a truss on site without a letter from the truss engineer.

A rafter roof with no ties low in the attic spreads the walls. You see it years later as a sagging ridge and walls leaning out at the top. That's the most common failure in homeowner-built roofs.

Before cutting anything

  • Pull a permit. Nearly every US jurisdiction requires one for new roof framing. The inspector will check rafter size, spacing, ties, ridge size and uplift connectors before the roof is sheathed.
  • Find your design loads. The building department will give you the ground snow load and design wind speed for your address. These set the rafter size more than anything else.
  • Decide the pitch. Pitch is written as rise per 12 inches of run, such as 6/12. Below 3/12, code no longer allows a plain ridge board. The ridge has to be an engineered structural ridge beam carried on posts down to the foundation.
  • Check the walls. The top plates have to be straight, level and the same height on both sides. Every error in the walls shows up again in the roof.

Rafter sizing

Rafter span is measured horizontally, from the inside of the wall plate to the ridge. It's not the length of the sloped board. The values below come from the 2021 IRC rafter tables. They assume a 10 psf dead load (light roofing such as asphalt shingles), no ceiling attached to the rafters, and a deflection limit of L/180.

20 psf roof live load (little or no snow)

Species and grade Size 16" o.c. 24" o.c.
Douglas fir-larch No. 2 2x6 14'-7" 11'-11"
2x8 18'-5" 15'-1"
2x10 22'-6" 18'-5"
2x12 26'-0" 21'-4"
Southern pine No. 2 2x6 13'-6" 11'-0"
2x8 17'-1" 13'-11"
2x10 20'-3" 16'-6"
2x12 23'-10" 19'-6"
Spruce-pine-fir No. 2 2x6 14'-4" 11'-9"
2x8 18'-2" 14'-10"
2x10 22'-3" 18'-2"
2x12 25'-9" 21'-0"

30 psf ground snow load

Species and grade Size 16" o.c. 24" o.c.
Douglas fir-larch No. 2 2x6 12'-1" 9'-10"
2x8 15'-4" 12'-6"
2x10 18'-9" 15'-3"
2x12 21'-8" 17'-9"
Southern pine No. 2 2x6 11'-2" 9'-2"
2x8 14'-2" 11'-7"
2x10 16'-10" 13'-9"
2x12 19'-10" 16'-2"
Spruce-pine-fir No. 2 2x6 11'-11" 9'-9"
2x8 15'-1" 12'-4"
2x10 18'-5" 15'-1"
2x12 21'-5" 17'-6"

Some conditions call for a different table: heavier snow, tile or slate roofing, a drywall ceiling fastened directly to the rafters (as in a vaulted ceiling), or rafter ties raised up the slope. Your jurisdiction may also have adopted a different code edition or local changes. Use the table your inspector uses. Don't stretch a span. If you're within a few inches of the limit, go up one size.

A sizing check that often gets missed: the ridge board has to be at least as deep as the full plumb cut on the end of the rafter. A 2x8 rafter at 6/12 has a plumb cut of about 8-1/8", which is deeper than another 2x8. So 2x8 rafters at that pitch need a 2x10 ridge. Code also requires the ridge to be at least 1" nominal thick. Most framers use 2x stock.

The numbers that lay out a rafter

Pitch Rafter length per foot of run Plumb cut angle (from square)
4/12 12.65" 18.4°
5/12 13.00" 22.6°
6/12 13.42" 26.6°
8/12 14.42" 33.7°
10/12 15.62" 39.8°
12/12 16.97" 45.0°

The same factors are printed on the rafter table of any steel framing square. A speed square marks the plumb cut directly. Pivot it on the "pivot" point until the pitch number lines up with the edge of the board.

Worked example: 24-foot-wide house, 6/12 pitch, 12" overhang

  1. Run: half the building width, 12'-0". The width is measured outside to outside of the wall plates.
  2. Theoretical length: 12 × 13.42" = 161.04", measured along the top edge of the rafter from the outside of the plate to the center of the ridge.
  3. Shorten for the ridge: half the ridge thickness is 3/4". At 6/12 that is 3/4" × 1.118, about 7/8", measured along the rafter. That leaves about 160-3/16".
  4. Add the overhang: 12" of run × 13.42 / 12 = 13-7/16".
  5. Total: about 173-5/8", or 14'-5-5/8". Buy 16-footers. That covers crowning, trimming the tail and the occasional bad board.

Mark the ridge plumb cut first. Measure the length from it along one edge, mark the birdsmouth, then mark the tail.

The birdsmouth

The birdsmouth is the notch that lets the rafter sit flat on the wall plate. It has two cuts:

  • Seat cut: level, and it bears on the top plate.
  • Heel cut: plumb, and it lines up with the outside face of the wall.
Side view of a 2x8 rafter at 6/12 pitch notched over a 2x4 wall, showing the level seat cut, the plumb heel cut and the notch depth.3-1/2 in.1-3/4 in.2x8 rafter6/12 pitch126Seat cut: levelbears on the top plateShallow notchno more than about 1/4of the rafter depth2x4 wallHeel cutplumb, at theoutside face
The birdsmouth on a 2x8 rafter at 6/12 over a 2x4 wall: a level seat cut that bears on the top plate and a plumb heel cut in line with the outside face of the wall. A 3-1/2 in. seat takes about 1-3/4 in. out of the board, which is shallow enough.

Keep the notch shallow. A good rule is that the plumb depth of the notch should be no more than about one-quarter of the rafter depth, leaving at least three-quarters of the board above the seat. On a 2x4 wall at 6/12, a 3-1/2" seat removes about 1-3/4" of depth. That's fine on a 2x8.

On a 2x6 wall, don't cut the seat the full 5-1/2". A full-width seat on a 2x8 at 6/12 cuts away nearly 40% of the board right where the shear is highest. Code requires only 1-1/2" of bearing. Cut a shorter seat, let the rafter overhang the inside of the plate, and keep the heel cut on the outside face.

Cutting: make one pattern, then copy it

  1. Sight down every board and mark the crown (the high side of any bow). The crown always goes up.
  2. Cut one pattern rafter with the ridge plumb cut, birdsmouth and tail cut.
  3. Test it at both ends of the building. Hold it at the ridge height with a scrap ridge piece and check the seat bearing and heel line. Walls are rarely perfect, so it's better to find that out now.
  4. Fix the pattern, then trace it onto every other rafter. Trace every rafter from the original pattern. Don't use the last rafter you cut, or small errors add up.
  5. Cut the plumb cuts with a circular saw. Finish the birdsmouth corners with a handsaw or jigsaw. Don't overcut past the corner of the birdsmouth. An overcut there starts a split.

Layout on the plates and ridge

  • Mark rafter locations on both top plates and on the ridge board from the same end, using the same spacing (16" or 24" on center).
  • Put each rafter right next to a ceiling joist so the two can be nailed together at the heel.
  • Rafters on opposite sides of the ridge have to land directly across from each other. Code allows an offset of no more than the thickness of one rafter.
  • Lay out the ridge board on the deck, then cut it to length. Plan joints in long ridges so they fall at the center of a rafter pair.

Raising the roof

  1. Set the gable-end pairs first. Two people set one rafter on each side at the gable end and toenail them to the plate. They hold the ridge at height on temporary posts or a braced 2x4 and nail the rafters to it.
  2. Plumb and brace the ridge before adding more rafters. Run a long diagonal brace from the ridge down to the deck at each end.
  3. Fill in pairs, working from both sides. Set one rafter, then the one directly across from it, so the ridge never gets pushed out of line.
  4. Check the ridge for straightness with a string line every few pairs.
  5. Nail the rafter ties or ceiling joists to the rafter heels as you go. The nail count depends on the pitch, span, rafter spacing and snow load, and comes from the heel-joint nailing table in the code. It's often more nails than people expect, so check the table rather than guessing.

Typical code nailing

  • Rafter to top plate: at least three toenails, with two on one side and one on the other. Use 16d box or 10d common nails, or four 3" × 0.131" nails.
  • Rafter to ridge: four 16d toenails, or three 16d nails driven through the ridge into the rafter end on the first rafter of a pair.
  • Collar ties or ridge straps: at least 1x4 (2x4 is common), in the upper third of the attic, no more than 4 ft apart.

Collar ties are not rafter ties. Collar ties high in the attic resist wind uplift at the ridge. Rafter ties low in the attic hold the walls together. A roof with only collar ties will still spread the walls.

Uplift connectors

Many jurisdictions require metal hurricane ties at every rafter-to-plate connection, especially in high-wind areas, and they're cheap insurance everywhere else. Install them before the roof is sheathed, with every nail hole filled using the nail size the manufacturer specifies. Roofing nails and drywall screws are not structural fasteners.

Overhangs and the fascia line

  • Cut the tails a little long, then snap a chalk line across them once all the rafters are up and cut them all in place. Mark the tail plumb cut with the same speed square setting. The result is a straight fascia even if the walls aren't perfect.
  • A level cut on the bottom of each tail gives a flat surface for a soffit.
  • Overhangs over roughly 2 ft at the gable ends need lookout framing. They can't hang off the sheathing alone.

What it costs (late 2026)

Item Typical price
2x8 x 16' #2 SPF or Doug fir about $15–$24 each
2x10 x 16' #2 (ridge, or larger rafters) about $20–$32 each
2x10 x 16' #2 Southern pine about $25–$28 each
Hurricane tie, 18-gauge galvanized (single-rafter type) about $0.60–$0.80 each; 50- and 100-packs bring the price down
16d framing nails, 30–50 lb box about $60–$120

Example materials list: a 24' x 30' gable roof at 16" on center needs about 24 rafter pairs, or 48 rafters. In 2x8 x 16', that's roughly $720–$1,150 in rafter stock. Add a 2x10 ridge (about $60–$100), around 48 hurricane ties ($30–$40) and nails. Ceiling joists, sheathing and roofing are extra. Lumber prices change from month to month and vary by region, so get a current quote from a lumberyard as well as the big-box stores. Yards often have straighter stock.

Mistakes that show up in inspections

  • No rafter ties, or ties set too high in the attic without the larger rafters that the code requires for raised ties.
  • A ridge board shallower than the rafter plumb cut.
  • A plain ridge board on a roof below 3/12, or on a vaulted ceiling with no ties. Both need a structural ridge beam.
  • Birdsmouths cut too deep, or overcut at the corner.
  • Rafters crowned down, leaving a wavy roof plane.
  • Opposite rafters offset more than one rafter thickness at the ridge.
  • Missing hurricane ties, or ties fastened with the wrong nails.
  • Spans taken from the 20 psf table in a snow area.

When to call for help

Some roofs are beyond table framing and need an engineer or a truss supplier:

  • Clear spans longer than any listed size.
  • Heavy roofing such as clay tile or slate.
  • Vaulted ceilings.
  • Dormers that cut through several rafters.
  • Roofs carrying solar panels or equipment.
  • Ground snow loads above 70 psf.

Cutting rafters is a reasonable homeowner job. Getting the load path right from the ridge down to the walls is the part that matters, and you can check that with your inspector before the plywood goes on.