Shaft torsion calculator

Shear stress and twist of a 40 mm solid steel shaft, 1.2 m long, carrying 500 N·m.

Free. You get your own copy of this worksheet to change and extend (sign-in required).

Short answer

How do you calculate shear stress and twist in a shaft?

For a solid round shaft J = π·d⁴/32, the peak shear stress is τ = T·r/J and the angle of twist is θ = T·L/(G·J). A 40 mm steel shaft (G = 79.3 GPa) carrying 500 N·m has J = 251,327 mm⁴, a surface shear stress of 39.8 MPa, and twists 1.72° over 1.2 m.

The worksheet

Every value below is the output of the Calcanvas compute engine for exactly these cells, evaluated top to bottom. Variables carry their units from one cell to the next.

1. Shaft

T_q is the torque; a plain T would be read as tesla. J is in mm⁴ because d_s is in millimetres.

ƒx
T_q = 500 N*m= 500 N·m
ƒx
d_s = 40 mm= 40 mm
ƒx
J = pi*d_s^4/32= 251327 mm⁴

2. Shear stress

The stress peaks at the surface, at radius d_s/2.

ƒx
tau = (T_q*(d_s/2)/J).to(MPa)= 39.7887 MPa

3. Angle of twist

G is the shear modulus of steel. The angle comes out in radians and .to(deg) converts it.

ƒx
G = 79.3 GPa= 79.3 GPa
ƒx
L_s = 1.2 m= 1.2 m
ƒx
theta = (T_q*L_s/(G*J)).to(deg)= 1.72489 deg

Make it yours

Open this example as a board and try a few changes. Results update as you type:

  • Make it a tube: J = pi*(d_s^4 - (25 mm)^4)/32.
  • Try d_s = 30 mm and see tau climb.
  • Enter the torque as T_q = 370 lbf*ft.

More examples

Start your first worksheet

Free during early access, no credit card. Open a canvas and watch your math add up in the right units.