Shear & Moment Diagram Calculator
Build a beam, add supports and loads, then get instant shear and bending moment graphs.
Practical Guide
Shear and Moment Diagram Calculator
This guide shows you how to build a beam, add supports and loads (including non-uniform distributed loads), and interpret the shear-force diagram \(V(x)\) and bending-moment diagram \(M(x)\) the calculator produces. You’ll also see when hand methods match the tool, what assumptions are baked in, and how to sanity-check results before you size members or sign off a design.
Quick Start
The calculator is visual, but it still follows classic statics rules. Use these steps to get correct reactions and clean diagrams on the first try.
- 1 Choose the beam type (Simply Supported or Cantilever), then enter the beam length \(L\). Confirm the length unit (m or ft).
- 2 Pick the force unit (kN or kip). The calculator automatically updates moment units to kN·m or kip·ft.
- 3 Add supports implicitly via beam type: Simply supported means a pin at \(x=0\) and a roller at \(x=L\); cantilever means a fixed support at \(x=0\).
- 4 Add loads in the left panel or by tapping the beam: point load \(P\), UDL \(w\), linearly varying load (LVdL) with end intensities \(w_a\) and \(w_b\), or a point moment \(M\). Enter positions/span limits in the same length unit as \(L\).
- 5 For distributed loads, make sure the span satisfies \(0 \le a < b \le L\). A UDL uses a single intensity \(w\). An LVdL uses two intensities \(w_a\) at \(a\) and \(w_b\) at \(b\), which covers triangular and trapezoidal loads.
- 6 Watch the diagrams update. The shear diagram \(V(x)\) should jump at point loads and slope under distributed loads. The moment diagram \(M(x)\) should slope where \(V\neq 0\) and curve under distributed loads.
- 7 Use Show Steps to see the equilibrium and piecewise build-up used internally, and compare with your own hand calc if needed.
Tip: If your diagram “looks wrong,” it often comes from a unit mismatch (e.g., kip with meters) or an invalid span where \(b \le a\).
Remember: This calculator targets statically determinate cases. If you add extra supports or constraints outside the provided beam types, the results will not represent a real structure.
Choosing Your Method
Engineers generate shear and moment diagrams in a few standard ways. The calculator mirrors these approaches but automates the bookkeeping. Here’s when each method is most useful.
Method A — Section Cuts + Equilibrium
The “intro statics” approach: cut the beam at a position \(x\), build a free-body diagram, then apply equilibrium to find \(V(x)\) and \(M(x)\).
- Great for learning and for short beams with only a few loads.
- Directly shows how jumps and slopes happen in \(V\) and \(M\).
- Easy to validate with physical intuition.
- Slow for many load regions.
- Risk of sign mistakes when you have multiple point moments or LVdLs.
Method B — Singularity / Macaulay Functions
Represent loads with bracket functions, integrate to get \(V(x)\) and \(M(x)\), and solve constants using boundary conditions.
- Compact for multiple point loads and moments.
- Matches how many structural software tools work internally.
- Easy to extend to deflection once you have \(M(x)\).
- Step-function notation can be confusing at first.
- Still requires careful constants and limits.
Method C — Numerical / Piecewise Integration (What this tool does)
Convert distributed loads to partial resultants for reactions, then numerically sample the beam from \(0\) to \(L\), accumulating shear and moment.
- Fast for any mix of loads, including LVdLs.
- Harder to “lose” a load region or mis-apply a centroid.
- Ideal for iterative sizing or “what-if” checks.
- Only as accurate as the model assumptions.
- Does not solve indeterminate beams (requires stiffness methods/FEM).
What Moves the Number
Small changes to key inputs can shift peak shear and moment a lot. These are the dominant “levers” you should think about during design.
For common cases, peak moment scales with \(L^2\). Doubling span can quadruple maximum bending moment, which directly impacts member size and deflection.
Point loads raise shear abruptly. Distributed loads accumulate gradually. For LVdLs, the larger end intensity dominates peak moment location.
Moving a point load toward midspan increases moment more than moving it toward a support. The calculator makes this visible by shifting the \(M(x)\) peak as you drag positions.
A UDL over the full span yields a symmetric parabola in \(M(x)\). Shortening the loaded region shifts peaks toward the loaded center.
LVdLs create steeper shear curvature under the higher-intensity end. Triangular loads typically place the moment peak closer to the “heavy” side.
Cantilevers develop maximum moment at the fixed end. Simply supported beams usually peak near midspan. Choosing the right boundary condition matters more than any single load tweak.
Design intuition: Shear is “how much load is left to carry” at a cut. Moment is “how hard the loads try to rotate” about that cut.
Worked Examples
Example 1 — Simply Supported Beam with Point Load + UDL
- Beam: Simply supported
- Span: \(L=8\,\text{m}\)
- Point load: \(P=18\,\text{kN}\) at \(x=3\,\text{m}\)
- UDL: \(w=4\,\text{kN/m}\) from \(a=5\) to \(b=8\,\text{m}\)
Now build shear and moment:
Enter these inputs and you’ll see the shear line step down at \(x=3\), then slope downward from \(x=5\) to \(8\). The moment diagram is piecewise linear then curves (parabolic) where the UDL acts. The calculator’s peak \(M(x)\) should occur near the transition into the UDL region.
Example 2 — Cantilever with Linearly Varying Distributed Load (Triangular)
- Beam: Cantilever fixed at left
- Span: \(L=4\,\text{m}\)
- LVdL: from \(a=0\) to \(b=4\,\text{m}\), \(w_a=0\), \(w_b=9\,\text{kN/m}\)
- No other loads
Integrate from the fixed end:
In the calculator, set beam type to Cantilever and add an LVdL with \(w(a)=0\), \(w(b)=9\). You’ll see shear start at \(18\,\text{kN}\) and curve to zero at the free end; moment starts at \(-48\,\text{kN·m}\) (hogging by convention) and curves back to zero at \(x=L\). The peak magnitude is at the fixed support, exactly as expected for cantilevers.
Common Layouts & Variations
The calculator currently supports common statically determinate beams. Use this table as a quick reference for what each layout implies and where to expect maximums.
| Configuration | Typical Loads | Where \(|V|_{max}\) Happens | Where \(|M|_{max}\) Happens | Notes / Use Cases |
|---|---|---|---|---|
| Simply Supported (Pin–Roller) | Point loads, UDLs, LVdLs, point moments | Near supports or at large point loads | Often near midspan or under heavy load region | Floor beams, simple bridge girders, purlins. |
| Cantilever (Fixed–Free) | End point loads, triangular wind/snow, equipment moments | At fixed end | At fixed end | Balconies, sign brackets, projecting canopy beams. |
| Partial UDL | Live load over a room bay, storage region | Just inside load start/end | Under loaded patch | Common for mixed occupancy floor loading. |
| Triangular LVdL | Soil/water pressure, wind uplift varying with height | At higher-intensity end | Shifted toward heavier side | Model trapezoids by using nonzero \(w_a\) and \(w_b\). |
| Point Moment Added | Applied couple from connection eccentricity | Shear unchanged at that point | Moment jumps by \(\pm M\) | Useful for bracketed loads or torsion-to-bending effects. |
- Make sure all loads fit within \(0\le x\le L\).
- Expect \(V(x)\) to be piecewise constant between point loads.
- Expect \(M(x)\) to be continuous unless a point moment is applied.
- Symmetric loading on simply supported beams should yield symmetric \(M(x)\).
- Cantilever shear and moment must be zero at the free end.
- Check that the moment diagram’s slope matches the shear diagram.
Specs, Logistics & Sanity Checks
The diagrams are only step one. Before you finalize sizing, verify that the load model and boundary conditions match your real structure.
Model Assumptions
- Beam is prismatic (constant \(E\) and \(I\)) for the statics portion.
- Loads act in a single plane and are applied quasi-statically.
- Supports are ideal pins/rollers or a fully fixed end for cantilevers.
- Small deflections: geometry does not change under load.
Load Checklist
- Separate dead, live, wind, seismic, and equipment loads.
- Convert area loads to line loads using tributary width.
- For LVdLs, confirm which end is heavier and why.
- Include self-weight if it matters for moment (long spans).
Diagram Sanity
- \(\int_0^L w(x)\,dx\) should equal total drop in \(V(x)\).
- \(M(L)=0\) for simply supported; \(M(L)=0\) and \(V(L)=0\) for cantilevers.
- Max moment location often aligns with \(V(x)=0\).
- Units: \(V\) in kN/kip; \(M\) in kN·m/kip·ft.
Safety note: Use code-based load combinations (ASCE 7, ACI, AISC, Eurocode, etc.) for final member design. This calculator gives line-load statics; it does not choose governing combinations or check limit states.
Best practice: Run at least one hand check on a critical case. If your hand equilibrium and the calculator disagree, fix the model before proceeding.
