Keys, fits and getting torque in
The torque has to get from the hub into the shaft somehow. The parallel key is the most common answer, and it is worth knowing that you do not design the key section — the standard picks it from the shaft diameter. What you design is its length.
The two checks
with k = min(h − t₁, t₂), the key height that is actually in contact with the hub. Typical allowables for a steel hub under a steady load are p ≤ 100–150 MPa and τ ≤ 90 MPa; halve them for shock or reversing loads. In practice crushing almost always governs — the key is far more likely to be hammered into the keyway sides than sheared off.
Effective length
A round-ended (type A) key loses one key width of useful length, so leff = l − b. A square-ended (type B) key uses its whole length. And a key can never be longer than the hub.
If the key does not fit the torque
- Make the hub longer — the cheapest fix, up to about l = 1.5d, after which the far end of the key stops carrying much.
- Two keys at 120° — assume they share only about 75 % ideally, i.e. count on 1.5 keys, not 2.
- Splines — many small teeth, far more contact area, no notch as sharp as a keyway, and self-centring. The right answer for high torque.
- A keyless connection — shrink disc, taper bush, polygon or press fit. No keyway means no Kt = 2.14 notch, which often lets you use a smaller shaft overall.
Press fits
An interference fit transmits torque by friction and needs no notch cut into the shaft. But it is not free of stress concentration: the shaft flexes under the rigid edge of the hub and frets against it, which gives Kf ≈ 2 at the end of the seat. Chamfering or relieving the hub bore at the ends helps a lot.