A shed roof truss slopes one way, so its geometry is a right triangle. Enter the span, the pitch and the overhang, and this calculator returns the roof angle, the rise, the chord lengths and the number of trusses.
Shed Roof Truss Design Calculator
Geometry of a single-slope (shed) roof truss: pitch angle, rise, top chord length with overhang, high-end height and number of trusses.
Starting values: the calculator opens with a span of 12, a pitch of 4 in 12, an overhang of 1, a low-end height of 0.5, a spacing of 2 and a building length of 24. It returns a roof angle of 18.43°, a rise of 4, a high-end height of 4.5, a top chord of 13.70, a bottom chord of 12 and 13 trusses. Use one length unit, such as feet, for every length.
The formulas
Roof angle = arctan(Rise per 12 ÷ 12), or the angle you enter
Rise = Span × tan(angle)
Top chord = (Span + Overhang) ÷ cos(angle)
High-end height = Rise + Low-end height
Number of trusses = Building length ÷ Spacing, rounded down, + 1
The bottom chord equals the span. The calculator also gives the cut angles: the saw set for the vertical end cut and the heel angle between the chords both equal the roof angle, and the angle between the top chord and a vertical post is 90° minus the roof angle.
Worked examples
Example 1: the default
A pitch of 4 in 12 gives arctan(4 ÷ 12) = 18.43°. Rise = 12 × 0.3333 = 4. The top chord is 13 ÷ cos(18.43°) = 13 ÷ 0.9487 = 13.70. The part over the span is 12.65 and the overhang adds 1.05. The high end is 4 + 0.5 = 4.5. Trusses: 24 ÷ 2 = 12, plus 1 = 13, with 13 × 13.70 = 178.1 of top chord in total.
Example 2: a pitch given as an angle
Choose degrees and enter 20. Rise = 12 × tan(20°) = 4.37. The top chord is 13 ÷ cos(20°) = 13.83, and the high end is 4.87. The angle of 20° equals about 4.37 in 12.
Example 3: a steeper pitch on a shorter span
Span 10, pitch 6 in 12, overhang 1, low end 0.5, spacing 2, building length 20. The angle is 26.57° and the rise is 5. The top chord is 11 ÷ cos(26.57°) = 12.30, the high end is 5.5, and there are 20 ÷ 2 + 1 = 11 trusses.
Example 4: changing the spacing
On the 24 long building, 4 spacing needs 24 ÷ 4 + 1 = 7 trusses, 2 spacing needs 13, and 1.5 spacing needs 17. Spacing changes the count a lot, so confirm it with your plans.
Pitch and angle
Roof pitch is often written as rise per 12 of run. The angle is the arctangent of the slope, so a pitch of 6 in 12 is 26.57°. A rafter reference uses the same approach: find the rise from the slope, then use the Pythagorean theorem for the length of the sloping member.
| Pitch | Angle |
|---|---|
| 3 in 12 | 14.04° |
| 4 in 12 | 18.43° |
| 6 in 12 | 26.57° |
| 8 in 12 | 33.69° |
| 12 in 12 | 45.00° |
The overhang
The overhang is horizontal, measured outward from the wall plate. It adds to the horizontal run of the top chord, so the sloping length grows by the overhang divided by the cosine of the angle. In Example 1, a horizontal overhang of 1 adds 1.05 along the slope.
Using the results
- Add extra length when you buy lumber, for cuts and waste.
- Use the cut angles to set your saw, and check them on a scrap.
- Use the truss count and the total top chord length to estimate the material.
- Check the spacing against your roof covering and your local requirements.
What the calculator does not do
- It does geometry only. Member sizes, connections and loads need a structural design from an engineer or a truss manufacturer.
- It does not apply snow, wind or dead loads.
- It gives one top chord and one bottom chord, and no web members.
- It uses a single unit for all lengths, so convert before you enter.
For riprap and other earthwork on the same site, see the riprap calculator.
Estimating material and comparing spans
The calculator’s outputs can feed a lumber list. Each truss has one top chord and one bottom chord, so the total length of each is the count times the chord length.
Example 5: material for the default roof
13 trusses with a top chord of 13.70 need 13 × 13.70 = 178.1 of top chord. With a bottom chord of 12 each, that is 13 × 12 = 156 of bottom chord, a total of 334.1 before waste and before any web members.
Example 6: a wider span
Span 16, pitch 4 in 12, overhang 1: the rise is 16 × 0.3333 = 5.33, the top chord is 17 ÷ 0.9487 = 17.92, and with a 0.5 low end the high end is 5.83. A wider span at the same pitch gives a taller, longer truss, so the high wall must be built to suit.
Example 7: a lower pitch
At 3 in 12 the angle is 14.04°. For a span of 12, the rise is 3.0 and the top chord is 13 ÷ cos(14.04°) = 13 ÷ 0.9701 = 13.40. A lower pitch gives a shorter top chord and a lower high end.
Matching the truss to the walls
The high-end height is the rise plus the low-end height, so the two walls under a shed roof must differ by the rise. Check that the difference fits your plans before cutting, and use the saw-set angle on a scrap piece first.
Frequently asked questions
How do I find the length of a shed roof truss top chord?
Add the span and the horizontal overhang, then divide by the cosine of the roof angle. For a span of 12, an overhang of 1 and 18.43°, it is 13.70.
How do I convert a pitch to an angle?
Take the arctangent of the rise per 12 divided by 12. A pitch of 6 in 12 is 26.57°.
How many trusses do I need?
Divide the building length by the spacing, round down and add one. 24 at 2 spacing needs 13.
Is this a structural design?
No. It is geometry only, and member sizes, connections and loads need an engineer or a truss manufacturer.
