Strength of Materials

Beam Bending & Deflection Simulator

Shear force, bending moment and deflection for point loads, UDL and moments — drawn from equilibrium.

Standards: Euler–Bernoulli beam theory Format: browser simulator Cost: free, no sign-up Reviewed: November 2026
Beam Bending & Deflection Simulator — live Euler–Bernoulli beam theory
Notice where the shear crosses zero: that is exactly where the moment peaks.

Inputs

6 m
20 kN
10 kN/m
200 GPa
20 ×10⁶ mm⁴

Presets

Maximum bending moment30.00 kN·m
Maximum shear force10.00 kN
Maximum deflection22501.12 mm
Deflection position3.00 m from the left
Reaction at left support10.00 kN
Reaction at right support10.00 kN
Section second moment I20 × 10⁶ mm⁴
Flexural rigidity EI4.0 kN·m²

Every number below is substituted from the current input state — change a slider and the arithmetic changes with it.

Equilibrium
→ ΣF = 0 → R_A + R_B = total load; ΣM = 0 → R_B = (load × lever arm)/L
Shear and moment
→ V(x) = ∫w dx + R_A … · M(x) = ∫V dx
Bending stress
→ σ = M·y/I, with y = depth/2 at the extreme fibre
Deflection
→ EI·y″ = M(x), integrated twice with the support boundary conditions

A simply supported beam carries zero moment at both supports and peaks where the shear crosses zero. That crossing is the only place you need to look for the maximum bending stress.

Practice problem

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.

CaseMax momentMax deflection
Simple, central point load PPL/4PL³/(48EI)
Simple, UDL wwL²/85wL⁴/(384EI)
Cantilever, end point load P−PLPL³/(3EI)
Cantilever, UDL w−wL²/2wL⁴/(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.

BR

Written and reviewed by Bloom Rocket editorial desk

Bloom Rocket is built and maintained by a small independent team. Every page states the equations it implements and the standards it references, so the working can be checked rather than taken on trust.

How these simulators are built and checked →

Keep going

More strength simulators

All Strength →