Physics & Chemistry
Shaft Diameter Calculator (Torque and Shear Stress)
Shafts carry torque from motors and engines to pumps, gearboxes, fans, wheels and machines. A shaft that is too small can twist, yield or fail by fatigue, while one that is too large wastes material and makes bearings and couplings bigger. The first step in sizing a shaft is to make sure it can carry the transmitted torque within an allowable shear stress. This calculator converts power and speed into torque if needed, applies the torsion formula for a solid round shaft to give the minimum diameter, and can also check the stress in a shaft of a given size.
How to use this calculator
- Choose whether you know the torque or the power and speed.
- Enter the torque in N·m, or the power in kW and the speed in RPM.
- Enter the allowable shear stress for the material and design, for example 40 MPa for a steel shaft with a keyway.
- Optionally enter an actual shaft diameter to check its stress.
- Read the minimum diameter, then choose the next larger standard size and check bending and fatigue separately.
How torsion stresses a shaft
When a shaft transmits torque, it twists slightly, and the shear stress rises from zero at the centre to a maximum at the surface. The maximum stress is proportional to the torque and inversely proportional to the cube of the diameter. This cube relationship means that a modest increase in diameter greatly increases the torque a shaft can carry: a 26 % larger diameter doubles its strength.
Power and speed are linked by torque: the same power at a lower speed means more torque. That is why the output shaft of a speed-reducing gearbox is much thicker than the input shaft, even though both carry almost the same power.
From a first estimate to a final design
Real shafts are rarely in pure torsion. Belts, gears and sprockets impose bending loads, and keyways, shoulders and grooves concentrate stress. Rotating shafts also experience reversing bending stresses that cause fatigue. Design codes and textbooks combine these effects using methods such as the ASME shaft equation or modern fatigue criteria with safety factors.
The allowable stress used here is a simple way to include a margin. Older practice for commercial steel shafts used about 55 MPa without keyways and 40 MPa with keyways. Always check torsional stiffness too, because some drives need to limit the angle of twist, and confirm that bearings and couplings suit the chosen diameter.
Formula & method
Torque from power: T (N·m) = 9,549.3 × P (kW) ÷ N (RPM)Solid shaft shear stress τ = 16 T ÷ (π d³)Minimum diameter d = ∛(16 T ÷ (π τ_allow))Allowable stress of 30–55 MPa is common for steel shafts with keyways; apply your own design code and safety factorsTorque from power: T (N·m) = 9,549.3 × P (kW) ÷ N (RPM). Torsional shear stress in a solid shaft: τ = 16 T ÷ (π d³). Minimum diameter: d = ∛(16 T ÷ (π τ_allow)), with T in N·mm and τ in MPa giving d in mm.
Worked example
Example: a 7.5 kW motor at 1,450 RPM
- Torque T = 9,549.3 × 7.5 ÷ 1,450 ≈ 49.39 N·m = 49,390 N·mm.
- d = ∛(16 × 49,390 ÷ (π × 40)) = ∛6,289 ≈ 18.46 mm.
- Choose the next standard size, for example a 20 mm shaft.
Answer: The shaft needs a diameter of at least about 18.5 mm.
Frequently asked questions
What allowable shear stress should I use?
For commercial steel shafts, about 40 MPa with keyways and 55 MPa without is a common starting point. Higher-strength alloy steels allow more, and your design code may specify values and safety factors.
How do I convert horsepower to kW?
Multiply horsepower by 0.7457 to get kilowatts. For example, 10 hp is about 7.46 kW.
Does this account for bending?
No. It is for pure torsion. Shafts carrying pulleys, gears or overhung loads must also be checked for bending and fatigue, which often requires a larger diameter.
What about hollow shafts?
Hollow shafts are lighter for the same strength, but this calculator covers solid shafts. A hollow shaft's stress depends on both its outer and inner diameters.
Why does torque increase at low speed?
Power equals torque times rotational speed. For the same power, halving the speed doubles the torque, so slow shafts must be larger.
Should I round the diameter up?
Yes. Always choose the next larger standard size and then check keyway, bearing and coupling requirements for that size.