Shaft Torsion: Stress, Twist Angle & Power
A transmission shaft, a motor axle or a wrench under a torque twists: every cross-section rotates slightly with respect to its neighbour, and the material is sheared harder the further it sits from the axis. This calculator returns the maximum stress at the surface, the total angle of twist, the safety factor, and the power transmitted at a given rotational speed — for a solid or hollow shaft.
In torsion, the core of the shaft barely works: the stress grows linearly from the centre to the surface. That is why hollow shafts offer almost the same capacity as a solid one, for far less mass.
Torque, geometry and material
Asterisks lead to the glossary, not repeated on later mentions.
Torsion: the section rotates, the metal is sheared
Every cross-section of a circular shaft under a torque T rotates without warping, and the radii stay straight. The metal is in pure shear, zero on the axis, maximum at the outer fibre. Geometry supplies the polar moment* of inertia J; the material supplies the shear modulus* G, about 81 GPa for every steel. θ below is the angle of twist*. The theory is exact for circular sections, solid or hollow. It does not cover a rectangle.
τ = T·r / J · θ = T·L / (G·J) · J = π d⁴ / 32 (solid)
Stress grows in a straight line with radius. The core does almost no work. A thin tube can match a fat bar at a fraction of the mass.
Two checks: shear stress versus angle of twist
Strength and stiffness do not trade.
- Strength — τ = T r / J stays under the shear yield τe = Re / √3 (von Mises*), with whatever margin the duty calls for. The same limit appears on the shear page; what changes is the path to τ.
- Stiffness — θ = T L / (G J) has to suit the machine. A servo drive often lives under 0.25 °/m. A tractor power-take-off shaft tolerates far more. On a long line-shaft, stiffness usually governs, not the stress.
Separate levers. A jump in yield strength Re, from S235 to 42CrMo4, buys strength and leaves θ untouched, because G stays 81 GPa. A larger diameter buys both, and buys them steeply: J follows the fourth power of the radius. Ten percent more diameter is about 46 percent more torque at the same twist. At a fixed torque the twist drops by about 32 percent, since θ runs as 1/J.
On paper a short, fat stub is a strength problem. A slender intermediate shaft is a twist problem. Both checks belong in the sizing. The tighter of the two — against τe, or against the °/m allowance — is the one that sets the bar.
Why hollow shafts win
Linear τ(r) means the metal near the axis is mostly along for the ride. A 40 × 32 mm tube keeps 59% of the torque capacity of a solid Ø40, and only 36% of the mass. At equal mass the tube is stronger and stiffer, because the kilograms sit at a larger radius, where they feed J. Drive shafts, bicycle frames, masts: hollow is the usual choice once fabrication allows it.
The snag is local buckling, and a wall a keyway can chew through. A 40 × 32 is a stout tube (t = 4 mm). A 40 × 38 is a skin, and a keyseat takes a serious fraction of that skin. Hollow wins when the wall can accept the feature cut into it. Axial buckling of a long member is a separate check, on the compression page.
For a hollow shaft, J = π (D⁴ − d⁴) / 32. The bore subtracts d⁴, not d². A modest hole barely touches J and cuts the mass hard. That fourth-power gap is the whole advantage.
Torque and power: P = T · ω
A shaft turning at N rpm transmits P = T × 2π N / 60. At a given power, torque is inversely proportional to speed. Downstream of a gearbox the speed is low, the torque is high, and diameters jump. A 10 kW motor at 3,000 rpm is only 32 N·m. After a 30:1 reducer the slow shaft must take nearly 1,000 N·m — thirty times the motor shaft. The same kilowatts do not mean the same torque.
With N entered, the page adds P. With N left at 0, the result stays the static torsion check: a clamp, a torque wrench, a parked shaft. Units: N·m × rad/s = watt. A horsepower on this page is the mechanical 745.7 W, not the 735.5 W metric horsepower.
Peak torque is not running torque. A stall, a start, a shock clutch: T can be several times the P / ω value. The peak the drivetrain can apply is the torque that sizes the shaft.
Worked examples
- Ø30 shaft in C45, T = 100 N·m — τ ≈ 18.9 MPa against τe ≈ 248 MPa, which puts s ≈ 13. Comfortable on strength. Over 1 m the bar twists 0.89°. A coupling alignment spec may be the real limit.
- Torque wrench — 100 N·m on a bolt is the same T, applied at the square drive. The beam's twist is what the scale reads. Same formula, a handle in place of a gearbox.
- Automotive half-shaft — 1,500 N·m at launch on a solid Ø27 gives τ ≈ 390 MPa. A quenched-and-tempered 42CrMo4 is what lives there, and barely. The classic off-road failure is that stress, plus mud in a joint.
Te = τe J / r is the torque at first yield of the outer fibre. When the working T is a small slice of Te and θ/L sits inside the spec, the diameter is settled. When it does not, the next move is d, not G.
Choosing a shaft material
G governs twist. Re governs stress. Every steel shares G ≈ 81 GPa. Moving from S235 to 42CrMo4 does not stiffen the shaft one degree; it raises τe. The change buys margin, or a smaller d at the same angle, and it does not cure a twisty line. Stiffness calls for a higher G — steel is the practical ceiling among the usual alloys — or for more diameter. The axial check sits on the tension page; torsion only borrows Re / √3.
Titanium Ti-6Al-4V pairs a high Re with a G of about 44 GPa, roughly half of steel. Strong, twisty, expensive. Stainless 304 / 316 sit at G ≈ 77 GPa, close to carbon steel, and earn their place on corrosion. Aluminium, at G ≈ 26–27 GPa, needs a larger section or a hollow one. Aerospace shafts in 2017A and 7075 go that way where the mass budget wins.
In the shop a turned bar of C45 or 42CrMo4 is the default machine shaft. S235 is cheap and weldable, and a little soft where a keyway will see reversals. Aluminium is a poor match for a long, small-diameter line-shaft: the encoder at the far end then disagrees with the motor.
Polar J is not the bending I
For a circle, J = Iy + Iz = 2 I, with I = π d⁴ / 64, so J = π d⁴ / 32. Same family of integrals, different job. Bending uses I about one axis; that calculation is the bending page. Torsion of a round uses J, twice as large. Feeding I into the torsion formula doubles τ — a pessimistic slip. Feeding J into a bending formula halves σ — the quiet, optimistic one.
The torsional section modulus* is J / r, in cm³, a cousin of the bending modulus W. This page prints it. It is not Wy from a beam table. An IPE, a standard European I-beam, carries a large Iy and a miserable Saint-Venant* J: a beam, not a shaft. On a non-round, bending and torsion together fall outside Coulomb's theory and need warping constants.
Units of J: mm⁴, cm⁴, m⁴. A Ø30 solid is J = π (0.030)⁴ / 32 ≈ 8.0 × 10−8 m⁴ = 8.0 cm⁴. Mixing cm⁴ with mm in r is the usual path to a τ in the gigapascals. The form stays in SI. A hand calculation keeps one unit system until the last line.
Keyways, shoulders and fatigue of a rotating shaft
A rotating shaft rarely fails on the mid-span average τ. The crack starts at a keyway, a shoulder, a snap-ring groove or a press-fit edge. An elastic stress concentration* Kt of 1.6 to 3 is ordinary on those details. Fatigue reads Kf × τ, where Kf is Kt trimmed by notch sensitivity, and the endurance of a reversed-shear specimen already lies under the static τe.
A static s = 13 on the Ø30 / 100 N·m example looks lavish. A keyway at mid-span, and a torque that reverses every revolution, can leave a fatigue factor near 2 on that same shaft. The result banner warns that rotating duty calls for s ≥ 2 to 3 on the static calculation. A proper shaft is a fatigue drawing, radii called out, not a static τ.
Rolled splines beat cut keyways. A generous fillet beats a sharp shoulder. Surface finish, and a little compressive residual stress from a grind after turning or from nitriding, moves life more than another millimetre of diameter once the static factor is already above 3. This calculator does not compute that life. It supplies the smooth-bar τ a fatigue check starts from.
These formulae hold for circular sections. A rectangle, a square or an open profile warps, and Coulomb's τ = T r / J overestimates capacity badly — a U- or I-section is a poor torsion member. Keyways, splines and shoulders add Kt ≈ 1.6 to 3, decisive in fatigue. Final design of a rotating shaft is a fatigue check, not the static number printed here.
Non-circular sections and open profiles
On a non-round bar, Saint-Venant torsion is a warping problem. Thin-walled closed tubes follow Bredt's formula, T = 2 t Am τ, where Am is the area enclosed by the mid-line — a different J, and a shear stress nearly uniform through the wall. Thin-walled open sections (an angle, a channel, a split tube) are another regime: capacity drops by an order of magnitude, the twist becomes large, and the free edges leave the plane.
An I-beam used as a shaft is a common early mistake. The polar sum Iy + Iz looks comforting; the Saint-Venant J is a fraction of that sum, and the flanges warp. Where the torque has to pass through an I, the section is closed into a box, or wrapping plates go on — or the torque belongs elsewhere. A rectangular bar has a formula of its own, a coefficient α on b t³. That relation is not round-bar torsion.
A circle is the one case where a hand formula is exact. Any other shape needs a table of torsion constants or a small finite-element run, not a borrowed τ = T r / J. This calculator applies to rounds. The warning above is the boundary.
Glossary
- Polar moment
- Spread of a cross-section about its centre, written J. On a solid round, J = π d⁴ / 32, and the shear stress is τ = T r / J.
- Torsional section modulus
- J divided by the outer radius. Times an allowable shear stress, it is the torque at that stress. Printed here in cm³, and not equal to the bending modulus W.
- Angle of twist
- Rotation of one end of the shaft relative to the other. It grows with torque and length, and falls when G or J rises. Given in degrees and in degrees per metre.
- Shear modulus
- Shear stress divided by shear strain, symbol G. It sets the twist. Shaft steels sit near 81 GPa; a higher yield strength does not raise G.
- von Mises
- A yield rule that compares a combined stress with the tensile yield strength Re. In pure torsion the shear limit is Re / √3.
- Stress concentration
- A local peak at a notch — keyway, shoulder, groove, press fit — as a factor Kt on the smooth-bar stress. This page prints the smooth-bar value.
- Saint-Venant
- Torsion of a straight bar of constant section, free to warp. A circle does not warp, and τ = T r / J is exact. Other shapes need their own torsion constant, not Iy + Iz.