2D truss analysis using the matrix stiffness method — nodal displacements, member forces & reactions
| Node | Δx (m) | Δy (m) |
|---|---|---|
| N1 | 0.000e+0 | 0.000e+0 |
| N2 | 9.375e-6 | -1.992e-5 |
| N3 | 6.250e-6 | -2.383e-5 |
| N4 | 3.125e-6 | -1.992e-5 |
| N5 | 1.250e-5 | 0.000e+0 |
| Member | Length (m) | Axial Force N (N) | Stress σ (Pa) |
|---|---|---|---|
| M1 | 3.202 | -1600.78 | -3.202e+5 |
| M2 | 3.202 | +0.00 | 2.117e-10 |
| M3 | 3.202 | -0.00 | -5.291e-11 |
| M4 | 3.202 | -1600.78 | -3.202e+5 |
| M5 | 5.000 | +1250.00 | 2.500e+5 |
| M6 | 5.000 | +1250.00 | 2.500e+5 |
| M7 | 5.000 | -1250.00 | -2.500e+5 |
| Support | Node | Rₓ (N) | Rᵧ (N) |
|---|---|---|---|
| s1 | N1 | +0.00 | +1000.00 |
| s2 | N5 | +0.00 | +1000.00 |
This free truss calculator analyses any 2D pin-jointed truss and returns the axial force in every member, the reactions at each support and the displacement of every joint. It uses the matrix stiffness method, the same approach as commercial structural analysis software, so it handles both statically determinate and indeterminate trusses.
Open the Nodes tab and enter the x and y coordinates of each joint. The default model is a simple Warren truss, which is a good starting point for homework problems and for checking a hand solution by the method of joints.
In the Members tab, join pairs of nodes. Each member has a cross-sectional area and an elastic modulus. For a determinate truss the member forces do not depend on these values, but they do change the displacements and are needed for indeterminate trusses.
Add a pin support (restrains x and y) and a roller (restrains one direction) so the truss is stable, then apply point loads at the joints in the Loads tab. Loads on a truss always act at the nodes.
The diagram updates as you type. Members in tension and compression are coloured differently, support reactions are listed in the results panel, and the deflected shape is drawn at an exaggerated scale. Zero-force members show a force of 0, which is a quick way to confirm what you found by inspection. For the exam-style walk-through, see the FE Civil method of joints example, or switch to the beam calculator for shear and moment diagrams.
You can check any result from this truss solver by hand. The three standard methods give the same member forces for a statically determinate truss:
Joints A (0, 0) and B (6, 0) are 6 m apart with a pin at A and a roller at B. The apex C is at (3, 4), and a 30 kN load acts downward at C. Members AC and BC are each 5 m long.
Enter the same three joints in the calculator above to see these forces and the deflected shape.
Zero-force members still matter: they brace compression members against buckling and carry load when the loading changes.
A positive member force means tension (the member is being pulled); a negative force means compression. The diagram colours members by sign so you can read it at a glance.
The matrix (direct) stiffness method. It assembles a global stiffness matrix from every member, applies the supports and loads, and solves for the nodal displacements, then back-calculates member forces and reactions.
Yes. Because the stiffness method uses member stiffness (area and elastic modulus), it handles redundant members and extra supports that the method of joints or method of sections cannot solve alone.
The structure is a mechanism: it has too few members or supports to prevent rigid-body motion. Add a member to triangulate the panel, or add a support that restrains the free direction.