mechanical calculators

Shaft Torque and Stress Calculator

Determine the safe torque capacity and shear stress in a rotating shaft. Use this when designing drive shafts, axles, or couplings to ensure they won't fail under torsional load.

About this calculator

When a shaft transmits rotational power, it experiences torsion — a twisting force that induces shear stress across its cross-section. For a solid circular shaft, the maximum shear stress occurs at the outer surface and is governed by the torsion formula: τ = (16 × T) / (π × d³), where τ is shear stress, T is the applied torque, and d is the shaft diameter. Rearranging to find allowable torque gives: T = (π × d³ × τ_allowable) / 16. A safety factor is introduced to account for dynamic loads, material imperfections, and uncertainty: T_safe = (π × d³ × τ_allowable) / (16 × SF × 1000). The division by 1000 converts units from N·mm to N·m. The shear modulus G relates shear stress to shear strain and is used separately to calculate angular twist along the shaft length.

How to use

Suppose you have a solid steel shaft with a diameter of 50 mm, an allowable shear stress of 60 MPa, and a safety factor of 2. Plug into the formula: T = (π × 50³ × 60) / (16 × 2 × 1000). First compute 50³ = 125,000 mm³. Then: T = (3.1416 × 125,000 × 60) / (32,000) = 23,561,945 / 32,000 ≈ 736.3 N·m. This means the shaft can safely transmit approximately 736 N·m of torque before the shear stress exceeds the allowable limit.

Frequently asked questions

What is the difference between allowable shear stress and shear modulus in shaft design?

Allowable shear stress (τ_allowable) is the maximum torsional stress a shaft material can sustain without yielding or failing, typically set as a fraction of the material's ultimate or yield shear strength. Shear modulus (G), also called the modulus of rigidity, describes the material's stiffness in shear — it relates shear stress to shear strain via τ = G × γ. While allowable shear stress determines the torque capacity of a shaft, shear modulus is used to calculate how much the shaft will twist angularly under load. Both are essential for a complete shaft design.

How does increasing shaft diameter affect the torque capacity of a rotating shaft?

Torque capacity scales with the cube of the shaft diameter, as shown by T = (π × d³ × τ) / 16. This means doubling the diameter increases the torque capacity by a factor of 8 (2³ = 8). Even a modest increase in diameter — say from 40 mm to 50 mm — results in a 95% increase in torque capacity. This cubic relationship makes diameter the single most influential design parameter for torsional strength, which is why hollow or larger-diameter shafts are preferred in high-torque applications.

Why is a safety factor used when calculating the maximum torque a shaft can handle?

A safety factor (SF) accounts for real-world uncertainties that a purely theoretical calculation cannot capture, including dynamic shock loads, vibration, material inconsistencies, and manufacturing tolerances. By dividing the theoretical maximum torque by the safety factor, engineers ensure the shaft operates well below its failure threshold under worst-case conditions. Common safety factors range from 1.5 to 3 depending on the application — machinery with sudden load reversals or impact loading typically demands higher values. Neglecting a safety factor can lead to premature fatigue cracking or sudden brittle fracture of the shaft.