When building or designing a roof truss, one of the most important structural members is the top chord. It runs diagonally from the wall plate to the roof peak and supports the roof covering and loads above.
This Top Chord Length Calculator helps you determine the exact length of the top chord using inputs like span, roof pitch, overhang, and heel height. It's especially useful for architects, engineers, and DIY builders who want accurate rafter and truss calculations.
What Is the Top Chord?
The top chord is the sloped edge of a truss or rafter. Its length depends on how wide the building is (span), how steep the roof is (pitch), and any extra rise from heel height or horizontal run from overhang.
Formulas Used in the Calculator
Your code uses real-world geometry and trigonometry to determine the top chord length. Here's how each value is calculated:
1. Pitch Ratio
The slope of the roof is the rise over run. For example, 6:12 means 6 inches of rise per 12 inches of run.
Pitch Ratio=Pitch RunPitch Rise
2. Half Span
Since each top chord only covers half the total span:
Half Span=2Span
3. Overhang (Converted to Feet)
Overhang (ft)=12Overhang (in)
4. Total Run
Total Run=Half Span+Overhang (ft)
5. Rise (before heel height)
Rise=Total Run×Pitch Ratio
6. Heel Height Adjustment
Total Rise=Rise+12Heel Height (in)
7. Top Chord Length (Hypotenuse)
Using the Pythagorean theorem:
Top Chord Length=(Total Run)2+(Total Rise)2
8. Slope Angle (degrees)
To get the angle of the top chord from horizontal:
Slope Angle=tan−1(Pitch Ratio)×π180
Example Calculation
Let’s walk through an example using your calculator logic:
Inputs:
- Span = 24 ft
- Pitch = 6:12
- Overhang = 18 inches
- Heel Height = 6 inches
Step 1: Pitch Ratio
Pitch Ratio=126=0.5
Step 2: Half Span
Half Span=224=12
Step 3: Overhang in Feet
Overhang=1218=1.5
Step 4: Total Run
Total Run=12+1.5=13.5
Step 5: Rise
Rise=13.5×0.5=6.75
Step 6: Add Heel Height
Total Rise=6.75+126=7.25
Step 7: Top Chord Length
Chord Length=13.52+7.252=234.81≈15.324
Step 8: Slope Angle
Slope Angle=tan−1(0.5)×π180≈26.57∘
Final Output
- Top Chord Length ≈ 15.324 ft
- Total Rise = 7.25 ft
- Total Run = 13.5 ft
- Slope Angle ≈ 26.57°
Check out 1 similar Top Chord Length Calculator - Easily Estimate Your Roof Truss Chord :