Standard Keyway Sizes (ANSI B17.1)
The table below shows standard key and keyway dimensions for common shaft diameters per ANSI B17.1. All dimensions in inches.
| Shaft Dia. Range | Key Width | Key Height | Shaft Depth | Hub Depth |
|---|
How Keyway Sizing Works
Key size is standardized based on the shaft diameter. The key width equals approximately one-quarter of the shaft diameter for most sizes. The key sits half in the shaft and half in the hub, with slight differences in depth to ensure proper seating and clearance.
Key Fit Classes
ANSI B17.1 defines three fit classes for keys and keyways:
- Class 1 (Tight Fit): Used when the key must not move. Interference fit between key and keyway. Common in high-torque applications.
- Class 2 (Normal Fit): The most common fit. Allows easy assembly with minimal play. Suitable for most power transmission applications.
- Class 3 (Loose Fit): Used when the key must slide axially. Common in adjustable mechanisms and light-duty applications.
Pro tip: For keyways in hardened shafts, wire EDM produces the cleanest slot with no burrs and excellent dimensional accuracy. For soft materials, CNC end milling is faster and more cost-effective.