Module 8 · Machine design

Keys and couplings

How hubs are fixed to shafts and shafts to each other — keys, splines, interference fits and rigid or flexible couplings.

Notes
On this page
  1. The idea
  2. Everyday intuition
  3. How it works
  4. Key formulas
  5. Worked example
  6. Where it is used
  7. Common misconceptions
  8. Self-check

The idea

A gear or pulley needs to be locked to its shaft so torque can pass. The usual way is a in matching slots (keyways) in shaft and hub; (many integral keys) carry more torque. Shafts are joined end to end by : rigid ones for perfectly aligned shafts, flexible ones to forgive misalignment and damp shocks.

Everyday intuition

A bicycle pedal crank has a square or splined hole that fits the axle: the shape stops it slipping round, just as a key does in a machine.

How it works

  1. Parallel key. A square or rectangular steel bar half in the shaft, half in the hub. Force at the shaft surface F = 2T/d puts it in shear and crushes its sides.
  2. Sizing. Width and height come from standards (ISO, BS, DIN) for the shaft diameter; you choose the length so shear and crushing stresses are safe.
  3. Key as a fuse. Keys are often made weaker than the shaft so an overload shears a cheap key instead of breaking the shaft.
  4. Splines and interference fits. Splines spread torque over many teeth and let hubs slide; shrink or press fits rely on friction and avoid a keyway’s stress concentration.
  5. Couplings. Rigid (flange, sleeve) need near-perfect alignment. Flexible (jaw with elastomer, gear, disc, universal joint) allow angular, parallel and axial misalignment.
key shear + crushing

Torque pushes the key sideways — it is sheared across its width and crushed on its sides.

A key locking a hub to a shaft. Tap each part. A keyed hub. Original diagram drawn for this site. Tap labelled parts for an explanation.
A keyed hub

Key formulas

Stresses in a parallel key:

τ=2Td w Lσc=4Td h L\tau = \dfrac{2T}{d\,w\,L} \qquad \sigma_c = \dfrac{4T}{d\,h\,L}
ww
key width m
hh
key height m
LL
key length m
σc\sigma_c
crushing (bearing) stress Pa

Worked example

Where it is used

  • Motors, pumps and gearboxes: keyed hubs and flexible couplings between them.
  • Vehicles: splined driveshafts and gearbox shafts; universal joints.
  • Bicycles and tools: square and splined drives.
  • Shear pins: deliberate weak links in snow blowers and outboard motors.

Common misconceptions

Self-check

Check What two stresses are checked in a parallel key?

Show answer

Shear across its width and crushing (bearing) on its sides.

Check Why use a flexible coupling between a motor and a pump?

Show answer

It tolerates small misalignment and absorbs shocks, protecting bearings.

Check What advantage do splines have over a single key?

Show answer

They carry more torque, spread the load and can let the hub slide along the shaft.

My notes

Private to this browser. Select any text above to highlight it.

↑ ↓ move Enter open Esc close