Calculate ridge board length for gable and hip roofs. Includes gable overhang extensions and recommends ridge board depth.
The ridge board sits at the peak of a gable roof and provides a nailing surface where opposing rafters meet. Its length must match the building length plus any gable overhang (rake) extensions on each end. Getting the ridge board length right is critical for starting your roof framing on track.
This ridge board length calculator takes the building length and gable overhang dimensions to compute the total ridge board length. It also recommends the proper ridge board depth based on your rafter size—the IRC requires the ridge board to be at least as deep as the cut end of the rafter.
For a standard gable roof without overhangs, the ridge board simply equals the building length. Adding gable overhangs with lookout rafters or fly rafters extends the ridge past the end walls.
Accurate calculation of this value helps construction professionals plan projects more effectively, reduce material waste, and ensure compliance with building codes and industry standards.
Ridge boards must be ordered at the correct length and depth before framing begins since they set the alignment for every rafter. This calculator ensures you order the right material, including splices if the building is longer than available lumber lengths. This quantitative approach replaces rule-of-thumb estimates with precise calculations, minimizing material waste and reducing the likelihood of costly change orders during construction.
Ridge Length = Building Length + Left Overhang + Right Overhang Ridge Depth ≥ Rafter depth (one size larger recommended) Boards needed = ceil(Ridge Length / Max board length)
Result: 43 ft ridge board (2×10 or larger)
A 40-foot building with 1.5-ft overhangs on each end needs 40 + 1.5 + 1.5 = 43 linear feet of ridge board. Using 2×8 rafters, the ridge should be at least 2×10 depth. Three 16-ft boards with staggered splices will cover 43 feet.
Standard ridge boards are made from dimensional lumber (2×8, 2×10, 2×12). For very long buildings, LVL ridges provide a single straight, warp-free member that eliminates the need for splices. LVL is especially popular for exposed ridges in timber-frame style construction.
The most common method is to set temporary posts at each end and every 8–12 feet to support the ridge at the correct height. Install a pair of rafters at each end first, then fill in the common rafters, alternating sides to keep the ridge plumb.
When the ceiling follows the roof slope (cathedral or vaulted ceilings), there are no horizontal ceiling joists to resist rafter thrust. In this case, a structural ridge beam is required. The beam must be designed to carry half the roof load and typically consists of a 4× or larger LVL, glulam, or steel member supported by posts at each end.
A ridge board is a non-structural member that rafters nail into; the roof structure relies on the ceiling joists or collar ties to resist rafter thrust. A ridge beam is a structural member that supports the rafters from above, eliminating the need for ceiling ties.
The IRC requires the ridge board to be at least 1 inch nominal depth and not less than the cut end of the rafter. In practice, use a board one size deeper than the rafters for easy nailing.
Technically yes, if the cut end of the rafter fits against the ridge. However, a 2×8 ridge makes nailing much easier and provides better alignment. The cost difference is minimal.
Splice at a rafter location. Butt the two ridge pieces together at the rafter, then nail a scab plate (plywood or dimensional lumber) across the joint on one or both sides. The splice must align with the rafter for load transfer.
Yes, but it's shorter. A hip roof's ridge length equals the building length minus twice the rafter run (since hip rafters fill the triangular ends). For a square building, the ridge length is zero—just a point where four hips meet.
A ridge beam is required when there are no ceiling joists or collar ties to resist the horizontal thrust from the rafters, such as in cathedral ceilings or vaulted rooms. The beam must be sized by an engineer.