The two diagrams under a beam answer different questions. Shear tells you about the bolts and the web; moment tells you about the flanges and the bending stress. Both come from the same equilibrium, and both change shape when the load case changes.
This simulator computes both diagrams by integrating the load along the span, then integrates the curvature twice to get deflection — so every quantity on the page is derived, not looked up in a table.
Two diagrams, two questions
The shear diagram is the integral of the load: a point load produces a jump, a uniform load produces a slope. The bending moment is the integral of the shear, so the moment peaks where the shear passes through zero. That single rule saves you from checking every section.
For a simply supported beam with a central point load, shear jumps at the support, runs constant to mid-span, jumps down by the load and runs constant to the other support. The moment rises linearly to PL/4 at mid-span and returns to zero — a triangle, not a curve.
Deflection without memorising formulas
Curvature is M/EI. Integrate it once and you have slope; integrate again and you have deflection, with the two constants fixed by the boundary conditions: zero deflection at both supports for a simple beam, zero deflection and zero slope at the fixed end for a cantilever.
That is what this simulator does numerically, which is why it handles a uniform load and a point load with the same code. The price is that it produces numbers rather than closed-form expressions — good for checking a hand calculation, not a substitute for one.
The four standard cases
Compare the coefficients: a cantilever deflects eight times as much as a simply supported beam of the same span under the same uniform load. That factor is the price of the fixed-end moment, which is twice as large.
| Case | Max moment | Max deflection |
|---|---|---|
| Simple, central point load P | PL/4 | PL³/(48EI) |
| Simple, UDL w | wL²/8 | 5wL⁴/(384EI) |
| Cantilever, end point load P | −PL | PL³/(3EI) |
| Cantilever, UDL w | −wL²/2 | wL⁴/(8EI) |
What the model assumes, and where that breaks
Euler–Bernoulli theory assumes plane sections remain plane, so shear deformation is ignored. For a beam with depth less than about a fifth of the span that is accurate; for a deep beam or a short cantilever, shear deflection adds meaningfully and the real deflection exceeds the calculated one.
The model also assumes linear elasticity, a prismatic section and no lateral–torsional buckling. A slender beam carrying its maximum moment can fail by twisting sideways long before the bending stress reaches yield, and that check needs the section’s warping and torsional properties, not just I.
Frequently asked questions
Why is the moment negative for a cantilever?
Because the beam is hogging: the top fibre is in tension. The sign follows the convention stated on the page — sagging positive, hogging negative — and the magnitude is what matters for the stress calculation.
Does the load position matter for a simple beam?
It does. A point load at mid-span gives PL/4; move it to the quarter point and the maximum moment drops to 3PL/16, but the deflection at the load increases. This simulator places the point load at mid-span for clarity.
How do I get bending stress from the moment?
σ = M·y/I, with y measured from the neutral axis to the extreme fibre. For a symmetric section y is half the depth, so σ = M/(section modulus) where Z = I/y.
Why does doubling the depth reduce deflection so much?
Because I scales with the cube of depth for a rectangular section. Doubling the depth multiplies I by eight, and the deflection divides by eight — far more effective than adding material to the width.