Chris Collins

Tools · physics

Beams, columns and trusses

Beam solver for simply supported, cantilever, propped, fixed and overhanging beams with point, uniform, triangular and moment loads — shear, moment, slope and deflection diagrams, stresses from a section-property calculator, steel, aluminium, wood and 3D-printed materials — plus Euler and Johnson column buckling and a drawable 2-D truss solver with tension, compression and member buckling.

Added

How to use it

Pick Metric or Imperial at the top; every field follows, and the choice is remembered. Press ⛶ Full screen (or f) for a full-window view — useful for the truss editor on a phone; Escape leaves.

Beam calculator

  1. Choose the supports: simply supported (pin + roller), cantilever (fixed at the left), propped cantilever (fixed left, roller right), fixed at both ends, or overhanging (supports anywhere at a and b).

  2. Add loads. A point load acts downward when positive. A distributed load runs from one position to another and may vary linearly — the same start and end values make it uniform, a zero at one end makes it triangular. A couple is counter-clockwise when positive. Tick include self-weight to add the beam’s own weight from the section and density.

  3. Pick a section and a material, and set the safety factor and deflection limit.

The tool draws the beam with its loads, then the shear force, bending moment (sagging positive), slope and deflection along it, with the extreme of each marked. The cards give the largest moment, shear, deflection and bending stress σ = M·c/I, the safety factor on yield (or on the modulus of rupture for wood), and the deflection against the chosen span limit (L/180 … L/2000; a cantilever is judged as a span of twice its length). Shear stress is the peak VQ/(Ib) at the neutral axis.

The solver uses Euler–Bernoulli beam finite elements with nodes at every load and support (exact at the nodes for these loads), so indeterminate cases — fixed ends, propped cantilevers — need no special handling; shear and moment come from statics with the solved reactions. It reproduces the standard results tabulated in Roark’s Formulas for Stress and Strain (Young & Budynas, 8th ed., Table 8.1) and Gere & Goodno’s Mechanics of Materials (Appendix G): 5wL⁴/384EI and wL²/8 for a uniform load on a simple span, PL³/3EI for a loaded cantilever, wL⁴/384EI and wL²/12 at the ends of a fixed-fixed beam, 3wL/8 at the prop of a propped cantilever, wL²/(9√3) at L/√3 for a triangular load — the tests check each of these.

Section properties

Area, centroid, second moments of area about both axes (and the principal values for angles), section modulus S = I/c top and bottom, radius of gyration, and the first moment Q and width at the neutral axis, for rectangles, round bar, round tube, box tube, I/H beams, channels, angles and tees. On its side turns the section 90°. The sections are idealised with sharp corners: rolled and extruded shapes have fillets and rounded corners, so catalogue values differ by a few percent — for a real part use the catalogue. Weight and cost of stock are in metal weight.

Column buckling

Euler’s critical load Pcr = π²EI/(KL)² for slender columns and Johnson’s parabola σ = fy(1 − fy(KL/r)²/(4π²E)) below the transition slenderness Cc = √(2π²E/fy), drawn as a curve of critical stress against slenderness with your column marked. End conditions use the effective-length factor K — theoretical (1, 0.5, 0.7, 2) or the larger values recommended for design (AISC 360 Commentary, Table C-A-7.1: 1, 0.65, 0.8, 2.1), which allow for imperfect fixity. Buckling uses the section’s least moment of inertia. Real columns are crooked and loaded off-centre, so codes give lower strengths than Euler — keep a generous safety factor.

Truss solver

Draw a pin-jointed plane truss on the canvas, or load a preset (a 45° triangle, Pratt and Howe bridges, a Warren truss, a wall bracket, a Fink roof truss).

  • Move — drag joints; tap one to edit its coordinates, support and load.

  • + Joint — tap empty space (positions snap to the grid).

  • + Member — tap two joints.

  • Support — tap a joint to cycle: none → pin → roller sliding sideways → roller sliding vertically.

  • Delete — tap a joint (and its members) or a member.

The truss is solved by the direct stiffness method — the matrix form of the method of joints, which also handles statically indeterminate trusses; the tool reports whether yours is determinate, and refuses a mechanism. Members are coloured blue in tension and red in compression (orange when the compression exceeds the member’s Euler load), with widths proportional to the force; the table gives each member’s length, force, stress, Euler load (K from the end condition you choose, on the member’s length and least I) and its use as a fraction of capacity times the safety factor. All members share one section and material.

Materials

Steels use the grade’s minimum yield (EN 10025-2, ASTM A36, A500, AISI bar data); aluminium 6061-T6 and 6063 from the Aluminum Association’s Aluminum Design Manual minimums. Woods are from the USDA Wood Handbook (FPL-GTR-282, 2021, Table 5-3a): E and the modulus of rupture of small clear specimens at 12% moisture. Those are averages, not design values — graded lumber with knots is far weaker (NDS or Eurocode 5 values are about a quarter to a half of MOR) — and wood creeps under sustained load. Printed plastics use moulded-bar datasheet values; a printed part is weaker, especially across its layers and at low infill (see the note shown with them). Every value can be overridden.

Limits

  • Small deflections, linear-elastic material, prismatic beams (one section along the length), no shear deformation (Timoshenko) — short, deep beams deflect a little more than shown.

  • No lateral–torsional buckling, local buckling of thin walls or flanges, web crippling, or connection checks. Channels and angles loaded off their shear centre also twist.

  • Allowable-stress checks with a single safety factor, not a code design (Eurocode, AISC, NDS, ADM).

  • Truss members are pin-ended and loaded only at joints; the joints themselves are not checked.

  • For anything where failure could hurt someone, have it checked by a qualified engineer.

Linking to an example

Links can be written by hand. Add the tab after #: beam, section, column or truss. Lengths in links are in metres (SI), whatever units are shown.

Parameter Meaning Example

units

si (mm, kN, MPa) or us (in, lbf, ksi)

units=us

sup

Supports: ss, cant, propped, ff, oh

sup=cant

L

Span, m

L=2.4

a, b

Overhanging beam: support positions, m

a=0&b=3

mat

Material id: s235, s275, s355, a36, a500, 1018, 4140, ss304, al6061, al6063t5, al6063t6, douglas-fir, loblolly, spruce, white-pine, red-oak, white-oak, hard-maple, ash, poplar, birch, plywood, baltic-birch, pla, petg, abs, nylon

mat=al6061

shape

Section: rect, round, tube, rhs, ibeam, channel, angle, tee

shape=tube

axis

x upright or y turned on its side

axis=y

sf

Safety factor

sf=2

lim

Deflection limit, span ÷ this

lim=360

colL

Column length, m

colL=3

end

Column ends: pp, ff, fp, fr, fs

end=fr

truss

Load a truss preset: triangle, pratt, howe, warren, cantilever, roof

truss=warren

example

One of the presets below; parameters given with it override the preset’s

example=ss-udl

Presets:

example= Shows

ss-udl

3 m simply supported 100×50×4 box in S355 under 5 kN/m (open)

cantilever-shelf

A 300 mm oak bracket arm, 40×20 mm, 200 N at the tip (open)

workbench-2x4

A 6 ft Douglas-fir 2×4 on edge with 300 lbf in the middle (open)

fixed-ends

A fixed-fixed 2 m I-beam under 10 kN/m: end moments wL²/12 (open)

overhang

A 4 m beam on supports at 0 and 3 m, 1 m overhang with 2 kN at the tip (open)

extrusion-gantry

A 600 mm aluminium extrusion (as a 40×20 box) carrying a 3 kg carriage, judged at L/1000 (open)

printed-bracket

A PETG printed cantilever, 60 mm long, 50 N at the end, safety factor 3 (open)

triangular

A triangular load rising to 6 kN/m on a 4 m span (open)

column-tube

A 2.5 m pinned 48.3×3.2 scaffold tube: Euler governs (open)

pratt

Pratt bridge, 6 × 2 m panels, 10 kN per bottom joint: diagonals in tension (open)

howe

The same bridge as a Howe truss: the diagonals in compression (open)

roof

A timber Fink roof truss, 8 m span (open)

Runs entirely in your browser; nothing you type leaves this page.