Calculate truss top chord length from span and roof pitch or rise, plus rafter length, overhang and truss count, in feet, inches, cm or meters.

Enter 6 for a 6/12 roof.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
One top chord from span and pitch or riseFinds the length of one top chord of a symmetric gable trussRequires the full gable span and either the roof pitch or the rise to the ridge centerline
Span from chord/riseFinds the full gable span that a chord length and rise produceRequires the chord length and the rise
Rise from span/chordFinds the rise to the ridge from the span and the chord lengthRequires the full gable span and the chord length
Rafter from run/riseFinds a rafter length from its run and rise, shortened for a ridge board and lengthened for an eave overhangRequires the horizontal run to the ridge centerline and the rise
Run from rafter/riseFinds the horizontal run from a rafter length and riseRequires the rafter length to the ridge centerline and the rise
Rise from run/rafterFinds the rise from the run and the rafter lengthRequires the horizontal run and the rafter length to the ridge centerline
Rafter from run/pitchFinds a rafter length from its run and the roof pitchRequires the horizontal run and the roof pitch
Chord including overhangAdds an overhang tail to the top chord lengthRequires the full gable span, the pitch or rise, the overhang on each side and whether it is measured horizontally or along the slope
Truss count and roof materialsEstimates the number of trusses, the roof area, roofing squares and shingle bundles for a simple gable roofRequires the building length along the ridge, the maximum truss spacing, the full gable span and the roof pitch

Lengths can be entered in ft, in, cm or m, and results are in feet with a feet-and-inches reading to the nearest 1/16 in. Roof pitch is the rise per 12 of run, so 6 means a 6/12 roof. The four rafter functions have optional fields for a horizontal ridge thickness and a horizontal eave overhang, and blanks count as zero. Every length result also shows the pitch and the roof slope angle.

Top Chord Length Formulas

L = √(run² + rise²) [1]
LLength of one top chord, from the wall plate to the ridge centerline
runHalf the full gable span
riseHeight of the ridge centerline above the wall plate

One side of a gable truss is the hypotenuse of a right triangle. Its base is half the length of the bottom chord and its upright leg is the centerline of the truss [1]. Rafters are laid out the same way: the total run is half the span, the total rise is the height from the top plate to the ridge, and the line length is the hypotenuse [2].

One top chord from span and pitch or rise

rise = run × pitch ÷ 12

When the roof slope is supplied as a pitch, the rise comes from the line above; when it is supplied as a rise, that value is used as entered. A 24 ft span at 6/12 has a 12 ft run and a 6 ft rise, so each top chord is √(12² + 6²) = 13.416 ft, or 13 ft 5 in. A 20 ft span with a 15 ft rise gives 18.028 ft.

Span from chord/rise

span = 2 × √(L² − rise²)

A 13 ft chord with a 5 ft rise has a 12 ft run, which is a 24 ft span. The chord has to be longer than the rise.

Rise from span/chord

rise = √(L² − run²)

A 24 ft span with 13 ft chords rises 5 ft at the ridge, a 5/12 pitch.

Rafter from run/rise

k = L ÷ run
R = (run − t ÷ 2 + e) × k [2]

k is the slope factor, the sloped length per unit of run. t is the horizontal thickness of the ridge board and e is the horizontal eave overhang. Half the ridge board comes off each rafter, and the tail adds its horizontal projection times the slope factor [2]. A 12 ft run with a 6 ft rise has k = 1.11803. With a 1.5 in ridge board and a 1 ft overhang the rafter is (12 − 0.0625 + 1) × 1.11803 = 14.465 ft.

Run from rafter/rise

run = √(L² − rise²)

L here is the rafter length to the ridge centerline, before any ridge or eave adjustment. A 13 ft rafter that rises 5 ft covers a 12 ft run.

Rise from run/rafter

This uses rise = √(L² − run²) with the run entered directly, not taken as half a span. A 12 ft run under a 13 ft rafter rises 5 ft.

Rafter from run/pitch

The rise is run × pitch ÷ 12, and the rafter follows from the main formula. A 12 ft run at 6/12 gives 13.416 ft before any ridge or eave adjustment, and a 16 ft run at 4/12 gives 16.865 ft.

Chord including overhang

total = L + o × k

o is the overhang on each side measured horizontally, and k is the slope factor. An overhang measured along the slope is added as it is. A 24 ft span at 6/12 with a 2 ft horizontal overhang gives 13.416 + 2 × 1.11803 = 15.652 ft. With the 2 ft measured along the slope it is 15.416 ft.

Truss count and roof materials

trusses = ⌈B ÷ s⌉ + 1
area = 2 × (run + e) × B × k

B is the building length along the ridge and s is the maximum truss spacing. The division is rounded up to a whole number of bays, and one truss is added so both ends have one. The area covers both sides of the roof, including a horizontal eave overhang e. A roofing square is 100 ft², and most standard asphalt shingles come three bundles to the square [3], which is the starting value for Bundles per roofing square. A 40 ft building with trusses at 2 ft, a 24 ft span at 6/12, a 1 ft eave and 10% additional material needs 21 trusses, and has 1,162.8 ft² of roof, 12.79 squares with the allowance and 39 bundles.

Limits of This Estimate

  • These are lengths along the centerline of a symmetric gable. Heel details, birdsmouth cuts, plumb cuts, joints and connector plates change the cut length of the lumber and are not included.
  • The result is geometry, not structural design. Member sizes, bracing and connections come from the truss design for the building.
  • The materials estimate assumes a simple gable with no overhang at the ridge ends. Ridge caps, underlayment and fasteners are left out, and bundle coverage depends on the product: some shingles need four or five bundles per square [3].

Sources

  1. U.S. Department of the Army, FM 5-426, Carpentry (1995), Chapter 7: truss layout as a right triangle on half the bottom chord
  2. U.S. Navy Builder training manual, Chapter 2: Roof Framing: run, rise, line length, ridge shortening and tail length
  3. GAF, How Many Bundles of Shingles Are in a Square?: roofing square and bundles per square