Principal Stress Solver screenshot Loading Principal Stress Solver…

How to Use Principal Stress Solver

New window

Principal Stress Solver is for problems where the x–y stresses are not all given – for example three normal stresses at 0°, 45° and 90°, or σx and σy plus the stress on one inclined plane.

Principal stress solver solved for three normal stresses
Three normal stresses at 0°, 45° and 90°: solved

How to solve a problem

  1. Fill only what you know. The first row is the x–y element (\(\sigma_x\), \(\sigma_y\), \(\tau_{xy}\)). Each Plane row is an inclined plane or a gauge direction: its angle θ (counter-clockwise from x) and the normal stress σ′ and shear stress τ′ on it. Leave unknown boxes empty; + Add a plane gives up to five rows.
  2. Watch the colours and the counter. Red boxes are unknowns, yellow boxes are values that give equations. The status line counts unknowns and equations.
  3. The answer appears by itself as soon as there are enough equations – no button to press. Computed values are written in italics inside the empty boxes.
  4. More equations than unknowns? The app finds the best fit (least squares) and shows the residual – useful for four-gauge rosettes or to check data.
  5. Unknown angles are allowed: leave θ empty on a plane where you know a value. If several angles fit, the app shows all solutions to choose from.
  6. Read the tabs – all values, principal, max shear, Mohr's circle with your planes, element drawings – and the step-by-step solution below them.
Finding the angle where the normal stress is zero
Unknown angle: two planes have σ′ = 0
Mohr's circle with the given planes
Mohr's circle with your planes P1, P2, P3
Step-by-step solution
The equations, their solution and the principal stresses

Theoretical Background

New window

Unknowns and equations

A plane stress state has three independent components \(\sigma_x\), \(\sigma_y\), \(\tau_{xy}\). Every known normal or shear stress on a plane at angle θ gives one equation:

$$ \sigma'(\theta) = \frac{\sigma_x + \sigma_y}{2} + \frac{\sigma_x - \sigma_y}{2}\cos 2\theta + \tau_{xy}\sin 2\theta $$
$$ \tau'(\theta) = -\frac{\sigma_x - \sigma_y}{2}\sin 2\theta + \tau_{xy}\cos 2\theta $$

A unique solution needs as many independent equations as unknowns. Unknown angles make the equations non-linear; the app solves the system with the Levenberg–Marquardt method (a damped Newton method) from many starting points and checks the result.

Worked example

Example

The normal stresses are 80 MPa at 0°, 45 MPa at 45° and −40 MPa at 90°.

θ = 0° gives \(\sigma_x = 80\); θ = 90° gives \(\sigma_y = -40\).

θ = 45°: \(45 = \tfrac{80 - 40}{2} + 0 + \tau_{xy}\cdot 1\) → \(\tau_{xy} = 25\) MPa.

Then \(R = \sqrt{60^2 + 25^2} = 65\), \(\sigma_1 = 85\), \(\sigma_2 = -45\) MPa, \(\theta_{p1} = 11.31^\circ\), \(\tau_{max} = 65\) MPa.

Principal stresses and maximum shear

$$ \sigma_{1,2} = \frac{\sigma_x + \sigma_y}{2} \pm \sqrt{\left(\frac{\sigma_x - \sigma_y}{2}\right)^2 + \tau_{xy}^2}, \qquad \tau_{max} = \frac{\sigma_1 - \sigma_2}{2} $$

Useful facts for checking

  • Normal stresses on two perpendicular planes add up to \(\sigma_x + \sigma_y\).
  • The shear stresses on perpendicular planes are equal and opposite.
  • A plane with zero shear stress is a principal plane.

FAQ

Why is there no result yet?

There must be at least as many equations (values given on planes) as unknowns. The status line tells you how many more values are needed; with extra values the app finds the best fit.

Can I solve for an unknown angle?

Yes. Leave θi empty but give enough stresses on that plane; the angle is found numerically.

Why might there be no solution?

Measured values may be inconsistent (for example a normal stress larger than σ1). Check signs, units and angles.

Version history

  • 2.1.11 Dec 2026Rebuilt: solves automatically as you type, unknown angles with all solutions, best fit when there are extra values, computed values shown in the empty boxes, tabs and full step-by-step solution.
  • 2.11 Dec 2026Rebuilt: solves automatically as you type, unknown angles with all solutions, best fit when there are extra values, computed values shown in the empty boxes, tabs and full step-by-step solution.
  • 2.01 Dec 2026Modern layout with colour-coded inputs, example problems, live unknown/equation counter and full solution with elements and Mohr’s circle.
  • 1.026 Oct 2024Improvements and fixes
  • 1.03 Oct 2024App added