Roof truss calculator
How many trusses does your roof need, and what are they? See each one laid out, with its chords and webs, before you call a truss maker.

The plan
Every piece, sized and counted from the sizes you gave.
- Roof angle
- 22.6°
- Span
- 24 ft, wall to wall
| Piece | Size | Length | How many |
|---|---|---|---|
| Top chord | 2×6 | 14 ft 1 1/8 in | 32 |
| Bottom chord | 2×4 | 12 ft | 32 |
| Web | 2×4 | 6 ft 1 5/8 in | 32 |
| Web | 2×4 | 4 ft 8 1/2 in | 16 |
| Web | 2×4 | 2 ft 3 1/4 in | 32 |
| Barge rafter | 2×6 | 14 ft 1 1/8 in | 4 |
| Lookout | 2×6 | 1 ft 7 1/2 in | 20 |
| Lookout | 2×6 | 9 11/16 in | 4 |
| Lookout | 2×6 | 9 3/16 in | 4 |
| Corner rafter | 2×6 | 2 ft 9 3/8 in | 4 |
| Sub-fascia | 2×6 | 16 ft 9 3/4 in | 2 |
| Sub-fascia | 2×6 | 14 ft 11 1/8 in | 2 |
| Blocking | 2×6 | 1 ft 9 1/8 in | 30 |
| Top plate | 2×4 | 14 ft 8 1/2 in | 4 |
| Top plate | 2×4 | 12 ft 9 1/4 in | 4 |
| Top plate | 2×4 | 11 ft 8 1/2 in | 4 |
| Stud | 2×4 | 5 15/16 in to 4 ft 10 5/8 in | 34 |
In all 2×4: 973 ft · 2×6: 674 ft
hauscraft.app/calculators/roof-truss-calculator/
How it is worked out
- Every truss is in one plane, with two top chords up to the peak and a 2×4 bottom chord on edge from the outside of one wall to the outside of the other.
- Its heels sit on the outer edge of the walls’ plates, and it spans the building from wall to wall on its own.
- A web stands plumb under the peak, with more between so each panel of the bottom chord is 6 ft or less. A diagonal crosses each panel, which makes a king post truss where there is one web and a Howe truss where there are more.
- The eaves are framed as a rafter roof’s are, with a sub-fascia along each and a barge rafter up each rake on lookouts.
- The gable ends are framed in studs.
- Trusses span one rectangle of walls. A roof too low to fit a web is turned down, and we say why.
We lay out and count the sizes you pick, close enough to plan a weekend and price the lumber. Span tables, your local code and, on a bigger job, an engineer settle what size each board has to be.
Questions
- How many trusses do I need?
- One at each spacing along the building’s length, and one more to finish. The list counts their chords, with two top chords to a truss and a bottom chord that comes in two lengths where it is longer than a 20 ft board.
- What kind of truss is this?
- A king post truss on a short span, and a Howe truss, with plumb webs and diagonals between them, on a longer one.
- Can I build trusses from this?
- It is made for planning and counting. The trusses that go on a roof come engineered from a truss maker, who sizes the plates and members from numbers like these.
Talk it over
Ask other owners how they built theirs in Request a build, and when yours is done, show it in Builds and projects: how you went about it, what you’d do again and what you wouldn’t.
From an AI assistant
Add HausCraft’s MCP server, https://hauscraft.app/mcp, to Claude or any assistant that takes one, and ask it for this calculation: it answers with the same list. What it asks, and every calculator.
Other calculators

Rafter calculator
Know how long to cut each rafter. Every board of a gable roof, with its length.Open the rafter calculator
Wall framing calculator
Know how many studs to buy, and where they stand. Every stud, plate and header, around your door or window.Open the wall framing calculator
Stair calculator
Make a stair that fits the height you climb. Even risers, treads and stringers.Open the stair calculator
Deck framing calculator
Know what to buy before you dig a footing. Footings, posts, beams, joists and planks, counted.Open the deck framing calculator
Shed roof calculator
Know how tall the high wall has to be. One slope of rafters and the wall under it.Open the shed roof calculator
Gambrel roof calculator
Get a barn roof’s two slopes to meet. Both slopes’ rafters, each with its length.Open the gambrel roof calculator
Saltbox roof calculator
See what moving the ridge does to the back slope. A short steep slope and a long shallow one.Open the saltbox roof calculator
Floor joist calculator
Know how many joists a floor takes. Joists, rim boards and the subfloor.Open the floor joist calculator
Fence calculator
Know what to buy for a run of fence. Posts, rails and boards, counted.Open the fence calculator
Plant spacing calculator
Know how many plants fill a bed. Every plant in its place, counted, and the mulch to cover the bed.Open the plant spacing calculator
Vegetables
Tomato24 in apart
Bell pepper15 in apart
Jalapeño15 in apart
Cucumber12 in apart
Zucchini24 in apart
Lettuce6 in apart
Carrot3 in apart
Green bean4 in apart
Pole bean6 in apart
Pea3 in apart
Radish3 in apart
Onion4 in apart
Garlic6 in apart
Potato12 in apart
Sweet corn15 in apart
Spinach4 in apart
Kale15 in apart
Broccoli15 in apart
Cabbage15 in apart
Cauliflower15 in apart
Beet4 in apart
Eggplant18 in apart
Pumpkin36 in apart
Butternut squash36 in apart
Sweet potato12 in apart
Swiss chard8 in apart
Okra15 in apart
Celery8 in apart
Brussels sprouts18 in apart
Asparagus18 in apart
Leek4 in apart
Rhubarb36 in apart
Herbs
Basil12 in apart
Parsley6 in apart
Cilantro6 in apart
Mint12 in apart
Rosemary24 in apart
Thyme6 in apart
Oregano12 in apart
Chives4 in apart
Dill12 in apart
Sage18 in apart
Lavender18 in apart
Fruit
Start from your address
Tell Klaus where your house is. He asks a couple of questions about it and lays it out with you.






