Shaft Diameter Calculator
Calculate minimum shaft diameter from torque, power, and allowable shear stress. Supports pure torsion and combined bending-torsion using ASME methods.
Shaft Diameter Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: d = (16T / (pi x tau_allow))^(1/3) | Te = sqrt(M^2 + T^2)
Worked example โ Minimum diameter: 25.3 mm | Recommended standard size: 28 mm or 30 mm
Formula
d = (16T / (pi x tau_allow))^(1/3) | Te = sqrt(M^2 + T^2)
For pure torsion, diameter d is the cube root of 16T divided by pi times allowable shear stress. For combined loading, equivalent torque Te combines bending moment M and torque T using the ASME method. The safety factor reduces the material allowable stress.
Worked Examples
Example 1: Motor Drive Shaft Design
Problem:A 10 kW motor runs at 1500 RPM. The shaft material has allowable shear stress of 40 MPa with a safety factor of 2. Find the minimum shaft diameter.
Solution:Torque T = (10 x 1000 x 60) / (2 x pi x 1500) = 63.66 N.m Allowable stress = 40 / 2 = 20 MPa d = (16 x 63.66 / (pi x 20 x 10^6))^(1/3) x 1000 d = (1018.6 / 6.283 x 10^7)^(1/3) x 1000 = (1.621 x 10^-5)^(1/3) x 1000 d = 25.3 mm
Result:Minimum diameter: 25.3 mm | Recommended standard size: 28 mm or 30 mm
Example 2: Combined Bending and Torsion
Problem:A shaft transmits 500 N.m torque with 200 N.m bending moment. Allowable shear stress is 40 MPa, safety factor 2.
Solution:Allowable stress = 40 / 2 = 20 MPa Equivalent torque Te = sqrt(200^2 + 500^2) = sqrt(290000) = 538.5 N.m d(torsion only) = (16 x 500 / (pi x 20 x 10^6))^(1/3) = 50.3 mm d(combined) = (16 x 538.5 / (pi x 20 x 10^6))^(1/3) = 51.6 mm Design diameter = max(50.3, 51.6) = 51.6 mm
Result:Design diameter: 51.6 mm | Recommended standard size: 55 mm
Frequently Asked Questions
How is minimum shaft diameter calculated from torque and shear stress?
The minimum shaft diameter for a solid circular shaft under pure torsion is derived from the torsion formula tau equals T times c divided by J, where tau is the allowable shear stress, T is the applied torque, c is the shaft radius, and J is the polar moment of inertia. For a solid circular cross-section, J equals pi times d to the fourth power divided by 32, and c equals d divided by 2. Substituting and solving for diameter gives d equals the cube root of 16T divided by pi times tau. This formula provides the minimum diameter needed to keep the maximum shear stress at or below the allowable limit, ensuring the shaft does not fail under the applied torsional load.
What is the ASME method for combined loading on shafts?
The ASME (American Society of Mechanical Engineers) method for shaft design under combined bending and torsion uses equivalent torque and equivalent bending moment concepts. The equivalent torque Te equals the square root of the sum of squares of the bending moment M and torque T. The equivalent bending moment Me equals half of M plus the square root of M squared plus T squared. The design diameter is then calculated using the larger value obtained from either the equivalent torque formula d equals cube root of 16Te over pi tau, or the equivalent bending moment formula d equals cube root of 32Me over pi sigma. This approach accounts for the combined stress state using maximum shear stress or distortion energy theory.
How do I determine the allowable shear stress for shaft materials?
The allowable shear stress depends on the shaft material and application. For common steel shafts, the ultimate shear strength is approximately 60 percent of the ultimate tensile strength, and the yield shear strength is about 50 to 58 percent of the tensile yield strength according to the maximum shear stress theory. Typical allowable shear stress values are 40 to 55 MPa for commercial steel shafts without keyways, reduced by 25 percent when keyways are present. For AISI 1045 steel, the allowable shear stress is typically 55 to 85 MPa. For stainless steels, values range from 45 to 70 MPa. Always apply an appropriate safety factor of 1.5 to 3.0 depending on loading conditions, environment, and criticality of the application.
What is the relationship between power, torque, and shaft speed?
Power, torque, and rotational speed are fundamentally related by the equation P equals T times omega, where P is power in watts, T is torque in Newton-meters, and omega is angular velocity in radians per second. Since omega equals 2 times pi times N divided by 60 where N is speed in RPM, the practical formula becomes T equals 60000 times P divided by 2 times pi times N, with P in kilowatts. This means for a given power transmission, higher speed results in lower required torque and therefore smaller shaft diameter. This is why high-speed machinery can use smaller shafts than low-speed equipment transmitting the same power. A 10 kW motor at 3000 RPM needs only half the torque compared to 1500 RPM.
What standard shaft sizes should be used and why does it matter?
Standard shaft sizes follow preferred number series and are available in common diameters such as 6, 8, 10, 12, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 90, 100 millimeters and larger increments beyond that. Using standard sizes is critical because bearings, seals, couplings, gears, and other components are manufactured to fit standard shaft diameters. Custom shaft sizes would require expensive made-to-order components and increase manufacturing costs significantly. After calculating the minimum required diameter, engineers always round up to the next standard size. In practice the selected standard size provides an additional safety margin beyond the calculated minimum, which helps account for stress concentrations at keyways, shoulders, and other geometric discontinuities.
What is the difference between sizing a hollow shaft and a solid shaft?
A hollow shaft obeys the same torsion formula, but the polar moment becomes J equals pi times the outer diameter to the fourth minus the inner diameter to the fourth, all divided by 32, so tau equals 16 T times do divided by pi times (do^4 minus di^4). Because shear stress varies linearly from zero at the shaft axis to a maximum at the surface, the core carries almost no load. Boring a bore equal to half the outside diameter removes 25 percent of the cross-sectional area but only 6.25 percent of J, which is why weight-critical drives use tubular shafting.
How much does a keyway reduce the torque capacity of a shaft?
A keyseat removes material from the most highly stressed outer fibres and adds a sharp corner that concentrates stress, so common practice cuts the allowable shear stress for a keyed section by about 25 percent. Since diameter varies as the cube root of one over tau, that reduction raises the required diameter by roughly 10 percent, because the cube root of 1 divided by 0.75 equals 1.10. Enter the reduced allowable stress whenever the keyseat falls at the maximum-torque section rather than at a lightly loaded end.
When does torsional stiffness rather than shear strength decide the diameter?
Angle of twist follows theta equals T times L divided by G times J, with the shear modulus G near 79 to 80 GPa for steel. Shear stress falls off as one over d cubed, but twist falls off as one over d to the fourth, so the stiffness requirement tightens faster than the strength requirement as a shaft gets longer. Drives that must hold angular position, such as machine-tool feed shafts, indexing mechanisms and long line shafts, are often capped near a quarter to one degree of twist per metre, and that limit sets the diameter.
Why can a shaft that passes this static check still fail in service?
A rotating shaft carrying a steady transverse load experiences fully reversed bending: every fibre swings from tension to compression once per revolution, so a shaft at 1500 rpm accumulates more than two million cycles in a single day of running. Fatigue cracks initiate well below the yield stress at shoulders, keyseats, retaining-ring grooves and press fits, where stress-concentration factors of two to three are common. The static shear-stress check cannot see this, so a fatigue assessment using the endurance limit and generous fillet radii is the necessary companion calculation.
What is shaft critical speed and when should it be checked?
Critical or whirling speed is the rotational speed at which the shaft's lateral natural frequency coincides with the running speed, so the small residual unbalance always present drives resonance and lateral deflection grows sharply. A classical Rayleigh estimate puts the first critical near 946 divided by the square root of the static deflection in millimetres, expressed in rpm. Long, slender or heavily loaded shafts need this check: designers either keep the operating speed comfortably below the first critical or accelerate rapidly through it to a supercritical running point.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎKeyway Size Calculator
Determine standard keyway dimensions from shaft diameter using ANSI/DIN tables.
๐งฎPress Fit Calculator
Calculate interference fit pressures and stresses for shaft-hub assemblies.
๐งฎHydraulic Cylinder Force Calculator
Calculate hydraulic cylinder force from bore diameter and system pressure.
๐งฎOrifice Flow Calculator
Calculate flow rate through an orifice plate from differential pressure and orifice diameter.
๐งฎCutting Speed Calculator
Calculate cutting speed in SFM or m/min from workpiece diameter and spindle RPM.
๐งฎDrill Speed Calculator
Calculate optimal drill RPM from material cutting speed and drill bit diameter.
๐งฎFlow Rate Calculator
Calculate volumetric and mass flow rate from pipe diameter, velocity, and fluid density.
๐งฎCulvert Size Calculator
Calculate culvert pipe diameter from peak flow rate and allowable headwater depth.