Skip to content

Guide · Beams

Bending moment calculator and formulas

What a bending moment is, how to calculate it at any section of a beam, the maximum bending moment for the common support cases, and how the moment turns into bending stress in a real steel section.

Quick answer. The bending moment at a section is the sum of the moments, taken about that section, of all forces on one side of it. For a simply supported beam the maximum is \(wL^2/8\) under a full uniform load \(w\) and \(PL/4\) under a central point load \(P\); for a cantilever it is \(wL^2/2\) or \(PL\) at the fixed end. The bending stress at distance \(y\) from the neutral axis is \(\sigma = My/I\), and its largest value is \(M/W\), where \(W = I/y_{max}\) is the elastic section modulus.

1. What a bending moment is

Imagine cutting a loaded beam at a section \(x\) and keeping only the left part. That free body is still in equilibrium, so the cut face must carry an internal force system that balances everything to its left: a shear force \(V\) and a bending moment \(M\) (plus an axial force if there are horizontal loads). The bending moment is that internal couple. It is the reason the beam curves, and it sets the normal stresses that push one face of the section into compression and pull the other into tension.

The same cut seen from the right-hand part gives an equal and opposite couple, so you may use whichever side has fewer loads. The answer is a single number per section, and plotting it along the beam gives the bending moment diagram covered in the shear and moment diagram guide.

2. Sign convention: sagging and hogging

StiffStruct, like most textbooks, takes a sagging moment as positive: the beam bends into a smile, the bottom fibres are in tension and the top in compression. A hogging moment is negative: the beam bends into a frown, with tension on top. Hogging moments appear over interior supports, at fixed ends and along overhangs. With the free body taken from the left end, the moment at \(x\) is

$$M(x) = \sum_{\text{left of }x} \big(F_i\,(x - x_i)\big) + \sum_{\text{left of }x} C_j,$$

where upward forces \(F_i\) at \(x_i\) count positive and clockwise applied couples \(C_j\) count positive. The formal definition used by the solver, and how it relates to shear by \(V = \mathrm{d}M/\mathrm{d}x\), is in section 2 of the theory notes.

3. How to calculate the bending moment at any section

  1. Find the support reactions from \(\sum F_y = 0\) and \(\sum M = 0\) (see the beam reaction guide). For an indeterminate beam, solve it first with the stiffness method.
  2. Cut the beam at the section and choose the side with fewer loads.
  3. Multiply each force on that side by its lever arm to the cut. A uniform load \(w\) over a length \(c\) acts as a resultant \(wc\) at the centre of that length, so it contributes \(wc^2/2\).
  4. Add the moments with the sign rule above. A negative result means hogging.
  5. To find the largest sagging moment between supports, locate where the shear force is zero; the moment is stationary there.

4. Maximum bending moment formulas by support type

For a span \(L\) with a uniform load \(w\) over the full length or a point load \(P\) at midspan (at the free end for the cantilever), the governing moments are:

Maximum bending moments for common support conditions under a uniform load and a point load
Support typeUniform load \(w\)Point load \(P\)Details
Simply supported\(+\dfrac{wL^2}{8}\) at midspan\(+\dfrac{PL}{4}\) at midspanSimply supported beam
Cantilever\(-\dfrac{wL^2}{2}\) at the fixed end\(-PL\) at the fixed end (tip load)Cantilever beam
Fixed at both ends\(-\dfrac{wL^2}{12}\) at the supports, \(+\dfrac{wL^2}{24}\) at midspan\(-\dfrac{PL}{8}\) at the supports, \(+\dfrac{PL}{8}\) at midspanIndeterminate beams
Propped cantilever\(-\dfrac{wL^2}{8}\) at the fixed end, \(+\dfrac{9wL^2}{128}\) at \(3L/8\) from the prop\(-\dfrac{3PL}{16}\) at the fixed end, \(+\dfrac{5PL}{32}\) under the loadIndeterminate beams

Two patterns are worth remembering. Fixing the ends does not remove moment, it moves part of it from midspan to the supports: for the uniform load the fixed-fixed values \(wL^2/12\) and \(wL^2/24\) add up to the simply supported \(wL^2/8\). In general, end moments shift the free (simply supported) moment diagram of a span by a straight line; they never change its shape. For beams over several supports, see the continuous beam calculator.

5. From bending moment to bending stress

For a linear elastic beam whose plane sections stay plane, the normal stress varies linearly over the depth, from zero at the neutral axis to a maximum at the outer fibres:

$$\sigma = \frac{M\,y}{I}, \qquad \sigma_{max} = \frac{M\,y_{max}}{I} = \frac{M}{W}, \qquad W = \frac{I}{y_{max}}.$$

Here \(I\) is the second moment of area about the bending axis and \(W\) (written \(S\) in US texts) is the elastic section modulus. For a symmetric I-section \(y_{max} = h/2\). Take the European IPE 400: \(h = 400\) mm, \(I = 23\,130\ \mathrm{cm^4}\) and the tabulated \(W = 1156\ \mathrm{cm^3}\), which matches \(I/(h/2) = 23\,130/20 = 1156.5\ \mathrm{cm^3}\). A moment of 70 kN·m then gives \(\sigma_{max} = 70\times10^{6}/1.156\times10^{6} = 60.6\) MPa at the outer fibres and half of that, 30.3 MPa, at 100 mm from the neutral axis. Keep the units consistent: N·mm and \(\mathrm{mm^3}\) give stress directly in MPa.

6. Worked example: a beam overhanging both supports

A 10.5 m steel beam (IPE 400, S275) rests on two supports, A at \(x = 2\) m and B at \(x = 9\) m, so it has a 7 m main span, a 2 m overhang on the left and a 1.5 m overhang on the right. It carries a uniform load of 15 kN/m over the whole length, 20 kN at the left tip and 25 kN at the right tip. The total load is \(15\times10.5 + 20 + 25 = 202.5\) kN.

Reactions. Moments about A give \(7R_B = 157.5\times3.25 + 25\times8.5 - 20\times2\), so \(R_B = 97.77\) kN and \(R_A = 202.5 - 97.77 = 104.73\) kN.

Moments at several sections, each from the left-hand free body with \(x\) measured from the left tip:

The moment changes sign at two points of contraflexure, 1.65 m and 5.64 m from A. The largest moment in magnitude is the hogging moment over A, not the span value, a common outcome when overhangs are long.

Bending moment and bending stress in the IPE 400 at key sections
SectionMoment\(\sigma_{max} = M/W\)Tension face
Over A (\(x = 2\) m)−70.0 kN·m60.6 MPatop
Span maximum (\(x = 5.65\) m)+29.9 kN·m25.8 MPabottom
Over B (\(x = 9\) m)−54.4 kN·m47.0 MPatop

The peak stress of 60.6 MPa is about 22% of the S275 yield strength of 275 MPa. A real design check would also cover shear, lateral-torsional buckling of the compression flange and deflection, which this stress alone does not address.

Live result: the overhanging beam solved in your browser

Solving the example in your browser…

Bending moment of the 10.5 m beam: hogging over both supports, sagging in the main span, drawn by the same solver as the calculator.

7. Common mistakes

Calculate the bending moment of your own beam

Open the overhanging beam with its moment diagram, or enter your own spans, supports and loads. Fixed and continuous beams are solved the same way.

Frequently asked questions

What is the formula for bending moment?

At any section, the bending moment equals the sum of each force on one side of the section multiplied by its perpendicular distance to the section, plus any applied couples on that side. Closed forms exist for standard cases, such as wL^2/8 for a simply supported beam under a full uniform load.

Where does the maximum bending moment occur?

Where the shear force is zero or changes sign, or at a support with a fixed end, an overhang or a continuing span. Check both the span maximum and the support moments, since either can govern.

How do you calculate bending stress from bending moment?

Use sigma = M y / I, where y is the distance from the neutral axis and I the second moment of area. The largest stress is at the outer fibre, sigma = M / W, with W = I / y_max the elastic section modulus.

What is the difference between sagging and hogging moments?

A sagging moment bends the beam concave upward with tension in the bottom fibres and is taken as positive. A hogging moment bends it concave downward with tension on top and is negative. Hogging occurs over interior supports, at fixed ends and along overhangs.

What is the maximum bending moment of a fixed beam with a uniform load?

wL^2/12 hogging at each fixed support and wL^2/24 sagging at midspan. The support value governs, and the two add up to the simply supported value wL^2/8.

Can this calculator find the bending moment of an indeterminate beam?

Yes. StiffStruct solves the beam with the stiffness method, so fixed ends, props and several spans need no extra hand equations. It draws the bending moment diagram and reports the moment at any section.

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