Parallel Key and Keyway Sizes (DIN 6885, ANSI B17.1)
The key size follows from the shaft diameter. A 25 mm shaft (range over 22 up to 30 mm) takes an 8 × 7 mm key in a 4 mm deep shaft keyway and a 3.3 mm deep hub keyway (DIN 6885-1). In inch sizes, a 1 in shaft takes a 1/4 in square key.
Size chartTap a size for its drawing and full specs
| Key b × h | dShaft diameter (over – up to)mminmm · in | bWidthmminmm · in | hHeightmminmm · in | t1Shaft keyway depthmminmm · in | t2Hub keyway depthmminmm · in |
|---|---|---|---|---|---|
| Metric: DIN 6885-1 form A / ISO 773 | |||||
| 2 × 2 | 6–80.236–0.315 | 20.079 | 20.079 | 1.20.047 | 10.039 |
| 3 × 3 | 8–100.315–0.394 | 30.118 | 30.118 | 1.80.071 | 1.40.055 |
| 4 × 4 | 10–120.394–0.472 | 40.157 | 40.157 | 2.50.098 | 1.80.071 |
| 5 × 5 | 12–170.472–0.669 | 50.197 | 50.197 | 30.118 | 2.30.091 |
| 6 × 6 | 17–220.669–0.866 | 60.236 | 60.236 | 3.50.138 | 2.80.110 |
| 8 × 7 | 22–300.866–1.181 | 80.315 | 70.276 | 40.157 | 3.30.130 |
| 10 × 8 | 30–381.181–1.496 | 100.394 | 80.315 | 50.197 | 3.30.130 |
| 12 × 8 | 38–441.496–1.732 | 120.472 | 80.315 | 50.197 | 3.30.130 |
| 14 × 9 | 44–501.732–1.969 | 140.551 | 90.354 | 5.50.217 | 3.80.150 |
| 16 × 10 | 50–581.969–2.283 | 160.630 | 100.394 | 60.236 | 4.30.169 |
| 18 × 11 | 58–652.283–2.559 | 180.709 | 110.433 | 70.276 | 4.40.173 |
| 20 × 12 | 65–752.559–2.953 | 200.787 | 120.472 | 7.50.295 | 4.90.193 |
| 22 × 14 | 75–852.953–3.346 | 220.866 | 140.551 | 90.354 | 5.40.213 |
| 25 × 14 | 85–953.346–3.740 | 250.984 | 140.551 | 90.354 | 5.40.213 |
| 28 × 16 | 95–1103.740–4.331 | 281.102 | 160.630 | 100.394 | 6.40.252 |
| 32 × 18 | 110–1304.331–5.118 | 321.260 | 180.709 | 110.433 | 7.40.291 |
| Inch: ANSI B17.1 square keys | |||||
| 3/32" square | 7.94–11.110.313–0.438 | 2.383/32 | 2.383/32 | 1.193/64 | 1.193/64 |
| 1/8" square | 11.11–14.290.438–0.563 | 3.181/8 | 3.181/8 | 1.591/16 | 1.591/16 |
| 3/16" square | 14.29–22.230.563–0.875 | 4.763/16 | 4.763/16 | 2.383/32 | 2.383/32 |
| 1/4" square | 22.23–31.750.875–1.250 | 6.351/4 | 6.351/4 | 3.181/8 | 3.181/8 |
| 5/16" square | 31.75–34.931.250–1.375 | 7.945/16 | 7.945/16 | 3.975/32 | 3.975/32 |
| 3/8" square | 34.93–44.451.375–1.750 | 9.533/8 | 9.533/8 | 4.763/16 | 4.763/16 |
| 1/2" square | 44.45–57.151.750–2.250 | 12.71/2 | 12.71/2 | 6.351/4 | 6.351/4 |
| 5/8" square | 57.15–69.852.250–2.750 | 15.885/8 | 15.885/8 | 7.945/16 | 7.945/16 |
| 3/4" square | 69.85–82.552.750–3.250 | 19.053/4 | 19.053/4 | 9.533/8 | 9.533/8 |
| 7/8" square | 82.55–95.253.250–3.750 | 22.237/8 | 22.237/8 | 11.117/16 | 11.117/16 |
| 1" square | 95.25–114.33.750–4.500 | 25.41 | 25.41 | 12.71/2 | 12.71/2 |
| 1-1/4" square | 114.3–139.74.500–5.500 | 31.751 1/4 | 31.751 1/4 | 15.885/8 | 15.885/8 |
| 1-1/2" square | 139.7–165.15.500–6.500 | 38.11 1/2 | 38.11 1/2 | 19.053/4 | 19.053/4 |
No exact match. The nearest sizes:
How to read the chart
Find your shaft diameter in the first column: the range is over the first value up to and including the second. b × h is the key width and height, t1 the depth of the keyway in the shaft and t2 the depth in the hub, both measured from the shaft surface at the keyway edge. On a drawing you usually dimension d − t1 for the shaft and d + t2 for the hub.
Keyway width tolerances set the fit: P9 in shaft and hub for a tight (press) fit, N9 shaft / JS9 hub for a normal fit, H9 / D10 for a sliding hub. The key itself is h9 in width.
Lengths come from a preferred series (6, 8, 10, 12, 14, 16, 18, 20, 22, 25, 28, 32, 36, 40, 45, 50, 56, 63, 70, 80, 90, 100 … mm); which lengths are stocked for each key size varies by supplier. Form A has two round ends, form B two square ends.
About Parallel Keys
A parallel key transmits torque between a shaft and a hub (a gear, pulley or coupling) by shear across the key and bearing pressure on the keyway walls. DIN 6885-1 (the deep pattern used for almost all machine building) and ISO R773 give the same key sizes per shaft range.
The chart is a recommendation: for a given shaft you can use a smaller key if the torque allows, but never a larger one, because the shaft keyway weakens the shaft. For very high torque, use two keys at 120° or a spline instead.
Inch square keys (ANSI B17.1) are sized by shaft diameter too, with the keyseat cut to half the key height in shaft and hub. The inch rows show that nominal depth. Rectangular (flat) inch keys and Woodruff keys have their own tables.
Questions
What key size for a 20 mm shaft?
6 × 6 mm (shafts over 17 up to 22 mm), shaft keyway 3.5 mm deep, hub keyway 2.8 mm (DIN 6885-1).
What key size for a 1 inch shaft?
1/4 in square key (shafts over 7/8 up to 1-1/4 in) per ANSI B17.1, with a 1/8 in deep keyseat in shaft and hub.
What size key for a 30 mm shaft?
8 × 7 mm. 30 mm is the upper end of the 22–30 mm range. Above 30 mm the key is 10 × 8 mm.
How deep is the keyway for a 10 × 8 key?
5 mm in the shaft and 3.3 mm in the hub.
Sources
- DIN 6885-1:2021, Parallel keys, keyways, deep pattern: dimensions, tolerances, mass
- ANSI B17.1: Keys and keyseats (square and flat parallel keys)
- fasten.it: DIN 6885-1 dimension table
- Böllhoff: DIN 6885 steel parallel keys data sheet
- Gantner: DIN 6885 parallel keys
Values last checked against these sources on November 15, 2026. · How we check data
Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.