Materials Testing Labs

Torsion Test Simulator

Torque, shear stress and angle of twist — the same shaft, three different answers.

Standards: Torsion of circular shafts Format: browser simulator Cost: free, no sign-up Reviewed: November 2026
Torsion Test Simulator — live Torsion of circular shafts
Stress is zero on the axis and maximum at the surface — half the material in a solid shaft carries less than half the peak stress.

Inputs

40 mm
800 mm
2 kN·m
79 GPa

Presets

Polar second moment J251327 mm⁴
Maximum shear stress0.2 MPa
Angle of twist0.005°
Twist in radians0.00008 rad
Shear strain at the surface2.01e-6
Torsional stiffness24818.58 kN·m/rad
Section modulus, polar12566 mm³
Shear modulus used79 GPa

Every number below is substituted from the current input state — change a slider and the arithmetic changes with it.

Polar moment
→ J = πd⁴/32 = π × 40⁴/32 = 251327 mm⁴
Shear stress
→ τ = T·r/J = 2000 × 20/251327 = 0.2 MPa
Angle of twist
→ θ = TL/(GJ) = 0.00008 rad = 0.005°
Stiffness
→ k_t = GJ/L = 24818.58 kN·m/rad

Stress and twist come from the same torque but answer different questions: stress decides whether it yields, twist decides whether the machine still lines up.

Practice problem

Torsion produces shear, not tension, and shear is distributed linearly from zero at the axis to a maximum at the surface. That distribution is why a hollow shaft is so efficient: the material near the centre was barely working.

This simulator computes the stress and the twist for a solid shaft, and draws the shear distribution so the reason for hollow shafts is visible rather than asserted.

Why the polar moment appears

Torque is resisted by shear stress distributed over the section, and the moment of that stress about the axis is the torque. For a circular section the result is τ = Tr/J, with J = πd⁴/32 for a solid shaft.

The fourth power is the important part: doubling the diameter multiplies the torque capacity by sixteen. That is why a modest increase in shaft size solves what looks like an impossible torsional problem.

Twist is a separate check

The angle of twist is θ = TL/(GJ), in radians. It grows linearly with length and inversely with the fourth power of diameter, so a long thin shaft can twist substantially while the stress remains modest.

In machine design the twist often governs before the stress does: a shaft that twists two degrees will misalign the gears on it, even though the shear stress is well below yield. Both checks are required.

Solid versus hollow

A hollow shaft beats a solid one of the same weight because it puts material where the stress is. The limit is wall thickness: too thin and the section buckles locally before it yields.

SectionJ (relative)Stress at surfaceWeight
Solid Ø401.00Baseline100%
Hollow Ø40 / Ø25 bore0.8515% higher61%
Solid Ø340.52—72%
Hollow Ø44 / Ø30 bore1.38—54%

Assumptions

The formula assumes a circular section, linear elasticity, small twists and uniform material. It does not apply to non-circular sections, where the section warps and the maximum shear sits at a different location.

Stress concentrations at keyways, splines and changes of section are not included, and they routinely double the local stress. A smooth-shaft calculation is a starting point, not a design check.

Frequently asked questions

Why is shear stress maximum at the surface?

Because shear strain is proportional to radius — the outer fibres slide further for the same twist. Stress follows strain in the elastic range, so it peaks at the outer surface and vanishes at the axis.

Does the length affect the stress?

No, only the twist. Stress depends on torque and section; the length changes how much angular deflection accumulates along the shaft.

Can I use this for a square shaft?

No. Non-circular sections warp, and the maximum shear is higher than the circular formula predicts. Square shafts need a shape factor from a table, and the corners carry the peak.

What is the difference between G and E?

E is the tensile modulus, G the shear modulus. For an isotropic material G = E/(2(1+ν)), so steel with E = 200 GPa and ν = 0.3 gives G ≈ 77 GPa.

BR

Written and reviewed by Bloom Rocket editorial desk

Bloom Rocket is built and maintained by a small independent team. Every page states the equations it implements and the standards it references, so the working can be checked rather than taken on trust.

How these simulators are built and checked →

Keep going

More testing simulators

All Testing →