Understanding Roof Trusses and On-Center Spacing

A roof truss is a pre-fabricated timber framework engineered to span your roof opening and transfer loads to the walls below. Rather than building rafters individually on-site, trusses arrive ready-assembled, which speeds construction considerably. They're typically spaced at regular intervals called on-center (OC) spacing—the distance measured from the centre of one truss to the centre of the next.

Standard on-center spacings in North America are 12, 16, or 24 inches; European projects commonly use 40, 45, or 60 centimetres. Closer spacing (12") suits steeper pitches and high-snow regions; wider spacing (24") works for gentler roofs in moderate climates. Local building codes and wind/snow loads determine the exact spacing your roof requires.

The primary benefit of knowing on-center spacing is that it lets you calculate total truss quantity instantly once you know your roof length, avoiding guesswork during material ordering.

Calculating Rafter Length and Truss Quantity

Two formulas power most roof truss calculations. The first derives from the Pythagorean theorem and applies when you know the rise (vertical height) and run (horizontal distance). The second uses roof pitch directly—a ratio expressing how many inches the roof rises for every 12 inches of horizontal run.

Rafter Length = √(Rise² + Run²)

Rafter Length = Run × √(1 + Pitch²)

Truss Count = ⌈((Roof Length × 12) ÷ Spacing) + 1⌉

Rise = Run × Pitch

  • Rise — Vertical height of the roof, measured from the wall top to the peak
  • Run — Horizontal distance from the wall to directly below the peak
  • Pitch — Roof slope ratio (e.g. 6:12 means 6 inches rise per 12 inches run)
  • Roof Length — Total length of the roof in feet
  • Spacing — On-center distance between adjacent trusses in inches
  • ⌈ ⌉ — Ceiling function—rounds fractional results up to the next whole number

Working with Different Roof Specifications

You can enter roof pitch in three equivalent formats: as a ratio (e.g. 6:12), as an angle in degrees (e.g. 26.57°), or as a decimal slope (e.g. 0.5). The calculator converts between them seamlessly. A common 6:12 pitch, for instance, equals approximately 26.57 degrees and a slope of 0.5.

When calculating rafter length, begin with what you know. If your architect specifies the roof pitch and run, use the pitch-based formula. If you have actual rise and run measurements from site inspection, use the Pythagorean formula instead—it's more direct. Both yield identical rafter lengths for the same roof geometry.

For material costing, input your unit truss price (what your supplier charges per truss) and whether installation labour is included. If contracted separately, add the hourly labour rate and estimated installation duration to see total project expense. Most residential roofs take 1–3 days to truss depending on complexity and crew size.

Key Considerations for Truss Planning

Avoid these common mistakes when sizing and ordering roof trusses:

  1. Always round up truss quantity — The ceiling function in the formula ensures you never come up short. A 30-foot roof on 24-inch spacing yields 16 trusses, not 15. Rounding down means gaps in your structure and delays waiting for replacement stock.
  2. Account for local climate loads — Standard 24-inch spacing assumes moderate snow and wind. Regions with heavy snow, frequent hurricanes, or steep terrain often require 12- or 16-inch spacing instead. Check your local building code or consult a structural engineer before finalising spacing.
  3. Include waste and damage allowance — Always order 1–2 extra trusses beyond the calculated quantity. Shipping damage, site accidents, and measurement errors can consume spares. A 50-truss job warrants ordering 52 units to avoid costly project delays.
  4. Verify roof length measurement twice — Errors in total roof length cascade through the entire calculation. Measure from the building outline, not from interior walls. A 2-foot measurement mistake changes truss quantity by one unit and throws your material budget off by hundreds of pounds or dollars.

Truss Types and Selection

Fink trusses are the most economical choice for residential roofs. They use a triangular web of interior bracing that's quick to manufacture and simple to install. Weight is minimal, making them ideal for modest spans and standard pitches.

Attic trusses incorporate a flat horizontal section inside the triangle, creating usable storage or living space. They cost more than Fink trusses and require careful calculation because the interior platform reduces their load capacity on either side.

Scissor trusses feature angled bottom chords that slope upward, creating cathedral-style ceilings inside. They're heavier and pricier but deliver aesthetic appeal when exposed.

Parallel-chord trusses have flat top and bottom, suited to flat or very shallow-pitch roofs on commercial buildings. They're often the only option where traditional peaked roofs won't fit the design.

Selection depends on span, pitch, budget, and whether the space above the insulation needs access. Your structural engineer will specify the best type once loads and constraints are defined.

Frequently Asked Questions

What is a roof truss and why does it matter?

A roof truss is a rigid pre-engineered timber frame that carries your roof's weight and transfers it safely to the load-bearing walls. Unlike traditional stick-built rafters, factory-made trusses arrive ready to install, which accelerates construction by days or weeks. They're designed to withstand bending and shear forces from the weight of roofing materials, insulation, and snow or wind loads. Proper truss spacing and quantity are critical—under-spacing creates unnecessary cost and weight, while over-spacing can lead to sagging, ceiling cracks, and structural failure. Most building inspectors require calculations proving that truss spacing matches local load requirements before approving a roof.

How do I measure roof length for the calculator?

Roof length is the total horizontal distance covered by your roof in one direction, typically measured along the wall line of the building. Stand at one corner and measure to the opposite corner along the side where trusses will span. If the roof overhangs the wall, include that overhang in your measurement. Measure at the height where trusses will sit (usually the top of the wall), not from the ground. For L-shaped or complex buildings, treat each roof section separately and calculate trusses for each span independently. Always measure twice and confirm with blueprints before ordering materials—a 1-foot error can mean ordering one fewer or one more truss than needed.

What on-center spacing should I use for my roof?

Standard spacings are 16, 24, or 12 inches on-center in North America; 40, 45, or 60 centimetres in Europe. Start with local building code tables, which specify minimum spacing based on snow load, wind speed, and truss grade. Most residential roofs use 24-inch spacing because it balances cost and performance. If your region experiences heavy snow (above 40 pounds per square foot) or strong wind, drop to 16 inches. Coastal hurricane zones often require 12-inch spacing. When in doubt, ask your structural engineer or local building department—the difference in truss cost between spacings is usually modest, but undersizing spacing is cheaper than retrofitting a sagging roof.

How accurate is the rafter length calculation for actual timber cutting?

The formula yields theoretical rafter length to the nearest eighth of an inch, which matches standard carpenter precision. However, add about 6–12 inches for bird's-mouth cuts (notches where the rafter sits on the wall) and any decorative tail overhang. The calculator gives you the hypotenuse of the triangular roof cross-section, but carpenters must account for the plumb cut at the peak and the seat cut at the wall. If you're hand-cutting rafters, have an experienced carpenter lay out the first one with a speed square, then measure from that reference rather than relying solely on calculator output. For factory trusses, the fabricator adds these cuts automatically based on the pitch and run you specify.

Can I adjust truss spacing mid-roof or use mixed spacing?

Building codes typically require consistent spacing along the entire roof run for uniform load distribution. Mixed spacing creates stress concentrations at transition points, where one truss bears more load than adjacent ones. This can lead to premature failure in that truss and cracks in the ceiling below. Some codes permit spacing variation in small sections (e.g. around roof penetrations for chimneys or skylights), but these must be engineered specifically and marked on the truss design. For structural consistency and simplicity, stick with one spacing throughout each roof section. If you need to accommodate obstacles, work with your fabricator to design deeper trusses or use a different spacing uniformly—don't improvise on-site.

How do installation costs factor into the total budget?

Installation labour typically represents 20–40% of total roof truss cost. Most suppliers quote trusses without installation; you contract carpenters separately. Enter your local labour rate (dollars or pounds per hour) and the estimated duration (usually 1–3 days for a modest residential roof). A two-person crew installing 50 trusses might take 2–3 days depending on roof complexity, so budget 40–50 labour hours. Add material handling, crane rental (if needed), and cleanup. The calculator helps you see the full financial picture—sometimes it makes economic sense to use fewer, larger trusses if your labour rate is very high, or to hire additional crew to finish faster and free up site access sooner.

More construction calculators (see all)