Torsion: Shear Stress, Angle of Twist, and Shaft Design
What You'll Learn
- 1Derive torsional shear stress from torque and polar moment of inertia
- 2Compute angle of twist and torsional stiffness over a length
- 3Convert between power, torque, and rotational speed in SI units
- 4Size a shaft for strength, twist, and fatigue with a service factor
- 5Explain why non-circular sections warp and how closed thin walls differ
Twisting is the natural way to move rotational power from a motor to a load, so torsion sits at the centre of every drivetrain. In a circular shaft the shear stress grows linearly from zero at the axis to a maximum at the outer surface, which means material near the surface does almost all the work. That single fact explains hollow shafts, splined couplings, torsion bars, and the way engine crankshafts are proportioned.
Real shafts never carry pure torque. Gears and pulleys impose bending as well, fillets and keyways concentrate stress, and the bending stress reverses every revolution while the torsional stress may stay nearly constant. This lesson builds the exact circular theory first, then adds the power-speed relation and the fatigue thinking needed for an honest shaft design.
From Torque to Shear Stress: Torsion Theory
The derivation starts from kinematics rather than from equilibrium. Assume that plane sections stay plane, that radii stay straight, and that deformations are small. A length then twists through an angle , so the shear strain at radius is the twist per unit length times the radius:
Hooke law in shear converts strain to stress, , and equilibrium of the internal torque, , fixes the twist gradient. Eliminating the twist gives the elastic torsion formula:
where is the polar second moment of area about the twist axis. The important behaviour is the linear profile: the centre of a solid shaft carries no shear stress at all, so drilling a small axial hole removes almost nothing but saves weight.
torque T
) )
) ) ) ) cross-section: stress profile
) ) ) ) ) )
+-----------+ tau_max | +---------*
| * | | /
| * * | | /
| * o * | tau = T rho / J /
| * * | | /
| * | |/
+-----------+ +------------------> rho
solid shaft 0 r
Three assumptions deserve attention before the formula is trusted. The shaft must be circular so that no warping occurs, the material must behave elastically and isotropically, and the torque must be applied through the ends so that Saint-Venant effects decay within about one diameter. Near a coupling, a gear hub, or a change of diameter the stress is higher than the formula predicts, and concentration factors are required.
Polar Moment of Inertia and Section Efficiency
For a solid circular shaft of diameter and for a hollow shaft of outer diameter and inner diameter :
Substituting into the stress formula gives the two forms used constantly in practice:
| Quantity | Solid shaft | Hollow shaft |
|---|---|---|
| Polar moment | ||
| Maximum shear stress | ||
| Angle of twist | ||
| Mass per length |
Because depends on the fourth power of radius while mass depends on the square, material moved outward buys stiffness faster than it buys weight. A worked comparison makes the gain concrete. A solid shaft of has over an area of . A hollow shaft of outside and inside has over an area of . The hollow shaft carries 37 percent more torsional stiffness with 33 percent less material, and its maximum stress is lower for the same torque. The practical limits are local buckling of the wall, the difficulty of machining the bore, and the cost of the finishing operations.
Angle of Twist and Torsional Stiffness
Integrating the twist gradient along the shaft gives the total angle of twist:
comes out in radians when is in N·mm, in mm, and in MPa, and one radian equals 57.3 degrees. The quantity is the torsional stiffness, in N·mm per radian, and it plays the same role in torsion that plays in bending.
Twist accumulates additively along a drivetrain. Shafts, couplings, gear meshes, and the elastic wind-up of a long conveyor all contribute, and the sum sets the resolution of a servo axis or the timing accuracy of a camshaft. Practical guidance is usually quoted as a limit on twist per unit length:
- Precision machine tool leads: to degree per metre.
- General transmission shafts: to degree per metre.
- Vehicle propshafts: up to about 4 degrees per metre, where torsional wind-up is tolerated as a vibration buffer.
A second use of the same formula is modal. Torsional natural frequency rises with and falls with the polar mass moment of inertia of the attached rotors, so unsteady torque from a piston engine can excite a torsional resonance. Torsional dampers and flexible couplings are fitted specifically to keep that mode away from the running speed range.
Power, Torque, and Rotational Speed
Rotational power is torque times angular velocity:
Combining them and grouping the constants gives the form used on every shop drawing, with in kilowatts and in revolutions per minute:
| Speed (rpm) | Torque for 15 kW (N·m) | Comment |
|---|---|---|
| 300 | 477 | Large diameter, easy stiffness |
| 750 | 191 | Typical belt drive input |
| 1450 | 98.8 | Four-pole induction motor |
| 3000 | 47.7 | Small shaft, critical speed matters |
| 10000 | 14.3 | Whirl and bearing life dominate |
The trade is immediate: raising the speed shrinks the torque and therefore the shaft diameter, since shear strength scales with , but it raises the critical speed problem and the bearing surface speed. Machine design is largely the business of choosing that speed wisely. Before the motor rating is used as the design torque, a service factor is applied for shock and duty, following AGMA 2001 or ISO 6336 practice for geared drives:
| Driver and driven machine | Typical service factor |
|---|---|
| Electric motor driving a uniform load, fan or centrifugal pump | 1.0 to 1.25 |
| Internal combustion engine driving a generator | 1.25 to 1.5 |
| Reciprocating compressor or crusher | 1.75 to 2.5 |
| Ore crusher or ball mill with heavy shock | 2.5 to 3.0 |
Worked Example 1: Motor Drive Shaft Sizing
Given. A shaft transmits at from an induction motor to a uniform load. The unsupported length between bearings is . Material: steel with and allowable shear stress . Use a service factor of 1.5.
Step 1, nominal torque.
Cross-check with angular velocity: and .
Step 2, design torque with the service factor:
Step 3, required diameter from the solid-shaft stress formula:
Choose the next standard size, , and verify:
Step 4, twist over the bearing span. With :
which is degrees per metre, acceptable for a general drive.
Step 5, torsional stiffness.
Final answer: , under service torque, over 500 mm, and . Note that the keyway at the gear end still needs a fatigue check, because its stress concentration is not covered by this nominal calculation.
Worked Example 2: Hollow Versus Solid Shaft at Fixed Torque
Given. Compare a solid shaft of with a hollow shaft of and , both of steel, carrying .
Step 1, polar moments.
Step 2, cross-sectional areas as a proxy for mass per unit length:
The hollow shaft is 20 percent lighter.
Step 3, maximum shear stresses.
Step 4, stiffness comparison. Since is inversely proportional to , the hollow shaft twists only percent as much as the solid one, a 40 percent reduction, while also being 20 percent lighter and 28 percent less highly stressed.
Final answer: hollow shaft, , gives , 20 percent less mass, 66 percent more torsional stiffness, and 28 percent lower peak stress than the solid shaft.
Non-Circular Sections, Keyways, and Fatigue in Real Shafts
Only circular sections keep radii straight. Any other shape warps out of plane, and warping restraint introduces normal stresses that the elementary theory never predicts:
- Rectangular bars carry maximum shear at the middle of the long side, not at the corners, and the corners are nearly unstressed. Thin rectangles behave like open thin-walled members with very low torsional stiffness.
- Open thin-walled profiles such as channels and I-sections are weak in torsion. Stiffening into a closed cell is the standard fix.
- Closed thin-walled sections follow Bredt theory, where the shear flow is uniform in the wall:
with the area enclosed by the wall centreline. This is why a welded box beam or a tube is so much more efficient in torsion than an open section of equal weight.
Practical shaft design adds three more effects. A keyway or spline reduces the torsional fatigue strength through a stress concentration of roughly 2 to 3 at the corner, so fillets are rolled and keyseat ends radiused. Stepped diameters need generous undercut radii, typically at least 0.02 times the larger diameter. And because the bending stress at a given fibre reverses while the torsional stress stays steady, the combined check uses an equivalent stress amplitude rather than a simple peak: for ductile steel the von Mises amplitude is formed from the alternating bending component and the steady torsion component, and the mean-stress correction of Goodman or Gerber is then applied with an endurance limit reduced for size, finish, and notch sensitivity.
import math
def shaft_torque(P_kW, n_rpm):
"""Nominal shaft torque in N.m from power and speed."""
return 9549.0 * P_kW / n_rpm
def solid_shaft(T_Nmm, tau_allow_MPa, service_factor=1.0):
"""Minimum diameter, actual stress, and polar moment for a solid shaft."""
Td = T_Nmm * service_factor
d_min = (16.0 * Td / (math.pi * tau_allow_MPa)) ** (1.0 / 3.0)
stock = [12, 14, 16, 18, 20, 22, 24, 25, 26, 28, 30, 32, 36, 40, 45, 50]
d = next(s for s in stock if s >= d_min)
J = math.pi * d ** 4 / 32.0
tau = 16.0 * Td / (math.pi * d ** 3)
return {"d_req_mm": round(d_min, 2), "d_stock_mm": d,
"tau_MPa": round(tau, 1), "J_mm4": round(J, 0)}
def twist_deg(T_Nmm, L_mm, G_MPa, J_mm4):
"""Angle of twist in degrees."""
return math.degrees(T_Nmm * L_mm / (G_MPa * J_mm4))
def hollow_vs_solid(T_Nmm, D_mm, di_mm):
"""Compare a hollow shaft against a solid one of the same outer size."""
J_h = math.pi * (D_mm ** 4 - di_mm ** 4) / 32.0
J_s = math.pi * D_mm ** 4 / 32.0
tau_h = 16.0 * T_Nmm * D_mm / (math.pi * (D_mm ** 4 - di_mm ** 4))
tau_s = 16.0 * T_Nmm / (math.pi * D_mm ** 3)
return {
"J_ratio": round(J_h / J_s, 3),
"tau_hollow_MPa": round(tau_h, 1),
"tau_solid_MPa": round(tau_s, 1),
}
T = shaft_torque(15.0, 1440.0)
print("nominal torque N.m:", round(T, 2))
print(solid_shaft(T * 1000.0, 40.0, service_factor=1.5))
print("twist deg over 500 mm:", round(twist_deg(T * 1000.0, 500.0, 80_000.0, 60344.0), 3))
print(hollow_vs_solid(500_000.0, 60.0, 40.0))
💡Torque Capacity Grows with the Cube of Diameter
Common Mistakes
Applying the circular torsion formula to a square or rectangular bar
Fix: Non-circular sections warp, so J for circles does not apply. Use tabulated warping solutions or thin-walled theory instead.
Designing on nominal torque with no service factor
Fix: Shock and duty matter. Apply the AGMA or ISO service factor for the driven machine before sizing, otherwise the shaft is undersized for real loads.
Ignoring the keyway in a fatigue check
Fix: Stress concentration factors of 2 to 3 are normal at keyseats, and the bending there is fully reversed, so the notch usually controls the life.
Forgetting accumulated twist along the drivetrain
Fix: Couplings, gear meshes, and the shaft itself all wind up. Add the angles to check servo resolution and timing tolerances.
Key Takeaways
- Torsional shear stress varies linearly with radius, is zero at the axis, and peaks at the outer surface.
- Strength scales with diameter cubed while stiffness scales with diameter to the fourth, so twist often governs precision shafts.
- Power relates to torque and speed by P equals T omega, giving torque of 9549 times kilowatts divided by rpm in SI units.
- Hollow shafts place material where it works hardest and gain stiffness per unit mass, limited by wall buckling and machining cost.
- Real shafts are governed by combined bending and torsion fatigue at notches rather than by static torsional yield.
Frequently Asked Questions
Why are hollow shafts more efficient?
Material at a larger radius contributes to with a fourth-power lever while contributing to mass only with a square. The result is more torsional stiffness and lower peak stress for the same weight, until the wall becomes thin enough to buckle locally or awkward to machine.
What units should be used for the shear modulus G?
Any stress unit works, provided it is consistent with the rest of the calculation. Using N, mm, and MPa together makes and returns the angle of twist directly in radians.
Does torque affect vibration?
Yes. Fluctuating torque from an engine, a pump with uneven blades, or a machining process can excite a torsional natural frequency. Torsional dampers and flexible couplings are used to shift that mode out of the operating range.
Can a shaft be too stiff?
Unusually, but yes. An over-stiff shaft transmits shock directly into gears and bearings, and some drivelines deliberately use torsional compliance to isolate the motor from reflected load spikes. Coupling selection is where that balance is set.
Interview Questions
Q1: Design a transmission shaft. What checks do you perform?
Static shear and von Mises stress under the factored torque, fatigue at keyways and fillets with notch factors, twist per unit length, lateral critical speed, bearing and coupling interfaces, and finally fit and surface finish requirements.
Q2: Why does a rectangular bar behave differently from a round one in torsion?
Non-circular sections warp out of plane. Restraining that warp adds normal stresses and a non-uniform shear distribution, with the maximum shear at the middle of the long side rather than at the corners.
Q3: How do you choose between a solid and a hollow shaft?
Compare mass, peak stress, and twist for the same torque. Hollow wins on all three when the bore can be machined, but solid is cheaper, stiffer against local wall buckling, and easier to seal.
Q4: The shaft passes a static check but fails after a few weeks. Where do you look?
At the notch. Check the keyseat, the step fillet, and the spline for stress concentration, then confirm the actual load spectrum, alignment, and whether bending is fully reversed while torsion is steady.