Keyway Size Calculator
Enter a shaft diameter to instantly look up the standard keyway width, keyseat depth, hub depth, and fit tolerances per ANSI B17.1 / DIN 6885.
Shaft Input
Quick examples
Enter a shaft diameter on the left to see standard keyway dimensions.
Key Size
Dimensions
Fit Tolerances (Normal Fit)
Cross-section reference
W = width, t1 = shaft keyseat depth, t2 = hub keyseat depth
Diameter out of range
Copied!
Summary
Enter a shaft diameter to instantly look up the standard keyway width, keyseat depth, hub depth, and fit tolerances per ANSI B17.1 / DIN 6885.
How it works
- Enter the shaft diameter in either inches (ANSI) or millimeters (DIN/metric).
- Select the applicable standard: ANSI B17.1 or DIN 6885.
- The tool matches your diameter to the nearest standard range in the lookup table.
- Keyway width, shaft keyseat depth, hub keyseat depth, and fit tolerances are displayed instantly.
- Copy any value to clipboard with one click for use in drawings or CNC programs.
Use cases
- Selecting keyway dimensions during mechanical shaft design.
- Verifying dimensions on a machinist or engineering drawing.
- Specifying key stock size when ordering hardware.
- Cross-checking ANSI vs. DIN equivalents on international projects.
- Teaching students standard shaft-key fitting principles.
- Quick field reference on a tablet or phone without paper charts.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu