Roof Truss Geometry Calculator: Rise, Pitch and Count

Calculate roof rise, slope length, pitch angle and a preliminary truss count from dimensions. Geometry only, not engineered truss design.

Metric entries are converted to US base units before calculating, so both systems give the same result.

This roof truss geometry calculator calculates roof rise, slope length, pitch angle and a preliminary truss count from building dimensions. Use the calculator above first, then read on: the worked example shows the right-triangle arithmetic step by step, the sensitivity table shows what pitch and spacing do to the result, and the troubleshooting section covers the counting mistakes that most often make a truss quantity look wrong.

Contents:

How this roof truss geometry calculator works

Truss geometry is right-triangle arithmetic. Run = span ÷ 2. Rise = run × pitch ÷ 12. Slope length from centre to wall = √(run2 + rise2), with the overhang slope added separately as overhang × √(1 + (pitch ÷ 12)2), so the wall-to-ridge geometry stays visible and the overhang does not silently change the rise. Angle = arctan(pitch ÷ 12). For the count, bays = building length ÷ maximum spacing, rounded up, and trusses = bays + 1, because a run of bays needs a truss at both ends.

This is geometry only. It does not design a truss, its members, connections, spans or loads. A truss manufacturer or licensed engineer must design the actual trusses for the loads, span and local code.

Worked example: a 24 ft span at 6/12 pitch

This is an illustrative example using the calculator’s own worked case, not an engineered design for any particular building. Inputs: 24 ft span, 6/12 pitch, no overhang, 40 ft building length, 2 ft maximum spacing.

Run = 24 ÷ 2 = 12 ft. Rise = 12 × 6 ÷ 12 = 6 ft. Centre-to-wall slope = √(122 + 62) = √180 = 13.42 ft. Angle = arctan(6 ÷ 12) = arctan(0.5) = 26.57°. Bays = 40 ÷ 2 = 20 bays. Trusses = 20 + 1 = 21 trusses.

Use the Load worked example button above to reproduce this case in the form, then change one input at a time to see what drives the result.

What to enter, and what not to fold in

Building span. Wall to wall, in feet. Span is the full width; the tool halves it to get the run. Do not enter the run here, or the rise will be halved.

Roof pitch. Rise per 12 inches of run. One pitch only, for a symmetric gable geometry; asymmetric or multi-pitch roofs need separate geometry per side.

Building length. The truss run — the length over which trusses are spaced, in feet. This is not the span; span and length are different dimensions and swapping them changes both the geometry and the count.

Maximum truss spacing. In feet. The tool rounds bays up, so actual spacing may be slightly tighter than the maximum you enter. That rounding is intentional: spacing is a maximum, not an exact divisor.

Eave overhang (horizontal). In feet. Overhang extends the slope beyond the wall at the same pitch; it does not change the rise. Entering overhang as a slope length instead of a horizontal distance would overstate the extension.

What moves the result most

Starting from the worked example above, changing one input at a time gives:

Change (one at a time) Rise Slope (centre to wall) Angle Trusses
Original: 24 ft span, 6/12, 40 ft, 2 ft spacing 6 ft 13.42 ft 26.57° 21
Pitch up to 12/12 12 ft 16.97 ft 45.00° 21
Span up to 30 ft at 6/12 7.50 ft 16.77 ft 26.57° 21
Spacing up to 4 ft maximum 6 ft 13.42 ft 26.57° 11

Pitch and span change the triangle; spacing changes only the count. That separation is useful: a steeper pitch doubles the rise in the 12/12 row without changing the truss count at all, while doubling the spacing nearly halves the count without touching the geometry. Do not let a count change convince you the geometry changed, or vice versa.

When the result looks wrong

The truss count is one too few. The usual cause is forgetting the +1: a run of bays needs a truss at both ends. Twenty 2-ft bays across 40 ft need 21 truss positions, not 20.

The rise looks halved or doubled. Check span versus run. Span is wall to wall and is halved by the tool. If you entered the run as the span, the rise will be half what it should be.

The slope looks too long. Check whether overhang was entered as a slope length rather than a horizontal distance, or whether it was added to the span before the triangle was solved. Overhang is added as a separate slope extension so the wall-to-ridge triangle stays clean.

You expected a member size or a load capacity. This tool does not give one. Member sizes, connections, bearing conditions and load capacity are engineered design, outside this geometry calculation.

Your next-steps checklist

  1. Run this roof truss geometry calculator with measured span, pitch, building length and maximum spacing.
  2. Estimate the shingle quantity for the resulting roof with the roofing calculator.
  3. Read the guide to roof pitch, rise, span and truss spacing.
  4. Take the geometry and the preliminary count to a truss supplier as a quantity starting point for discussion — the supplier’s engineered design governs.
  5. Confirm bearing conditions, gable end-truss types and local code requirements with the supplier or a licensed engineer before ordering.

Limitations

Equal bays and one truss at each end are stated assumptions; end-truss types, gable details, bearing conditions and any structural capacity are outside this tool. A truss manufacturer or licensed engineer must design the actual trusses for the loads, span and local code. Results are geometry estimates only and are not an engineered truss design.

Frequently asked questions

Why trusses = bays + 1?

Because a run of bays needs a truss at both ends. Twenty 2-ft bays across 40 ft need 21 truss positions.

Does overhang change the rise?

No — it extends the slope beyond the wall at the same pitch. The tool adds the overhang slope length separately so the wall-to-ridge geometry stays visible.

Can I use this to order trusses?

Only as a quantity starting point for discussion with the truss supplier. The supplier’s engineered design governs.

What if my roof is not symmetric?

Solve each side’s triangle separately. A single span and pitch cannot describe an asymmetric roof.

Why is spacing a maximum, not an exact figure?

Because building length rarely divides evenly by spacing. Rounding bays up means actual spacing may be slightly tighter than the maximum you entered, which is the safe direction for a quantity count.

How this page was put together: see the methodology behind the calculators, our editorial policy, and the glossary for terms used here.

Sources

No external price, product or market data is used on this page. Every dimension is a figure you enter, or a clearly labelled illustrative default in the form. Truss design itself must come from the truss manufacturer or a licensed engineer.

Estimates only. Results from this calculator are not a loan offer, appraisal, engineering design, equipment selection or contractor quote.