Home » Keyway & Key Size Chart — DIN & ANSI

Keyway & Key Size Chart — DIN & ANSI

Keyway and key size lookup

Search by shaft diameter, then filter metric or inch rows. The chart returns the key width and height, the shaft keyseat depth, and the hub keyway depth. It also shows the standard family and the boundary rule so you can see why a row applies.

MECHANITEC / ENGINEERING REFERENCE

Keyway and Key Size Chart — DIN and ANSI

A bounded shaft-diameter lookup for parallel-key width, height, shaft keyseat depth, and hub keyway depth, with DIN metric and ANSI inch families kept separate.

1–9 of 9 matching rows (9 total)

Keyway and Key Size Chart — DIN and ANSI — page 1 of 1
System Standard family Shaft diameter range Shaft minimum (mm) Shaft maximum (mm) Shaft minimum (in) Shaft maximum (in) Key width (mm) Key height (mm) Key width (in) Key height (in) Shaft keyseat depth (mm) Hub keyway depth (mm) Shaft keyseat depth (in) Hub keyway depth (in) Width tolerance/class Corner treatment Preferred key lengths Governing standard Source/cross-check Value status
metric DIN_6885_1 6 ≤ d ≤ 8 mm 6 8 0.2362 0.315 2 2 0.0787 0.0787 1.2 1 0.0472 0.0394 DIN 6885-1 normal fit; confirm P9/JS9 choice Use the current DIN drawing for end and corner details 6, 8, 10, 12, 14, 16, 18, 20 mm DIN 6885-1:2021-11 DIN Media record; J.W. Winco table Bounded transcription; verify licensed row before production.
metric DIN_6885_1 8 < d ≤ 10 mm 8 10 0.315 0.3937 3 3 0.1181 0.1181 1.8 1.4 0.0709 0.0551 DIN 6885-1 normal fit; confirm P9/JS9 choice Use the current DIN drawing for end and corner details 10, 12, 14, 16, 18, 20, 22, 25 mm DIN 6885-1:2021-11 DIN Media record; J.W. Winco table Bounded transcription; verify licensed row before production.
metric DIN_6885_1 10 < d ≤ 12 mm 10 12 0.3937 0.4724 4 4 0.1575 0.1575 2.5 1.8 0.0984 0.0709 DIN 6885-1 normal fit; confirm P9/JS9 choice Use the current DIN drawing for end and corner details 12, 14, 16, 18, 20, 22, 25, 28, 32 mm DIN 6885-1:2021-11 DIN Media record; J.W. Winco table Bounded transcription; verify licensed row before production.
metric DIN_6885_1 17 < d ≤ 22 mm 17 22 0.6693 0.8661 6 6 0.2362 0.2362 3.5 2.8 0.1378 0.1102 DIN 6885-1 normal fit; confirm P9/JS9 choice Use the current DIN drawing for end and corner details 20, 22, 25, 28, 32, 36, 40, 45 mm DIN 6885-1:2021-11 DIN Media record; J.W. Winco table Bounded transcription; verify licensed row before production.
metric DIN_6885_1 22 < d ≤ 30 mm 22 30 0.8661 1.1811 8 7 0.315 0.2756 4 3.3 0.1575 0.1299 DIN 6885-1 normal fit; confirm P9/JS9 choice Use the current DIN drawing for end and corner details 25, 28, 32, 36, 40, 45, 50, 56 mm DIN 6885-1:2021-11 DIN Media record; J.W. Winco table Bounded transcription; verify licensed row before production.
metric DIN_6885_1 38 < d ≤ 44 mm 38 44 1.4961 1.7323 12 8 0.4724 0.315 5 3.3 0.1969 0.1299 DIN 6885-1 normal fit; confirm P9/JS9 choice Use the current DIN drawing for end and corner details 45, 50, 56, 63, 70, 80, 90 mm DIN 6885-1:2021-11 DIN Media record; J.W. Winco table Bounded transcription; verify licensed row before production.
inch ANSI_B17_1 1/2 ≤ d ≤ 9/16 in 12.7 14.288 0.5 0.5625 3.175 3.175 0.125 0.125 1.588 1.588 0.0625 0.0625 ANSI B17.1 single-key reference; verify class and stock tolerance Verify key-end and keyseat radius from the drawing 1/2, 3/4, 1, 1-1/4 in ASME B17.1-1967 (S2023) ANSI/ASME record; Lowell cross-check Selected inch reference row; verify licensed table before production.
inch ANSI_B17_1 15/16 ≤ d ≤ 1-1/4 in 23.813 31.75 0.9375 1.25 6.35 6.35 0.25 0.25 3.175 3.175 0.125 0.125 ANSI B17.1 single-key reference; verify class and stock tolerance Verify key-end and keyseat radius from the drawing 1, 1-1/4, 1-1/2, 2 in ASME B17.1-1967 (S2023) ANSI/ASME record; Lowell cross-check Selected inch reference row; verify licensed table before production.
inch ANSI_B17_1 1-13/16 ≤ d ≤ 2-1/4 in 46.038 57.15 1.8125 2.25 12.7 12.7 0.5 0.5 6.35 6.35 0.25 0.25 ANSI B17.1 single-key reference; verify class and stock tolerance Verify key-end and keyseat radius from the drawing 2, 2-1/2, 3, 4 in ASME B17.1-1967 (S2023) ANSI/ASME record; Lowell cross-check Selected inch reference row; verify licensed table before production.

Search and sort apply to all 9 rows. Print and CSV include only the 9 rows shown on this page.

Metric rows are scoped to DIN 6885-1 high-form parallel keys. Inch rows are scoped to ANSI/ASME B17.1. These families are kept separate because their shaft ranges, key proportions, tolerances, and dimensioning conventions are different.

How to select a key from shaft diameter

  1. Measure or read the finished shaft diameter at the key location.
  2. Identify the unit system and standard family on the drawing.
  3. Find the row whose shaft-diameter range contains the value.
  4. Use the listed key width and height for the shaft and hub.
  5. Use the shaft and hub depth columns independently when modeling or machining the keyways.
  6. Confirm width tolerance, side fit, key length, corner treatment, and torque capacity before release.

Read the range boundary carefully

For the selected DIN rows, the first band includes its lower and upper boundary. Later bands use an exclusive lower boundary and an inclusive upper boundary. In practical terms, a shaft exactly 8 mm belongs to the 6 ≤ d ≤ 8 mm row; a shaft exactly 10 mm belongs to the 8 < d ≤ 10 mm row. A value just over 8 mm does not use the first row.

This rule matters when a shaft lies at a standard step. Do not round a measured diameter into a neighboring band. If the shaft is close to a boundary, use the actual measurement, the applicable tolerance, and the licensed standard row.

Shaft keyseat depth versus hub keyway depth

The shaft keyseat is the groove cut into the shaft. The hub keyway is the groove cut into the bore. They do not necessarily have the same depth. A key is shared between the two grooves, so using the shaft depth for the hub or the hub depth for the shaft can change the key’s engagement and the finished radial position.

For the 8 × 7 mm DIN row, the bounded reference gives a 4.0 mm shaft keyseat depth and a 3.3 mm hub keyway depth. For the 1/4 × 1/4 in ANSI row, the selected reference gives 1/8 in for both depths. Those examples do not establish a rule that every key is half in each part.

Metric DIN and inch ANSI families

DIN 6885-1 uses metric shaft bands and rectangular keys such as 8 × 7 mm. ANSI/ASME B17.1 uses inch shaft bands and square or rectangular key sizes such as 1/4 × 1/4 in. Do not convert a metric shaft into inches and then select an ANSI row unless the drawing explicitly calls for that standard.

Keyway width tolerance and side fit also affect assembly. A normal fit, close fit, or interference condition can use different keyway-width classes. The chart keeps the width-class note visible but does not replace the tolerance table in the standard.

CAD and manufacturing interpretation

Model the shaft groove and hub groove as separate features. Apply the shaft keyseat depth from the shaft datum and the hub keyway depth from the bore datum. Check the radial stack with the actual key height, any top clearance, and the specified side fit.

Key length is a separate design choice. Select a standard stock length that fits the hub and meets the calculated shear and bearing requirements. A key size chart does not prove that a joint can transmit the required torque. Check shaft diameter, hub material, key material, load reversals, fretting, and the number of keys.

Common mistakes

  • Using the hub keyway depth as the shaft keyseat depth.
  • Selecting a key from the nearest metric row when the drawing requires ANSI B17.1.
  • Ignoring the exact range boundary and choosing the wrong key step.
  • Assuming key height equals either groove depth for every standard.
  • Choosing key length from shaft diameter without checking hub length and torque.
  • Treating a standard key size as a complete shaft-strength calculation.

For the related fastener and shaft-hardware envelope, use the bolt and wrench size chart. For rotating power-transmission topics, the future sprocket and bushing charts should be kept aligned with the same shaft and key standard rather than mixed into this lookup.

Sources and limits

The metric scope follows DIN 6885-1:2021-11. The inch scope follows ASME B17.1-1967 (S2023). The bounded rows are cross-checked against the J.W. Winco DIN table and the Lowell ANSI reference. Licensed standard tables and the production drawing control final dimensioning.

Frequently asked questions

What key fits a 25 mm shaft?

In the bounded DIN 6885-1 reference, 25 mm is in the 22 < d ≤ 30 mm band, which uses an 8 × 7 mm key, a 4.0 mm shaft keyseat, and a 3.3 mm hub keyway.

Are shaft and hub keyway depths the same?

Not necessarily. Read the two depth columns separately. DIN rows often use different shaft and hub depths; an ANSI square-key example can show equal nominal depths.

What happens at exactly 8 mm?

In this bounded DIN range model, exactly 8 mm belongs to the 6 ≤ d ≤ 8 mm row. The next row starts above 8 mm and ends at 10 mm. Confirm the exact licensed table before machining.