MechLab EN PL
Free beta until the end of 2026. Every file, STEP, DXF and the PDF report included, downloads for free right now. We are testing the layout and how the pages work, and collecting feedback on new tools. The calculations themselves are not experimental: every tool is checked against worked examples and independent calculations. See the calculation verification.

Beam calculator: reactions, shear force and bending moment diagrams

Place supports and loads on a straight beam. MechLab solves the reactions (also for statically indeterminate beams and Gerber beams with hinges), draws the shear, moment and deflection diagrams, and writes the full calculation step by step.

Start from

Beam

Supports and hinges

Loads

Forces and q point down when positive. Pick the direction of each couple.

Section and material

Largest |M|
–
Largest |V|
–
Largest deflection
–
Bending stress
–
Static count
–

Loads, shear, moment and deflection

Reactions in green.

Reactions

Section check

Values at key points

Export

Every file is free during the beta.

Free in beta PDF

Calculation report: inputs, formulas with your numbers, checks, sources.

If MechLab saved you time, you can buy me a coffee. It keeps the tools free.

Calculation sheet

Method, assumptions and limits

Model

Straight Euler–Bernoulli beam with constant , small deflections and transverse (vertical) loads only.

  • Supports: fixed (vertical reaction and moment), pin and roller (vertical reaction), internal hinge ().
  • Loads: point forces, couples, uniform and linearly varying distributed loads.

Static count

number of unknown reactions
equilibrium equations ΣF = 0, ΣM = 0
number of hinges (one M = 0 equation each)

With the reactions follow from equilibrium alone. With , deflection conditions are needed ( at supports, at a fixed end).

Reactions

Solved by the stiffness method with Hermite beam elements whose nodes sit at every support, hinge and load point. With constant and exactly integrated loads this gives exact nodal values, so the reactions are exact and match the Clebsch (Macaulay) method. The result is checked with ΣF = 0 and ΣM = 0.

Internal forces

and come from equilibrium of the part left of the section. is positive when the resultant on the left points up; is positive when it sags (tension in the bottom fibres). has its extremes where and at the jumps.

Deflection (Clebsch)

With singularity functions :

deflection and rotation at x = 0, from the boundary conditions

Deflection and rotation are positive up and counterclockwise. A hinge adds a term for the jump in rotation.

Section

safety factor
diameter of a round bar with the same W

The smallest IPE section with is selected.

Limits

  • Axial forces and self-weight (add it as a distributed load).
  • Varying sections, elastic supports, shear deformation (short deep beams).
  • Lateral-torsional buckling of I-beams and local stability.
Sources
  • Strength of materials course notes: equilibrium of beams, shear and moment diagrams, the Clebsch method for deflections of statically indeterminate beams.
  • Hermite beam element and its exact nodal values for constant EI (stiffness method).
  • EN 10365: dimensions and section properties of IPE I-beams.

Other tools

How to draw shear force and bending moment diagrams

A beam calculation always goes in the same order: draw the free body, find the reactions, write V(x) and M(x) for each segment between load points, find where the moment peaks, then check the section for stress and deflection. This calculator does every step and writes it out, so you can follow or check a homework or exam solution line by line.

q = 8 kN/m F = 10 kN AB +13.44 −15 M M diagram [kN·m], positive sags (bottom fibres in tension)
Beam with an overhang: uniform load on the span AB and a point force on the free end. The moment is positive in the span and negative over support B.

Step by step

  1. Reactions. A pin or roller gives a vertical force, a fixed end a force and a moment. Write ΣFy = 0 and ΣM about one support. Replace each distributed load by its resultant Q = q·l acting at the centroid of the load.
  2. Count the unknowns. n = r − 2 − h (h = number of internal hinges). If n = 0 the two equations are enough. If n > 0 the beam is statically indeterminate: add n deflection conditions, for example with the Clebsch method (y = 0 at every support, y′ = 0 at a fixed end).
  3. Segments. Cut the beam between every two neighbouring characteristic points (supports, point loads, start and end of q). In each segment V(x) is the sum of the forces on the left, M(x) the sum of their moments about the cut.
  4. Extremes. dM/dx = V, so M peaks where V(x) = 0. Point forces make V jump; couples make M jump.
  5. Section. σ = |M|max/W ≤ kg gives the required section modulus W; check the deflection against a limit such as L/250.

Worked example: beam with an overhang

Pin A at x = 0, roller B at 4.5 m, free end at 6 m. Uniform load q = 8 kN/m on AB, point force F = 10 kN at the free end. S235 with xe = 1.5, so kg = 156.7 MPa.

StepFormula with numbersResult
ΣMA = 0RB·4.5 − 8·4.5·2.25 − 10·6 = 0RB = 31.33 kN
ΣFy = 0RA + 31.33 − 8·4.5 − 10 = 0RA = 14.67 kN
V(x) = 0 in the span14.67 − 8·x = 0x₀ = 1.833 m
Span momentM = 14.67·x₀ − 8·x₀²/2M = 13.44 kN·m
Moment over support BMB = −10·1.5MB = -15.00 kN·m
Required modulusW = |M|max/kg = 15.0·10³/156.795.7 cm³ → IPE 160
Deflection (Clebsch)EI = 210·10⁶·869·10⁻⁸ = 1825 kN·m² (IPE 160)13.17 mm at x = 2.03 m

The governing moment is the one over support B, |M| = 15.0 kN·m, not the span moment 13.44 kN·m, which is a common slip. The smallest IPE that works is IPE 160. The calculator was also checked against two exam beams solved with the Clebsch method; for the fixed beam on two more supports it gives RA = 8.0 kN, MA = 2.0 kN·m and |M|max = 6.0 kN·m, the exact 0.8qa, 0.2qa² and 0.6qa².

Frequently asked questions

What sign convention does the calculator use?

Loads and q are positive downward. Reactions are positive upward. V is positive when the resultant of the forces on the left of the cut points up, M is positive when it sags the beam (tension in the bottom fibres). You can draw positive M downward, on the tension side, as many courses do.

Can it solve statically indeterminate beams?

Yes. Add as many supports as you need, including fixed ends. The reactions come from the deflection conditions, and the calculation sheet shows the degree of indeterminacy, the conditions used and the Clebsch equation of the deflection line.

What is a Gerber beam and how do I enter one?

A Gerber beam is a continuous beam made determinate with internal hinges. Add a support of type "Hinge" at the hinge position: the moment there is zero and the calculator adds the extra equation.

How do I add the self-weight?

Add it as a uniform distributed load over the whole length: for an IPE section the mass per metre times 9.81/1000 gives kN/m, for example IPE 200 at 22.4 kg/m is about 0.22 kN/m.

Why does the largest moment sometimes sit over a support?

Overhangs and continuous spans create negative moments over the supports. Always compare the largest positive and the largest negative moment; the table and the KPI show |M|max, the larger of the two.

Something wrong or missing? Tell us and it gets checked and fixed. It takes a minute.