What Drill Bit
Your answer

Allen key size chart (free printable PDF)

A #10 socket head cap screw takes a 5/32" Allen key, and an M6 takes a 5 mm key. The chart covers cap screws from #0 to 1-1/2" and M2 to M36, each with its hex key.

Screw type

Your hex key

As an Amazon Associate, What Drill Bit earns from qualifying purchases.

Allen keys for socket head cap screws

Download PDF

Allen key size chart

Socket head cap screws, inch · ASME B18.3
ScrewAllen keyKey in mm
#0.050"1.27 mm
#11/16"1.59 mm
#25/64"1.98 mm
#35/64"1.98 mm
#43/32"2.38 mm
#53/32"2.38 mm
#67/64"2.78 mm
#89/64"3.57 mm
#105/32"3.97 mm
1/4"3/16"4.76 mm
5/16"1/4"6.35 mm
3/8"5/16"7.94 mm
7/16"3/8"9.53 mm
1/2"3/8"9.53 mm
5/8"1/2"12.70 mm
3/4"5/8"15.88 mm
7/8"3/4"19.05 mm
1"3/4"19.05 mm
1-1/4"7/8"22.23 mm
1-1/2"1"25.40 mm
Socket head cap screws, metric · ISO 4762
ScrewAllen keyKey in inches
M21.5 mm.059"
M2.52 mm.079"
M32.5 mm.098"
M43 mm.118"
M54 mm.157"
M65 mm.197"
M86 mm.236"
M108 mm.315"
M1210 mm.394"
M1614 mm.551"
M2017 mm.669"
M2419 mm.748"
M3022 mm.866"
M3627 mm1.063"

The key size is the socket in the screw’s head, so a coarse and a fine thread of the same size (1/4-20 and 1/4-28) take the same key. Button head and set screws take smaller keys: see button head and set screws.

whatdrillbit.com

Same size, different key

The key depends on the head as well as the screw size. A 1/4" socket head cap screw takes a 3/16" key, a 1/4" button head a 5/32" key, and a 1/4" set screw a 1/8" key. The same goes for metric: an M6 cap screw takes 5 mm and an M6 button head 4 mm.

Three screws side by side: a socket head cap screw with a tall round head, a button head screw with a low domed head, and a headless set screw, each with a hex socket in its top.
Left to right: a socket head cap screw, a button head screw and a set screw. Each takes its key in the hex socket in its top.

Inch and metric hex keys side by side

Inch hex keys → mm and the nearest metric key
Inch keymmNearest metricDifference
.050"1.271.27 mm0.00 mm
1/16"1.591.5 mm−0.09 mm
5/64"1.982 mm+0.02 mm
3/32"2.382.5 mm+0.12 mm
7/64"2.783 mm+0.22 mm
1/8"3.183 mm−0.18 mm
9/64"3.573.5 mm−0.07 mm
5/32"3.974 mm+0.03 mm
3/16"4.765 mm+0.24 mm
7/32"5.565.5 mm−0.06 mm
1/4"6.356 mm−0.35 mm
5/16"7.948 mm+0.06 mm
3/8"9.5310 mm+0.48 mm
7/16"11.1112 mm+0.89 mm
1/2"12.7012 mm−0.70 mm
9/16"14.2914 mm−0.29 mm
5/8"15.8817 mm+1.13 mm
3/4"19.0519 mm−0.05 mm
Metric hex keys → inches and the nearest inch key
Metric keyInchesNearest inchDifference
1.27 mm.050".050"0.00 mm
1.5 mm.059"1/16"+0.09 mm
2 mm.079"5/64"−0.02 mm
2.5 mm.098"3/32"−0.12 mm
3 mm.118"1/8"+0.18 mm
3.5 mm.138"9/64"+0.07 mm
4 mm.157"5/32"−0.03 mm
4.5 mm.177"3/16"+0.26 mm
5 mm.197"3/16"−0.24 mm
5.5 mm.217"7/32"+0.06 mm
6 mm.236"1/4"+0.35 mm
7 mm.276"1/4"−0.65 mm
8 mm.315"5/16"−0.06 mm
9 mm.354"3/8"+0.53 mm
10 mm.394"3/8"−0.48 mm
12 mm.472"1/2"+0.70 mm
14 mm.551"9/16"+0.29 mm
17 mm.669"5/8"−1.13 mm
19 mm.748"3/4"+0.05 mm

Difference is how much bigger (+) or smaller the nearest key is, in millimetres. Only .050" and 1.27 mm are the same size. A key that’s a little small turns in the socket and can round it out, so use the key in the screw’s own system.

Button head and set screws

Button head and set screws, inch · ASME B18.3
ScrewButton head keySet screw key
#2.050".035"
#3–.050"
#41/16".050"
#55/64"1/16"
#65/64"1/16"
#83/32"5/64"
#101/8"3/32"
1/4"5/32"1/8"
5/16"3/16"5/32"
3/8"7/32"3/16"
7/16"–7/32"
1/2"5/16"1/4"
5/8"3/8"5/16"
3/4"–3/8"
7/8"–1/2"
1"–9/16"
Button head screws, metric · ISO 7380
ScrewButton head key
M32 mm
M42.5 mm
M53 mm
M64 mm
M85 mm
M106 mm
M128 mm

A dash means the maker’s sheet doesn’t list that size.

Common questions

What size Allen key for an M8 bolt?

An M8 socket head cap screw takes a 6 mm hex key. An M8 button head screw takes a smaller 5 mm key.

What size Allen wrench fits a 1/4-20 socket head cap screw?

A 3/16" hex key. The fine-thread 1/4-28 has the same head and takes the same key.

Is a 5 mm Allen key the same as 3/16?

No. A 3/16" key is 4.76 mm across, 0.24 mm smaller than a 5 mm key. An M6 cap screw takes the 5 mm key.

Do 7/16" and 1/2" cap screws take the same key?

Yes. Both take a 3/8" hex key, and so do 3/8" button head and set screws. A 7/8" and a 1" cap screw also share one key, 3/4".

Where we get our information from

The keys for each screw are the hex socket sizes on Holo-Krome’s product standards for its socket head cap screws (ASME B18.3 and ISO 4762), button head screws (ASME B18.3 and ISO 7380) and cup point set screws. The metric cap screw sizes from M2 to M12 match Table 1 of ISO 4762 itself. The inch and metric key sizes in the side-by-side tables are the ones in Bondhus’s catalog. Millimetres, inches and the nearest key are worked out from those (1 inch = 25.4 mm). Checked against published data from Holo-Krome, ISO 4762:2004 and Bondhus.

See all 7 sources
  • Holo-Krome, Product Standard HK.SHCS.ALLOY.BO: socket cap screws, alloy (ASME B18.3)
  • Holo-Krome, Product Standard HK.M.SHCS.4762.12.9.BO: metric socket head cap screw, ISO 4762
  • Holo-Krome, Product Standard HK.BHSCS.ALLOY.BO: button head socket cap screws (ASME B18.3)
  • Holo-Krome, metric button head socket cap screws, class 12.9 (ASME B18.3.4M and ISO 7380)
  • Holo-Krome, Product Standard HK.SSS.CP.BO: socket set screw, cup point (ASME B18.3)
  • ISO 4762:2004, Hexagon socket head cap screws, Table 1 (preview copy, iTeh Standards)
  • Bondhus, 2026 Bondhus and BETZ catalog, p. 98 Torque & Interchangeability (hex and Torx sizes)

Key sizes are for standard socket head cap, button head and set screws. Special and low-head screws can take other keys. If a key feels loose, try the next size before you turn it hard.