Roof Truss Calculator

Roof Truss Calculator finds trusses by count = ceil(length ÷ spacing)+1, then estimates rise, top chord, lumber stock, waste, and cost from span, pitch, overhang, and pricing data.

Roof Pitch (Slope)
Unit Price / Rate
Total Trusses Required
21 Trusses
Standard framing count including the two exterior gable ends.
Truss Geometry
15.09 ft Top Chord
Vertical Rise (Apex) 6.00 ft
Length Multiplier 1.118
The exact diagonal cut lengths comprising the outer framing structure.
Roof Angles
26.57° Roof Angle
Complement Angle 63.43°
Slope Grade 50.00%
Slope angle, complementary layout angle, and grade percent for roof truss layout.
Lumber Estimate
1,806.12 ft Stock
Per Truss (Net) 78.19 ft
Waste Added (10%) 164.19 ft
Linear footage estimate including standard internal webbing approximations.
Cost Estimate
$3,150.00 Total
Cost per Building ft $78.75 / ft
Cost per Footprint sq ft $3.28 / sq ft
Computed project-cost ratios from the total estimate and building footprint.
Truss Layout Valid
Calculations provide total count, cut angles, and lumber estimates. Consult a structural engineer for internal webbing load requirements.

Framing a gable roof with factory-built or site-assembled trusses starts from three fixed dimensions: the building width, the building length, and the roof pitch. A Roof Truss Calculator turns those numbers into a truss count, top‑chord cut lengths, and lumber orders, but the real backbone is a handful of trigonometric relationships that any framing crew can verify with a speed square and a tape.

Truss Geometry and the Top‑Chord Run

A common fink truss carries two sloping top chords, a horizontal bottom chord, and an internal web of tension and compression members. The top‑chord length on each side of the ridge depends on the horizontal run from the bearing point to the peak, plus any eave overhang.

Half the building width gives the clear-span run. Adding the horizontal projection of the eave overhang—usually measured as a flat distance, not along the slope—produces the total run for one top chord.

If the gable extends 24 ft from plate to plate and the eaves project 1.5 ft past the walls, the combined run is 12 ft + 1.5 ft = 13.5 ft. That 13.5 ft forms the adjacent side of a right triangle whose hypotenuse is the rafter length.

Slope enters as the pitch ratio. A pitch of 6‑in‑12 means the roof gains 6 in of vertical rise for every 12 in of horizontal run, a ratio of 0.5. Squaring that ratio, adding 1, and taking the square root yields the length multiplier:

Length multiplier = sqrt(1 + (rise/run)²)

For 6/12, the multiplier is sqrt(1 + 0.5²) = sqrt(1.25) ≈ 1.118. Multiplying the total run (13.5 ft) by 1.118 gives a top‑chord side length of 15.09 ft. Both sides of the truss are identical, so the total top‑chord lumber per truss, before waste, is just over 30 ft.

Pitch, Slope, and Cut Angles

Contractors describe pitch in three ways: as a ratio (6:12), as an angle in degrees, or as a percent grade. All three come from the same rise‑over‑run relationship. The roof angle equals the arctangent of the pitch ratio. A 6/12 pitch gives arctan(0.5), which rounds to 26.57 degrees—the plumb cut angle at the ridge and the seat cut angle at the wall plate.

The complementary angle, 90° minus 26.57° = 63.43°, sets the bevel for the bottom‑chord connection and the heel cut. For layout, a 26.57° plumb cut and a 63.43° seat cut keep the rafter tail bearing flat on the top plate while the fascia remains vertical.

Percent grade simply expresses the rise as a percentage of the run: 0.5 × 100 = 50%. That number matters when checking against building‑code minimums for asphalt shingles, metal panels, or low‑slope membranes, though truss‑framed roofs almost always exceed those thresholds.

Truss Count from On‑Center Spacing

Standard residential truss spacing is 24 in on center, though 16 in or 19.2 in spacings appear under heavy snow loads or tile roofing. Divide the building length (in feet) by the spacing (in feet) and round up to the next whole number. Add one more truss for the starting gable end: a 40‑ft‑long building with 2‑ft spacing yields 40 ÷ 2 = 20, plus 1 equals 21 trusses.

That count includes both exterior gable‑end trusses. If the end walls are framed conventionally with rafters instead of trusses, the count drops by two, but most truss packages include gable trusses anyway because they speed erection and maintain consistent plate height.

Lumber Takeoff for a Fink Truss

Estimating the linear footage of lumber inside each truss means summing the top chords, the bottom chord, and the internal web members. For a fink truss, the bottom chord spans the full building width, so it adds 24 ft. The two top chords add about 30.19 ft combined, bringing the per‑truss tally to roughly 54 ft before webbing.

A practical shortcut treats the total web‑member length as roughly equal to the building width. In a 24‑ft‑wide fink truss the diagonal webs and verticals commonly add another 24 ft of 2×4 or 2×6 stock. That pushes the net lumber per truss to 30.19 + 24 + 24 = 78.19 ft. Multiply by 21 trusses and the net frame consumes about 1,642 ft of lumber.

This is an estimating rule, not an engineered takeoff. Actual web layouts vary with span, load, and manufacturer design; a structural engineer’s shop drawing is the only reliable source for exact member lengths.

Waste Allowances and Gross Linear Footage

Saw‑kerf loss, end‑splitting, wane, and angle‑cut offcuts make a net‑only material order risky. A 10% waste factor—common for linear framing members—adds 164 ft, bringing the total stock order to roughly 1,806 ft. Some crews push waste to 15% when a roof has many dormers, hips, or steep angles that shorten average piece yield.

Waste is always a multiplier of the net estimate. Changing the waste factor from 10% to 15% on this example would add another 82 ft, or roughly three extra 2×4×16s. The waste number is a field‑adjustable assumption, not a fixed code value; what matters is that the estimator chooses a percentage that matches the complexity of the roof and the crew’s cutting practices.

Costing: Per‑Truss versus Linear‑Foot Pricing

Truss packages from a manufacturer are typically priced per whole unit, installed. A quote of $150 per 24‑ft‑span truss leads to a frame cost of 21 × $150 = $3,150. That cost includes connectors, press‑plate fabrication, and sometimes delivery.

Site‑built trusses are priced by the linear foot of lumber. At an average lumber cost of $1.74 per linear foot—based on the $3,150 total divided by the 1,806‑ft gross takeoff—the cost per building length foot is $78.75, and the cost per square foot of building footprint (24 ft × 40 ft = 960 sq ft) sits at $3.28. Those ratios help compare truss‑framed costs to stick‑framed or panelized roofs.

How the Roof Truss Calculator Puts the Formulas Together

Every output in a roof truss takeoff comes from four core equations and one industry convention.

Formula 1: Top‑Chord Length (One Side)
Top Chord Side = (Building Width / 2 + Eave Overhang) × sqrt(1 + (Rise / Run)²)
All dimensions in the same linear unit (feet or inches). Rise and Run are the pitch components; for a 6/12 pitch, Rise = 6, Run = 12.

Formula 2: Truss Count
Number of Trusses = ceil(Building Length / Truss Spacing) + 1
Spacing must be in the same unit as length. “ceil” means round up to the next whole number.

Formula 3: Net Lumber per Truss (Fink Approximation)
Net Lumber per Truss = 2 × Top Chord Side + Building Width + Webbing Allowance
Webbing Allowance is typically set equal to the building width as a first‑pass estimate.

Formula 4: Total Cost
Total Cost = Truss Count × Unit Price (per‑truss pricing)
or
Total Cost = Total Lumber with Waste × Price per Linear Foot (linear‑foot pricing)

Worked Example — Imperial

A gable building measures 24 ft wide by 40 ft long. The roof carries a 6/12 pitch and the eaves overhang 1.5 ft horizontally. Trusses are spaced 2 ft on center, waste is 10%, and the installed truss price is $150 each.

Step 1: Run and Pitch Ratio
Building half‑width = 12 ft. Overhang = 1.5 ft. Total run = 12 + 1.5 = 13.5 ft. Pitch ratio = 6 ÷ 12 = 0.5.

Step 2: Length Multiplier
Length multiplier = sqrt(1 + 0.5²) = sqrt(1.25) ≈ 1.11803.

Step 3: Top‑Chord Side
Top chord side = 13.5 ft × 1.11803 = 15.0934 ft. (Keep full decimal precision until final rounding.)

Step 4: Truss Count
Building length 40 ft, spacing 2 ft: 40 ÷ 2 = 20, ceil(20) = 20, plus 1 = 21 trusses.

Step 5: Net Lumber per Truss
Top chords: 2 × 15.0934 = 30.1868 ft.
Bottom chord: 24 ft.
Webbing allowance: 24 ft.
Sum: 30.1868 + 24 + 24 = 78.1868 ft per truss.

Step 6: Total Net Lumber
78.1868 ft × 21 trusses = 1,641.92 ft.

Step 7: Waste
1,641.92 ft × 0.10 = 164.19 ft waste.
Gross lumber needed = 1,641.92 + 164.19 = 1,806.11 ft.

Step 8: Cost (Per‑Truss)
21 × $150 = $3,150.
Cost per building length foot: $3,150 ÷ 40 ft = $78.75/ft.
Cost per footprint square foot: $3,150 ÷ (24 × 40) = $3.28/sq ft.

Step 9: Roof Angle
arctan(0.5) = 26.565°, complement = 63.435°.

A framer using a metric plan would follow the same sequence with all measurements in metres. For instance, a 7.315 m wide by 12.192 m long building, with 0.61 m (24 in) spacing and a 0.457 m overhang, still yields 21 trusses. The top‑chord side becomes 4.60 m, and the net lumber per truss works out to 23.83 m. The formulas do not change—only the unit label does.

When Two Waste‑Factor Conventions Collide

Some estimators apply waste only to the longest members, not the entire frame, reasoning that shorts cut from defect‑free drops do not need an extra allowance.

A 10% overall waste factor on 1,642 ft adds 164 ft. If waste is applied only to the top chords and bottom chord (about 54 ft per truss), the added material drops to roughly 113 ft. The difference—51 ft, or two 2×4×16s—is small enough that many crews simply use the simpler full‑frame method and adjust the percentage to match their actual job‑site scrap rate.

Material density and board length assumptions also shift the waste number. Lumber arrives in even‑foot increments (8, 10, 12, 14, 16 ft). If a top‑chord piece is 15.09 ft, the closest stock length is 16 ft, leaving a 0.91‑ft drop that may or may not be usable elsewhere. Estimating waste as a percentage smooths out those jumps but does not replace a detailed cut list for a complex roof.

Truss geometry, count, and material estimates all rest on straightforward right‑triangle math. The only piece that requires engineering judgment is the internal web configuration, which must handle snow, wind uplift, and ceiling loads specific to the site.

A professional set of shop drawings will supersede any rule‑of‑thumb web estimate, and local building officials will expect stamped truss designs before issuing a framing inspection approval.