Structural Analysis Calculator Guide — Frames, Trusses & Beams
Quick access:
- What is structural analysis?
- Types of structural analysis
- Key analysis methods
- How the structural analysis calculator works
- Truss analysis: method of joints
- Worked example: portal frame
- Frequently asked questions
- Try the calculator
What is structural analysis?
Structural analysis is the determination of the effects of loads on physical structures and their components. It is the core engineering activity that bridges the gap between architectural design and detailed member design.
The fundamental goal of structural analysis is to determine:
- Internal forces — axial force (P), shear force (V), bending moment (M), torsion (T) at every point in the structure
- Reactions — the forces and moments at supports
- Deformations — deflections, rotations, and settlements under load
These results feed directly into member design (beam and column sizing), connection design, and foundation design.
The Steel Calculator platform provides analysis tools for beams, frames, trusses, and connections. All calculations run client-side via WebAssembly — no data leaves your browser.
Types of structural analysis
Linear elastic analysis (first-order)
The most common analysis type in structural engineering. Assumes:
- Linear stress-strain relationship (Hooke's law)
- Small displacements (negligible geometry change under load)
- Proportional loading (loads can be scaled linearly)
Valid for most buildings under service loads. The principle of superposition applies: the response to multiple loads equals the sum of responses to each load individually.
Second-order analysis (P-Delta)
Accounts for the additional moments created when loads act through structural deformations. Two components:
- P-delta effect (P-delta): The axial load in a column times the lateral drift creates an additional overturning moment
- P-δ effect (P-delta): The axial load in a member times its local curvature creates additional bending moment
Second-order effects are significant for slender frames, long columns, and structures with high axial loads. AISC 360 Chapter C requires second-order analysis for all LRFD frame designs. The amplified first-order analysis method (AISC 360 Appendix 8) uses the B1/B2 factor approach.
Elastic buckling analysis
Determines the critical load at which a structure becomes unstable. Used for:
- Frame stability (sway buckling of unbraced frames)
- Column buckling (Euler buckling)
- Lateral-torsional buckling of beams
- Overall structural stability
Dynamic analysis
Determines the response of structures to time-varying loads: earthquakes, wind gusts, machinery vibration, blast loads. Methods range from equivalent lateral force (simplest) to response spectrum analysis to time-history analysis (most complex).
Key analysis methods
Direct integration (beams)
For statically determinate beams, internal forces and deflections can be found by direct integration of the load function:
- Load function q(x) → Shear V(x) = integral of -q(x) dx
- Shear V(x) → Moment M(x) = integral of V(x) dx
- Moment M(x) → Curvature phi(x) = M(x)/(EI)
- Curvature phi(x) → Slope theta(x) = integral of phi(x) dx
- Slope theta(x) → Deflection y(x) = integral of theta(x) dx
Integration constants are found from boundary conditions (zero deflection at supports, zero slope at fixed ends, etc.).
Stiffness method (matrix analysis)
The stiffness method (also called the displacement method or direct stiffness method) is the foundation of all modern structural analysis software:
- Discretize the structure into elements (beam elements, frame elements, truss elements)
- Define element stiffness matrices [k_e] relating element end forces to end displacements
- Assemble global stiffness matrix [K] by summing element contributions at shared nodes
- Apply boundary conditions (supports, fixities)
- Solve for displacements {U} = [K]^(-1) x {F}
- Recover element forces from the displacement solution
The stiffness method handles any structure: determinate or indeterminate, 2D or 3D, beam, truss, frame, or grid.
Moment distribution (Hardy Cross)
A iterative method for analyzing continuous beams and frames without solving simultaneous equations. Steps:
- Calculate fixed-end moments for each member
- Determine distribution factors at each joint (based on relative stiffness EI/L)
- Iterate: release joints, distribute unbalanced moments, carry over to far ends
- Continue until the unbalanced moments are negligible
The moment distribution method is still useful for quick hand checks and understanding load paths in continuous structures.
Force method (flexibility method)
The force method selects redundant forces as unknowns and solves using compatibility equations. The primary structure is obtained by removing redundants, then the displacements at the redundant locations are set to zero (for rigid supports) or a known value (for settlements).
How the structural analysis calculator works
The Steel Calculator structural analysis tools implement the direct stiffness method for:
Beam analysis (Beam Capacity Calculator)
- Simple, fixed, cantilever, and continuous beams
- Uniform, point, partial uniform, and moment loads
- Automatic shear, moment, and deflection diagrams
- Up to 5 spans with different section properties
Frame analysis (Portal Frame Calculator)
- 2D rigid frames with pinned or fixed bases
- Gravity and lateral loads
- First-order and second-order analysis
- Member end forces for design
Truss analysis (Truss Analysis Calculator)
- 2D trusses with pinned connections
- Arbitrary geometry (howe, pratt, warren, Fink, etc.)
- Method of joints results for each member
- Deflection by virtual work method
Connection analysis (Bolted Connection Calculator, Welded Connection Calculator)
- Bolt group eccentric loads (elastic and instantaneous center of rotation methods)
- Weld group polar moment method
- End plate, fin plate, and gusset plate analysis
Truss analysis: method of joints
The method of joints solves for the axial force in every member of a truss by applying equilibrium at each joint.
Procedure
- Calculate reactions using overall truss equilibrium
- Start at a joint with only two unknown forces (typically a support)
- Apply sum Fx = 0 and sum Fy = 0 to solve for the two unknown member forces
- Move to the next joint with at most two unknowns
- Continue until all member forces are found
Sign convention
- Tension (+): Member force pulls away from the joint
- Compression (-): Member force pushes toward the joint
Worked example: simple Warren truss
Problem: A 24 ft span, 6 ft deep Warren truss with a 10 kip load at each top chord panel point (4 panels at 6 ft each).
Reactions: R_left = R_right = 20 kips (symmetrical, 4 x 10 / 2)
Joint A (left support): Angle of diagonal = arctan(6/6) = 45 degrees
Sum Fy: 20 + F_diag x sin(45) = 0 F_diag = -20 / 0.707 = -28.3 kips (compression)
Sum Fx: F_top_chord + F_diag x cos(45) = 0 F_top_chord = -(-28.3 x 0.707) = 20.0 kips (tension)
Joint B (first top chord panel point): Sum Fy: -10 + (-F_diag_AB x sin(45)) + F_diag_BC x sin(45) = 0 F_diag_BC = 10/0.707 + 28.3 = 14.1 + 28.3 = 42.4 kips (the sign indicates compression)
Continuing through all joints yields the full force distribution. The maximum member force is in the top chord at the center panel: approximately -40 kips (compression). The bottom chord at midspan carries 40 kips (tension).
Worked example: simple portal frame
Problem: A 20 ft wide, 16 ft tall rigid portal frame with pinned base. Uniform gravity load of 2 kip/ft on the beam. Wind load of 5 kips at the roof level.
Step 1: Geometry and member properties
Beam: W18x35 (Ix = 510 in⁴) Columns: W10x33 (Ix = 170 in⁴) E = 29,000 ksi (constant)
Step 2: Gravity load analysis
Total uniform load: w = 2.0 kip/ft Simple span moment: M_simple = 2.0 x 20² / 8 = 100.0 kip-ft
Distribution (using moment distribution or stiffness method): Column stiffness factor (each): K_col = 4EI/L = 4 x 29,000 x 170 / (16 x 12) / 12 = ... let's compute per foot:
Relative stiffness (per foot of member): Beam: I/L = 510/20 = 25.5 in⁴/ft Column: I/L = 170/16 = 10.6 in⁴/ft
Distribution factor at beam-to-column joint: DF_beam = 25.5 / (25.5 + 10.6 + 10.6) = 0.546 DF_column = 10.6 / (25.5 + 10.6 + 10.6) = 0.227 (each)
Fixed end moment (FEM) for beam: FEM = wL²/12 = 2.0 x 20²/12 = 66.7 kip-ft
After distribution: Column base moment (pinned): 0 kip-ft Column top moment: 66.7 x 0.227 = 15.1 kip-ft
Beam midspan moment: M_simple - (FEM_avg - distributed) = 100.0 - 15.1 = 84.9 kip-ft Beam end moment: -15.1 kip-ft
Step 3: Lateral load analysis (wind = 5 kips)
The portal frame resists lateral load through frame action. Each column resists half the lateral load by frame bending:
Column shear: V = 5.0 / 2 = 2.5 kips per column Column base moment: M_base = V x h/2 = 2.5 x 8 = 20.0 kip-ft (for fixed base) For pinned base: M_base = 0, column top moment depends on beam stiffness
With pinned base, the lateral moment is shared between the columns: Column top moment = V x h / 2 = 2.5 x 16 / 2 = 20.0 kip-ft (each column)
The beam develops an inflection point at midspan with equal and opposite end moments: Beam end moment = 20.0 kip-ft (from wind alone) Beam midspan moment = 0 (inflection point)
Step 4: Combined load case (gravity + wind)
Per ASCE 7-22 load combination: 1.2D + 1.6W + 0.5L
Left column top moment: 1.2 x 15.1 + 1.6 x 20.0 + 0.5 x 0 = 18.1 + 32.0 = 50.1 kip-ft Right column top moment: 1.2 x 15.1 - 1.6 x 20.0 = 18.1 - 32.0 = -13.9 kip-ft (reverses sign)
The left column governs design with 50.1 kip-ft end moment combined with the axial load from gravity.
Frequently asked questions
What is the difference between statically determinate and indeterminate structures?
A statically determinate structure has exactly enough support reactions to satisfy equilibrium (sum Fx = 0, sum Fy = 0, sum M = 0). The internal forces can be found without considering material properties or deformations. A statically indeterminate structure has more reactions than equilibrium requires — the extra reactions (redundants) must be found using compatibility of deformations. Most real structures are statically indeterminate (continuous beams, rigid frames, trusses with diagonal bracing).
When do I need to perform second-order (P-Delta) analysis?
AISC 360 Chapter C requires second-order analysis for all LRFD frame designs. The simplified B1/B2 method (AISC 360 Appendix 8) is permitted when the ratio of second-order drift to first-order drift (the stability coefficient) does not exceed 1.5. For structures with the stability coefficient exceeding 1.5, a rigorous second-order analysis is required. In practice, most low-rise braced frames can use the B1/B2 method; moment frames with significant lateral drift typically require rigorous second-order analysis.
What is the stiffness method for structural analysis?
The stiffness method (direct stiffness method) is the matrix-based analysis procedure used by all modern structural engineering software. It discretizes the structure into elements, assembles element stiffness matrices into a global stiffness matrix, applies boundary conditions, and solves for displacements. From the displacements, member end forces are recovered. The method works for any structure type (beam, truss, frame) and any geometry.
How do I calculate support reactions for a truss?
For a truss, calculate reactions by treating the entire truss as a rigid body. Sum moments about one support to find the vertical reaction at the other. Sum vertical forces to find the remaining vertical reaction. For a truss with pinned supports at both ends, the horizontal reaction is found from the horizontal equilibrium equation. Once reactions are known, the method of joints gives each member force.
What is the moment distribution method and when is it used?
The moment distribution method (Hardy Cross, 1930) iterates fixed-end moments to find the final moments in a continuous beam or frame. It is still useful for quick hand checks of continuous beams, understanding load paths, and verifying computer analysis results. The method distributes unbalanced moments at joints to adjacent members based on relative stiffness EI/L, carrying over a portion of the distributed moment to the far ends.
Try the structural analysis calculators
Use the free structural analysis tools on Steel Calculator:
- Beam Capacity Calculator — shear, moment, deflection for beams
- Portal Frame Calculator — 2D rigid frame analysis
- Truss Analysis Calculator — method of joints and sections
- Continuous Beam Calculator — multi-span beam analysis
- Load Combinations Calculator — ASCE 7, AS/NZS 1170, EN 1990
For reference and guidance:
- Frame Analysis Reference — methods for rigid and braced frames
- Truss Analysis Reference — truss analysis procedures
- Beam Formulas Reference — common beam loading formulas
- Load Combinations Reference — ASCE 7-22 combinations
- Steel Beam Calculator Guide — beam design workflow
Disclaimer
This guide is for educational and reference use only. It does not constitute professional engineering advice. All design values must be verified against the governing building code, project specification, and applicable design standards. The Steel Calculator disclaims liability for any loss, damage, or injury arising from the use of this information. Always engage a licensed structural engineer for analysis of actual structures.