Roof Framing Calculator – Rafters & Lumber

🏗 Roof Framing Calculator

Estimate rafter length, ridge board, and total lumber for gable or hip roofs

Unit System
Quick Presets:
Roof Dimensions
✓ Roof Framing Results
Rafter Length (each)
ft
Number of Rafters
pieces (incl. waste)
Ridge Board Length
ft
Total Lumber (lin ft)
linear ft (incl. waste)
Calculation Breakdown
Common Pitch Reference
4:12 Pitch
18.4°
Low slope
6:12 Pitch
26.6°
Standard
8:12 Pitch
33.7°
Steep
12:12 Pitch
45.0°
Very steep
Rafter Length by Building Width & Pitch (ft)
Width 3:12 4:12 5:12 6:12 8:12 10:12 12:12
12 ft6.186.336.506.717.217.818.49
16 ft8.258.448.668.949.6210.4111.31
20 ft10.3110.5410.8311.1812.0213.0214.14
24 ft12.3712.6512.9913.4214.4215.6216.97
28 ft14.4314.7615.1615.6516.8318.2319.80
32 ft16.4916.8717.3217.8919.2320.8322.63
40 ft20.6221.0821.6522.3624.0426.0328.28
Pitch to Angle Reference
Pitch Rise per Foot Angle (degrees) Pitch Factor
3:123 in14.04°1.031
4:124 in18.43°1.054
5:125 in22.62°1.083
6:126 in26.57°1.118
8:128 in33.69°1.202
10:1210 in39.81°1.302
12:1212 in45.00°1.414
Number of Rafters by Building Length & Spacing
Length 12 in OC 16 in OC 24 in OC
20 ft423222
24 ft503826
30 ft624832
40 ft826242
48 ft987450
60 ft1229262
Tip: Always add at least 10% waste factor to your lumber order for cuts, damaged pieces, and misses. For complex hip roofs, budget 15–20% extra.
Tip: Rafter spacing of 16 in OC is the most common residential standard. Use 24 in OC only with approved engineered lumber or truss systems per local building codes.

 

Roof framing is one of the most hard and confusing parts of housing, but good planning helps a lot. It is made up of the internal structure that bears the weight of the roof and gives it form. That includes rafters, roof trusses, beams and ceiling joists, that all bind to the exterior walls and together back the covering

There are five main styles for roof framing: shed, gable, hip, gambrel and mansard. For simple gable or shed roofs, you seriously learn the basic building rules. Even so, there are many ways to build a gable roof, which can be too komplice.

Roof Framing Basics and Types

You usually frame roofs by two methods: with pre-manufactured trusses or with rafters and ceiling joists, which commonly calls stick framing. Today, the pre-manufactured trusses are the most popular. Because they are done in factory, they use thinner timbers than traditional framed roofs, are more lightweight, cheaper and faster to erect.

The main advantage is that they only require the exterior walls to form the roof. Like this, you widely do not require supporting walls in the habitable space. In contrast, rafter-type framed roofs commonly require some internal support.

Only around the early 90s pre-manufactured trusses became available in some regions. Before that, every rafter and ceiling joist were done manually. When they first appeared, you could use them only for around 70 percent of a complex house.

In recent years, even so, it is possible to use them for almost 100 percent.

The simplest way is use premade trusses, but if you build rafters, you start by pinning the ceiling joists every 16 or 24 inches, usually the latter. When you build houses with trusses for hips and valleys, careful planning and good organization of the job-site are key for efficient implementation. Measurement of the bottom edge of the rafter helps to do right plan.

A roof framing plan shows the whole structure: roof trusses, rafters, purlins, hip beams, valley beams, ridge beams and ceiling joists. It should have notes about the dimensions of the timbers, the intervals and other demands. The framing must be done exactly as written in the plan, otherwise it will not pass the technical control.

If you use the central line to count the long of the rafter, recall reduce half part of the ridge thickness from the result. Counting the corners and offsets for irregular hips or valley parts are a difficult task. “Bastard-beam” is any hip or valley that backs different slopes of the roof.

Building the roof is the last step of the framing of a new house. Advice of expert builders make the learning easier and help more quickly reach the result.

Leave a Comment