Shaft Design Calculator
Calculate the diameter of a shaft under combined bending and torsion with shock and fatigue factors (ASME code), using maximum shear and maximum normal stress theories, rounded to a standard size.
Standard Shaft Diameter
50 mm
Required Diameter
48.52 mm
By Max Shear / Max Normal Stress
48.52 / 45.68 mm
Equivalent Torque Te
672.7 N·m
Equivalent Moment Me
561.3 N·m
Shear Stress at Standard Size
27.41 MPa
Shaft Diameter for Combined Bending and Torsion
Enter the torque and bending moment at the critical section, the allowable stresses and the shock factors. The calculator finds the diameter by the maximum shear stress and maximum normal stress theories (ASME code method) and rounds up to a standard size.
Formulas
- Equivalent torque Te = √((KmM)² + (KtT)²); d = (16Te ÷ πτ)1/3
- Equivalent moment Me = ½(KmM + Te); d = (32Me ÷ πσ)1/3
- Keyway: allowable stresses × 0.75
Shock and fatigue factors (ASME)
| Loading (rotating shaft) | Km | Kt |
|---|---|---|
| Gradually applied, steady | 1.5 | 1.0 |
| Suddenly applied, minor shock | 1.5 to 2.0 | 1.0 to 1.5 |
| Suddenly applied, heavy shock | 2.0 to 3.0 | 1.5 to 3.0 |
Worked examples
1. T = 500, M = 300 N·m, τ = 40, σ = 80 MPa, Km 1.5, Kt 1.0, keyway (the defaults). Te = 673 N·m; d = 48.5 mm (shear) and 45.7 mm (normal) → 50 mm.
2. Same without keyway or shock factors. Te = 583 N·m; d = 42.0 mm → 45 mm.
3. T = 1,200, M = 800 N·m, τ = 56 MPa, Km 2.0, Kt 1.5, keyway. Te = 2,408 N·m; d = 66.4 mm → 70 mm.
Check fatigue at shoulders and keyways with stress-concentration factors, and verify deflection and critical speed.
Related tools
- Torque from power: Torque Power Calculator. Key for the hub: Keyway Calculator.
- Whirling speed: Critical Speed Calculator. Bearings: Bearing Life Calculator.
Frequently Asked Questions
How do I calculate shaft diameter for torque only?
d = (16T ÷ π τ)^(1/3). For 500 N·m at 40 MPa: 39.9 mm.
What about bending and torsion together?
Use the equivalent torque Te = √((KmM)² + (KtT)²) in the same formula (maximum shear stress theory), and the equivalent moment Me = ½(KmM + Te) with d = (32Me ÷ πσ)^(1/3). Take the larger diameter.
What are Km and Kt?
Combined shock and fatigue factors from the ASME code: for rotating shafts with gradually applied loads Km = 1.5, Kt = 1.0; minor shock 1.5 to 2.0 and 1.0 to 1.5; heavy shock 2.0 to 3.0 and 1.5 to 3.0.
What allowable stress should I use?
ASME: the smaller of 0.30 × yield or 0.18 × ultimate in shear. For C40/C45 steel this is about 40 to 60 MPa (commercial shafting often 56 MPa).
Why reduce stresses for a keyway?
The keyway concentrates stress; the ASME code reduces allowable stress by 25%.
Where do M and T come from?
T from power and speed (T = 9,549 P/N). M from the loads of gears, pulleys and sprockets and the bearing positions (resultant of horizontal and vertical moments).
Which theory should I use?
Maximum shear stress (Tresca/Guest) for ductile materials; maximum normal stress (Rankine) for brittle materials. The calculator shows both and takes the larger.
What are standard shaft sizes?
Preferred sizes include 20, 25, 30, 35, 40, 45, 50, 55, 60, 70, 80, 90 and 100 mm.
Should I check deflection too?
Yes. Gear and bearing shafts are often governed by stiffness: limit slope at bearings and deflection at gears, and keep twist below about 0.25° per metre.
What about critical speed?
Long, fast shafts must run well away from their whirling speed; see the Critical Speed Calculator.
Related Calculators
Torque Power Calculator
Convert between torque, power, and RPM with efficiency factor. Calculate N·m from kW, angular velocity, and horsepower equivalent.
Keyway Calculator
Calculate key length, shear stress, and crushing stress for parallel (sunk) keys based on shaft diameter and torque.
Coupling Calculator
Calculate design torque, nominal torque, and bolt circle diameter for flange coupling design.
Critical Speed Calculator
Calculate critical speed of rotating shafts to avoid resonance based on shaft diameter, length, and support conditions.
Bearing Life Calculator
Calculate bearing L10 life in revolutions and hours using dynamic load rating, equivalent load, and RPM per ISO 281 standard.
Torsion Calculator
Calculate shear stress, angle of twist, and polar moment of inertia for circular shafts under torsional loading.
More in Mechanical · Engineering calculators · All calculators A–Z