MechSimulator

Mohr's Circle Calculator

Principal Stresses • Max Shear • Stress Transformation • Rotation — Simulate • Explore • Practice • Quiz

Mode
Display Controls
Jump to
0.5×
Presets Units
τ-axis convention
τ positive downward (Hibbeler / Beer). The point runs round the circle the SAME way the element turns.
Stress source
Material
σ1 (Max Principal)
0 MPa
σ2 (Min Principal)
0 MPa
τmax (in-plane)
0 MPa
τmax (absolute, σ3=0)
0 MPa
θp (Principal Angle)
0°
σavg (Center)
0 MPa
Radius R
0 MPa
σv (Von Mises)
0 MPa
σn @ θ
0 MPa
FoS (von Mises)
0
📖 Learning panels
Σ Live equations — values substituted from current state
Sign conventions — why the circle sometimes turns the other way
💡 What-if coach — insights from current values
Failure theories — Tresca, Von Mises, Rankine
User Guide — Mohr’s Circle Simulator
1 Overview

The Mohr’s Circle Simulator is an interactive visualisation tool for 2D plane stress analysis. Define a stress state (σx, σy, τxy) using sliders, number steppers, or by dragging Point X directly on the σ–τ plane. See the corresponding Mohr’s Circle, stress element, principal stresses, max shear, principal angle θp, Von Mises equivalent stress, and the transformed stresses at any angle θ — updated live.

The SI / Imperial switch beside the presets reads the whole stress state in ksi instead of MPa — the unit US texts state plane-stress problems in. The stress inputs, all seven stress readouts, the on-diagram point annotations (C, X, Y, σ1, σ2, τmax), the σ-axis label and its grid ticks all follow, and the ticks are re-chosen so they land on round ksi values rather than converted MPa ones. Angles (θ, θp) are the same in both systems. Explore concepts and Practice problems stay in MPa because they are fixed textbook statements.

A 2:1 angular relationship is the key insight: a rotation of θ on the physical element corresponds to 2θ on the circle. Press Play to auto-animate θ from 0° to 180° and watch the stress element rotate while the point traces a full lap around the circle.

2 Interactive Features
Mohrs Circle simulator interface preview
  • Build It Step by Step (bottom-left of the canvas) walks through the nine stages of the construction — plot X, plot Y, join the diameter, find C, strike the radius R, read σ1 and σ2, measure 2θp, find τmax, then rotate. Each stage draws only what has been constructed so far and narrates it on the canvas. Page Down / Page Up step through it; Esc exits.
  • Drag Point X on the σ–τ plane to set σx and τxy directly. Point Y mirrors automatically.
  • Drag the X′ rotation point around the circle to set the element angle in real time. X′ is the same colour as the highlighted x′-face on the element, and Y′ matches the y′-face — the Face → point link toggle turns that colour pairing on and off.
  • Jump to buttons snap θ straight to 0°, to θp (watch the shear arrows vanish) or to θp + 45° (maximum shear).
  • Play / Pause auto-animates θ; adjust the speed slider 0.2×–2.0×.
  • Number steppers next to each slider allow precision entry. + Custom opens a unit-aware modal for values beyond the slider range (up to ±5000 MPa).
  • Right-click the canvas for a context menu: Copy values, Export CSV/PNG, Toggle grid, Toggle equation overlay, Toggle 3-D circles, Build it step by step, Reset.
  • Keyboard: Arrow keys nudge θ by 1° (Shift+Arrow by 10°, Alt+Arrow by 0.5°); Space toggles play; Ctrl+Z undo, Ctrl+Shift+Z redo; Esc closes modals, the context menu or the construction walkthrough.
  • Display controls hide/show the Grid, Principal planes, Max-shear planes, Dimensions & arcs, the canvas equation overlay, the Von Mises readout, the 3-D circles and the Face → point link.
3 Learning Panels & Show Calculations

Below the canvas the Learning panels (Live equations, What-if coach, Failure theories) reveal the math behind every result, rendered in classical mathematical notation with KaTeX. The What-if coach calls out interesting cases: pure shear, biaxial equal stress, principal alignment, and safety margins.

Click Show Calculations (bottom-right of the canvas) to open a step-by-step derivation modal — centre, radius, principal stresses, principal angle, transformed stresses at the current θ, Von Mises, and a real-world context note. Recomputed every time the modal opens.

4 Simulate Mode

Sliders run −200 to +200 MPa for σ (positive = tension, negative = compression) and −150 to +150 MPa for τxy. Use the + Custom button or the number input to enter values up to ±5000 MPa for unusual cases. The centre moves to σavg = (σx + σy) / 2 and the radius becomes R = √[((σx − σy)/2)² + τxy²].

The θ slider runs −90° to +90° in half-degree steps — a full period of the transformation, and wide enough that θp is always reachable even when it is negative. Positive θ is counter-clockwise, matching the transformation equations; the dashed arc on the element shows the direction. The corresponding point traces the circle at 2θ, and the transformed stresses update on the element and in the σn @ θ readout. Set θ = θp and the shear vanishes — the definition of a principal plane.

Stress source — where the state comes from

Real problems rarely hand you σx, σy and τxy. The Stress source selector derives them from a load case, and the sliders then follow the loading instead of being typed:

SourceInputsStress state
Bar in axial loadF, dσx = F/A, A = πd²/4
Solid shaft in torsionT, dτ = 16T/(πd³) — pure shear
Shaft: bending + torsionM, T, dσx = 32M/(πd³), τ = 16T/(πd³)
Beam element (b × h)M, V, b, h, yσx = My/I, τ = VQ/(Ib), I = bh³/12
Thin cylinder under pressurep, D, tσhoop = pD/2t, σaxial = pD/4t

Set the beam’s y to ±h/2 and the shear disappears while σ peaks; set it to 0 and the reverse happens — the two classical extremes, on one circle.

Material and failure checks

The Material selector carries seven published materials (S275, A36, 4140, 304, 6061-T6, Ti-6Al-4V and grey cast iron class 30) plus a Custom entry where you type σY, σUT and σUC. Every criterion in the Failure-theories panel, the governing factor-of-safety readout card and the What-if coach follow it. Choose cast iron and the governing criterion switches from von Mises to Rankine, because a brittle material fails on σ1, not on distortion energy.

τ-axis convention

The τ-axis convention toggle switches between plotting τ positive downward (Hibbeler, Beer & Johnston — the element and the circle then turn the same way) and positive upward (pure-maths axes — the circle turns the opposite way). Every number is identical in both; only the picture is mirrored. If your lecturer’s diagrams never seem to match, this toggle is usually why.

5 Explore, Practice & Quiz

Explore opens 12 concepts in three categories — Stress Basics, Mohr’s Circle, Applications — each with its own drawn diagram and a worked example. The diagrams are not decoration: the Rotation concept shows the element’s θ arc beside the circle’s 2θ arc, Absolute Max Shear draws all three circles for a vessel-like state, and Failure & Factor of Safety plots the von Mises ellipse and Tresca hexagon in σ1–σ2 space with your current state marked on it.

Practice generates 15 kinds of random problem — including the absolute-max-shear trap and a shaft under combined bending and torsion — and draws the actual element and circle for the problem, with a ? where the answer goes. Enter your answer for a step-by-step solution, or press Open in Simulate to load that stress state into the main simulator and check it on the circle yourself. Quiz presents 5 randomised questions drawn from a pool of 21 (multiple-choice + numeric); your final score is shown with per-question feedback.

6 Export & Tips
  • Export CSV downloads the current stress state, all three principal stresses, both maximum shears, von Mises, the Tresca stress, the material and the governing factor of safety — plus the load-case inputs when a stress source is active.
  • τmax is reported twice — in-plane (= R) and absolute (over σ1, σ2 and σ3 = 0). Use the absolute value for Tresca.
  • Export PNG downloads a snapshot of the canvas with a MechSimulator watermark.
  • Remember the 2:1 rule: a physical rotation of θ corresponds to 2θ on Mohr’s Circle.
  • τmax = R = (σ1 − σ2) / 2 always.
  • For pure shearx = σy = 0), σ1 = +τxy and σ2 = −τxy.
  • For biaxial equal stressx = σy, τxy = 0) the in-plane circle collapses to a point — but σ3 = 0 still gives τabs = σ/2, so a ductile metal does still yield at σ = σY. Only true 3-D hydrostatic stress cannot yield it.
  • Use σv = √(σ1² − σ1·σ2 + σ2²) and the Failure-theories learning panel to check ductile yielding.

Mohr's Circle — Stress Analysis and Transformation

Mohr's circle for pure tension state with stress element shown alongside
Pure tension — circle sits entirely in positive σ, touches the origin. Principal direction matches the load direction; maximum shear is at 45°.

Mohr's Circle is one of the most important graphical tools in mechanics of materials. Developed by Christian Otto Mohr in 1882, it provides a graphical method for determining principal stresses, maximum shear stress, and stress transformation at a point under plane stress. By plotting normal stress (σ) on the horizontal axis and shear stress (τ) on the vertical axis, engineers can instantly visualise how stresses transform as the orientation of the plane changes. This simulator lets you explore Mohr's Circle interactively — dragging Point X on the σ–τ plane, animating the rotation angle θ, and watching the stress element and the corresponding point on the circle update simultaneously.

Understanding Plane Stress and the Stress Element

In plane stress analysis, we consider a thin element where all stresses act in one plane. The state of stress at a point is defined by three components: the normal stress σx acting in the x-direction, the normal stress σy acting in the y-direction, and the shear stress τxy acting on the x- and y-faces. A positive normal stress indicates tension (pulling the element apart), while a negative value indicates compression. The stress element is a small square drawn at the material point showing all these stress components with arrows on each face. When the element is rotated by an angle θ, the stress components transform according to the stress transformation equations, and Mohr's Circle provides a graphical representation of these equations.

Mohr's circle for pure shear state, circle centred on origin
Pure shear — circle centred at the origin. Principal stresses are equal magnitude tension & compression at ±45° from the applied shear plane.

Constructing Mohr's Circle

To construct Mohr's Circle: (1) Plot point X = (σx, τxy) and point Y = (σy, −τxy). (2) Connect X and Y with a straight line — this is the diameter of the circle. (3) The centre of the circle is at (σavg, 0) where σavg = (σx + σy) / 2. (4) The radius of the circle is R = √(((σx − σy) / 2)² + τxy²). The rightmost point on the σ-axis gives the maximum principal stress σ1 = σavg + R, and the leftmost gives the minimum principal stress σ2 = σavg − R. The top and bottom of the circle give the maximum shear stress τmax = R.

Stress Transformation Equations

The transformed normal stress on an inclined plane at angle θ is given by σn = σavg + R · cos(2θ − 2θp), and the transformed shear stress is τn = R · sin(2θ − 2θp). As θ varies from 0° to 180°, the point on the circle travels a full 360°. This 2:1 relationship between the rotation on the physical element and the angle on Mohr's Circle is a fundamental property — press Play in the simulator to watch it animate.

Applications in Engineering Design

Mohr's Circle is widely used in structural, mechanical, and aerospace engineering for failure analysis and design. The Von Mises equivalent stress σv = √(σ1² − σ1·σ2 + σ2²) is derived from principal stresses obtained via Mohr's Circle and is compared against the material yield strength to determine whether yielding occurs. Engineers use Mohr's Circle in pressure vessels, shafts under combined loading, welded joints, and composite materials. The Show-Calculations modal in this simulator walks through each step in classical mathematical notation.

Key Formulas at a Glance

For quick reference, the essential Mohr's Circle formulas are: Centre: σavg = (σx + σy) / 2. Radius: R = √(((σx − σy) / 2)² + τxy²). Principal stresses: σ1 = σavg + R, σ2 = σavg − R. Maximum shear: τmax = R = (σ1 − σ2) / 2. Principal angle: θp = ½ · arctan(2τxy / (σx − σy)). Transformation: σn = σavg + R·cos(2θ − 2θp), τn = R·sin(2θ − 2θp). Von Mises: σv = √(σ1² − σ1·σ2 + σ2²).

Failure Theories and Mohr's Circle

Mohr's Circle provides the principal stresses needed for all major failure theories. The Maximum Normal Stress Theory (Rankine) predicts failure when σ1 exceeds the ultimate tensile strength — applicable to brittle materials. The Maximum Shear Stress Theory (Tresca) predicts yielding when τmax exceeds the shear yield strength — slightly conservative for ductile metals. The Distortion Energy Theory (Von Mises) is the most accurate for ductile materials. The Failure-theories learning panel below applies all three to the current stress state with a colour-coded safety summary.

Worked Example — A Plane Stress Element Solved End-to-End

Take an element with σx = 80 MPa, σy = −30 MPa, τxy = 40 MPa. Plug these into the simulator and walk the circle:

StepFormulaWorkingResult
Centre of circle (average normal stress)C = (σxy)/2(80−30)/225 MPa
Half-range of normal stressesx−σy)/2(80−(−30))/255 MPa
Radius of circleR = √[55² + 40²]√(3025+1600) = √462568.0 MPa
Maximum principal stress σ1C + R25 + 6893.0 MPa
Minimum principal stress σ2C − R25 − 68−43.0 MPa
Principal angle θp½·atan(2τxy/(σx−σy))½·atan(80/110) = ½·36.0°18.0°
Maximum in-plane shear stressτmax = R68.0 MPa (at 45° from θp)

Read the simulator’s rotated-element overlay to verify visually: rotate the element by 18° and the shear traction disappears (only normal stresses remain); rotate it by 63° (= 18 + 45) and the shear traction reaches its maximum.

Reading the Circle — What Each Point Means Physically

The Mohr’s circle is more than a calculation aid; every point on it corresponds to a physical face of the same material element rotated by some angle:

When 2D Mohr’s Circle Is Not Enough — The 3D Extension

Plane stress assumes the out-of-plane direction carries zero stress. That works for thin sheets, beams in bending, and the surface of pressurised pipes — but breaks for thick pressure vessels, deeply embedded bolts, and any state where all three principal stresses are non-trivial. In 3D, three principal stresses σ1 ≥ σ2 ≥ σ3 define three circles, one for each pair, plotted on the same σ−τ axes.

The true maximum shear stress is then:

τmax,3D = (σ1 − σ3) / 2

Critical example: a thin-walled pressure vessel under internal pressure has in-plane principal stresses of hoop σh and axial σa = σh/2; both positive. The 2D Mohr’s circle gives τmax,2D = (σh − σa)/2 = σh/4. But the third principal stress (radial through the wall) is σ3 ≈ −p ≈ 0 (or slightly negative). The true τmax,3D = (σh − 0)/2 = σh/2 — twice the 2D answer. A vessel designed on 2D Mohr’s circle alone would be undersized for shear-controlled (Tresca) failure.

A Real Case — Diagnosing a Fillet-Weld Crack with Mohr’s Circle

A fillet weld attaching a bracket to a column transfers a vertical load 80 mm out from the column face. Hand-calculate the stress state at the weld root for an applied load of 12 kN on a 6 mm-throat, 100 mm-long weld:

Why Does My Mohr’s Circle Rotate the Wrong Way? Sign Conventions Explained

This is the single most common source of confusion, and it is not a mistake in your working — it is a difference of convention. The transformation equations always take θ positive counter-clockwise from the x-axis. What differs between textbooks is which way the τ axis points on the plot:

Every number — σ1, σ2, τmax, θp — is identical either way. Only the drawing is mirrored about the σ-axis. The simulator carries a τ-axis toggle so you can flip between the two and watch the animation reverse while every readout stays put; the Sign-conventions learning panel states the consequence of whichever one is active. A second convention to keep straight: point X is the face whose normal points along x, and it plots at (σx, τxy); point Y is at (σy, −τxy). The sign flip is what makes X and Y diametrically opposite, which is the graphical statement that the two faces sit 90° apart in the material.

From Load to Circle — A Shaft Under Combined Bending and Torsion

Examination problems usually give you a component and a loading, not a stress state. Take a solid shaft of diameter d = 30 mm carrying a bending moment M = 250 N·m and a torque T = 300 N·m. At the top surface fibre:

StepFormulaWorkingResult
Bending stress along the axisσx = 32M/(πd³)32 × 250 000 / (π × 30³)94.3 MPa
Hoop direction is unloadedσy0
Torsional shear at the surfaceτ = 16T/(πd³)16 × 300 000 / (π × 30³)56.6 MPa
Centre of the circleσavg = σx/294.3 / 247.2 MPa
RadiusR = √[(σx/2)² + τ²]√(2224 + 3202)73.7 MPa
Principal stressesσ1,2 = σavg ± R47.2 ± 73.7120.8 and −26.5 MPa
Principal angleθp = ½·atan2(2τ, σx)½ × 50.2°25.1°

Choose Shaft: bending + torsion in the simulator’s Stress source selector, type the three numbers, and the circle is built for you — with the schematic of the shaft drawn beside the element so it is clear which fibre is being analysed. Because σ1 and σ2 have opposite signs here, the in-plane circle is also the largest of the three, so τmax = R = 73.7 MPa is the true maximum shear. Swap the source to Thin cylinder under pressure and that is no longer true, which is exactly the point of the 3-D circles toggle.

Selected References

Mohr’s Circle Formulas — 2D Stress Transformation

ParameterFormulaDescription
Centre of CircleC = (σx + σy) / 2Average normal stress
Radius of CircleR = √[((σx−σy)/2)² + τxy²]Half-range of principal stresses
Maximum Principal Stressσ1 = C + RLargest normal stress on any plane
Minimum Principal Stressσ2 = C − RSmallest normal stress on any plane
Maximum In-Plane Shearτmax = R = (σ1−σ2)/2Occurs at 45° to the principal planes; normal stress there is σavg
Absolute Maximum Shearτabs = (σmax−σmin)/2 over {σ1, σ2, 0}Larger than R whenever σ1 and σ2 share a sign
Tresca Equivalent Stressσmax − σminCompare with σY; must include σ3 = 0
Von Mises Equivalent Stressσv = √(σ1² − σ1σ2 + σ2²)Distortion-energy criterion for ductile metals
Principal Anglep = arctan(2τxy / (σx−σy))Orientation of principal planes

Explore Related Simulators

If you found this Mohr’s Circle simulator helpful, explore our Thin-Walled Pressure Vessel simulator, Stress–Strain Curve simulator, Beam Bending simulator, and Shaft Torsion simulator for more hands-on practice.