Torsion Formula for a Shaft

Torsion of a solid round shaft: tau = T r / J and angle of twist = T L / (G J). Enter the torque, diameter, length and shear modulus.

How it works

When a torque twists a round shaft, every cross-section is in shear. The torsion formula gives the shear stress, which is highest at the surface, and the angle through which one end turns relative to the other.

τmax = T r ÷ J = 16 T ÷ (π d³)

θ = T L ÷ (G J)

J = π d⁴ ÷ 32

SymbolMeaningSI unit
τ_maxMaximum shear stress at the surfacePa
TTorqueN·m
dShaft diameter (solid)m
JPolar moment of inertiam⁴
LShaft lengthm
GShear modulus of the materialPa
θAngle of twistrad

For a hollow shaft use J = π (D⁴ − d⁴) ÷ 32 and r = D ÷ 2. Typical shear moduli: steel 79 GPa, aluminum 26 GPa, brass 39 GPa, titanium 41 GPa. A common design limit is a twist of 0.25 to 1 degree per meter of shaft length for precise drives, in addition to the stress limit. The formula applies to circular sections; square and open sections twist differently.

Related: Structures and Strength of Materials guide, Power and torque formula, Shear stress formula. All formulas are listed in the Formulas library.

Worked example

A 30 mm steel shaft, 1 m long, carries 500 N·m. J = π × 30⁴ ÷ 32 = 79.5 × 10³ mm⁴, so τ = 16 × 500 ÷ (π × 0.03³) = 94.3 MPa. The twist is θ = 500 × 1 ÷ (79 × 10⁹ × 7.952 × 10⁻⁸) = 0.0796 rad = 4.56°.

That is high stress for plain carbon steel with only a modest torque, which is why a shaft diameter is rarely chosen by torque alone: fatigue, keyways and stress concentrations govern real shafts.

Things to know

Stress rises with the cube of the inverse diameter: 10 percent more diameter cuts the stress by 25 percent. The twist depends on the fourth power: 10 percent more diameter cuts the twist by 32 percent.

Keyways, shoulders, holes and splines raise the local stress by a factor of 1.5 to 3. Design for fatigue when the torque fluctuates.

Combine with bending in real shafts: use the von Mises or maximum shear stress combination.

Common questions

What is the torsion formula?

τ = T r ÷ J: the shear stress at radius r in a shaft with torque T and polar moment of inertia J. At the surface of a solid shaft, τ = 16 T ÷ (π d³).

What is the angle of twist formula?

θ = T L ÷ (G J), in radians. Multiply by 180 ÷ π for degrees.

What is the polar moment of inertia of a shaft?

J = π d⁴ ÷ 32 for a solid circle and π (D⁴ − d⁴) ÷ 32 for a hollow one.

Is a hollow shaft stronger than a solid shaft?

For the same weight a hollow shaft carries more torque because the material is farther from the center, where it works hardest.

Sources

  • Beer, F. P. et al., Mechanics of Materials, McGraw-Hill: torsion of circular shafts.
  • Shigley, J. E. et al., Mechanical Engineering Design, McGraw-Hill: shafts.

Last reviewed: November 10, 2026

Published by Nick Peterson, mechanical engineer.