Shaft key and keyway chart
A 1" shaft takes a 1/4" square key (ANSI B17.1), and a 25 mm shaft an 8 × 7 key (DIN 6885). A 143T or 145T motor has a 7/8" shaft and a 3/16" key; a 182T or 184T, 1-1/8" and 1/4". For the keyway width, N9 on the shaft and JS9 in the hub give a normal fit; P9 gives a close one.
The key a shaft takes, by diameter, and how deep to cut the keyseat. Inch keys follow ANSI B17.1: square keys through 6-1/2" shafts, with the shaft keyseat half the key height. Metric keys follow DIN 6885: t1 is the depth into the shaft, t2 into the hub.
Inch keys (ANSI B17.1)
Two published copies agree
| Shaft Ø, over – to | Square key | Rectangular key | Keyseat depth (square) |
|---|---|---|---|
| 5/16" – 7/16" | 3/32" × 3/32" | — | 3/64" |
| 7/16" – 9/16" | 1/8" × 1/8" | 1/8" × 3/32" | 1/16" |
| 9/16" – 7/8" | 3/16" × 3/16" | 3/16" × 1/8" | 3/32" |
| 7/8" – 1-1/4" | 1/4" × 1/4" | 1/4" × 3/16" | 1/8" |
| 1-1/4" – 1-3/8" | 5/16" × 5/16" | 5/16" × 1/4" | 5/32"* |
| 1-3/8" – 1-3/4" | 3/8" × 3/8" | 3/8" × 1/4" | 3/16" |
| 1-3/4" – 2-1/4" | 1/2" × 1/2" | 1/2" × 3/8" | 1/4" |
| 2-1/4" – 2-3/4" | 5/8" × 5/8" | 5/8" × 7/16" | 5/16" |
| 2-3/4" – 3-1/4" | 3/4" × 3/4" | 3/4" × 1/2" | 3/8" |
| 3-1/4" – 3-3/4" | 7/8" × 7/8" | 7/8" × 5/8" | 7/16" |
| 3-3/4" – 4-1/2" | 1" × 1" | 1" × 3/4" | 1/2" |
| 4-1/2" – 5-1/2" | 1-1/4" × 1-1/4" | 1-1/4" × 7/8" | 5/8" |
| 5-1/2" – 6-1/2" | 1-1/2" × 1-1/2" | 1-1/2" × 1" | 3/4" |
* 1-1/4" – 1-3/8": Half the 5/16" key's height, the rule every row follows. Applied Industrial's copy prints 3/32".
Metric keys (DIN 6885)
Two published copies agree
| Shaft Ø, over – to | Key b × h, mm | Shaft t1, mm | Hub t2, mm |
|---|---|---|---|
| 6 – 8 mm | 2 × 2 | 1.2 | 1.0 |
| 8 – 10 mm | 3 × 3 | 1.8 | 1.4 |
| 10 – 12 mm | 4 × 4 | 2.5 | 1.8 |
| 12 – 17 mm | 5 × 5 | 3.0 | 2.3 |
| 17 – 22 mm | 6 × 6 | 3.5 | 2.8 |
| 22 – 30 mm | 8 × 7 | 4.0 | 3.3 |
| 30 – 38 mm | 10 × 8 | 5.0 | 3.3 |
| 38 – 44 mm | 12 × 8 | 5.0 | 3.3 |
| 44 – 50 mm | 14 × 9 | 5.5 | 3.8 |
| 50 – 58 mm | 16 × 10 | 6.0 | 4.3 |
| 58 – 65 mm | 18 × 11 | 7.0 | 4.4 |
| 65 – 75 mm | 20 × 12 | 7.5 | 4.9 |
| 75 – 85 mm | 22 × 14 | 9.0 | 5.4 |
| 85 – 95 mm | 25 × 14 | 9.0 | 5.4 |
| 95 – 110 mm | 28 × 16 | 10.0 | 6.4 |
| 110 – 130 mm | 32 × 18 | 11.0 | 7.4 |
| 130 – 150 mm | 36 × 20 | 12.0 | 8.4 |
| 150 – 170 mm | 40 × 22 | 13.0 | 9.4 |
| 170 – 200 mm | 45 × 25 | 15.0 | 10.4 |
| 200 – 230 mm | 50 × 28 | 17.0 | 11.4 |
Motor shaft keys (NEMA T frames)
Two published copies agree
The shaft (U) and square key by NEMA frame, from Nidec’s and Engineers Edge’s frame tables. Each key is the ANSI B17.1 key for that shaft size.
| Frame | Shaft Ø (U) | Key |
|---|---|---|
| 56 | 5/8" | 3/16" × 3/16" |
| 143T, 145T | 7/8" | 3/16" × 3/16" |
| 182T, 184T | 1-1/8" | 1/4" × 1/4" |
| 213T, 215T | 1-3/8" | 5/16" × 5/16" |
| 254T, 256T | 1-5/8" | 3/8" × 3/8" |
| 284T, 286T | 1-7/8" | 1/2" × 1/2" |
| 324T, 326T | 2-1/8" | 1/2" × 1/2" |
| 364T, 365T | 2-3/8" | 5/8" × 5/8" |
| 404T, 405T | 2-7/8" | 3/4" × 3/4" |
| 444T–449T | 3-3/8" | 7/8" × 7/8" |
IEC metric frames are not shown yet: no two published copies of their shaft and key table agree that we could check.
Keyway width tolerances (DIN 6885, ISO 286)
Two published copies agree
An 8 mm keyway is 0 / −0.036 mm (N9) in the shaft and +0.018 / −0.018 mm (JS9) in the hub for a normal fit, or −0.015 / −0.051 mm (P9) in both for a close fit.
| Width b, mm | Normal: shaft N9 | Normal: hub JS9 | Close: shaft and hub P9 | Free: shaft H9 | Free: hub D10 |
|---|---|---|---|---|---|
| 2 | −0.004 / −0.029 | +0.0125 / −0.0125 | −0.006 / −0.031 | +0.025 / 0 | +0.060 / +0.020 |
| 3 | −0.004 / −0.029 | +0.0125 / −0.0125 | −0.006 / −0.031 | +0.025 / 0 | +0.060 / +0.020 |
| 4 | 0 / −0.030 | +0.015 / −0.015 | −0.012 / −0.042 | +0.030 / 0 | +0.078 / +0.030 |
| 5 | 0 / −0.030 | +0.015 / −0.015 | −0.012 / −0.042 | +0.030 / 0 | +0.078 / +0.030 |
| 6 | 0 / −0.030 | +0.015 / −0.015 | −0.012 / −0.042 | +0.030 / 0 | +0.078 / +0.030 |
| 8 | 0 / −0.036 | +0.018 / −0.018 | −0.015 / −0.051 | +0.036 / 0 | +0.098 / +0.040 |
| 10 | 0 / −0.036 | +0.018 / −0.018 | −0.015 / −0.051 | +0.036 / 0 | +0.098 / +0.040 |
| 12 | 0 / −0.043 | +0.0215 / −0.0215 | −0.018 / −0.061 | +0.043 / 0 | +0.120 / +0.050 |
| 14 | 0 / −0.043 | +0.0215 / −0.0215 | −0.018 / −0.061 | +0.043 / 0 | +0.120 / +0.050 |
| 16 | 0 / −0.043 | +0.0215 / −0.0215 | −0.018 / −0.061 | +0.043 / 0 | +0.120 / +0.050 |
| 18 | 0 / −0.043 | +0.0215 / −0.0215 | −0.018 / −0.061 | +0.043 / 0 | +0.120 / +0.050 |
| 20 | 0 / −0.052 | +0.026 / −0.026 | −0.022 / −0.074 | +0.052 / 0 | +0.149 / +0.065 |
| 22 | 0 / −0.052 | +0.026 / −0.026 | −0.022 / −0.074 | +0.052 / 0 | +0.149 / +0.065 |
| 25 | 0 / −0.052 | +0.026 / −0.026 | −0.022 / −0.074 | +0.052 / 0 | +0.149 / +0.065 |
| 28 | 0 / −0.052 | +0.026 / −0.026 | −0.022 / −0.074 | +0.052 / 0 | +0.149 / +0.065 |
| 32 | 0 / −0.062 | +0.031 / −0.031 | −0.026 / −0.088 | +0.062 / 0 | +0.180 / +0.080 |
| 36 | 0 / −0.062 | +0.031 / −0.031 | −0.026 / −0.088 | +0.062 / 0 | +0.180 / +0.080 |
| 40 | 0 / −0.062 | +0.031 / −0.031 | −0.026 / −0.088 | +0.062 / 0 | +0.180 / +0.080 |
| 45 | 0 / −0.062 | +0.031 / −0.031 | −0.026 / −0.088 | +0.062 / 0 | +0.180 / +0.080 |
| 50 | 0 / −0.062 | +0.031 / −0.031 | −0.026 / −0.088 | +0.062 / 0 | +0.180 / +0.080 |
Deviations from the key width, mm. The key itself is h9. Roymech prints these by key width and Machining Doctor prints the zones; every limit agrees, except that Roymech rounds JS9 to whole microns where the grade is odd (±0.021 for ±0.0215), as ISO 286-2 allows.
Sources7
- Engineers Edge, ANSI B17.1 shaft diameter vs key size (archived Aug 30, 2025)
- Applied Industrial (from Martin), shaft keyseats and hub keyways, inch and DIN 6885 (archived Nov 15, 2026)
- fasten.it, DIN 6885-1 parallel keys (archived Nov 16, 2026)
- Nidec Motor Corporation (US Motors), NEMA dimension guide: foot-mounted AC motors, shaft U and keyseat S
- Engineers Edge, electric motor NEMA frame sizes table: U, key width and thickness (archived Jul 5, 2024)
- Roymech, metric keys and keyways (DIN 6885 / BS 4235): width tolerances by fit
- Machining Doctor, ISO hole tolerance charts (N, P and JS)