HeavyPartsDesk

Guides / Process

Keyway Sizes by Shaft Diameter: ISO 773, DIN 6885 and ASME B17.1

Slotting tool cutting a keyway in the bore of a flanged hub clamped to a machine table
Photo: Sandrerro, CC BY-SA 3.0, via Wikimedia Commons (cropped)

A keyway is sized from the shaft diameter: a standard table gives the key width, the key height and the depth of the slot in the shaft and in the hub. Which table applies depends on the series the machine was built to. In our reading, metric machines follow DIN 6885-1 or the older ISO recommendation 773, and inch machines follow ASME B17.1; we found no survey of which is used. This post is part of our guide to worn shaft repair or replacement. It gives short extracts of the tables, says which editions are current, shows how to cite a keyway in an RFQ and lists the misreadings that lead to a remade shaft with the wrong slot.

This page is general guidance for the buyer, not a quote for any part, and it names no shop. The standards here are references, not claims about any shop or any certificate we hold. Your quote states which certificates and test reports come with the parts. We did not read the full text of any of these standards, and the extracts below come from reproductions with the edition stated. For a new drawing, buy the current edition. For a repair, the keyway on the old part comes first.

Chart: key width by shaft diameter range in the 1968 edition of DIN 6885-1, rising in steps from 2 mm at 6 to 8 mm shafts to 100 mm at 440 to 500 mm shafts

Which standard you are looking at

Standard Issued by Edition we checked Status on the catalogue page What it gives
ISO/R 773 ISO, listed by SIS (Sweden) 1969 Withdrawn, no replacement named on the page Rectangular and square parallel keys and keyways, dimensions in millimetres
DIN 6885-1 DIN (Germany) 1968-08 Withdrawn, replaced by 2021-06 Parallel keys and keyways, deep pattern: dimensions, tolerances, mass
DIN 6885-1 DIN 2021-11 Current, 17 pages The same subject, corrected edition of 2021-06
ASME B17.1 ASME (United States) 1967 (S2023) Under stabilized maintenance Parallel and taper keys and keyseats in inches, one key per joint

Sources: SIS, DIN Media and ASME catalogue pages. ISO’s own catalogue page would not open for us, so ISO/R 773’s status rests on the SIS listing. Our parts page still names ISO 773 as a metric reference for keyways, while SIS lists it as withdrawn, so cite the edition actually used.

ASME says B17.1 sets a uniform relationship between shaft size and key size, and covers the size, type and tolerances of keys and keyseats. It leaves key strength out of scope and lists shaft diameters only to identify key sizes. So none of these tables tells you whether a key is strong enough, only which size is the usual one.

Metric sizes in DIN 6885-1, 1968 edition

The table is an extract from the 1968 edition as reproduced by a fastener catalogue. Ranges read over the lower figure up to and including the upper one. Depths are in millimetres: t1 is the slot depth in the shaft and t2 is the slot depth in the hub.

Shaft diameter, mm Key width x height, mm Shaft depth t1 Hub depth t2
10 to 12 4 x 4 2.5 1.8
17 to 22 6 x 6 3.5 2.8
22 to 30 8 x 7 4 3.3
30 to 38 10 x 8 5 3.3
38 to 44 12 x 8 5 3.3
50 to 58 16 x 10 6 4.3
65 to 75 20 x 12 7.5 4.9
85 to 95 25 x 14 9 5.4
110 to 130 32 x 18 11 7.4
170 to 200 45 x 25 15 10.4

Source: fasten.it reproduction of DIN 6885-1:1968-08, which marks the standard withdrawn. We did not read the 2021 edition, so confirm any value against it before you cite it. The full table runs from 6 mm to 500 mm shafts and keys up to 100 x 50 mm.

We spot-checked the key widths, key heights and depths for shafts of 24 to 35 mm against a hardware maker’s current catalogue and found them the same. That is a small check, not a proof that the 2021 edition left every row unchanged.

A sanity check of our own: in this table t1 plus t2 is larger than the key height by 0.2 to 0.5 mm in every row, which leaves a small gap above the key. For a 16 x 10 key, 6 plus 4.3 is 10.3. If the two depths you hold add up to less than the key height, one of them is probably the wrong depth.

Inch sizes in ASME B17.1

The extract is from a chain maker’s catalogue reproducing ANSI B17.1-1967. Square parallel keys, shaft ranges in inches and the nominal keyseat depth in the shaft, which is half the key height.

Shaft diameter, in Square key, in Keyseat depth in shaft, in
5/16 to 7/16 3/32 3/64
7/16 to 9/16 1/8 1/16
9/16 to 7/8 3/16 3/32
7/8 to 1-1/4 1/4 1/8
1-1/4 to 1-3/8 5/16 5/32
1-3/8 to 1-3/4 3/8 3/16
1-3/4 to 2-1/4 1/2 1/4

Source: Tsubaki general catalogue, page 351, ANSI B17.1-1967 as reproduced. We read the rows from the catalogue’s flattened text, so confirm them against ASME B17.1 before use.

The same catalogue lists a side fit for square keys up to 3/4 in wide that runs from 0.002 in of clearance to 0.001 in of interference.

Fits on the keyway width

Size is only half of it. A hardware catalogue sheet for DIN 6885-2, which says parts 1 and 2 differ mainly in the radial position of the key, gives three width fits.

Fit Hub keyway Shaft keyway
Tight P9 P9
Loose JS9 N9
Sliding D10 H9

Source: Elesa-Ganter catalogue sheet, edition 11/2024. The same sheet says the slot width is typically P9, with exceptions on the standard sheet. We found no numeric deviations on it; take them from an ISO 286 table, which we did not read.

Need this part quoted? Send an RFQ for your part

How to cite a keyway in an RFQ or on a drawing

Give the standard, the edition and the numbers, so a shop does not have to guess which table you meant. Two lines to adapt:

Keyway in shaft, diameter [value] mm: width [value] mm, depth [value] mm (t1) from the shaft surface, to DIN 6885-1 edition [year], width tolerance [class]. Key [width] x [height] mm.

Keyseat in [value] in shaft: [value] in wide, [value] in deep, square parallel key, to ASME B17.1-1967.

If the machine is old, say so and send the key and the hub keyway too. Position along the shaft and angle to other features are not in these tables; keyways, splines and tapers on a remade drive shaft covers them.

Common misreadings

  • Quoting ISO 773 as if it were current. Some old drawings do, and so does our parts page, but SIS lists the recommendation as withdrawn. Cite the edition you actually used.
  • Swapping the two depths. The shaft depth t1 and the hub depth t2 are different numbers, and tables use different symbols for them. The sum check above catches a swap.
  • Converting inch to metric. A 1-1/2 in shaft is 38.1 mm, and its 3/8 in key is 9.525 mm. DIN has no 9.525 mm key; the nearby rows are 8, 10 and 12 mm wide.
  • Reading a range as a single size. A 38 mm shaft takes 10 x 8; a 38.1 mm shaft takes 12 x 8.
  • Mixing deep and low pattern. Part 1 is the deep pattern and part 2 the low one, with a different key height.
  • Leaving the width fit unstated. P9, JS9 and D10 give very different joints.

A key that fits but sits in a sharp-ended slot can start a fatigue crack; why a replacement shaft fails early shows where.

What to write in your spec

  • The standard and edition, or the word “to match the sample”.
  • Shaft diameter at the keyway, measured on an unworn part.
  • Key width and height, and the key length.
  • Depth in the shaft and which datum it is measured from.
  • Width tolerance class or fit, for the shaft and for the hub.
  • Corner radii in the slot and the form of the slot ends.
  • Position from the shoulder and the angle to other features.
  • Whether the key is supplied with the shaft.

Send it

If you hold the old shaft and its key, send both. Send the details with photographs of the keyway and the numbers you have. We reply within 24 business hours with one detailed quote, and the work goes to partner shops. For the wider decision, see our guide to worn shaft repair or replace.

Sources

Frequently asked questions

What key size goes on a 50 mm shaft?

In the 1968 edition of DIN 6885-1, shafts over 44 mm up to 50 mm take a 14 x 9 mm key and shafts over 50 mm up to 58 mm take 16 x 10 mm, so a 50 mm shaft is 14 x 9. That edition is withdrawn, so check the current edition and, above all, the keyway on the machine you are repairing.

Is ISO 773 still a current standard?

The Swedish standards institute lists ISO/R 773:1969 as withdrawn, and the page we read names no replacement. DIN 6885-1 has a current edition dated 2021-11. Some old drawings may still quote ISO 773, so match the keyway on the part and state the edition you are working to.

Can I convert an inch keyway to the nearest metric key?

No. A 1-1/2 in shaft takes a 3/8 in square key (9.525 mm) in ASME B17.1, a width that has no row in DIN 6885-1, where the widths run 8, 10 and 12 mm nearby. Measure the keyway and the key, and keep the series the machine was built to.

What fit should the keyway width have?

It depends on the joint. One hardware catalogue lists P9 in hub and shaft for a tight fit, JS9 in the hub and N9 in the shaft for a loose fit, and D10 in the hub and H9 in the shaft for a sliding fit. The drawing has to state which, because a width alone does not say.

Need this part quoted?

Send photos of the old one or a drawing. One detailed quote for the finished part, reply within 24 business hours.

Send an RFQ for your part

Keep reading

Send an RFQ