Technical memo Strength of materials ~7 min read
Power transmission shafts

Shaft torsion calculator: shear stress, angle of twist and minimum diameter

Published November 17, 2026 — the torsion formulas for round shafts, solid or hollow: torque from power, shear stress, angle of twist, minimum diameter, combined bending, with metric and inch examples and a free calculator.

16T/πD³ Maximum stress, solid shaft
TL/GJ Angle of twist, in radians
9,549 T (N·m) = 9,549 × P (kW) / n

In short: a solid round shaft of diameter D carrying a torque T has a maximum shear stress τmax = 16·T / (π·D³), at its surface, and twists by an angle θ = T·L / (G·J) over a length L, with J = π·D⁴/32 and G ≈ 81,000 MPa (11,200,000 psi) for steel. Torque comes from power: T (N·m) = 9,549 × P (kW) / n (rpm), or T (lbf·in) = 63,025 × P (hp) / n. The minimum diameter for an allowable stress τallow is D = (16·T / (π·τallow))^(1/3).

1. Torsion formulas

TθLØ Dstraight line before torsionhelix after torsion
A line drawn along the shaft before torsion becomes a helix: the end turns by θ relative to the fixed end. The angle grows with torque and length, and drops very fast with diameter (D⁴ in J).
QuantitySolid shaft (Ø D)Hollow shaft (Ø D, bore d)
Polar moment of inertia Jπ·D⁴ / 32π·(D⁴ − d⁴) / 32
Maximum shear stress τmax16·T / (π·D³)16·T·D / (π·(D⁴ − d⁴))
Angle of twist θ (rad)T·L / (G·J)T·L / (G·J)
Minimum diameter for τallow(16·T / (π·τadm))^(1/3)solve for a chosen d/D ratio
Torque from powerT (N·m) = 9,549 × P (kW) / n (rpm); T (lbf·in) = 63,025 × P (hp) / n

Units must be consistent: T in N·mm, D and L in mm, G in MPa give τ in MPa and θ in radians (× 180/π for degrees). The shear modulus of steel is G = E / (2·(1 + ν)) ≈ 81,000 MPa (Eurocode 3 value); AISC uses 11,200 ksi, i.e. 11,200,000 psi. The polar moment of inertia J is also explained in the moment of inertia memo.

2. Metric and inch examples

7.5 kW motor at 1,450 rpm, Ø 25 shaft (metric units)

QuantityCalculationResult
Torque T9,549 × 7.5 / 1,45049.4 N·m
Stress τmax16 × 49,393 / (π × 25³)16.1 MPa
Polar moment Jπ × 25⁴ / 3238,350 mm⁴
Angle over 500 mm (G = 81,000 MPa)49,393 × 500 / (81,000 × 38,350)0.0080 rad = 0.46°
Minimum diameter for τallow = 40 MPa(16 × 49,393 / (π × 40))^(1/3)18.5 mm

The 40 MPa allowable stress is an example, not a value to copy: it depends on the material, the safety factor, shocks and stress concentrations (grooves, shoulders, keyway). Here the Ø 25 leaves margin in pure torsion; bending, stiffness or the bearing often sets the diameter.

10 hp motor at 1,750 rpm, Ø 1 in shaft (US units)

T = 63,025 × 10 / 1,750 = 360 lbf·in; τmax = 16 × 360 / (π × 1³) = 1,834 psi; over 20 in with G = 11,200,000 psi and J = π/32 = 0.0982 in⁴: θ = 360 × 20 / (11,200,000 × 0.0982) = 0.0066 rad = 0.38°.

3. Shaft torsion calculator

Enter the power and speed, or the torque directly (then leave the power empty), then the geometry. The allowable stress is optional: it gives the minimum diameter of a solid shaft.

Torque T
—
Stress τmax
—
Angle of twist θ
—
Minimum diameter (solid)
—

Default values: the metric example above. In US units, G defaults to 11,200,000 psi. The calculation assumes pure torsion, without bending or stress concentration.

4. Solid or hollow shaft

Torsional stress grows linearly from the centre (zero) to the surface (τmax). Material near the centre therefore does little work: removing it saves a lot of weight and costs little strength.

τmaxSolid shaftτmaxHollow shaftτ ∝ radius
Stress is proportional to the radius. With a bore of 0.6 × D, the hollow shaft loses 36 % of its material, the central part, and only 13 % of its torsional strength.

Example: the same Ø 25 shaft with a 15 mm bore (0.6 × D) goes from 16.1 to 18.5 MPa under 49.4 N·m, for 36 % less mass. Conversely, for equal mass, a larger-diameter tube is much stronger than a solid bar: that is why long drive shafts are often tubes.

5. Combined torsion and bending

A shaft carrying a pulley or a gear is also loaded in bending: the normal stress σ = M / W, with W = π·D³/32 for a solid round, adds to the shear τ. They are combined into an equivalent stress:

  • Von Mises: σeq = √(σ² + 3·τ²), the usual criterion for ductile steels.
  • Tresca: σeq = √(σ² + 4·τ²), slightly more conservative.

Example: with σ = 30 MPa of bending and the 16.1 MPa of torsion of the Ø 25 shaft, σeq = √(30² + 3 × 16.1²) = 41.0 MPa by von Mises. The bending moment is calculated as for a beam, see beam deflection. On a rotating shaft, bending is fully reversed: it becomes a fatigue calculation, with the stress concentrations of shoulders and grooves.

6. What the calculation does not tell

  • Stress concentrations: a keyway, a circlip groove or a shoulder with a small radius multiply the local stress. See DIN 6885 parallel keys and the interference fit, which transmits torque without a keyway.
  • Shocks and starts: a motor's starting torque or a jam can exceed the rated torque several times; it is covered by a service factor.
  • Non-circular sections: a square or a flat bar does not follow these formulas; their sections warp and the maximum stress is at the middle of the long sides.
  • Critical speeds: a long, flexible shaft can resonate in torsion or bending, a separate calculation.

Printable version: the formula sheet as a PDF (A4, no sign-up): formulas, examples and stress distribution.

7. FAQ

How do you calculate the torsional stress of a shaft?

For a solid round shaft of diameter D under torque T: τmax = 16·T / (π·D³), at the shaft surface. For a hollow shaft with bore d: τmax = 16·T·D / (π·(D⁴ − d⁴)). With T in N·mm and D in mm, τ comes out in MPa; with T in lbf·in and D in inches, in psi.

How do you calculate a shaft's angle of twist?

θ = T·L / (G·J), in radians, where L is the length between the two sections carrying the torque, G the shear modulus (about 81,000 MPa or 11,200,000 psi for steel) and J the polar moment of inertia, π·D⁴/32 for a solid round. Multiply by 180/π to get degrees.

How do you calculate torque from power?

T (N·m) = 9,549 × P (kW) / n (rpm), since P = T·ω. In US units: T (lbf·in) = 63,025 × P (hp) / n (rpm). A 7.5 kW motor at 1,450 rpm gives 49.4 N·m; a 10 hp motor at 1,750 rpm, 360 lbf·in.

How do you calculate the minimum shaft diameter in torsion?

D = (16·T / (π·τallow))^(1/3), where τallow is the allowable shear stress chosen for the material and the application. If the shaft also carries bending, a keyway or shocks, the diameter must be checked with those loads and their stress concentrations.

Is a hollow shaft stronger?

For the same outside diameter, a hollow shaft is slightly weaker but much lighter: with a bore of 0.6 × D, it loses 36 % of its mass and only 13 % of its torsional strength, because material near the centre does little work.

Read next