Keyway size chart

Look up metric parallel key section b × h, shaft and hub keyway depths t1 and t2, depth tolerances, and width fit deviations by shaft diameter.

Shaft lookupSI (mm)
Range: 6 to 500 mm (TCVN 2261-77).
Key bar width is always h9.
Keyway dimensions>38–44 mm
Key section b × hwidth × height
12 × 8 mm
Shaft keyway depth t1tol +0 / +0.2 mm
5 (+0.2) mm
Hub keyway depth t2top clearance c = t1 + t2 − h
3.3 (+0.2) mm
Shaft width toleranceN9
0 / −0.043 mm
Hub width toleranceJs9
+0.021 / −0.021 mm
Top clearancec = t1 + t2 − h
0.3 mm

Key bar width b is manufactured to h9. Shaft and hub depths carry plus-only tolerances.

Parallel key dimensions by shaft diameter (TCVN 2261-77)

All 26 standard sections from T1 Table 9.1a (matching DIN 6885-A). The active lookup row is highlighted.

Shaft d (mm)Width bHeight hShaft t1Hub t2Depth tol
6–8221.21+0.1
>8–10331.81.4+0.1
>10–12442.51.8+0.1
>12–175532.3+0.1
>17–22663.52.8+0.1
>22–308743.3*+0.2
>30–3810853.3+0.2
>38–4412853.3+0.2
>44–501495.53.8+0.2
>50–58161064.3+0.2
>58–65181174.4+0.2
>65–7520127.54.9+0.2
>75–85221495.4+0.2
>85–95251495.4+0.2
>95–1102816106.4+0.2
>110–1303218117.4+0.2
>130–1503620128.4+0.3
>150–1704022139.4+0.3
>170–20045251510.4+0.3
>200–23050281711.4+0.3
>230–26056322012.4+0.3
>260–29063322012.4+0.3
>290–33070362214.4+0.3
>330–38080402515.4+0.3
>380–44090452817.4+0.3
>440–500100503119.5+0.3

* For 8 × 7 (shaft >22–30 mm), T1 Table 9.1a prints t2 = 2.8 mm; corrected to 3.3 mm per LOC-BT Appendix 13.1 for 0.3 mm top clearance.

Keyway width limit deviations (T2 Table 20-6)

Limit deviations in millimetres (upper / lower) for key widths b = 2 to 50 mm across loose, normal, and tight fits.

Width b (mm)H9 (loose shaft)D10 (loose hub)N9 (normal shaft)Js9 (normal hub)P9 (tight)
2–3+0.025 / 0 mm+0.060 / +0.020 mm−0.004 / −0.029 mm+0.012 / −0.012 mm−0.006 / −0.031 mm
4–6+0.030 / 0 mm+0.078 / +0.030 mm0 / −0.030 mm+0.015 / −0.015 mm−0.012 / −0.042 mm
8–10+0.036 / 0 mm+0.098 / +0.040 mm0 / −0.036 mm+0.018 / −0.018 mm−0.015 / −0.051 mm
12–18+0.043 / 0 mm+0.120 / +0.050 mm0 / −0.043 mm+0.021 / −0.021 mm−0.018 / −0.061 mm
20–28+0.052 / 0 mm+0.149 / +0.065 mm0 / −0.052 mm+0.026 / −0.026 mm−0.022 / −0.074 mm
32–50+0.062 / 0 mm+0.180 / +0.080 mm0 / −0.062 mm+0.031 / −0.031 mm−0.026 / −0.088 mm

Standard parallel key lengths (mm)

Preferred lengths lt from T1 Table 9.1a. Pick a standard length inside (0.8–0.9) × hub length lm.

6810121416182022252832364045505663708090100110125140160180200220250280320360400450500

How it works

Section b × h, t1, t2: looked up by shaft diameter d (6 to 500 mm)
Top clearance: c = t1 + t2 − h (positive clearance above the key)
Key width tolerance: b h9 (shaft/hub keyway: H9/D10 loose, N9/Js9 normal, P9/P9 tight)
Depth tolerance: t1 +Δ, t2 +Δ (Δ = +0.1 mm for h ≤ 6, +0.2 for 6 < h ≤ 18, +0.3 for h > 18)

Parallel keys transmit torque between a shaft and a hub (gear, pulley, sprocket, or coupling) through side-face bearing rather than top-face wedging. Every section b × h is standardized by shaft diameter range d in TCVN 2261-77 (matching DIN 6885-A / ISO 773).

For the 8 × 7 key (shafts over 22 to 30 mm), T1 Table 9.1a prints t2 = 2.8 mm, which would leave t1 + t2 = 6.8 mm < h = 7 mm. The lookup uses the corrected hub depth t2 = 3.3 mm (LOC-BT Appendix 13.1), restoring the standard 0.3 mm top clearance while noting the printed figure.

Choose the width fit from the duty: loose (H9 / D10) for sliding hubs, normal (N9 / Js9) for fixed hubs with easy assembly, and tight (P9 / P9) for reversing or shock torque. Standard key lengths run from 6 mm to 500 mm.

Worked example

Fixed gear hub on a 40 mm shaft with a normal fit (N9 on the shaft, Js9 in the hub).

Shaft diameter d
40 mm (range > 38 to 44 mm)
Fit class
Normal (N9 / Js9)
Key section b × h
12 × 8 mm
Shaft depth t1 / Hub depth t2
5 / 3.3 mm (+0.2 mm)
Shaft keyway width (N9)
0 / −0.043 mm
Hub keyway width (Js9)
+0.021 / −0.021 mm

Questions

How are shaft keyway depth t1 and hub keyway depth t2 measured?

Both t1 and t2 are measured radially from the nominal shaft/bore diameter at the centreline of the keyway. That lets a machinist verify the shaft depth directly from the outer diameter (d − t1) and the hub depth across the bore (d + t2).

Which parallel key fit should I pick for a gearbox shaft?

Use normal fit (shaft N9, hub Js9) for most fixed gears and pulleys where disassembly is expected. Switch to tight fit (P9 / P9) under reversing or shock loads, and loose fit (H9 / D10) only for sliding hubs.

How long should the key be relative to the hub?

Standard practice selects a preferred key length lt between 0.8 and 0.9 times the hub length lm, then checks crushing stress σd and shear stress τc against the hub material limits.

Related calculators