Reference chart

Keyway Dimensions Chart

Parallel key sizes and keyseat depths by shaft diameter: ASME B17.1 square and rectangular keys for inch shafts from 5/16 to 6-1/2 in, and DIN 6885-1 keys for metric shafts from 6 to 110 mm. Jump to inch, depth checks or metric.

Need keyed shafts, hubs or pulleys made? .

Inch shafts: ASME B17.1 parallel keys

ASME B17.1 square and rectangular parallel keys and keyseat depths by shaft diameter, in inches and millimeters
Shaft dia (in)Square key W x HKeyseat depth, shaft and hubRectangular key W x HKeyseat depth, shaft and hub
over 5/16 to 7/167.9 to 11.1 mm3/32 x 3/322.38 mm0.04691.19 mmNot listedn/a
over 7/16 to 9/1611.1 to 14.3 mm1/8 x 1/83.18 mm0.06251.59 mm1/8 x 3/323.18 x 2.38 mm0.04691.19 mm
over 9/16 to 7/814.3 to 22.2 mm3/16 x 3/164.76 mm0.09382.38 mm3/16 x 1/84.76 x 3.18 mm0.06251.59 mm
over 7/8 to 1-1/422.2 to 31.8 mm1/4 x 1/46.35 mm0.12503.18 mm1/4 x 3/166.35 x 4.76 mm0.09382.38 mm
over 1-1/4 to 1-3/831.8 to 34.9 mm5/16 x 5/167.94 mm0.15633.97 mm5/16 x 1/47.94 x 6.35 mm0.12503.18 mm
over 1-3/8 to 1-3/434.9 to 44.5 mm3/8 x 3/89.53 mm0.18754.76 mm3/8 x 1/49.53 x 6.35 mm0.12503.18 mm
over 1-3/4 to 2-1/444.5 to 57.2 mm1/2 x 1/212.70 mm0.25006.35 mm1/2 x 3/812.70 x 9.53 mm0.18754.76 mm
over 2-1/4 to 2-3/457.2 to 69.9 mm5/8 x 5/815.88 mm0.31257.94 mm5/8 x 7/1615.88 x 11.11 mm0.21885.56 mm
over 2-3/4 to 3-1/469.9 to 82.6 mm3/4 x 3/419.05 mm0.37509.53 mm3/4 x 1/219.05 x 12.70 mm0.25006.35 mm
over 3-1/4 to 3-3/482.6 to 95.3 mm7/8 x 7/822.23 mm0.437511.11 mm7/8 x 5/822.23 x 15.88 mm0.31257.94 mm
over 3-3/4 to 4-1/295.3 to 114.3 mm1 x 125.40 mm0.500012.70 mm1 x 3/425.40 x 19.05 mm0.37509.53 mm
over 4-1/2 to 5-1/2114.3 to 139.7 mm1-1/4 x 1-1/431.75 mm0.625015.88 mm1-1/4 x 7/831.75 x 22.23 mm0.437511.11 mm
over 5-1/2 to 6-1/2139.7 to 165.1 mm1-1/2 x 1-1/238.10 mm0.750019.05 mm1-1/2 x 138.10 x 25.40 mm0.500012.70 mm

Ranges are over the first diameter up to and including the second. A parallel key sits half in the shaft and half in the hub, so each keyseat is H/2 deep at its side wall. Published keyseat tables add a small clearance above the key in the hub; check ASME B17.1 for the width and depth tolerances.

Checking depth across the shaft (square keys)

Across-the-shaft keyseat check dimensions for common inch shafts with square keys
Shaft dia (in)Square keyChordal height YShaft S = D - Y - H/2Hub T = D - Y + H/2
1/21/8 x 1/80.00790.20 mm0.429610.91 mm0.554614.09 mm
3/43/16 x 3/160.01190.30 mm0.644316.37 mm0.831821.13 mm
11/4 x 1/40.01590.40 mm0.859121.82 mm1.109128.17 mm
1-1/41/4 x 1/40.01260.32 mm1.112428.25 mm1.362434.60 mm
1-1/23/8 x 3/80.02380.60 mm1.288732.73 mm1.663742.26 mm
21/2 x 1/20.03180.81 mm1.718243.64 mm2.218256.34 mm
2-1/25/8 x 5/80.03971.01 mm2.147854.55 mm2.772870.43 mm
33/4 x 3/40.04761.21 mm2.577465.47 mm3.327484.52 mm

S is measured from the keyseat bottom to the far side of the shaft; T from the hub keyseat bottom to the far side of the bore, shown at zero clearance. Y = (D - sqrt(D^2 - W^2)) / 2 is the height of the arc the keyseat removes.

Metric shafts: DIN 6885-1 parallel keys

DIN 6885-1 parallel keys and keyseat depths by shaft diameter, in millimeters and inches
Shaft dia (mm)Key b x h (mm)Shaft keyseat depth t1Hub keyseat depth t2
over 6 to 80.236 to 0.315 in2 x 21.20.047 in1.00.039 in
over 8 to 100.315 to 0.394 in3 x 31.80.071 in1.40.055 in
over 10 to 120.394 to 0.472 in4 x 42.50.098 in1.80.071 in
over 12 to 170.472 to 0.669 in5 x 53.00.118 in2.30.091 in
over 17 to 220.669 to 0.866 in6 x 63.50.138 in2.80.110 in
over 22 to 300.866 to 1.181 in8 x 74.00.157 in3.30.130 in
over 30 to 381.181 to 1.496 in10 x 85.00.197 in3.30.130 in
over 38 to 441.496 to 1.732 in12 x 85.00.197 in3.30.130 in
over 44 to 501.732 to 1.969 in14 x 95.50.217 in3.80.150 in
over 50 to 581.969 to 2.283 in16 x 106.00.236 in4.30.169 in
over 58 to 652.283 to 2.559 in18 x 117.00.276 in4.40.173 in
over 65 to 752.559 to 2.953 in20 x 127.50.295 in4.90.193 in
over 75 to 852.953 to 3.346 in22 x 149.00.354 in5.40.213 in
over 85 to 953.346 to 3.740 in25 x 149.00.354 in5.40.213 in
over 95 to 1103.740 to 4.331 in28 x 1610.00.394 in6.40.252 in

DIN 6885-1 sizes. Check the shaft at d - t1 and the hub at d + t2. t1 + t2 runs 0.2 to 0.4 mm more than h, which is the clearance over the top of the key.

Making keyseats

Shaft keyseats are usually milled: an end mill leaves a profile keyseat with round ends, and a side-cutting keyseat cutter leaves a sled-runner keyseat that runs out on a radius and weakens the shaft less at the end. Hub keyways are broached, cut on a slotting or shaping machine, or wire EDM cut when the hub is hardened or the keyway is blind.

Specify the fit, not just the size. The key width tolerance and the keyseat width tolerances together decide whether the key taps in, slides or has to be pressed, and a loose key under reversing load hammers the keyseat walls. Break the edges of the keyseat, and give the key a chamfer so it does not ride on the keyseat fillet.

Frequently asked questions

What size key for a 1 inch shaft?
ASME B17.1 puts shafts over 7/8 up to 1-1/4 in on a 1/4 in key: 1/4 x 1/4 square or 1/4 x 3/16 rectangular. The keyseat is 1/8 in deep in the shaft and 1/8 in in the hub for the square key, measured at the side of the keyseat.
What size key for a 20 mm shaft?
DIN 6885-1 puts shafts over 17 up to 22 mm on a 6 x 6 key, with a 3.5 mm deep shaft keyseat (t1) and a 2.8 mm deep hub keyseat (t2). Check the shaft at d - t1 = 16.5 mm and the hub at d + t2 = 22.8 mm.
How do I measure keyseat depth on a round shaft?
Measure across the shaft from the bottom of the keyseat to the opposite side. For an inch key of width W and height H on a shaft of diameter D, that dimension is S = D - Y - H/2, where the chordal height Y = (D - sqrt(D^2 - W^2)) / 2. For a 1 in shaft with a 1/4 in square key, S = 0.859 in.
Square or rectangular key?
Square keys are the default and carry the most torque for a given width. Rectangular keys are lower, so they cut a shallower keyseat, which suits thin-walled hubs and shafts where the keyseat depth would weaken the section. The key width is the same for both at a given shaft size.
What tolerance goes on keyway width?
For DIN 6885 keys (width h9), a normal fit uses N9 on the shaft keyseat and JS9 on the hub; a tight fit uses P9 on both; a sliding fit uses H9 on the shaft and D10 on the hub. ASME B17.1 defines class 1 (clearance) and class 2 (closer) fits for inch keys; check the standard for the width limits.

Related charts and guides