› Shear & Moment Diagram Simulator Back
Structural Mechanics Simulator

SFD & BMD Simulator — Shear Force and Bending Moment Diagrams for Simply Supported and Cantilever Beams

Draws the reactions, shear force diagram (SFD) and bending moment diagram (BMD) of a simply supported or cantilever beam under combined point and distributed loads in real time, and computes the maximum bending moment, its location and, for cantilevers, the fixed-end moment.

Parameters
Support condition
Span L
m
Point load P
kN
Position of P, a
m
Distributed load w
kN/m

The default is a simply supported beam (pin on the left, roller on the right); "Support condition" switches to a cantilever (fixed at the left end, free at the right). The point load P acts downward at position a, the distributed load w acts downward over the full span, and the external moment M_0 is fixed at 0 in this simulator (kept only in the formulas). If a exceeds L the slider is automatically clamped inside the span.

While paused, moving a slider updates the results immediately.

Results
—
Left reaction R_A
—
Right reaction R_B
—
Maximum bending moment M_max
—
Location of M_max
Section Scan Live Values
—
Section position x
—
Shear force V(x)
—
Bending moment M(x)
—
Maximum shear |V|max
Beam Model, SFD and BMD

Top = beam and loads (yellow arrow = point load, cyan arrows = distributed load, triangles = supports) / middle = SFD V(x) / bottom = BMD M(x), red marker = location of M_max

Theory & Key Formulas

When a simply supported beam of length L carries a point load P at position a, a uniformly distributed load w over the full span and an external moment M_0 at position b, equilibrium fixes the reactions and V(x) and M(x) follow at every section.

From the equilibrium of forces and moments, the right reaction R_B and the left reaction R_A:

$$R_B = \frac{P\,a + w\,L^2/2 + M_0}{L},\qquad R_A = P + w\,L - R_B$$

Shear force V(x), where H(·) is the Heaviside step function:

$$V(x) = R_A - w\,x - P\,H(x-a)$$

Bending moment M(x):

$$M(x) = R_A\,x - \frac{w\,x^2}{2} - P\,(x-a)\,H(x-a) + M_0\,H(x-b)$$

Extrema of M(x) occur where dM/dx = V(x) = 0, and that point is the cross-section with the largest bending stress in design. With the cantilever (fixed at the left end) selected, the reaction is R_A = P + wL and the fixed-end moment is M_A = −(P a + w L²/2), which is added to M(x) (|M| is largest at the fixed end).

What Is the SFD & BMD Simulator?

🙋
Professor, SFDs and BMDs always come up in structures class, but I never really got what they are good for.
🎓
Roughly speaking, the SFD is a map of "the force trying to slice the beam vertically", and the BMD is a map of "the force trying to bend it". Designers look at the peak of the BMD and decide, "the largest bending stress is right here, so I'll size the cross-section so it won't break here". Move P or w in the simulator and watch how the hump of the BMD moves.
🙋
What was the relationship between SFD and BMD again? They look similar but they're not the same.
🎓
The relationship is simple: dM/dx = V(x). The slope of the BMD is the value of the SFD. So where the SFD crosses zero, the BMD is at a peak or a trough. At the defaults (L=6, P=30, a=2.5, w=10), look at the SFD: it jumps from +22.5 to −7.5 at x=a=2.5. At that sign reversal the BMD reaches its summit M_max=87.5 kN·m. A textbook result.
🙋
Oh, so it does! Then if I set the point load to zero and leave only the distributed load, where does the peak go?
🎓
Try it. With P=0, w=10, L=6, you get R_A=R_B=30 kN by symmetry, and the SFD drops linearly from +30 at the left end to 0 at midspan and −30 at the right end. The BMD peaks at midspan x=3 with wL²/8 = 10·36/8 = 45 kN·m, exactly the textbook "maximum moment of a simple beam under uniform load, wL²/8". Always check that the simulator agrees with your hand calculation before moving on to combined loads.
🙋
I see! So if I move a to bring P to midspan, the triangular BMD should peak in the middle, right?
🎓
Exactly. With a=L/2, PL/4 is the maximum moment of the point load alone. With combined loads you see the triangular peak from the point load (at x=a) blended with the parabolic peak of the distributed load (at x=L/2). Watch the summit of the BMD slide towards the point load as you push a towards an end, and back towards midspan as you bring a to the centre. That is the best exercise for building intuition about where the maximum stress appears.

Five Properties of SFDs and BMDs Worth Remembering

Knowing the following five properties lets you draw shear force diagrams (SFD) and bending moment diagrams (BMD) quickly and accurately, and check them.

  1. Differential relationship: the shear force equals the slope of the bending moment, $V = dM/dx$. Differentiating the BMD gives the SFD.
  2. Extremum condition: the bending moment is extreme (maximum) where the shear force is zero. When looking for $M_{max}$, focus on the points where $V=0$.
  3. Step at a point load: at the point of application of a concentrated load, the SFD steps (jumps) by the magnitude of the load and the BMD has a kink (a corner) there.
  4. Load order and diagram shape: in a segment with no load the SFD is constant and the BMD is a straight line; in a segment with a uniformly distributed load the SFD is linear (first order) and the BMD is a quadratic curve (parabola). Each diagram is one order higher than the load.
  5. Values at the boundaries: at a simple support and at a free end the bending moment is 0, and in a cantilever the bending moment is largest at the fixed end (hogging). Switch the "Support condition" in the simulator above to see the difference.

How to Draw SFDs and BMDs (5 Steps)

  1. Find the reactions: compute the support reactions $R_A, R_B$ (for a cantilever, the fixed-end reaction and fixed-end moment) from vertical and moment equilibrium ($\sum V = 0$, $\sum M = 0$).
  2. Divide into segments: split the beam into segments at the point loads, the start and end of distributed loads, and the supports.
  3. Find the shear force: in each segment, cut the beam at an arbitrary position $x$ from the left end and obtain $V(x)$ from the vertical equilibrium of the left part; draw the SFD.
  4. Find the bending moment: obtain $M(x)$ from moment equilibrium about the same cut and draw the BMD. The relation $M(x)=\int V\,dx$ can also be used.
  5. Check: confirm that $M$ is extreme where $V=0$ and that $M=0$ at the supports and free ends.

This tool automates the steps above. Use it to check hand calculations and to see intuitively how the diagrams change when the loads and span change.

Formula Table: Reactions, Shear Force and Bending Moment

Formulas for the reactions, maximum shear force and maximum bending moment of typical beams and loads ($P$ = point load, $w$ = intensity of the uniformly distributed load, $L$ = span).

Beam and loadReactionsMaximum shear VmaxMaximum bending moment Mmax
Simple beam, central point load$R_A=R_B=P/2$$P/2$$PL/4$ (midspan)
Simple beam, uniform load$R_A=R_B=wL/2$$wL/2$ (supports)$wL^2/8$ (midspan)
Cantilever, point load at tip$R=P,\ M_A=PL$$P$$PL$ (fixed end)
Cantilever, uniform load$R=wL,\ M_A=wL^2/2$$wL$ (fixed end)$wL^2/2$ (fixed end)

The big difference is that a simple beam has its maximum bending moment at midspan (within the span), whereas a cantilever has it at the fixed end. For the same load the cantilever has the larger maximum moment and is at a disadvantage.

Frequently Asked Questions

Downward loads are positive and upward reactions are positive. The shear force V(x) is positive when the resultant on the left side of the section acts upward, and the bending moment M(x) is positive when it bends the beam concave upward ("sagging" positive). When the BMD bulges to the positive side, the bottom of the beam is in tension and the top in compression. Sign conventions differ between textbooks and codes, so check that the conventions agree when comparing results with other sources.
A concentrated load P is a force applied at a point, so the SFD changes by P instantaneously at that position. Because the BMD is the integral of the SFD, a step in the SFD leaves the BMD continuous but with a sudden change of slope, i.e. a kink. Conversely, at a point where an external moment M_0 acts, the BMD jumps by M_0 and the SFD is continuous. In real structures a perfect "point load" is an idealisation; the load is actually spread over a small area.
Yes, a textbook-level calculation reproduces them completely. From equilibrium, R_B = (30·2.5 + 10·6²/2)/6 = (75 + 180)/6 = 42.5 kN and R_A = 30 + 60 − 42.5 = 47.5 kN. The shear is V(0+) = 47.5, V(2.5−) = 47.5 − 25 = 22.5, V(2.5+) = 22.5 − 30 = −7.5, V(6−) = −7.5 − 35 = −42.5, and adding R_B closes it at V(6) = 0. The maximum moment is at x = a = 2.5 where V changes sign: M = 47.5·2.5 − 10·2.5²/2 = 118.75 − 31.25 = 87.5 kN·m. This matches the simulator (R_A=47.5, R_B=42.5, M_max=87.5, x=2.50) exactly.
Once you have the maximum bending moment M_max, the bending stress is σ = M_max·c / I, where I is the second moment of area and c is the distance from the neutral axis to the outermost fibre. For a rectangular section (width b, depth h), I = bh³/12 and c = h/2, and with the section modulus Z = I/c = bh²/6 this becomes simply σ = M_max/Z. If the default M_max = 87.5 kN·m is carried by, say, an H-300×150 rolled section (Z ≈ 4.81×10⁻⁴ m³), σ ≈ 182 MPa. That exceeds the long-term allowable bending stress of SS400 (F/1.5 ≈ 157 MPa), so a larger section or a different member is needed.

Real-World Applications

Sizing beam members: when designing a steel beam or a timber floor joist, first obtain the maximum shear V_max and maximum moment M_max from the SFD and BMD, then back out the smallest section that satisfies the allowable bending and shear stresses. Choose the section modulus Z and second moment of area I from the steel tables so that both σ = M_max/Z ≤ σ_allow and τ = V_max/A_w ≤ τ_allow (A_w is the web area) are satisfied.

Crane girders and bridge girders: for a crane main girder, the travelling point load (trolley weight including the lifted load) is placed at many positions, a BMD is drawn for each and the envelope of M_max (the influence line) is taken. The design value is not the M_max of a single position but the maximum as the moving load passes every position. Moving the a slider in this simulator is the first step of an influence-line analysis.

Sanity checks in mechanical design: before and after solving a complex beam-like structure by FEM, simplify part of it to a simple beam model and compare with the closed-form solution. If the maximum bending stress from the FEM does not agree with theory to within an order of magnitude, suspect the mesh quality or the boundary conditions. This tool serves as a quick calculator for such on-site sanity checks.

Teaching material: the integral relationship "shear force → bending moment" and dM/dx = V are hard to feel from a printed textbook alone. Adding the loads one at a time in this tool (w only → add P → move a) shows continuously how the SFD and BMD change, which makes it an effective entry-level resource for structural mechanics.

Common Misconceptions and Points to Note

The most common misconception is to assume that "the maximum bending moment occurs directly under the load". That holds only for a simple beam with a single central point load; with combined loads the maximum shifts away from the load position. For example, with a point load near one end plus a full-span distributed load, the maximum moment can appear at the point load, at midspan or anywhere in between. This simulator finds the position accurately by searching 401 discrete points for V(x)=0 and evaluating the point-load position separately. Watching how the location of M_max moves as you drag the a slider is the surest way to learn this.

The next most common is to believe that "the SFD and BMD are separate things to be computed separately". They are one pair linked by the integral–differential relationship dM/dx = V(x). The area under the SFD is the change in the BMD, and the sign reversals of the SFD are the extrema of the BMD. When drawing a BMD by hand, the standard method is to draw the SFD from the reactions first and then accumulate its area. With the SFD and BMD of the simulator stacked vertically, check visually that the BMD is flat (horizontal tangent) where the SFD crosses zero. That is your consistency check on the theory.

Finally, do not blur the distinction between "simply supported at both ends = pinned at both ends" and "fixed at both ends". The "simply supported beam" in this simulator assumes a pin on the left and a roller on the right, and the "cantilever" a fixed left end and a free right end; beams fixed at both ends are not covered. A beam fixed at both ends develops fixing moments at its ends and the maximum bending moment moves to the fixed ends. For the same load, fixing both ends reduces the midspan moment to about 1/3 of the simply supported value, but the maximum appears at the ends. Boundary conditions are the most basic and important assumption in structural design, so judge carefully whether the real support is closer to simply supported or to fixed.

Standards and Assumptions

Basis / references: Statics of beams (Euler–Bernoulli beam). For a simply supported beam, static equilibrium \(\sum F = 0,\ \sum M = 0\) gives the reactions \(R_B = (P\,a + wL^2/2 + M_0)/L\), \(R_A = P + wL - R_B\); shear force \(V(x)=R_A - wx - P\,H(x-a)\), bending moment \(M(x)=\int V\,dx\).

Model assumptions: linear elastic, small deformation; simply supported (pin + roller) or cantilever (fixed at the left end); a point load P and a uniformly distributed load w. Sign convention: sagging (concave upward) M positive, downward loads positive. Shear deformation and self-weight are neglected.

Scope and limits: the reactions, SFD and BMD are exact (e.g. \(L{=}6\text{m}, P{=}30\text{kN}\,@\,a{=}2.5\text{m}, w{=}10\text{kN/m}\) gives \(R_A{=}47.5, R_B{=}42.5\text{kN}\), \(M_\text{max}{=}87.50\text{kN·m}\,@\,x{=}2.5\text{m}\), \(R_A{+}R_B{=}\) total load 90 kN). Stresses and deflections, which depend on the section properties, must be computed separately.

How to Use

  1. Choose a simply supported beam or a cantilever (fixed at the left end) under "Support condition", and set the span L (1–20 m in 0.5 m steps) with the slider or numeric field. For a 2 m steel beam, for example, set L to 2.
  2. Enter the point load P (0–100 kN in 5 kN steps) and its position a (m from the left end, 0.1 m steps). With P = 15 kN and a = 0.8 m, a 15 kN load acts downward 0.8 m from the left end. The value of a is automatically kept between 0.1 m and L−0.1 m.
  3. Set the distributed load w (0–30 kN/m); w = 5 kN/m, for instance, applies 5 kN/m over the whole span. The reactions R_A and R_B (the fixed-end moment M_A for a cantilever), the maximum bending moment M_max and its location and |V|max update immediately, and the SFD and BMD are redrawn. A yellow section marker sweeps back and forth along the beam showing V(x) and M(x) at each position; the button pauses it.

Worked Example

Consider a simply supported beam of length L = 4 m with a point load P = 20 kN at a = 1.5 m from the left support and a distributed load w = 3 kN/m over the full span. The reactions are R_B = (20×1.5 + 3×4²/2)/4 = 13.5 kN and R_A = 20 + 3×4 − 13.5 = 18.5 kN. The shear force changes sign from +14 kN to −6 kN at the load point x = 1.5 m, so the maximum bending moment occurs there: M_max = 18.5×1.5 − 3×1.5²/2 ≈ 24.4 kN·m. In the SFD and BMD you can confirm that the discontinuity in shear and the maximum of the moment coincide.

Practical Notes

  1. The position a of the point load is automatically kept between 0.1 m and L−0.1 m. A point load directly over a support passes straight into the support and produces no bending, so as a approaches a support the contribution of the point load vanishes and M_max moves towards the midspan position set by the distributed load.
  2. The distributed load w covers the full span only; partial or triangular distributed loads require a separate analysis.
  3. When a floor load (dead plus live load, e.g. 7.5 kN/m²) is applied to a beam, multiply it by the beam's tributary width (half the spacing to each adjacent beam), not by the beam width, to convert it to a line load. With a tributary width of 3 m, w = 7.5 × 3 = 22.5 kN/m.
  4. The bending check compares M_max with the allowable bending moment M_a = f_b × Z. For SS400 (F = 235 N/mm², long-term allowable bending stress f_b = F/1.5 ≈ 157 N/mm²) and Z = 650 cm³, M_a ≈ 157 × 650 × 10³ N·mm ≈ 102 kN·m, so the default M_max = 87.5 kN·m is acceptable (using F directly would overstate the allowable value by a factor of 1.5).