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.

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

  1. Enter the shaft diameter in either inches (ANSI) or millimeters (DIN/metric).
  2. Select the applicable standard: ANSI B17.1 or DIN 6885.
  3. The tool matches your diameter to the nearest standard range in the lookup table.
  4. Keyway width, shaft keyseat depth, hub keyseat depth, and fit tolerances are displayed instantly.
  5. 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