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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Frequently Asked Questions

How do I find rafter length if I only know the roof pitch and span?

Divide the span by two to get the run. Convert pitch notation (e.g., 6:12) to a decimal by dividing the rise number by 12 (so 6:12 becomes 0.5). Then use the formula: rafter length = run × √(1 + pitch²). For a 6:12 pitch and a 24-foot span (12-foot run), the calculation is 12 × √(1 + 0.5²) = 12 × √1.25 ≈ 13.4 feet.

What is the difference between nominal and actual rafter length?

Nominal rafter length—what you calculate using the Pythagorean theorem—measures from the top of the wall to the ridge board's center. Actual cutting length must account for bird's mouth notches (where the rafter sits on the wall plate), ridge plumb cuts, and overhang tail length. Typically add 1.5 to 2 inches for the ridge cut and 12 to 24 inches for eaves, depending on design.

Do steeper roof pitches really require longer rafters?

Yes. A steeper pitch increases the rise for the same run, making the rafter longer. Compare a 4:12 pitch (low slope) and an 8:12 pitch (steep) over a 20-foot run: 4:12 gives approximately 21.2 feet, while 8:12 gives about 25.3 feet. Steeper roofs shed weather better but cost more in materials and labour.

How much on-center spacing should I use for rafters?

Standard spacing is 16, 19.2, or 24 inches on-center. Tighter spacing (16 inches) increases load capacity and is often required in heavy snow or wind zones. Wider spacing (24 inches) reduces material cost but may require thicker lumber. Check local building codes and snow load requirements; your structural engineer can confirm the safest choice.

Can I use the same rafter size for different pitches on the same roof?

Not always. Building codes size rafters based on span, pitch, and load. A shallow pitch over a long span requires larger lumber than a steep pitch. However, if two roof sections have identical spans and identical loads (snow, dead load), using the same size is acceptable. Always consult your local code or engineer to avoid undersizing.

What should I budget for truss installation labour?

Installation cost varies by region, roof complexity, and team experience. Typically, labour runs $1–3 per square foot of roof, or $15–40 per truss on average. A straightforward gable roof on a single-storey house costs less than a complex multi-plane roof or steep pitches requiring additional safety precautions and staging.

More construction calculators (see all)