Meta description: Learn how to frame a slanted roof, from choosing a roof pitch and calculating rafter layout to installing ridge boards, rafters, and roof sheathing safely.
A slanted roof—also called a pitched roof—can shed rain and snow effectively and create useful attic space. Framing one requires accurate measurements, appropriate structural design, and careful installation. The process varies with the roof’s span, pitch, local weather loads, and building layout. This guide explains the main steps and decisions involved in framing a slanted roof, while highlighting when plans and professional advice are essential. Roof framing is structural work: local building codes and approved plans take priority over general instructions.
Understand the Main Parts of a Slanted Roof
Before cutting lumber, identify how the roof components work together. A conventional gable roof has two sloping sides that meet at a ridge. Common framing elements include:
- Rafters: Sloped framing members that support the roof deck and transfer loads to the exterior walls and, where designed, a ridge beam or other supports.
- Ridge board: A non-structural board at the peak that aligns opposing rafters in a conventional rafter system. It does not replace ceiling joists or rafter ties that resist outward wall movement.
- Ridge beam: A structural beam designed to carry roof loads, usually supported at its ends and sometimes at intermediate points. It is not interchangeable with a ridge board.
- Ceiling joists or rafter ties: Horizontal members that connect opposing rafters and help prevent the roof from pushing exterior walls outward. Their position and connections matter.
- Rafter ties and collar ties: These have different functions. Rafter ties resist outward thrust, while collar ties are generally installed higher and help resist separation near the ridge under uplift forces.
- Roof sheathing: Panels fastened over the rafters to create a base for underlayment and roofing.
- Fascia and soffit: Trim and enclosure components at the eaves; the soffit may also be part of the attic ventilation system.
Some roofs use prefabricated trusses instead of individual rafters. Trusses are engineered assemblies, and their members should not be cut, altered, or drilled without approval from the truss designer or a qualified professional.
Choose the Roof Pitch and Framing Approach
Roof pitch describes how much a roof rises vertically over a horizontal distance. In the United States, it is commonly written as a ratio, such as 6:12, meaning the roof rises 6 inches for every 12 inches of horizontal run. A steeper roof needs longer rafters and may use more material. The chosen pitch also affects appearance, drainage, roofing choices, and the roof’s exposure to wind and snow.
Pitch should not be selected by appearance alone. Roofing manufacturers specify minimum slopes for their products, and local codes may impose requirements related to climate, drainage, and construction type. Low-slope roofs often require different materials and details than conventional pitched roofs. Snow accumulation, drifting, wind uplift, and seismic conditions can also affect the design.
For many homes, a professional designs the roof using the applicable building code and local design loads. The International Residential Code (IRC) is a model code used by many U.S. jurisdictions, but local adoption and amendments vary. The building department can explain which code applies and whether a permit, engineered drawings, or inspections are required.
Plan the Roof Before Cutting Lumber
Start with approved drawings that show the roof’s span, pitch, overhangs, framing layout, bearing points, and connections. Confirm that the exterior walls are square, level, and correctly positioned. Verify the building width and the distance from the ridge to each eave; small layout errors can make the ridge crooked or leave the roof out of alignment with the walls.
Determine the rafter spacing from the plans. Common layouts use 16 or 24 inches on center, but those are not universal specifications. The required spacing depends on lumber grade and species, rafter size, span, roof loads, sheathing thickness, and code requirements. Do not choose rafter dimensions from a generic chart without checking that it applies to the project and jurisdiction.
Plan how the rafters will bear at the top and bottom. A conventional ridge board must be thick enough for the rafter connection and installed in line with the roof peak. A structural ridge beam needs properly designed supports and a continuous load path to the foundation. At the eaves, each rafter must have adequate bearing and a properly detailed connection to the wall framing.
Calculate the Rafter Length
Rafter calculations use the horizontal run, roof rise, and any overhang. For one side of a symmetrical gable roof, the basic run is generally half the building’s outside width, adjusted as required by the plans and bearing details. The rise is calculated from the pitch: for a 6:12 roof, the rise is half the run. The rafter’s sloped length can then be calculated using the Pythagorean theorem, or obtained from a reliable rafter table or calculator.
For example, a 12-foot horizontal run at a 6:12 pitch has a 6-foot rise. The theoretical sloped distance from the run’s starting point to the ridge is the square root of 12 squared plus 6 squared, or about 13.42 feet. This is a planning calculation, not a cut length. Actual rafter length depends on the reference points, ridge-board thickness, overhang, and seat-cut details.
Rafter tables and calculators can help with layout, but they do not determine whether a rafter is structurally adequate. They also may use different conventions for the run and ridge deduction. Confirm each measurement against the approved drawings before cutting.
Lay Out and Cut a Test Rafter
Many carpenters use a framing square or rafter square to mark the plumb cut at the ridge and the seat cut at the wall. The plumb cut is vertical when the rafter is installed. The seat cut, often called a birdsmouth, creates a level bearing surface on the wall plate while leaving sufficient rafter material above the cut.
Mark the rafter using the specified pitch, run, and overhang. Include any ridge-board deduction required by the design. Cut one test rafter first, then check its fit at the ridge and eave. Verify the roof angle, bearing, and overhang before using it as a pattern. If the test piece does not fit, correct the layout before duplicating the mistake across the full roof.
A birdsmouth must not be cut deeper than allowed by the applicable code and approved design. An excessively deep notch weakens the rafter, and a poor fit can concentrate loads on a small area. If the drawings specify a different connection, use that detail rather than improvising a notch.
Install the Ridge and Rafters
Set up safe, stable access and temporary bracing before lifting framing members. Roof work involves fall hazards, heavy materials, and changing structural stability as the frame is assembled. Use appropriate fall protection, follow the equipment manufacturer’s instructions, and avoid working in high winds, rain, ice, or other unsafe conditions. OSHA provides construction fall-protection requirements and guidance for residential construction.
Install the ridge board or structural ridge beam according to the plans, ensuring it is straight, properly supported, and at the correct height. A ridge board may require temporary support while rafters are installed. A ridge beam needs its designed end supports and connections in place; it must not be treated as a simple alignment board.
Install rafters in opposing pairs where the design calls for them, keeping each pair aligned and fastening connections with the specified nails, screws, straps, or hardware. Follow the connector manufacturer’s requirements, including fastener type, size, and quantity. General-purpose screws are not automatically suitable for structural connections.
Keep the frame plumb and square as work progresses. Temporary bracing helps prevent rafters and walls from shifting before the roof sheathing provides the designed restraint. Install ceiling joists, rafter ties, blocking, and other specified members in the locations shown on the drawings. Do not remove bracing until the framing is adequately stabilized.
Frame the Eaves, Gables, and Openings
Rafter tails form the eaves and determine the roof overhang. Their length and alignment should match the plans, and the eave detail must allow proper attachment of fascia, soffit, and gutters where specified. Consistent rafter-tail cuts help create a straight fascia line, but trimming should not reduce the members below their required structural section.
At the gable ends, install framing and lookout members according to the design. These support the gable overhang and help connect it to the roof structure. Gable-end framing can be especially vulnerable to wind pressure, so the specified bracing and fastening details should not be omitted.
Roof openings for skylights, chimneys, vents, or other penetrations require framed openings and appropriate headers or trimmers where the design calls for them. Never cut a rafter or truss to make room for an opening without an approved repair or alteration detail. Coordinate opening locations with mechanical systems and roofing details before construction.
Install Roof Sheathing and Weather Protection
After the framing is complete and inspected as required, install roof sheathing in the panel type, thickness, orientation, and fastening pattern specified by the plans and local code. Panel edges should be supported or use approved edge support where required. Leave the manufacturer’s recommended spacing between panels to accommodate expansion, and stagger joints when the installation instructions call for it.
Fastener spacing is important: too few fasteners can reduce the roof’s resistance to wind forces, while incorrect fasteners can damage panels or fail to provide the required connection. Use the fastening schedule in the approved plans or applicable code. Sheathing clips may be required in some assemblies, depending on panel edges, loads, and code provisions.
Once the deck is complete, install underlayment, flashing, and roofing in accordance with the product instructions and local requirements. Valleys, eaves, ridges, sidewalls, and penetrations need careful water-shedding details. Roofing materials have different slope limits and installation methods, so one product’s instructions should not be assumed to apply to another.
Common Roof-Framing Mistakes to Avoid
- Using an incorrect span or pitch: Recheck dimensions against the plans, especially when a roof is not symmetrical.
- Confusing a ridge board with a ridge beam: The two have different structural roles and support requirements.
- Omitting rafter ties or ceiling joists: Removing or relocating them can allow exterior walls to spread unless the roof is designed to resist that force another way.
- Overcutting birdsmouths: Deep notches can weaken rafters and may violate code or engineering requirements.
- Changing trusses in the field: Cutting or drilling a truss can compromise its engineered capacity.
- Ignoring wind and snow loads: Roof framing must match local conditions, not just a generic online example.
- Skipping inspections or connection details: Structural hardware and fastening patterns are part of the load path, not optional finishing touches.
Permits, Codes, and Professional Help
Before construction, contact the local building department to confirm permit requirements, adopted code provisions, inspection stages, and any required plans. Requirements differ by city, county, and state. A building official can clarify local administrative rules, but structural design questions may require a licensed architect or engineer, depending on the project and state regulations.
Professional design is especially important for long spans, unusual roof shapes, vaulted ceilings, large openings, heavy roofing, high snow or wind exposure, and renovations that alter existing supports. A qualified builder can also identify site conditions that are difficult to judge from generic guidance. For authoritative references, consult the locally adopted residential code, the International Residential Code where applicable, and OSHA fall-protection guidance.
Quick Roof-Framing Checklist
| Stage | Key check |
|---|---|
| Before framing | Plans, permit requirements, loads, pitch, span, and lumber specifications are confirmed. |
| Rafter layout | Run, rise, ridge deduction, overhang, and birdsmouth details match the design. |
| Assembly | Ridge, rafters, ties, bracing, and connectors are installed in the specified locations. |
| Roof deck | Sheathing panels, edge support, gaps, and fasteners follow the approved details. |
| Safety and inspection | Fall protection is in place, temporary bracing remains until appropriate, and required inspections are completed. |
A well-framed slanted roof depends on more than cutting rafters to an angle. Accurate layout, a clear understanding of the roof’s load path, code-compliant connections, and safe work practices all contribute to a durable structure. For a specific building, approved plans and local requirements—not a general guide—determine the correct framing details.