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
Allen key size chart
| Screw | Allen key | Key in mm |
|---|---|---|
| #0 | .050" | 1.27 mm |
| #1 | 1/16" | 1.59 mm |
| #2 | 5/64" | 1.98 mm |
| #3 | 5/64" | 1.98 mm |
| #4 | 3/32" | 2.38 mm |
| #5 | 3/32" | 2.38 mm |
| #6 | 7/64" | 2.78 mm |
| #8 | 9/64" | 3.57 mm |
| #10 | 5/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 |
| Screw | Allen key | Key in inches |
|---|---|---|
| M2 | 1.5 mm | .059" |
| M2.5 | 2 mm | .079" |
| M3 | 2.5 mm | .098" |
| M4 | 3 mm | .118" |
| M5 | 4 mm | .157" |
| M6 | 5 mm | .197" |
| M8 | 6 mm | .236" |
| M10 | 8 mm | .315" |
| M12 | 10 mm | .394" |
| M16 | 14 mm | .551" |
| M20 | 17 mm | .669" |
| M24 | 19 mm | .748" |
| M30 | 22 mm | .866" |
| M36 | 27 mm | 1.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.

Inch and metric hex keys side by side
| Inch key | mm | Nearest metric | Difference |
|---|---|---|---|
| .050" | 1.27 | 1.27 mm | 0.00 mm |
| 1/16" | 1.59 | 1.5 mm | −0.09 mm |
| 5/64" | 1.98 | 2 mm | +0.02 mm |
| 3/32" | 2.38 | 2.5 mm | +0.12 mm |
| 7/64" | 2.78 | 3 mm | +0.22 mm |
| 1/8" | 3.18 | 3 mm | −0.18 mm |
| 9/64" | 3.57 | 3.5 mm | −0.07 mm |
| 5/32" | 3.97 | 4 mm | +0.03 mm |
| 3/16" | 4.76 | 5 mm | +0.24 mm |
| 7/32" | 5.56 | 5.5 mm | −0.06 mm |
| 1/4" | 6.35 | 6 mm | −0.35 mm |
| 5/16" | 7.94 | 8 mm | +0.06 mm |
| 3/8" | 9.53 | 10 mm | +0.48 mm |
| 7/16" | 11.11 | 12 mm | +0.89 mm |
| 1/2" | 12.70 | 12 mm | −0.70 mm |
| 9/16" | 14.29 | 14 mm | −0.29 mm |
| 5/8" | 15.88 | 17 mm | +1.13 mm |
| 3/4" | 19.05 | 19 mm | −0.05 mm |
| Metric key | Inches | Nearest inch | Difference |
|---|---|---|---|
| 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
| Screw | Button head key | Set screw key |
|---|---|---|
| #2 | .050" | .035" |
| #3 | – | .050" |
| #4 | 1/16" | .050" |
| #5 | 5/64" | 1/16" |
| #6 | 5/64" | 1/16" |
| #8 | 3/32" | 5/64" |
| #10 | 1/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" |
| Screw | Button head key |
|---|---|
| M3 | 2 mm |
| M4 | 2.5 mm |
| M5 | 3 mm |
| M6 | 4 mm |
| M8 | 5 mm |
| M10 | 6 mm |
| M12 | 8 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.