Pro Calculators and Guides

How to Analyse a 2D Truss: Member Forces, Reactions and Joint Steps

Draw a plane truss, add supports and joint loads, and read member forces in tension or compression with reactions, deflections and hand-check steps.

Saizul Amin
Saizul Amin19 Nov 2026 · 4 min read
How to Analyse a 2D Truss: Member Forces, Reactions and Joint Steps

How to Analyse a 2D Truss: Member Forces, Reactions and Joint Steps

Trusses look simple: straight bars, pinned at the ends, loaded at the joints. Yet working out the force in every member by hand is slow, and one sign error early in the method of joints spoils every result after it. The free 2D Truss Analysis Calculator lets you draw the truss, solve it in the browser and see both the answer and the hand working.

What a truss calculation gives you

In an ideal truss each member carries only an axial force. It is either pulled (tension) or pushed (compression), and that single number per member is what you need to choose a section, check a connection or verify a student exercise. The supports react against the loads, and the joints move a little as the members stretch or shorten. A complete analysis gives all three: member forces, support reactions and joint displacements.

Drawing the truss

Start in Add node mode and tap the grid where the joints go. The grid snap keeps the coordinates tidy, for example every 0.5 m. Switch to Add member and tap one node, then the next, to draw a bar between them; keep tapping to draw a chain of members. In Select mode you can tap a node to edit its exact coordinates, or drag it to reshape the truss. Every change can be undone.

Supports are set per node. A pin stops movement in both directions; a roller stops it in one, either vertical or horizontal. A simply supported truss needs one pin and one roller. Loads go on the nodes in kilonewtons, with x to the right and y upwards, so a hanging load of 10 kN is entered as Py = −10.

How the solver works

The calculator uses the direct stiffness method. Each member has an axial stiffness EA/L, which is transformed into the global x and y directions and added into one stiffness matrix for the whole truss. The rows for restrained directions are set aside, the remaining equations are solved for the joint displacements, and the force in each member follows from how much it has stretched. Reactions come from the restrained rows.

Because this method uses stiffness rather than statics alone, it also handles redundant trusses with extra members. In those, stiffer members attract more force, so the values you enter for E (in GPa) and area (in mm²) matter. In a statically determinate truss they do not change the forces, only the deflections and stresses.

Reading the results

The drawing colours members blue in tension and red in compression, with thicker lines for larger forces and a label on each member. Reactions appear beside the supports. A table lists each member's length, force, state and axial stress, and another lists the displacement of every node in millimetres. A deformed shape, magnified so you can see it, shows how the truss moves.

Two checks help you trust the answer. The first is the count m + r − 2j: zero means determinate, a positive number means indeterminate, a negative number means you are missing members or supports. The second is the equilibrium check, the sums of forces and moments of loads plus reactions, which should be zero to rounding.

The method of joints, written out

For a determinate truss the calculator then works through the joints the way a textbook does. It finds a joint with no more than two unknown member forces, writes the two equilibrium equations with the direction of each member, solves them and moves on. Each step lists the known forces, the unknowns and the result with its state. This is useful when you need to show working, or when you want to see exactly where your hand calculation went wrong.

A worked example

Load the example Pratt truss: four panels of 3 m, 3 m deep, a pin at the left, a roller at the right and 10 kN hanging from each of the three inner bottom joints. Each support takes 15 kN. The end diagonals carry 21.21 kN compression, the bottom chord 15 kN tension throughout, the middle of the top chord 20 kN compression, the outer verticals 10 kN tension and the inner diagonals 7.07 kN tension. The centre vertical carries nothing at all under this loading, a classic zero-force member.

When something is wrong

If the solver reports a singular matrix, part of the structure can move without stretching any member. A square panel without a diagonal is the usual cause, as are supports that only stop vertical movement. Add a diagonal or change a roller to a pin and solve again.

What the tool does not do

It treats members as pin-ended bars with loads only at the joints. It does not check buckling of compression members, design connections, add self-weight or combine load cases. Use the forces as input to those checks, and have structural work verified by a qualified engineer.

Saving and sharing

Save each truss as a named project in your browser, export it as JSON to move it to another computer, download the member forces as CSV, save the drawing as SVG or PNG, or print a report with the drawing, tables and joint steps.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages