Gable Roof Framing Calculator – Plan Your Roof Right

🏗 Gable Roof Framing Calculator

Calculate rafter lengths, ridge board size, lumber quantities & more for your gable roof project

Quick Presets
📏 Roof Dimensions
Total width of building at eaves
Length of ridge (gable-to-gable)
Horizontal overhang beyond wall
✅ Gable Roof Framing Results
📐 Roof Pitch Reference & Rafter Factors
Pitch Rise per Foot Angle (°) Rafter Factor Common Use
3/123 inches14.0°1.031Low-slope porch, addition
4/124 inches18.4°1.054Garage, shed
5/125 inches22.6°1.083Ranch house
6/126 inches26.6°1.118Standard residential
7/127 inches30.3°1.158Two-story home
8/128 inches33.7°1.202Steep residential
9/129 inches36.9°1.250Cape Cod style
10/1210 inches39.8°1.302Steep/cottage
12/1212 inches45.0°1.414Full pitch cabin
🏗 Rafter Factor Quick Reference
1.031
3/12 Pitch Factor
1.054
4/12 Pitch Factor
1.118
6/12 Pitch Factor
1.202
8/12 Pitch Factor
1.250
9/12 Pitch Factor
1.302
10/12 Pitch Factor
1.414
12/12 Pitch Factor
1.158
7/12 Pitch Factor
🏠 Common Gable Roof Framing Quantities
Building Span x Length Pitch Rafter Length Rafter Count (16" OC) Ridge Length
Small Shed10 x 12 ft6/126.7 ft1814 ft
Standard Shed12 x 16 ft6/127.7 ft2218 ft
Single Garage20 x 24 ft6/1211.2 ft3226 ft
Double Garage24 x 30 ft6/1213.4 ft4032 ft
Ranch House28 x 40 ft5/1214.6 ft5242 ft
Two-Story36 x 48 ft8/1221.6 ft6450 ft
📏 Lumber Size Reference
Nominal Size Actual Size Span Rating Weight (lbs/ft) Typical Use
2x41.5" x 3.5"Up to 8 ft0.86Light sheds, small spans
2x61.5" x 5.5"Up to 14 ft1.35Garages, standard homes
2x81.5" x 7.25"Up to 18 ft1.78Wide-span residential
2x101.5" x 9.25"Up to 22 ft2.27Large homes, commercial
2x121.5" x 11.25"Up to 26 ft2.76Long span, heavy load
💡 Rafter Length Formula: The rafter length (from ridge to wall plate) = (Span/2) x Rafter Factor + Overhang Length. The rafter factor is calculated as: sqrt(1 + (rise/12)^2). Always measure horizontally for your run, then apply the factor to get the actual sloped length.
⚠ Ridge Board Length: The ridge board should extend at least 12–18 inches beyond each end rafter (for fascia attachment). For a building 30 ft long with 16" overhangs on each end, your ridge board would be approximately 33–34 ft. Order in standard 16 ft or 20 ft lengths and splice if needed.

A gable roof slopes down in two directions, as if two right triangles tied at vertical line The ridge board runs along the peak of the roof, parallel to the outside walls. The top part of the rafters is nailed to that ridge board and they slope down to the walls. Putting it together is quite simple, when you already know what goes where.

For building such roof, you need wooden boards cut in joists, rafters, supports and ridge board, together with sheathing, felt paper and shingles.

How to Build a Gable Roof

Typical gable roof on house is framed with wooden joists, then covered with plywood or OSB, then with a waterproof layer and finally with shingles. The walls are usually framed with 2×4 or 2×6 vertical boards with spacing of 16 to 24 inches.

Framing roof, you do more than only count the length of the rafters and the ridge. You also must install collar ties, add purlins and strut it so that the roof be strong. The ridge beam requires posts and it must be big enough to bear the weight of the roof.

You will not require that if you use right rafter ties. The cross member at the bottom of the truss serves to stabilize the structure. Those ties stop the rafters from raising and support the rige.

Gable roof with prefabricated trusses are almost as easy as it look. Use such trusses mean, that the engineer already did the calculations for you. Usually you first set the gable-end trusses, that keep vertical 2×4 boards bound to the frame of the house.

Spacers between the trusses help to keep them correctly spaced and give a bit of support. The gable-end truss or rafter is commonly notched to leave place to “outlookers”, that run back to the prior framing members.

For the overhangs, bind the assembly to the wall frame using metal screws with washers every 6 inches. Later, set at least 2×6 fascia board along the edge of the overhang. Install the roof decking, that covers the framing and extend at least 24 inches away from the wall above the trusses or rafters.

Some favor framing the gable-walls first, because you have square space for work and more place for mark the lines of the right pitch. You can do the upper trusses on flat surface, as the other members, and later frame them outside for the internal wall. If the wall is platform-framed, it must be supported horizontally at the hinge spot.

If there is no ceiling, you must lay diagonal supports from the center of the final wall to one of the side walls. The side walls support the bottom half and the roof the upper, to avoid folding. Widely, “balloon” framing are stronger for such walls.

Gable Roof Framing Calculator – Plan Your Roof Right

Leave a Comment