Skip to content

Guide · Beams

Shear and moment diagram calculator

How to draw the shear force diagram (SFD) and bending moment diagram (BMD) of a beam: the two relations that fix their shapes, a step-by-step method, a fully worked example with solutions and live diagrams drawn by the solver.

Quick answer. Find the support reactions, then walk along the beam from left to right. The shear force drops by every downward point load and falls linearly under a uniform load; the bending moment is the running area under the shear diagram, so it peaks where the shear crosses zero. In symbols, \(\mathrm{d}V/\mathrm{d}x=-w\) and \(\mathrm{d}M/\mathrm{d}x=V\). StiffStruct draws these diagrams for any beam, truss or frame and shows each matrix step of the solution.

1. How load, shear and moment are related

Cut a short slice \(\mathrm{d}x\) out of a beam carrying a downward load of intensity \(w\) per unit length. Vertical equilibrium of the slice and moment equilibrium about one of its faces give two differential relations:

$$\frac{\mathrm{d}V}{\mathrm{d}x}=-w,\qquad \frac{\mathrm{d}M}{\mathrm{d}x}=V.$$

Integrated between two points they become area rules, which are what you use by hand:

$$V_2-V_1=-\int_{x_1}^{x_2}w\,\mathrm{d}x,\qquad M_2-M_1=\int_{x_1}^{x_2}V\,\mathrm{d}x.$$

The change in shear equals minus the load between two sections, and the change in moment equals the area of the shear diagram between them. Each integration raises the polynomial degree by one: no load gives constant shear and linear moment, a uniform load gives linear shear and a parabolic moment, a triangular load gives parabolic shear and a cubic moment. Concentrated actions break the smooth curves: a point load \(P\) makes the shear jump by \(P\), and a couple \(M_0\) makes the moment jump by \(M_0\) while leaving the shear unchanged.

2. Diagram shapes for each load type

The table summarises what each kind of load does to the two diagrams over the segment where it acts. Directions assume downward loads and the sign convention in section 6.

Shape of the shear force and bending moment diagrams for each load type
Load on the segmentShear force diagramBending moment diagram
No loadConstant (horizontal line)Linear (straight sloping line)
Point load \(P\)Vertical step down by \(P\)Kink (change of slope), no jump
Uniform load \(w\)Linear, slope \(-w\)Parabola, concave downwards
Triangular or trapezoidal loadParabolaCubic curve
Clockwise couple \(M_0\)No changeVertical step up by \(M_0\)
Pin or roller at the end of a beamStep equal to the reactionZero moment

An applied couple is the case students most often get wrong, because the shear diagram gives no hint of it. In the beam below, a 40 kN·m counter-clockwise couple acts 3.5 m along a 9 m simply supported span. The reactions are \(M_0/L=4.44\) kN, equal and opposite, so the shear is constant, while the moment rises to 15.6 kN·m just left of the couple and drops by 40 kN·m to −24.4 kN·m just right of it.

Live result: a couple on a simply supported beam

Solving the example in your browser…

Constant shear and a 40 kN·m step in the moment diagram where the couple acts. Worked example · Open in the calculator.

3. How to draw shear and moment diagrams by hand

  1. Draw the free-body diagram. Replace each support by its reactions and note every load with its position.
  2. Find the reactions from \(\sum M=0\) about one support and \(\sum F_y=0\). For a cantilever you can skip this and start from the free end.
  3. Mark the key points: supports, point loads, couples, and the start and end of each distributed load. Between key points the diagrams are smooth.
  4. Draw the shear diagram from left to right: step by each reaction or point load, slope by \(-w\) under distributed loads, and close back to zero at the right end.
  5. Draw the moment diagram by adding the area of each shear segment to the moment at its left end, and add the step of any couple. The moment at a free end or a pinned end is zero.
  6. Locate the maximum moment at each point where the shear is zero or changes sign, and compute its value there.
  7. Check closure: the shear and the moment must both return to the end values (zero at a free or simply supported end). A diagram that does not close points to an arithmetic error in the reactions.

4. Worked example with solution

A simply supported beam of span 8 m has a pin at A (\(x=0\)) and a roller at B (\(x=8\) m). It carries a uniform load of 12 kN/m from A to \(x=5\) m and a point load of 20 kN at \(x=6.5\) m.

Simply supported beam with a partial uniform load and a point load An 8 m beam on a pin at A and a roller at B, with a uniform load of 12 kN/m over the first 5 m and a 20 kN point load 6.5 m from A. 12 kN/m over 5 m 20 kN RARB 8 m
The example beam: 12 kN/m over the first 5 m and 20 kN at 6.5 m from A.

Reactions. The uniform load has a resultant of \(12\times5=60\) kN acting at 2.5 m. Moments about A give

$$R_B=\frac{60\times2.5+20\times6.5}{8}=\frac{150+130}{8}=35\ \text{kN},\qquad R_A=60+20-35=45\ \text{kN}.$$

Shear force. Just right of A the shear is \(+45\) kN. It falls at 12 kN/m to \(45-60=-15\) kN at \(x=5\) m, stays at \(-15\) kN up to the point load, steps down by 20 kN to \(-35\) kN, and stays there until the reaction at B returns it to zero. The shear crosses zero inside the loaded length, at \(x_0=45/12=3.75\) m.

Bending moment. The moment starts at zero at A and is the running area of the shear diagram:

$$M_{\max}=M(3.75)=45\times3.75-\frac{12\times3.75^2}{2}=168.75-84.38=84.38\ \text{kN\,m}.$$

From there the shear is negative, so the moment decreases: \(M(5)=45\times5-12\times5^2/2=75.0\) kN·m, then \(M(6.5)=75.0-15\times1.5=52.5\) kN·m, and finally \(M(8)=52.5-35\times1.5=0\), which closes the diagram as it must at a roller.

Shear force and bending moment at the key points of the worked example
Point\(x\) (m)Shear \(V\) (kN)Moment \(M\) (kN·m)
Support A0+45.00
Zero shear, maximum moment3.75084.38
End of uniform load5.0−15.075.0
Point load (left / right)6.5−15.0 / −35.052.5
Support B8.0−35.00

Two checks: the reactions add up to the total load (\(45+35=80\) kN), and the positive area of the shear diagram from A to 3.75 m (\(\tfrac12\times45\times3.75=84.38\)) equals the negative area from 3.75 m to B, so the moment returns to zero.

5. Cantilevers, propped cantilevers and trapezoidal loads

For a cantilever, start at the free end, where \(V=0\) and \(M=0\), and walk towards the wall; no reactions are needed. Under downward loads the moment is hogging along the whole length and largest at the wall, where it equals the moment of all the loads about the wall. The cantilever with a triangular load shows the parabolic shear and cubic moment of a linearly varying load.

A trapezoidal load from \(w_1\) to \(w_2\) is easiest to treat as a uniform load \(w_1\) plus a triangle rising to \(w_2-w_1\). The rectangle’s resultant acts at mid-length and the triangle’s at two-thirds of the length from its small end. A propped cantilever (fixed at one end, simply supported at the other) is statically indeterminate: equilibrium alone gives two equations for three unknowns, so one reaction comes from a compatibility condition. Once the prop force is known, the diagrams are drawn exactly as before.

In the beam below, a 7 m propped cantilever carries a load rising from 8 kN/m at the wall to 20 kN/m at the prop, 98 kN in total. Superposing \(3wL/8\) for the uniform part and \(11w_0L/40\) for the triangle gives a prop force of \(21.0+23.1=44.1\) kN, so the wall reaction is 53.9 kN and the fixed-end moment is \(44.1\times7-392=-83.3\) kN·m (hogging).

Live result: a propped cantilever under a trapezoidal load

Solving the example in your browser…

Parabolic shear and cubic moment, hogging at the wall and sagging in the span, drawn by the same solver as the calculator. Worked example · Open in the calculator.

6. Sign convention used by StiffStruct

Textbooks differ on signs, so it pays to know what a calculator plots. StiffStruct uses these definitions for every member (details in the theory notes):

7. Common mistakes

Draw the diagrams for your own beam

Enter spans, supports and loads (point, uniform, triangular, trapezoidal or couples) and get the shear and moment diagrams with every matrix step. Frames and trusses work the same way.

Frequently asked questions

How are shear force and bending moment related?

The slope of the bending moment diagram equals the shear force, \(\mathrm{d}M/\mathrm{d}x=V\), and the slope of the shear force diagram equals minus the load intensity, \(\mathrm{d}V/\mathrm{d}x=-w\). So the change in moment between two points is the area of the shear diagram between them, and the change in shear is minus the load applied between them.

Where does the maximum bending moment occur?

Where the shear force is zero or changes sign, because the moment diagram has zero slope there. Also check the ends of the beam, fixed supports, points under concentrated loads where the shear crosses zero, and both sides of an applied couple, since the moment can jump there.

How do you draw the shear and moment diagram for a cantilever?

Start at the free end, where both shear and moment are zero, and work towards the wall. You do not need the reactions first. The shear at the wall equals the total load and the moment at the wall equals the moment of all loads about the wall, which is the largest moment in the cantilever under downward loads.

What do the diagrams look like under a trapezoidal load?

A trapezoidal load is a uniform part plus a triangular part. Under it the shear diagram is a parabola and the moment diagram is a cubic curve. For hand work, split the trapezoid into a rectangle and a triangle, find each resultant and its position, and superpose.

On which side does StiffStruct draw the bending moment diagram?

For beams, positive (sagging) moment is plotted upwards by default. For frames, the moment is drawn on the tension side of each member. A display setting lets you switch to tension side or compression side; the sign convention of the numbers does not change.

Can StiffStruct draw shear and moment diagrams for frames and trusses?

Yes. StiffStruct solves any 2D or 3D beam, truss or frame with the stiffness method and draws axial force, shear force and bending moment for every member, together with each matrix step of the solution: element matrices, assembly, the reduced system and the member end forces.

An educational tool: verify results independently before using them for design. All live diagrams on this page come from the same solver that powers the calculator.