Shaft diameter from torque and bending: sizing a drive shaft
How to size a solid drive shaft: torque from kW and rpm, the ASME allowable shear stress with the keyway factor, combined bending and torsion, and the angle of twist, worked through for a 15 kW, 100 rpm gearbox shaft.
A drive shaft that is too thin does not usually snap on the first day. It twists a little more than it should, the keyway starts to fret, the sprocket wobbles, bearings run hot and one day a fatigue crack that started at the corner of the keyway goes all the way through. A shaft that is far too thick wastes steel, needs bigger bearings and a bigger hub on every part mounted on it. The good news is that a reliable shaft diameter calculation takes only three numbers to start: the power, the speed and the material. This guide walks through the torque, the allowable shear stress, the effect of bending and the twist check, with a complete worked example for a 15 kW gearbox output shaft running at 100 rpm.
Step 1: torque from power and speed
Everything starts with the torque the shaft has to carry. Power is torque times angular speed, so for a known motor or gearbox rating:
T = 9,550 × P / n
- T = torque, N·m
- P = power transmitted, kW
- n = shaft speed, rpm
The constant 9,550 is simply 60,000 / 2π. In imperial units the equivalent is T (lb·in) = 63,025 × hp / rpm. Our motor and gearbox selection calculator works this out for you, together with the gearbox ratio and the design power.
The formula explains a fact every millwright knows: a slow shaft must be much thicker than a fast one carrying the same power. 15 kW at 1,450 rpm is only about 99 N·m, but the same 15 kW after a gearbox at 100 rpm is 1,432 N·m, more than fourteen times as much. Use the power the shaft really has to carry (usually the motor rating, or the driven machine's peak demand) and the speed of that shaft, not the motor speed.
Step 2: the allowable shear stress
For a solid round shaft in pure torsion, the maximum shear stress at the surface is:
τ = 16 T / (π d³)
The question is what value of τ to accept. A long-established rule for steel transmission shafting, from the classic ASME code for shaft design, takes the smaller of two values:
- τ allow = 0.30 × Sy (yield strength), or
- τ allow = 0.18 × Su (ultimate tensile strength),
- and reduces the result by 25% (multiplies by 0.75) where the shaft has a keyway.
These factors already contain a margin for fatigue and for the stress concentration at changes of section, which is why they look low compared with the yield strength. For a medium-carbon steel such as C45 / AISI 1045 in the hot-rolled condition, typical values are Sy ≈ 310 MPa and Su ≈ 565 MPa. Treat handbook figures as typical, not guaranteed: for a real design use the values on the mill certificate for your bar.
Rearranging the torsion formula gives the minimum diameter for pure torque:
d = ∛(16 T / (π τ allow))
Work in N·mm and MPa (N/mm²) and the answer comes out in millimetres. If your data is in lb·ft, kgf·m or psi, convert first with the engineering unit converter; mixing units is the most common reason a shaft calculation is out by a factor of ten.
Step 3: add bending from sprockets, pulleys and gears
Very few shafts carry pure torque. A sprocket, pulley or gear pushes sideways on the shaft, and the shaft bends between its bearings. Bending stress is just as important as shear stress, often more so, because it reverses every revolution and is what drives fatigue.
For a chain sprocket, the side load is roughly the chain pull, F = 2T / D, where D is the pitch diameter. For a belt drive, the shaft load is the sum of the tight and slack side tensions, which is noticeably higher than 2T/D because a belt needs pre-tension to grip; our V-belt drive guide covers how the belt tensions are set. For a load F at the middle of a span L between two bearings, the maximum bending moment is M = F L / 4. An overhung pulley outside the bearings gives M = F × a, where a is the overhang, and that is usually worse.
The ASME method combines bending and torsion into one equivalent torque and applies shock and fatigue factors to each:
d³ = 16 / (π τ allow) × √((Kb M)² + (Kt T)²)
Typical factors for a rotating shaft are:
- Load gradually applied: Kb = 1.5, Kt = 1.0
- Load suddenly applied, minor shock: Kb = 1.5 to 2.0, Kt = 1.0 to 1.5
- Load suddenly applied, heavy shock: Kb = 2.0 to 3.0, Kt = 1.5 to 3.0
Crushers, hammer mills and anything that starts under full load belong in the shock categories. A smooth conveyor or fan drive is usually "gradually applied".
Step 4: check the angle of twist
A shaft can be strong enough and still too flexible. Excess twist makes a long line shaft wind up and spring back, upsets the timing of driven machines and adds to torsional vibration. The twist of a solid round shaft is:
θ = T L / (G J), with J = π d⁴ / 32
- θ = angle of twist, radians (× 57.3 for degrees)
- L = length carrying the torque, mm
- G = shear modulus, about 79,000 to 80,000 MPa for steel
- J = polar moment of inertia, mm⁴
There is no single universal limit. Design guides commonly quote about 0.25 to 1° per metre of length for general machinery, with tighter limits for precision drives. Because twist depends on d⁴, a small increase in diameter makes a big difference: going from 55 to 60 mm makes the shaft about 42% stiffer in torsion.
Worked example: 15 kW gearbox output shaft at 100 rpm
A gearmotor delivers 15 kW at 100 rpm to a conveyor head shaft through a flexible coupling. The shaft runs in two bearings 400 mm apart, with a chain sprocket of 300 mm pitch diameter at midspan. The sprocket is fixed with a parallel key. Material: C45 / AISI 1045, Sy = 310 MPa, Su = 565 MPa. The load is smooth and gradually applied.
1. Torque
T = 9,550 × 15 / 100 = 1,432 N·m (1,432,400 N·mm). Imperial check: 15 kW = 20.1 hp, and 63,025 × 20.1 / 100 ≈ 12,680 lb·in, which is the same 1,432 N·m.
2. Allowable shear stress
- 0.30 × 310 = 93 MPa
- 0.18 × 565 = 101.7 MPa
- Smaller value: 93 MPa; with the keyway, 0.75 × 93 = 69.75 MPa
Torque alone would need d = ∛(16 × 1,432,400 / (π × 69.75)) = 47.1 mm (42.8 mm without the keyway).
3. Bending from the chain pull
- Chain pull: F = 2 × 1,432.4 / 0.300 = 9,549 N, about 9.55 kN
- Bending moment at midspan: M = 9,549 × 0.400 / 4 = 955 N·m
- With Kb = 1.5 and Kt = 1.0: √((1.5 × 955)² + (1.0 × 1,432)²) = 2,026 N·m equivalent torque
- d = ∛(16 × 2,025,700 / (π × 69.75)) = 52.9 mm
The next standard size up is 55 mm. On strength alone that would do: the stress at 55 mm is 62.0 MPa against 69.75 allowed.
4. Twist check
- At 55 mm: J = π × 55⁴ / 32 = 898,400 mm⁴, θ = 1,432,400 × 1,000 / (79,300 × 898,400) = 0.0201 rad per metre, or 1.15° per metre
- That is above a 1°/m limit, which needs at least 57.0 mm.
- At 60 mm: θ = 0.81° per metre, within the limit.
Result
Select a 60 mm shaft at the sprocket seat. The combined stress there is 16 × 2,025,700 / (π × 60³) = 47.8 MPa, about 1.46 times below the allowable value, and the twist is 0.81°/m. A standard parallel key for a 58 to 65 mm shaft (DIN 6885) is 18 × 11 mm. The bearing journals can step down if the bearings call for it, provided the torque and moment at those sections are checked the same way and the shoulders have generous fillet radii.
Notice how the answer moved: 47 mm for torque alone, 53 mm once bending was added, and 60 mm once stiffness was checked. Skipping either of the later steps is how undersized shafts get built. If this shaft drove a conveyor that starts fully loaded, Kb = 2.0 and Kt = 1.5 would raise the strength requirement to about 59.4 mm. That still fits inside 60 mm, but with almost no margin left, so the next size, 65 mm, would be the safer choice. The belt conveyor capacity and power calculator gives the drive power to start from.
Common mistakes in shaft sizing
- Using the motor speed for a gearbox output shaft. Torque rises with the reduction ratio; the output shaft carries far more than the motor shaft.
- Ignoring the bending load. A belt or chain pull, or the weight of a heavy pulley, can double the required section modulus.
- Forgetting the keyway. The 25% reduction is there because cracks start at keyway corners.
- Long overhangs. Keep pulleys and sprockets as close to the bearing as possible; the moment grows in direct proportion to the overhang.
- Sharp shoulders. A sharp corner at a diameter step concentrates stress; use the largest fillet radius the mating part allows.
- Treating the result as final for critical shafts. The ASME code method is a sound sizing rule for ordinary transmission shafting. For high-duty or safety-critical shafts, a full fatigue analysis with stress concentration factors, and a check of critical speed, should follow.
Quick reference: the formulas
- Torque: T = 9,550 × P / n (N·m, kW, rpm)
- Torsional shear: τ = 16 T / (π d³)
- Allowable shear (steel, ASME rule): the smaller of 0.30 Sy and 0.18 Su, × 0.75 with a keyway
- Combined: d³ = 16 / (π τ) × √((Kb M)² + (Kt T)²)
- Twist: θ = T L / (G J), J = π d⁴ / 32
For the theory behind the torsion formulas, see the Wikipedia article on torsion (mechanics). Get the torque right first, add the bending honestly, check the twist, and the shaft you pick will run quietly for years.