Subscribe

ARCHITECTURE · July 5, 2026

Gable Roof Framing: Rafters, Trusses, and Layout

Gable roof framing explained: ridge board, common rafter layout, birdsmouth cuts, IRC rafter and collar tie code, spans, and rafters vs trusses.

Gable roof framing builds the classic two-sided triangular roof from a ridge board and pairs of common rafters that transfer roof loads down to the exterior walls, with ceiling joists or rafter ties resisting the outward thrust at the wall plate. You either stick-frame it rafter by rafter on site or set prefabricated gable trusses by crane. This guide covers the parts, the geometry, the rafter layout, the install sequence, and the exact IRC code numbers most walkthroughs leave out.

What are the parts of a gable roof frame?

A gable roof frame is a repeating structural triangle made from a ridge at the peak, sloping common rafters on both sides, and a horizontal tie at the base that stops the rafters from spreading. The gable ends are the vertical triangular walls closed in with studs. Every other member exists to carry load, resist thrust, or hold the assembly straight.

  • Ridge board: the horizontal member at the peak that rafters nail against. In a stick-framed roof it is usually a 1x or 2x board sized so it is not less than the cut end of the rafter (per IRC R802.3). It is a nailing and alignment reference, not a load-bearing beam, as long as rafter ties are present.
  • Common rafters: the primary sloping members, typically 2×6 through 2×12, that carry sheathing, underlayment, and roofing loads from ridge to wall plate.
  • Birdsmouth: the notch cut into each rafter where it sits on the top plate, made of a horizontal seat cut and a vertical heel (plumb) cut.
  • Plumb cut and tail cut: the plumb cut is the angled cut at the top where the rafter meets the ridge; the tail cut shapes the rafter end that forms the eave overhang.
  • Ceiling joists and rafter ties: horizontal members that connect opposing walls or rafters and absorb the outward thrust the sloping rafters generate.
  • Collar ties: horizontal members in the upper third of the roof that resist rafter separation under wind uplift.
  • Gable end studs: vertical studs that fill in the triangular end wall below the end rafter.

How do you calculate gable roof geometry (run, rise, and pitch)?

Gable roof geometry comes from three numbers: the run, the rise, and the pitch. The run is the horizontal distance from the centerline of the ridge to the outside edge of the top plate, which is half the building width for a symmetrical gable. The rise is the vertical height the roof climbs over that run. Pitch is written as rise over 12 inches of run, so a 6/12 roof rises 6 inches for every 12 inches of run.

To find the theoretical rafter length, multiply the run by the rafter-per-foot factor for the pitch, or use the Pythagorean relationship: rafter length equals the square root of (rise squared plus run squared). On a 24-foot-wide building at 6/12, the run is 12 feet and the calculated rafter line length is about 13 feet 5 inches before you deduct for the ridge and add for the overhang.

Get the pitch decision right before you cut anything, because it drives rafter length, material takeoff, and code span limits. Our guide to calculating roof pitch walks through the 12-inch-run rule and conversion between ratio, degrees, and percent.

Pitch (rise/12) Angle (degrees) Rafter length per foot of run 24 ft wide, rafter line length
4/12 18.4 12.65 in ~12 ft 8 in
6/12 26.6 13.42 in ~13 ft 5 in
8/12 33.7 14.42 in ~14 ft 5 in
10/12 39.8 15.62 in ~15 ft 7 in
12/12 45.0 16.97 in ~16 ft 11 in

Rafter line length above is measured along the top edge from the ridge centerline to the wall plate, before the ridge deduction and overhang are applied.

How do you lay out a common rafter?

You lay out a common rafter by marking the plumb cut at the ridge, stepping off the run in 12-inch increments to set the birdsmouth, then marking the tail cut for the overhang. The fastest field method is the step-off with a framing square and a pair of stair gauges clamped at the rise and 12-inch run for your pitch. Each step advances the square one foot of run along the rafter.

  1. Set the pitch on the square. Clamp stair gauges at the rise (for example 6) on the tongue and 12 on the body. Every placement now traces one foot of run at the correct angle.
  2. Mark the ridge plumb cut. Scribe the plumb line at the top of the rafter. This is where the rafter meets the ridge board.
  3. Deduct half the ridge thickness. Measure back along the rafter, perpendicular to the plumb cut, by half the ridge board thickness (3/4 inch for a nominal 1.5-inch ridge) and mark a new parallel plumb cut. Skipping this makes the roof sit too wide.
  4. Step off the run. Walk the square down the rafter one foot at a time for the full run (12 times for a 12-foot run), keeping the body edge on the rafter top edge each step.
  5. Lay out the birdsmouth. At the last step mark the seat cut (horizontal, equal to the plate width) and the heel plumb cut. A common rule is to leave at least two-thirds of the rafter depth above the seat cut for bearing strength.
  6. Mark the tail and overhang. Continue past the birdsmouth by the overhang run, then cut the tail plumb, square, or with a soffit-return detail.

Cut one rafter, test-fit it against the ridge and plate, then use it as the pattern to trace the rest. One pattern rafter keeps the whole roof consistent.

What is the step-by-step gable roof framing sequence?

Gable roof framing follows a fixed order: brace the ridge to height, install common rafters in opposing pairs, tie the rafters at the plate, then fill the gable ends and sheathe. Working in pairs across the ridge keeps the assembly balanced so nothing racks before it is tied together.

  1. Mark rafter layout on the plates and ridge. Transfer the rafter spacing (commonly 16 or 24 inches on center) onto both top plates and the ridge board so every rafter lands opposite its partner.
  2. Set and brace the ridge board. Support the ridge at the correct height with temporary posts and diagonal bracing. The ridge stays temporary until enough rafters lock it in.
  3. Install the first rafter pairs. Nail opposing rafters to the ridge and toe-nail or hurricane-tie them at the birdsmouth. Rafters must sit within 1.5 inches of directly opposite each other across the ridge, per IRC R802.3.
  4. Fill in the remaining commons. Work outward in pairs to the ends, checking the ridge stays straight and level.
  5. Install ceiling joists or rafter ties. Fasten the horizontal tie to each rafter foot or to the wall plates to resist outward thrust before you load the roof.
  6. Frame the gable ends. Set the end rafters, then plumb-cut gable studs down to the end wall on the same layout as the wall below.
  7. Add collar ties and bracing. Install collar ties in the upper third and any purlin or knee bracing the span requires.
  8. Sheathe the roof. Install roof decking, then underlayment. See our roof sheathing guide for OSB versus plywood and thickness by rafter spacing.

What does the IRC require for rafter ties, collar ties, and spans?

The International Residential Code sets the numbers that keep a gable roof standing: rafter ties near the plate resist thrust, collar ties near the ridge resist uplift separation, and span tables cap how far a given rafter can reach. These are the specifics most framing walkthroughs skip, and they are what an inspector actually checks.

  • Rafter ties (IRC R802.5.2): where ceiling joists are not parallel to rafters, rafter ties are required. They must be at least nominal 2×4, spaced no more than 24 inches on center, and installed in the lower third of the rafter height near the plate. They resist the outward thrust that would otherwise push the walls apart.
  • Collar ties (IRC R802.4.6 in the 2021 IRC): where used, collar ties are at least nominal 1×4, spaced no more than 4 feet on center, and located in the upper third of the attic space. They resist rafter separation under wind uplift, not outward thrust.
  • Ridge offset (IRC R802.3): opposing rafters must meet the ridge board offset no more than 1.5 inches from each other, or be tied directly opposite with a collar tie, gusset plate, or ridge strap.
  • Rafter spans (IRC R802.4.1 tables): rafter size is set by span tables measured along the horizontal projection, based on species, grade, spacing, and load. Where ties sit higher than the plate, the tabulated spans are reduced by an adjustment factor.

Confusing a collar tie for a rafter tie is the most common framing error here: a collar tie high in the roof does not stop the walls from spreading, and inspectors flag it. Treat the two as separate members with separate jobs.

Common rafter size and spacing reference

The table below is a general orientation for No. 2 grade dimensional lumber under a typical roof load. Always confirm against the IRC span tables and your local amendments for your species, grade, spacing, snow load, and dead load before cutting.

Rafter size Spacing Typical max horizontal span (approx.) Common use
2×6 16 in o.c. ~12 to 14 ft Sheds, garages, short spans
2×8 16 in o.c. ~15 to 18 ft Small to mid-size homes
2×10 16 in o.c. ~18 to 22 ft Wider spans, higher loads
2×12 16 in o.c. ~22 to 26 ft Long spans, heavy snow load

Spans shrink at 24-inch spacing and under heavier snow or dead loads. These ranges are planning figures, not a substitute for the code table for your jurisdiction.

Should you use rafters or a gable truss?

Stick-framed rafters give you attic space and on-site flexibility; engineered gable trusses give you speed, longer clear spans, and predictable cost. For most new gable roofs over about 24 feet wide, prefabricated trusses set by crane are faster and cheaper in labor, while cut-and-stack rafters win when you want usable attic volume, vaulted ceilings, or you are matching an existing framed roof.

Factor Stick-framed rafters Gable trusses
Labor and speed Slower, cut on site Faster, set in a day on many homes
Clear span Limited by lumber span tables Long spans without interior bearing walls
Attic and ceiling options Usable attic, vaulted possible Webs block storage; energy-heel available
Engineering Framer plus code tables Truss shop provides sealed drawings
Field changes Flexible on site Cannot cut a truss member without an engineer

Truss webs cannot be cut or modified in the field without an engineer’s sign-off, which is the trade-off for the speed. For truss families, spans, and pricing, see our breakdowns of roof truss types and roof truss cost by span.

Where does gable roof framing fit in the wider roof?

Framing is the skeleton; the gable roof also needs correctly detailed edges, ventilation, and the right pitch for its climate and covering. The gable end itself is the triangular wall the frame closes in, and how you detail the rake, soffit, and ventilation affects both durability and code compliance.

For the broader design context, including gable variants and why the shape dominates U.S. housing, see our overview of the gable roof. If you are framing a smaller attached structure rather than a full house, the same layout logic applies at a smaller scale, as in how to build a porch roof.

Frequently asked questions

What is the difference between a rafter tie and a collar tie?

A rafter tie sits in the lower third of the roof near the wall plate and resists the outward thrust that would push the walls apart. A collar tie sits in the upper third near the ridge and resists rafter separation under wind uplift. Under the IRC, rafter ties are at least 2×4 and collar ties at least 1×4. They are not interchangeable, and using a high collar tie in place of a rafter tie is a common inspection failure.

Do you need a ridge board or a ridge beam for a gable roof?

A stick-framed gable roof with proper rafter ties needs only a ridge board, which is a nailing and alignment reference rather than a structural support. A structural ridge beam is required when the rafters are not tied at the plate, such as a vaulted or cathedral ceiling, because the beam then carries the roof load down to posts or bearing points. The ceiling design usually decides which one you need.

How far apart are rafters spaced on a gable roof?

Common rafters are typically spaced 16 or 24 inches on center, with 16 inches on center the most common for residential asphalt shingle roofs. The spacing you can use depends on rafter size, lumber species and grade, the roof load, and the sheathing thickness. Wider 24-inch spacing shortens the allowable span and may require thicker decking, so it is confirmed against the IRC span tables for the specific assembly.

How do you deduct for the ridge board when cutting rafters?

You deduct half the ridge board thickness from the top of the rafter, measured horizontally from the ridge centerline. For a nominal 2x ridge that is 1.5 inches thick, that means shortening each rafter by 3/4 inch at the plumb cut. Measure the deduction perpendicular to the plumb cut line, then scribe a new parallel plumb cut. Missing this step makes the assembled roof sit wider than the building and throws off the overhang.

What size rafters do I need for a gable roof?

Rafter size depends on the horizontal span, spacing, lumber species and grade, and the roof loads, and it is set by the IRC R802.4.1 span tables, not a single rule of thumb. As a rough orientation, 2×6 rafters suit short shed and garage spans, 2×8 to 2×10 cover many single-family homes, and 2×12 handles the longest spans or heavy snow loads. Always verify against the code table for your jurisdiction and load.

Can you frame a gable roof yourself?

An experienced DIY builder can frame a small, simple gable roof such as a shed or detached garage, where spans are short and loads are light. Full-house roof framing involves working at height, heavy members, precise cuts, and code compliance for ties and spans, so it is often left to a framing crew or replaced with engineered trusses. Whatever the approach, the tie and span requirements and permit inspection still apply.

Reviewed by The Roofing Brief Team. Last reviewed July 2026.