Shear Stress τ • Angle of Twist θ • Polar MOI J • Power P — Solid • Hollow — Simulate • Explore • Practice • Quiz
A shaft is one of the most fundamental mechanical components, responsible for transmitting rotary motion and torque from one machine element to another. When a torque (twisting moment) is applied to a shaft, the shaft experiences torsion — a state of stress that develops internally to resist the external twisting action. Understanding torsion is essential for every mechanical engineer, as it directly governs shaft sizing, material selection, and the safe operating limits of rotating machinery such as motors, turbines, gearboxes, and vehicle drivetrains.
The fundamental torsion equation relates the maximum shear stress (τmax) developed on the surface of a circular shaft to the applied torque (T), the shaft radius (r), and the polar moment of inertia (J): τmax = T × r / J. A critically important property of torsion in circular shafts is that shear stress varies linearly from zero at the centre of the cross-section to a maximum at the outer surface. This linear distribution means the core material near the centre carries very little stress, which is why hollow shafts can be an efficient alternative to solid shafts — they remove unstressed material from the centre, reducing weight without significantly reducing strength.
When a torque is applied along the length of a shaft, one end rotates relative to the other. The angle of twist (θ) is calculated using the formula: θ = T × L / (G × J), where L is the shaft length and G is the shear modulus (modulus of rigidity) of the material. The angle of twist is a critical design parameter because excessive twisting can cause misalignment in coupled machinery, vibration, and fatigue failure. For example, a drive shaft in an automobile must have an angle of twist well within acceptable limits to ensure smooth power delivery.
The polar moment of inertia (J) is a geometric property of the cross-section that quantifies its resistance to torsional deformation. For a solid circular shaft: J = πD4 / 32. For a hollow shaft with outer diameter Do and inner diameter Di: J = π(Do4 − Di4) / 32. A hollow shaft with the same outer diameter as a solid shaft has a slightly lower J but significantly lower weight, making it the preferred choice in aerospace, automotive, and structural applications where the weight-to-strength ratio is critical.
Shafts are primarily used to transmit power from a prime mover (motor, engine, turbine) to a driven machine. The relationship between power (P), torque (T), and rotational speed (N in RPM) is: P = 2πNT / 60. This formula allows engineers to determine the required torque for a given power and speed, which then feeds into the torsion formula to calculate the necessary shaft diameter. Shaft design must also consider factors such as keyways, stress concentrations, fatigue loading, and critical speeds. Common engineering materials include carbon steel (G ≈ 80 GPa), aluminium alloys (G ≈ 26 GPa), and copper alloys (G ≈ 45 GPa), each offering different trade-offs between strength, weight, corrosion resistance, and cost.
In Simulate mode, select a shaft type (Solid or Hollow), choose a material, and adjust the sliders for diameter, length, torque, and RPM. The animated canvas shows the shaft with torque arrows, twist deformation lines, and a cross-section view with a colour-mapped shear stress distribution. Readout cards display maximum shear stress, angle of twist, polar MOI, power, and weight in real time. Use the presets (Drive Shaft, Hollow Axle, Motor Shaft, Propeller Shaft) to explore common engineering configurations. Switch to Explore mode to study 12 torsion concepts across Theory, Cross Sections, and Applications categories. Practice mode generates random calculation problems with step-by-step solutions, and Quiz mode tests your knowledge with 5 questions per session including both multiple-choice and numeric answer types.