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.

A keyway key, end on: a shaft with a square key in its keyseat, the shaft Ø and the keyseat depth dimensioned.shaft Økeykeyseat depth
What each column measures: the shaft Ø, the key, the keyseat depth. Not to scale.

Inch keys (ANSI B17.1)

Two published copies agree

Inch keys by shaft diameter: key size and shaft keyseat depth
Shaft Ø, over – toSquare keyRectangular keyKeyseat 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

Metric parallel keys by shaft diameter: key size, shaft depth t1 and hub depth t2, mm
Shaft Ø, over – toKey b × h, mmShaft t1, mmHub t2, mm
6 – 8 mm2 × 21.21.0
8 – 10 mm3 × 31.81.4
10 – 12 mm4 × 42.51.8
12 – 17 mm5 × 53.02.3
17 – 22 mm6 × 63.52.8
22 – 30 mm8 × 74.03.3
30 – 38 mm10 × 85.03.3
38 – 44 mm12 × 85.03.3
44 – 50 mm14 × 95.53.8
50 – 58 mm16 × 106.04.3
58 – 65 mm18 × 117.04.4
65 – 75 mm20 × 127.54.9
75 – 85 mm22 × 149.05.4
85 – 95 mm25 × 149.05.4
95 – 110 mm28 × 1610.06.4
110 – 130 mm32 × 1811.07.4
130 – 150 mm36 × 2012.08.4
150 – 170 mm40 × 2213.09.4
170 – 200 mm45 × 2515.010.4
200 – 230 mm50 × 2817.011.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.

NEMA motor frames: shaft diameter and square key
FrameShaft Ø (U)Key
565/8"3/16" × 3/16"
143T, 145T7/8"3/16" × 3/16"
182T, 184T1-1/8"1/4" × 1/4"
213T, 215T1-3/8"5/16" × 5/16"
254T, 256T1-5/8"3/8" × 3/8"
284T, 286T1-7/8"1/2" × 1/2"
324T, 326T2-1/8"1/2" × 1/2"
364T, 365T2-3/8"5/8" × 5/8"
404T, 405T2-7/8"3/4" × 3/4"
444T–449T3-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.

Keyway width tolerances by key width, mm: normal fit (shaft N9, hub JS9), close fit (P9), free fit (shaft H9, hub D10)
Width b, mmNormal: shaft N9Normal: hub JS9Close: shaft and hub P9Free: shaft H9Free: 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
40 / −0.030+0.015 / −0.015−0.012 / −0.042+0.030 / 0+0.078 / +0.030
50 / −0.030+0.015 / −0.015−0.012 / −0.042+0.030 / 0+0.078 / +0.030
60 / −0.030+0.015 / −0.015−0.012 / −0.042+0.030 / 0+0.078 / +0.030
80 / −0.036+0.018 / −0.018−0.015 / −0.051+0.036 / 0+0.098 / +0.040
100 / −0.036+0.018 / −0.018−0.015 / −0.051+0.036 / 0+0.098 / +0.040
120 / −0.043+0.0215 / −0.0215−0.018 / −0.061+0.043 / 0+0.120 / +0.050
140 / −0.043+0.0215 / −0.0215−0.018 / −0.061+0.043 / 0+0.120 / +0.050
160 / −0.043+0.0215 / −0.0215−0.018 / −0.061+0.043 / 0+0.120 / +0.050
180 / −0.043+0.0215 / −0.0215−0.018 / −0.061+0.043 / 0+0.120 / +0.050
200 / −0.052+0.026 / −0.026−0.022 / −0.074+0.052 / 0+0.149 / +0.065
220 / −0.052+0.026 / −0.026−0.022 / −0.074+0.052 / 0+0.149 / +0.065
250 / −0.052+0.026 / −0.026−0.022 / −0.074+0.052 / 0+0.149 / +0.065
280 / −0.052+0.026 / −0.026−0.022 / −0.074+0.052 / 0+0.149 / +0.065
320 / −0.062+0.031 / −0.031−0.026 / −0.088+0.062 / 0+0.180 / +0.080
360 / −0.062+0.031 / −0.031−0.026 / −0.088+0.062 / 0+0.180 / +0.080
400 / −0.062+0.031 / −0.031−0.026 / −0.088+0.062 / 0+0.180 / +0.080
450 / −0.062+0.031 / −0.031−0.026 / −0.088+0.062 / 0+0.180 / +0.080
500 / −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