Understanding Rafter Dimensions and Pitch
A rafter is the sloped beam that forms the frame of a pitched roof. Its length depends on two inputs: the horizontal distance it spans (called the run) and the vertical height it climbs (called the rise). These two dimensions define the roof's pitch, which builders express as a ratio like 6:12 or 8:12. The first number represents rise (inches), the second run (inches per 12 inches of horizontal distance).
Roof pitches typically range from 4:12 (shallow) to 9:12 (steep). Steeper pitches shed water and snow more effectively but require longer rafters and more materials. Flatter pitches reduce rafter length and cost but may need better drainage and waterproofing.
To find the actual rafter length, you apply the Pythagorean theorem—the same relationship that describes any right triangle. This gives you the diagonal measurement from wall top to ridge.
Calculating Rafter Length
Two pathways exist, depending on which measurements you already know.
Rafter length = √(rise² + run²)
Or using pitch:
rise = run × pitch
rafter length = run × √(1 + pitch²)
rise— Vertical height of the roof (feet or inches)run— Horizontal distance from wall to ridge (half the total span)pitch— Roof slope expressed as a decimal (rise ÷ 12)rafter length— Diagonal distance from wall top to ridge point
Estimating Truss Count and Project Costs
Once you know individual rafter dimensions, calculate how many trusses you need across the roof length. Spacing is typically 16, 19.2, or 24 inches on-center; tighter spacing increases strength but requires more materials.
The formula is:
truss count = ⌈(roof length × 12) ÷ spacing⌉ + 1
For example, a 40-foot roof with 24-inch spacing needs approximately 21 trusses. Once you know the count, multiply by the unit cost of each truss to find material expense. Add labour time (hours) multiplied by the installation rate to get total project cost. This two-step approach helps you budget accurately and compare prefabricated versus site-built options.
Common Mistakes When Measuring and Ordering
Precision in roof framing saves money and prevents structural problems.
- Confusing span with run — Span is the total wall-to-wall distance; run is half that. Many carpenters forget to divide by two when converting from span to run, resulting in rafter lengths that are too long.
- Rounding pitch incorrectly — Pitch ratios like 6:12 must be converted to decimals (0.5) before applying the formula. Using the wrong denominator leads to rafters that don't fit the intended slope.
- Forgetting the '+1' in truss count — The ceiling formula requires an extra truss at the end of the roof. Omitting it leaves one span unsupported. Always round up and add one.
- Ignoring overhang and tail length — Standard rafter length does not include eaves overhang (typically 12–24 inches). Order extra material and add that distance when cutting.
Selecting the Right Rafter Size and Material
Once you have the rafter length, choose a lumber grade and species that meets local building codes. Common options are 2×6, 2×8, 2×10, or 2×12 solid sawn timber, or engineered lumber like laminated veneer lumber (LVL) for larger spans.
Snow load, wind exposure, and ceiling joist spacing all influence the required rafter size. A shallow pitch (4:12) over a large span may demand 2×12s; a steep pitch (8:12) over the same span might use 2×10s. Always verify sizing with your local building department or a structural engineer. Prefabricated trusses often prove more economical and code-compliant than site-built rafters, especially for complex roof geometries.