Piñonario Power transmission toolsES
Keys and keyways

Keyway size calculator

From the shaft diameter: the right key, the shaft and hub keyseat with tolerances, and how much torque it carries.

Shaft data

Shaft diameter and fit type. The key and keyseat come from the standard.

1 Standard
d+t2b

Key 1/4" × 1/4"

ANSI B17.1 · Ø7/8"–1 1/4"

Shaft keyseat

Width b
0.250"
Depth t1
0.125"
d − t1 (from the opposite side of the shaft)
1.125"

Hub keyway

Width b
0.250"
Depth t2
0.125"
d + t2 (from the opposite side of the bore)
1.375"

Square key: half of the key sits in the shaft and half in the hub. Nominal sizes; ANSI B17.1 gives the tolerances.

Torque capacity

Transmissible torque
170 N·m
Power at 1450 rpm
25.8 kW

Guide: steel hub, steady load ≈ 100 MPa; cast iron ≈ 50 MPa; with shock loads, use half.

Nominal sizes per ANSI B17.1. Check tolerances against the standard or a catalog before machining.

ANSI B17.1 square key chart

Shaft Ø over – up to (in)Square key W × W (in)Keyseat depth, shaft and hub (in)
5/16 – 7/163/32 × 3/320.047
7/16 – 9/161/8 × 1/80.063
9/16 – 7/83/16 × 3/160.094
7/8 – 1 1/41/4 × 1/40.125
1 1/4 – 1 3/85/16 × 5/160.156
1 3/8 – 1 3/43/8 × 3/80.188
1 3/4 – 2 1/41/2 × 1/20.250
2 1/4 – 2 3/45/8 × 5/80.313
2 3/4 – 3 1/43/4 × 3/40.375
3 1/4 – 3 3/47/8 × 7/80.438
3 3/4 – 4 1/21 × 10.500
4 1/2 – 5 1/21 1/4 × 1 1/40.625
5 1/2 – 6 1/21 1/2 × 1 1/20.750

DIN 6885 metric key chart (sheet 1)

Parallel keys, high form. t1 is the keyseat depth in the shaft and t2 in the hub; in the shop you check d − t1 on the shaft and d + t2 in the hub.

Shaft Ø over – up to (mm)Key b × hShaft depth t1Hub depth t2
6 – 82 × 21.21
8 – 103 × 31.81.4
10 – 124 × 42.51.8
12 – 175 × 532.3
17 – 226 × 63.52.8
22 – 308 × 743.3
30 – 3810 × 853.3
38 – 4412 × 853.3
44 – 5014 × 95.53.8
50 – 5816 × 1064.3
58 – 6518 × 1174.4
65 – 7520 × 127.54.9
75 – 8522 × 1495.4
85 – 9525 × 1495.4
95 – 11028 × 16106.4
110 – 13032 × 18117.4
130 – 15036 × 20128.4
150 – 17040 × 22139.4
170 – 20045 × 251510.4
200 – 23050 × 281711.4
230 – 26056 × 322012.4
260 – 29063 × 322012.4
290 – 33070 × 362214.4
330 – 38080 × 402515.4
380 – 44090 × 452817.4
440 – 500100 × 503119.5

FAQ

What tolerance does a metric keyway width have?

It depends on the fit. Normal: shaft N9 and hub JS9 (general use). Tight: P9 in both (reversing loads or shock). Sliding: shaft H9 and hub D10, when the hub has to move along the shaft. The calculator gives the deviations in mm.

How do you measure keyway depth?

From the opposite side, not from the keyway edge: check d − t1 on the shaft and d + t2 in the bore with a caliper or micrometer. Example: a 1 1/4 in shaft with a 1/4 in key gives 1.125 in on the shaft and 1.375 in in the hub.

What key length should I use?

As a rule of thumb, 1 to 1.5 times the shaft diameter, never longer than the hub. If the torque capacity is not enough, use a longer key or two keys at 180°.

Which key does a sprocket need?

The one for the shaft diameter. In the sprocket calculator, the drawing generator adds the DIN 6885 keyway automatically from the bore.