The two-bar truss calculator finds the forces in the bars, the largest stress and the vertical and horizontal deflections of the apex by the virtual work (unit-load) method.
How the calculation works
- Enter the half span, the height of the apex and the cross-section areas of the two bars, and the modulus of elasticity.
- Enter the vertical load and the horizontal load that act at the apex.
- The calculator gives the bar forces, the largest stress and the vertical and horizontal deflections of the apex by the unit-load method.
Example
A two-bar truss has its supports 8 ft from the vertical axis and its apex 6 ft above them, so each bar is 10 ft long, with sin θ = 0.6 and cos θ = 0.8. The apex carries 20 kips down and 5 kips to the right. The bars have 2.0 in² (left) and 1.5 in² (right), with E = 29,000 ksi. Equilibrium gives N1 = (5 / 0.8 − 20 / 0.6) / 2 = -13.54 kips and N2 = (−20 / 0.6 − 5 / 0.8) / 2 = -19.79 kips, both in compression. The largest stress is 13.2 ksi. With a unit vertical load, each bar has n = −1 / (2 sin θ) = -0.833, so δv = Σ N n L / (AE) = 0.069 in. A unit horizontal load gives δh = 0.017 in, and the apex moves 0.071 in in all.
Why it matters
The calculator helps students of structural analysis, engineers of brackets, hangers and small frames, and teachers to see the unit-load method on the simplest truss. The two bars let you follow every term by hand, and the choice of different areas shows how stiffness decides the direction of the movement.
Good to know
Check the signs of the forces: compression is negative here, and a bar in compression must be checked for buckling. The deflection grows with the bar length and falls with the area, so a flatter truss, with a small angle, moves much more than a steep one, since sin² θ is in the denominator. Use the same units for the loads, the areas and the modulus, and compare the result with the span, as a limit of L/360 is common for service loads.
Related tools
The Warren truss calculator finds the member forces of a larger truss, the fixed-end moments calculator gives the moments of a fixed beam, the beam deflection calculator gives the deflection of a beam and the roof truss calculator sizes the rafters and the ties of a roof.