Skip to main content

Shear and Moment Diagram Calculator

API reference

Draw shear force and bending moment diagrams for a simply supported, overhanging or cantilever beam. Add any mix of point loads, uniform loads, triangular or trapezoidal loads and applied moments, and get the support reactions, maximum shear and moment with their locations, zero-shear points and a downloadable SVG diagram.

Input

Distance from the left end. Leave blank for 0.

Distance from the left end. Leave blank for the right end. Put supports inside the span to model overhangs.

point <load> at <x> · udl <load/length> from <x1> to <x2> · varying <start load> to <end load> from <x1> to <x2> · moment <value> at <x>. Downward loads and clockwise moments are positive; use a minus sign for the opposite direction. Leave off from/to for a load over the whole beam.

Labels only. Enter every value in the same units.

Output

Shear and moment diagrams

The diagrams appear here once the beam and loads are valid.

Results
 
Values at key points
xV (left of x)V (right of x)MWhat's here
No data yet
Diagram (SVG source)
 
Was this helpful?

More ways to use this tool

REST API

curl -X POST https://api.iotools.cloud/v1/tool/shear-moment-diagram-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "support": "simple",
    "length": "8",
    "loads": "point 20 at 3\nudl 5 from 0 to 8",
    "units": "kn-m"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `shear-moment-diagram-calculator` tool (Shear and Moment Diagram Calculator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/shear-moment-diagram-calculator/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Shear and Moment Diagram Calculator — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Drop this into your own page — free, no key required, just a link back.

Cost per API/MCP callFrom 5 credits
Need more credits?View pricing

Also available with

Guides

The Shear and Moment Diagram Calculator draws the shear force diagram (SFD) and bending moment diagram (BMD) for a beam. It also gives you the support reactions, the maximum shear and moment with their locations, and the points where shear crosses zero. It handles simply supported beams, overhanging beams and cantilevers. Loads can be point loads, uniform loads, triangular or trapezoidal loads and applied moments, in any combination.

How to use it

  1. Pick the beam type: simply supported (a pin and a roller), or a cantilever fixed at the left or right end.
  2. Enter the beam length. On a simply supported beam you can move the pin and roller anywhere along the span. Put the roller short of the right end and you get an overhanging beam.
  3. Type the loads, one per line:
    • point 10 at 2: a 10 kN point load at x = 2
    • udl 4 from 0 to 8: 4 kN/m spread from x = 0 to x = 8 (leave off from … to … to cover the whole beam)
    • varying 0 to 6 from 2 to 6: a load rising linearly from 0 to 6 kN/m between x = 2 and x = 6. A triangle has one end at zero, a trapezoid has neither.
    • moment 15 at 5: a 15 kN·m couple applied at x = 5
  4. Choose the units for the labels. The diagrams, the results summary and the key-point table update as you type.

All positions are measured from the left end of the beam.

Sign convention

  • Loads: downward is positive. Use a minus sign for an upward load (point -5 at 3).
  • Applied moments: clockwise is positive.
  • Shear: positive when the part of the beam left of a cut is pushed up relative to the part on the right.
  • Bending moment: positive for sagging (smiling) curvature and negative for hogging. A cantilever's moment is all hogging, so its diagram sits below the axis.

This is the convention used in most statics and strength-of-materials textbooks. Your numbers should match a hand calculation.

What the results show

  • Support reactions. The vertical reaction at each support. A cantilever also gets its fixed-end moment.
  • Maximum and minimum shear and moment, with the position of each. The largest moment magnitude is usually the value that sizes the beam.
  • Zero-shear points. Inside a distributed load, the bending moment peaks where the shear passes through zero. These points are found exactly, not read off the drawn curve.
  • Key-point table. Shear just left and just right of every support, load and load boundary, plus the moment there. The two shear values show the jump a point load or reaction makes. An arrow in the moment column shows the jump an applied couple makes. Download the table as CSV, or download the diagram as an SVG to drop into a report.

Why must the beam be statically determinate?

Two simple supports or one fixed end give exactly as many reactions as equilibrium equations, so the reactions follow from statics alone. Continuous beams over three or more supports, and propped cantilevers, need the beam's stiffness as well and aren't covered here.

How do I get deflection?

The moment diagram is the starting point for deflection, but deflection also depends on the material and section (E and I). For deflection, use the Beam Deflection Calculator. To get only the reactions for a quick check, use the Beam Reaction Calculator.

Privacy

All calculations run in your browser. Nothing you type is uploaded.

sfdbmdbending momentshear forcebeamstructuralreactionscantileverudlstatics

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.