Shaft Size Calculator
Size a round shaft for torque, power and speed, a hollow section or combined bending and torsion, with a safety factor, in one place.
⚙️ What is a Shaft Size Calculator?
A shaft size calculator finds the smallest diameter a round shaft can have while carrying a given load without the material exceeding its allowable stress. For a shaft that mainly transmits torque, the governing stress is the shear stress at the surface, which grows with torque and falls rapidly as the diameter increases. The calculator inverts that relationship: you enter the torque (or the power and the speed), the strength of the material and a safety factor, and it returns the diameter that just meets the design stress.
The same idea covers many everyday design jobs: the output shaft of an electric motor, a gearbox shaft, a drive shaft on a conveyor, a pump or fan shaft, a winch drum axle or a bicycle bottom bracket spindle. Three situations are handled here. A solid shaft in pure torsion is the textbook case. A hollow shaft uses material more efficiently, because the metal near the centre carries almost no shear stress and can be removed, and the calculator shows how much mass that saves. A shaft that also carries bending from gear, belt or pulley loads is sized with the equivalent torque, which combines bending and torsion into a single number.
It helps to be clear about what the result is and is not. It is a static strength size: the minimum diameter so that the peak shear stress stays at or below the strength divided by the safety factor. It does not check fatigue under rotating bending, stress concentration at keyways and shoulders, critical speed, bearing life or the angle of twist. Those checks often decide the final size, especially for long or fast shafts. The twist angle in particular has its own page, the angle of twist calculator, and the stiffness of the section depends on the polar moment of inertia.
This tool is useful for quick estimates, for checking a hand calculation, and for seeing how sensitive the answer is. Because the diameter depends on the cube root of the load, small errors in torque matter little, while errors in the allowable stress or the safety factor matter just as little for the same reason. The charts show that trend and mark your current design point. For a wider discussion of margins, see the factor of safety calculator.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Solid Shaft from Torque
T = 500 N·m, shear strength 120 MPa, safety factor 2
Example 2 — Motor Shaft from Power and Speed
50 kW at 1500 rpm, shear strength 120 MPa, safety factor 2
Example 3 — Heavier Load with a Larger Safety Factor
T = 1200 N·m, shear strength 180 MPa, safety factor 3
Example 4 — Hollow Shaft with di/do = 0.6
T = 500 N·m, shear strength 120 MPa, safety factor 2, di/do = 0.6
Example 5 — Shaft with Gear Bending Load
T = 500 N·m with bending M = 300 N·m, shear strength 120 MPa, safety factor 2
❓ Frequently Asked Questions
🔗 Related Calculators
What is the formula for shaft diameter from torque?
For a solid round shaft the maximum shear stress is tau = 16 T / (pi d^3), so the minimum diameter is d = (16 T / (pi tau))^(1/3). With T in N·m and tau in MPa, multiply T by 1000 to work in N·mm and the diameter comes out in mm.
How do I find the torque from power and rpm?
Torque in N·m equals 9549.3 times power in kW divided by speed in rpm, because P = T times 2 pi n / 60. A 50 kW motor at 1500 rpm delivers 318.31 N·m. Select the power option in the calculator and it does this conversion before sizing the shaft.
How is the allowable shear stress chosen?
Take the shear strength of the material (yield or ultimate, depending on your design rule) and divide by a safety factor. This calculator asks for the strength and the safety factor separately, then uses strength divided by factor as the design stress. A strength of 120 MPa with a factor of 2 gives 60 MPa.
How do I size a hollow shaft?
For a hollow shaft tau = 16 T do / (pi (do^4 - di^4)), so do = (16 T / (pi tau (1 - k^4)))^(1/3) with k = di/do. Enter the diameter ratio k in Hollow mode and the calculator returns the outer and inner diameters and the mass saving compared with the solid shaft.
How much lighter is a hollow shaft?
At the same torque and stress, the mass per unit length of a hollow shaft relative to a solid one is (1 - k^2) / (1 - k^4)^(2/3). For k = 0.6 that is 0.70, a saving of about 30 percent, while the outer diameter grows by only about 5 percent.
What is the equivalent torque for bending and torsion?
Under the maximum shear stress theory with steady loads, a shaft with bending moment M and torque T has the same peak shear stress as a pure torque Te = sqrt(M^2 + T^2). Use Te in the solid shaft formula. Design codes may add shock and fatigue factors to M and T.
Does this calculator include fatigue or keyways?
No. It is a static strength size based on the peak surface shear stress. Keyways, shoulders and grooves concentrate stress, rotating bending causes fully reversed fatigue loading, and shock loads add more. For those cases apply the extra factors from your design code or use a larger safety factor.
Why does the rounded-up diameter give a lower stress?
The exact minimum diameter makes the stress equal the design stress. Real shafts come in whole millimetre or standard sizes, so the calculator rounds up to the next whole millimetre and reports the stress at that size, which is slightly lower because stress falls with the cube of the diameter.
What about the angle of twist and stiffness?
A shaft can pass the strength check and still twist too much. The twist angle is theta = T L / (G J), with J the polar moment of area. The angle of twist calculator on this site covers it, and long shafts or precise drives often need a larger diameter for stiffness.
Can I use this for a hollow tube or a propeller shaft?
Yes for the torsion strength of a thick walled tube, using the diameter ratio. Very thin walls need a buckling check, and marine or aircraft shafts have their own codes. Use the result as a first estimate and confirm against the applicable standard.