Skip to content

    Under active development. New calculators and features ship every week. Everything currently runs free while the site matures — pricing pages are a preview, checkout is not open yet.

    Calculates locally in your browser · direct stiffness method
    Structural analysis / Trusses

    Truss analysis calculator

    A pin-jointed truss solved by the direct stiffness method: pick the geometry, and every member force, reaction and deflection comes out of the same global system a desktop package would assemble. Warren, Pratt and Howe patterns, any panel count.

    ShapePrattMembers21Equilibrium60.0 / 60.0 kN
    Max tension
    36.0 kN
    Member 3
    Max compression
    -36.1 kN
    Member 12
    Max deflection
    2.1 mm
    Span/5819
    Chord estimate
    30.0 kN
    M/h at midspan
    Member forces
    Axial force from the stiffness solve, largest first. Positive is tension.
    21 members
    Member forces
    MemberNodesLength (m)Force (kN)Stress (MPa)
    1211–63.61-36.1-20.0
    110–73.61-36.1-20.0
    99–102.00-36.0-20.0
    32–32.0036.020.0
    54–52.0032.017.8
    88–92.00-32.0-17.8
    43–42.0032.017.8
    21–22.0032.017.8
    181–83.61-21.6-12.0
    215–103.61-21.6-12.0
    77–82.00-20.0-11.1
    1010–112.00-20.0-11.1
    65–62.0020.011.1
    10–12.0020.011.1

    Stress is force over area; compare it with the yield strength for a utilisation, or with a buckling curve for the compression members.

    Inspect the model
    Choose a quick result view, a scaled comparison, or the complete diagnostic set.
    Force by member
    Tension above zero, compression below.
    Force by member-41.82-23.67-5.5112.6530.8148.971133557799111113131515171719192121Axial force (kN)
    Canonical equations
    The exact relationships implemented by this engine.

    K·u = F · Assembled from each member’s axial stiffness.

    k = EA/L · [c², cs; cs, s²] · c and s are the member direction cosines.

    N ≈ W·L / (8h) · Simply supported, uniform load; a check on the solver, not a substitute.

    engineering methodology

    A clear path from inputs to results.

    A pin-jointed truss is the cleanest structural model there is: every member carries axial force only, and the whole thing can be solved from one global stiffness matrix. This calculator builds the geometry, assembles that matrix, solves for displacements and reads every member force back out — the same route a desktop package takes.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Choose the truss pattern and set the span, depth and panel count.
    2. Enter the total roof load; it is applied at the top-chord panel points.
    3. Read the peak tension and compression, then check the member forces against yield and buckling.

    The formula

    K⋅u=F,N=EAL(Δucos⁡θ+Δvsin⁡θ)K·u = F, \qquad N = \frac{EA}{L}\left(\Delta u\cos\theta + \Delta v\sin\theta\right)

    Reference: Direct stiffness method for a two-dimensional pin-jointed truss.

    Worked example

    Six-panel Pratt truss, 12 m span

    Inputs
    • Span 12 m, depth 3 m, 6 panels, 60 kN total roof load, 1800 mm² members, 200 GPa.
    Calculation path
    1. 1

      Build 8 nodes and 13 members; pin the left support and roller the right. Assemble K, apply 20 kN at each of the three top-chord nodes, solve for the 13 free degrees of freedom, then recover member forces from the elongations.

    Result

    Peak compression in the end post, peak tension in the bottom chord, equilibrium satisfied to the kilonewton.

    Interpreting the result

    The chord force estimate W·L/(8h) is shown alongside the solved value: if the two disagree by more than a few per cent, the geometry is doing something the simple beam analogy cannot see.

    Assumptions & limitations

    • Pins at every joint: no bending in members.
    • Linear elastic material with a constant section.
    • Small displacements; no P-delta.
    • Loads applied at joints only, not along members.
    • Out-of-plane buckling is not checked here.

    Frequently asked questions

    Why does the solver refuse some geometries?

    An untriangulated panel is a mechanism, so the stiffness matrix is singular. The calculator reports that rather than returning a number.

    Which pattern is most efficient?

    Pratt puts the diagonals in tension under gravity, which is why it is common in steel; Howe reverses that and suits timber.

    Is the deflection realistic?

    It is the elastic axial deflection of the truss; joint slip and connection flexibility usually add to it.

    Can I model a non-uniform section?

    Not in this form — every member shares one area. Use the section builder to size the chord, then check the peak force against it.

    Methodology last reviewed 2026-10-22. Results are informational and not financial or engineering advice — see our disclaimer.