Shear and Moment Diagram Calculator

Bending moment diagrams, maximum moment and bending stress, solved step by step
A 6 m simply supported beam carries a 12 kN load at midspan. Find the maximum bending moment.
A 4 m cantilever carries a UDL of 5 kN/m. Find the moment at the wall.
Find the bending stress for M = 40 kN·m on a 100 mm x 300 mm section
Find the maximum deflection of a cantilever with a UDL

The Load-Shear-Moment Relationships

Load, shear and bending moment are three levels of the same story, linked by calculus:

dVdx=w(x),dMdx=V(x)\frac{dV}{dx} = -w(x), \qquad \frac{dM}{dx} = V(x)

Symbols and units:

  • ww — distributed load intensity, newtons per metre (N/m), kN/m in practice
  • VV — internal shear force, N or kN
  • MM — internal bending moment, newton-metres (N·m), kN·m in practice
  • xx — distance along the beam, metres (m)

Integrating gives the two rules that make diagrams quick:

  • the change in shear between two points equals minus the area under the load diagram
  • the change in moment equals the area under the shear diagram

The immediate consequence: the bending moment is maximum where the shear crosses zero, because that is where dM/dx=0dM/dx = 0. Standard results follow directly — Mmax=PL/4M_{\max} = PL/4 for a central point load on a simply supported span, wL2/8wL^2/8 for a uniform load on the same span, and wL2/2wL^2/2 at the wall of a cantilever.

The assumption people forget: these relations hold for statically determinate beams with small deflections.

From Bending Moment to Stress and Deflection

The bending moment produces a stress that varies linearly through the depth:

σ=McI\sigma = \frac{M c}{I}

  • σ\sigma — bending stress, pascals (Pa), tension on one face and compression on the other
  • MM — bending moment at that section, N·m
  • cc — distance from the neutral axis to the extreme fibre, m
  • II — second moment of area, m⁴; for a rectangle I=bh3/12I = bh^3/12, so depth dominates

The ratio S=I/cS = I/c is the section modulus in m³, reducing the check to σ=M/S\sigma = M/S.

Stiffness is a separate question, governed by EIEI in N·m²:

δcantilever, UDL=wL48EI,δsimply supported, central P=PL348EI\delta_{\text{cantilever, UDL}} = \frac{wL^4}{8EI}, \qquad \delta_{\text{simply supported, central }P} = \frac{PL^3}{48EI}

Deflection scales with L3L^3 or L4L^4, which is why long spans fail serviceability checks long before they fail on stress.

The assumption people forget: σ=Mc/I\sigma = Mc/I assumes a linear-elastic, initially straight, symmetric beam in pure bending — it is not valid past yield.

Common Mistakes to Avoid

  • Looking for MmaxM_{\max} at midspan by habit — it sits where the shear crosses zero, which is midspan only for symmetric loading.
  • Losing the minus sign in dV/dx=wdV/dx = -w — shear falls, not rises, under a downward load.
  • Mixing kN·m and N·m in σ=Mc/I\sigma = Mc/I4040 kN·m is 4.0×1044.0 \times 10^4 N·m.
  • Using the full depth as cc — it is the half-depth for a symmetric section, so 0.150.15 m for a 300300 mm beam.
  • Writing I=bh3/3I = bh^3/3 — that is about the base, not the neutral axis; bending uses bh3/12bh^3/12.
  • Confusing the shear and moment diagrams — the moment is the area under the shear plot, not a rescaled copy of it.
  • Forgetting the fixed-end moment on a cantilever — the wall carries both a reaction force and a moment.

Examples

Step 1: By symmetry the reactions are RA=RB=6.0 kNR_A = R_B = 6.0\ \text{kN}
Step 2: For 0<x<3.00 < x < 3.0 m the shear is constant at +6.0+6.0 kN; it crosses zero at midspan, so MmaxM_{\max} is there
Step 3: MmaxM_{\max} = area under the shear diagram from AA to midspan =(6.0 kN)(3.0 m)= (6.0\ \text{kN})(3.0\ \text{m})
Step 4: Mmax=18 kN\cdotpmM_{\max} = 18\ \text{kN·m}, matching the standard result PL/4=(12)(6)/4PL/4 = (12)(6)/4
Answer: Mmax=18M_{\max} = 18 kN·m at midspan

Step 1: Total load =wL=(5.0 kN/m)(4.0 m)=20 kN= wL = (5.0\ \text{kN/m})(4.0\ \text{m}) = 20\ \text{kN}, so the wall reaction is V=20 kNV = 20\ \text{kN}
Step 2: The resultant acts at the centroid of the load, 2.02.0 m from the wall
Step 3: Mwall=wL2/2=(5.0 kN/m)(4.0 m)2÷2=(5.0)(16)/2 kN\cdotpmM_{\text{wall}} = wL^2/2 = (5.0\ \text{kN/m})(4.0\ \text{m})^2 \div 2 = (5.0)(16)/2\ \text{kN·m}
Step 4: Mwall=40 kN\cdotpmM_{\text{wall}} = 40\ \text{kN·m}, equal to (20 kN)(2.0 m)(20\ \text{kN})(2.0\ \text{m}) as a check
Answer: V=20V = 20 kN and M=40M = 40 kN·m, both maximum at the fixed end

Step 1: I=bh3/12=(0.100 m)(0.300 m)3/12=(0.100)(0.0270)/12 m4=2.25×104 m4I = bh^3/12 = (0.100\ \text{m})(0.300\ \text{m})^3/12 = (0.100)(0.0270)/12\ \text{m}^4 = 2.25 \times 10^{-4}\ \text{m}^4
Step 2: c=h/2=0.150 mc = h/2 = 0.150\ \text{m}
Step 3: M=40 kN\cdotpm=4.0×104 N\cdotpmM = 40\ \text{kN·m} = 4.0 \times 10^4\ \text{N·m}
Step 4: σ=Mc/I=(4.0×104 N\cdotpm)(0.150 m)÷(2.25×104 m4)=2.67×107 Pa\sigma = Mc/I = (4.0 \times 10^4\ \text{N·m})(0.150\ \text{m}) \div (2.25 \times 10^{-4}\ \text{m}^4) = 2.67 \times 10^7\ \text{Pa}
Answer: σmax26.7\sigma_{\max} \approx 26.7 MPa (tension on top, compression below)

Frequently Asked Questions

Find the reactions, plot the shear from left to right, then integrate it: the change in bending moment between any two points equals the area under the shear diagram between them. Both diagrams must close back to zero at a free or simply supported end.

Wherever the shear force crosses zero, since dM/dx = V. For a simply supported beam with a central point load that is midspan, giving PL/4; for a uniform load it is also midspan, giving wL²/8; for a cantilever it is at the fixed end.

Use σ = Mc/I: the bending moment in N·m times the distance from the neutral axis to the extreme fibre in metres, divided by the second moment of area in m⁴. For a rectangle I = bh³/12 and c = h/2.

The shear force is the derivative of the bending moment, V = dM/dx, and the load is minus the derivative of the shear, w = −dV/dx. So the moment diagram is the running area under the shear diagram, and it peaks where the shear is zero.

Related Solvers

Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving