Skip to tool
Resultant | V&M
Beam Type
Geometry & Units
Length L
m
Supports
Pin A at x m
Roller B at x m
Diagram Style
Add Load
Loads
No loads yet, add one above
No loads yet, add one above

Shear and Moment Diagram Calculator

A shear force and bending moment diagram calculator for simply supported, overhanging and cantilever beams. Enter the beam length, support type and loads (point loads, uniform, triangular and polynomial distributed loads, applied moments) and the tool draws the shear force diagram (SFD) and bending moment diagram (BMD), solves the support reactions, and lists the piecewise expressions for V(x) and M(x) on each load interval.

Copy a PNG to paste into Word, or download PNG or PDF.

How to use the shear and moment diagram calculator

  1. Set the beam length using the input at the top of the left sidebar.
  2. Choose a support type: simply supported (pin at A, roller at B), or a cantilever fixed at the left or right end. On a simply supported beam, set where A and B sit; moving either one in from its end gives an overhanging beam.
  3. Add loads using the load type buttons: point load, UDL, triangular, polynomial, or applied moment. Enter position, magnitude, direction, and an optional name. For a polynomial load, type w as a function of x (for example 2x^2 + 3x - 1), where x is the position along the beam.
  4. Read the reactions in the results panel. For a simply supported beam these are vertical reactions at A and B. For a cantilever, the wall provides a vertical reaction and a moment.
  5. Switch diagram views using the tabs in the nav: FBD, V, M, or All. The All view shows all three stacked and is the one to export.
  6. Pick a diagram style under Diagram Style: Figure (black and white, for reports and papers), Original (the teal look the tool started with) or Drafting (a drawing sheet with dimensions and hatched diagrams). Your browser remembers the choice.
  7. Check symbolic results at the bottom of the results panel. V(x) and M(x) are shown as piecewise expressions per interval, using your load variable names.
  8. Save or share. The address bar tracks the span, the support type and every load, so a reload brings the same beam back and the link reproduces it for someone else.

What are shear force and bending moment?

When a beam carries transverse loads, internal forces develop inside the material to maintain equilibrium at every cross-section. The two key internal quantities are shear force and bending moment.

Shear force V(x) at a cross-section is the net vertical force to one side of that cut. At a point load, V jumps by the magnitude of that load. Under a UDL, V changes linearly.

Bending moment M(x) is the net moment about the cross-section from all forces to one side. Large bending moments cause large bending stresses, which is usually the limiting factor in beam design. Where V is constant, M is linear; where V is linear (under a UDL), M is parabolic.

The relationship: dV/dx = -w(x) and dM/dx = V(x). M is maximized where V crosses zero, which the tool marks with a dashed line.

Sign convention

Positive shear when the left face of a cut section has an upward force; positive moment when the beam is concave upward (sagging). Matches Hibbeler's Mechanics of Materials and most US undergraduate texts.

Worked example: simply supported beam with UDL

Problem: A 10 m simply supported beam carries 5 kN/m over its full length.

Reactions. By symmetry: R_A = R_B = (5 x 10) / 2 = 25 kN upward.

SFD. At x = 0, V = +25 kN. V decreases linearly at 5 kN/m, crossing zero at x = 5 m.

BMD. M = 0 at both supports, parabolic, peaking at midspan: M_max = R_A(5) - 5(5)(2.5) = 62.5 kN·m.

Common beam loading cases

CaseMax ShearMax MomentLocation of M_max
Simply supported, point load P at midspanP/2PL/4Midspan
Simply supported, full-span UDL wwL/2wL^2/8Midspan
Simply supported, point load P at position aPb/LPab/Lx = a
Cantilever, point load P at free endP (constant)PLFixed wall
Cantilever, full-span UDL wwL (at wall)wL^2/2Fixed wall

Checking method

Reactions, V(x) and M(x) are compared against a separate solver written in Python with sympy. It finds the reactions from the two equilibrium equations, then integrates the load exactly over the free body on one side of each cut. The test set is 18 beams covering every support type and every load type, five of them overhanging at one or both ends, including the worked example above, sampled at three points in every load interval: 284 values, all agreeing to within 1 part in 109.

Limits: one span, statically determinate supports only. Axial load and deflection are not computed; the beam formula calculator covers deflection for standard cases.

Frequently asked questions

Why does my bending moment diagram show a parabola instead of a triangle?

A triangular BMD results from constant shear, which happens under a point load only. A UDL gives linear shear and parabolic moment. Both are correct behavior.

Can this handle indeterminate beams?

Not currently. The calculator handles statically determinate beams: simply supported, with or without overhangs (two unknowns) and cantilever (three unknowns, three equations). Continuous and propped beams also need a compatibility condition, which this tool does not solve. The beam formula calculator has closed-form fixed-fixed and propped cantilever cases.

What textbook does the sign convention match?

Hibbeler's Mechanics of Materials and Engineering Mechanics: Statics. Positive shear is upward on the left face, positive moment is sagging (concave up).

Related tools

  • Beam formula calculator, closed-form peak values and deflections for 24 standard load cases.
  • Moment of inertia and centroid calculator, the I and section modulus that turn your moment into a bending stress.
  • Free body diagram maker, draw the beam and its reactions as a diagram you can hand in.

Part of Resultant, free browser tools for engineering coursework. Every tool with a calculation is checked against an independent reference; the verification page lists each one.

Cite as: Resultant, “Shear and Moment Diagram Calculator,” resultant.tools/shear-moment, updated Sep 30, 2026.

Resultant  ·  Verification  ·  Privacy  ·  Updated Sep 30, 2026