🔬
🔬 Science & engineering

Shaft Torsion Calculator (stress & twist)

Results update as you type.

Your numbers

Understanding the shaft torsion calculator — concept and principle

A shaft that transmits torque is twisted: shear stress builds up in the material and one end rotates relative to the other. This calculator gives the maximum shear stress, the angle of twist and the polar moment of area J for a solid or hollow circular shaft, as used when sizing drive shafts, axles, spindles and torsion bars.

A solid 40 mm shaft twisted by 500 N·mA 1 m solid steel shaft of 40 mm diameter twisted by 500 N·m turns 1.44° at its free end. Shear stress is zero at the centre and reaches 39.8 MPa at the surface; J is 251,327 mm⁴.Twist a shaft: the skin works hardestT 500 N·mθ 1.44°L 1 m · Ø 40 mmzero at centremax at the rimMax shear τ = T·r ÷ J39.8 MPaJ = πD⁴ ÷ 32251,327 mm⁴Twist θ = TL ÷ GJ (G 79 GPa)1.44°
Shear stress grows from zero at the centre to 39.8 MPa at the surface; the end turns 1.44°.

How it is calculated

The principle

For a circular shaft, plane cross-sections stay plane and radii stay straight as it twists. Shear strain therefore grows linearly from zero at the centre to a maximum at the surface, and with Hooke's law in shear (τ = Gγ) so does stress. Summing the resisting moment of every ring of material gives T = τJ/r, and integrating the twist rate T/(GJ) along the length gives θ. Because material near the centre carries little stress, a hollow shaft can save a large share of the weight while losing only a little strength.

Worked example

  1. Inputs: T = 500 N·m = 500,000 N·mm, D = 40 mm, d = 0, L = 1 m, G = 79 GPa.
  2. J = π × 40⁴ ÷ 32 = π × 2,560,000 ÷ 32 = 251,327.4 mm⁴.
  3. τ = 500,000 × 20 ÷ 251,327.4 = 39.78874 MPa.
  4. θ = 500 × 1 ÷ (79 × 10⁹ × 251,327.4 × 10⁻¹²) = 0.025183 rad = 1.442865°.
How Max shear stress (MPa) changes with Outer diameter (mm)How Max shear stress changes with Outer…01,0002,0003,00010203040506080Example: 39.78873577Outer diameter (mm)
Each point is the calculator re-run with only “Outer diameter (mm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Outer diameter (mm)Max shear stress (MPa)
102,546.479089
20318.3098862
3094.31404035
4039.78873577
5020.37183272
6011.78925504
804.973591972

How to read the result

Compare τ with the allowable shear stress for the material. A common estimate of shear yield strength is about 0.5 to 0.58 times the tensile yield strength (Tresca and von Mises criteria respectively), and design values are lower still after safety factors. Twist matters for precision drives and gear alignment, where a limit per metre of length is often specified.

Common mistakes

Keep in mind: The formulas assume a straight, round, uniform, linear-elastic shaft. Keyways, shoulders and fatigue from fluctuating torque can govern in practice. Real machine elements must be designed to applicable standards and checked by a qualified engineer.

Frequently asked questions

Why is a hollow shaft more efficient?

Stress is highest at the surface; removing low-stressed material from the centre reduces weight much more than it reduces J.

How are G and E related?

For an isotropic material G = E/(2(1 + ν)). For steel, 200/(2 × 1.3) ≈ 77 GPa, close to the usual 79 to 80.

How do I get torque from motor power?

T = P/ω, or T (N·m) ≈ 9,549 × P (kW) ÷ rpm.

Sources: R. G. Budynas and J. K. Nisbett, Shigley's Mechanical Engineering Design, McGraw-Hill · J. M. Gere and B. J. Goodno, Mechanics of Materials, Cengage

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →