Quick answer. To solve a truss, define the joints (nodes), the bars between them (members), a pin and a roller (or other supports), and the loads at the joints. StiffStruct solves the whole truss with the stiffness method and lists the axial force in each member: positive is tension, negative is compression. A free account shows every value for 2D trusses of up to 21 members.
1. What the truss calculator gives you
Truss bars are pin-jointed and loaded at the joints, so each carries only axial force. For a plane truss the calculator returns:
- Member forces: the axial force \(N\) in every bar, with its sense (tension or compression).
- Support reactions at each pin, roller or spring, with an equilibrium check that shows the residual between the loads and the reactions.
- Joint displacements and the deformed shape, which need a section area \(A\) and a modulus \(E\) for each member.
- A step-by-step report (Student and Pro plans) with the matrices and the force recovery.
For space trusses, use the 3D truss analysis calculator instead.
2. How to model a truss in StiffStruct
- Create the model. Choose New model, pick Truss in 2D, then start from a blank model or from the parametric Pratt or Howe template. Set the units (SI, MKS or US) and a name, and press Create. The link app.html?new=truss2d opens a new plane truss directly.
- Add the nodes. With the Node tool (key N) click on the canvas. For exact geometry, type X and Y into the Nodes table on the left. Cells accept expressions and units, like
3*1.5or8 ft. - Connect the members. The Member tool (M) draws a bar from a start point to an end point and keeps chaining from the last node; press Esc to stop. A material and a section give each member its \(E\) and \(A\).
- Add the supports. With the Support tool (S) pick a type and click a node. The usual choice is a pin at one end (restrains X and Y) and a roller at the other (restrains Y only). Inclined rollers and springs are also available.
- Apply the loads. With the Load tool (L) click a node and enter the components Fx and Fy along the global axes. Gravity acts in the −Y direction, so a downward load is a negative Fy.
- Analyse. Press Ctrl + Enter or choose Analyze, then open the results and choose the Axial view.
3. Reading tension and compression
Axial force is positive in tension (the bar is pulled apart) and negative in compression (the bar is pushed together). On the Axial view the members are coloured by sense:
| Member state | Sign of \(N\) | Colour on the Axial view |
|---|---|---|
| Tension | positive | blue |
| Compression | negative | orange |
| Zero force | zero | grey, dashed |
Compression members matter most in design, because a long slender bar in compression can buckle well below its yield load. Zero-force members still brace other bars and carry load when the loading changes.
4. Stability and determinacy: check m + r against 2j
Each joint of a plane truss gives two equilibrium equations, so a truss with \(j\) joints has \(2j\) equations. The unknowns are the \(m\) member forces and the \(r\) reaction components. Compare them before you solve:
- \(m + r < 2j\): the truss is unstable; it is a mechanism and cannot carry general loads.
- \(m + r = 2j\): the truss is statically determinate, provided the members and supports are arranged sensibly.
- \(m + r > 2j\): the truss is indeterminate to degree \(m + r - 2j\); the stiffness method handles the extra unknowns automatically.
The count is necessary but not sufficient. Three parallel reactions, or a square panel without a diagonal, can satisfy the count and still collapse. If that happens, StiffStruct reports an unstable model and names the node and the direction that is free to move.
5. Common truss types, with an example of each
Every example below is statically determinate (\(m + r = 2j\)). The forces quoted come from the solver and agree with a hand check by joints and sections.
| Type | Example | j, m, r | What to notice |
|---|---|---|---|
| Pratt | 24 m bridge, six 4 m panels | 12, 21, 3 | Diagonals in tension, centre vertical carries zero force |
| Howe | 48 ft pitched roof | 12, 21, 3 | Bottom-chord force drops from 10 to 6 kip towards midspan |
| Warren with verticals | 18 m span, 3.5 m deep | 12, 21, 3 | Diagonals alternate between tension and compression |
| Fink | 36 ft compound roof truss | 7, 11, 3 | Two simple trusses joined by a 6 kip middle tie |
| Cantilever | 6 m wall bracket | 7, 10, 4 | Top chord in tension, bottom chord in compression |
Pratt bridge. Five loads of 60 kN act at the bottom-chord joints, so each support takes 150 kN. The end posts carry −212.1 kN, the top chord reaches −270 kN at midspan and the bottom chord 240 kN. All four diagonals are in tension (127.3 kN in the end panels, 42.4 kN next to the centre); the long diagonals are pulled, so they cannot buckle. The outer verticals are in tension (60 kN), the next ones in compression (−30 kN).
Solving the example in your browser…
Howe roof. The roof load is 2 kip at each of the five top-chord joints and 1 kip at each eave, 12 kip in total, so each support takes 6 kip. The end rafters carry −11.18 kip and the bottom chord falls from 10 kip at the ends to 6 kip in the middle panels. In this example the diagonals are in tension (2.83 and 3.61 kip), the outer verticals in compression (−2 and −3 kip), and the centre post carries no force. Units are US customary.
Solving the example in your browser…
Both of these trusses have exactly 21 members, so they sit at the limit of the free plan and show every value with a free account. More trusses are in the examples library.
6. Method of joints, method of sections, stiffness method
All three give the same forces for a determinate truss; they differ in effort and reach.
| Method | How it works | Best for | Limits |
|---|---|---|---|
| Method of joints | \(\sum F_x = 0\) and \(\sum F_y = 0\) at one joint at a time, starting where only two forces are unknown | All member forces of a small truss by hand | Errors carry forward; determinate only |
| Method of sections | Cut through at most three members and take moments about a point where two of them meet | One or two particular members, such as a midspan chord | Determinate only; needs a suitable cut |
| Stiffness method | Assemble \(\mathbf{K}\mathbf{u}=\mathbf{F}\) from every member, solve for joint displacements, then recover each \(N\) | Any truss size, indeterminate trusses, deflections, settlements | Long by hand; needs \(E\) and \(A\) |
The hand methods are explained step by step in method of joints and method of sections, and the stiffness method with its matrices in the 2D truss stiffness matrix solver. Checking two or three members by hand is a quick way to confirm your input.
Solve your own truss
Edit an example, or draw a plane truss from scratch.
Frequently asked questions
Is the truss calculator free?
Yes. With a free account StiffStruct shows every value (reactions, member forces, displacements) for 2D trusses of up to 21 members, with 15 analyses a month. Larger trusses show only the shape of the results unless you have a Semester pass, Student or Pro plan. See pricing.
How do I know if a truss member is in tension or compression?
StiffStruct reports axial force as positive in tension and negative in compression. On the Axial view, tension members are drawn in blue, compression members in orange, and zero-force members in grey.
Why does the calculator say my truss is unstable?
The truss can move as a mechanism: too few supports (a plane truss needs at least three independent restraints), a panel without a diagonal, or a loose node. The message names the node and the direction that is free to move.
Can it solve statically indeterminate trusses?
Yes. The solver uses the stiffness method, which does not need the truss to be determinate. Redundant members and supports need no special treatment, only realistic areas and moduli.
Does it design roof truss timber or steel sizes?
No. It analyses the truss: reactions, member axial forces and joint displacements for the geometry, sections and loads you enter. Member sizing, connection design and code checks remain your job.
Can I enter loads in kip and feet?
Yes. Choose SI, MKS or US units when you create the model, or change them later under Units. Switching units changes only the display, never the result. Fields also accept a typed unit such as 12 kN.