Hex Key (Allen Key) Size Chart
Which hex key fits which socket screw. The key depends on the head type as well as the thread: an M6 socket head cap screw takes 5 mm, an M6 button or countersunk head 4 mm, an M6 set screw 3 mm. Inch screws follow the same pattern: 1/4″ cap screw → 3/16″ key.
Size chartSort by any column, or filter to find a row
| Key | sKey size (across flats)mminmm · in | Socket head cap screw | Button head | Countersunk (flat) head | Set screw (grub screw) |
|---|---|---|---|---|---|
| Metric keys (ISO 2936) | |||||
| 0.7 mm | 0.70.028 | — | — | — | M1.6 |
| 0.9 mm | 0.90.035 | — | — | — | M2 |
| 1.3 mm | 1.30.051 | — | — | — | M2.5 |
| 1.5 mm | 1.50.059 | M1.6, M2 | — | — | M3 |
| 2 mm | 20.079 | M2.5 | M3 | M3 | M4 |
| 2.5 mm | 2.50.098 | M3 | M4 | M4 | M5 |
| 3 mm | 30.118 | M4 | M5 | M5 | M6 |
| 4 mm | 40.157 | M5 | M6 | M6 | M8 |
| 5 mm | 50.197 | M6 | M8 | M8 | M10 |
| 6 mm | 60.236 | M8 | M10 | M10 | M12 |
| 8 mm | 80.315 | M10 | M12 | M12 | M16 |
| 10 mm | 100.394 | M12 | M16 | M14, M16 | M20 |
| 12 mm | 120.472 | M14 | — | M20 | M24 |
| 14 mm | 140.551 | M16, (M18) | — | — | — |
| 17 mm | 170.669 | M20, (M22) | — | — | — |
| 19 mm | 190.748 | M24, (M27) | — | — | — |
| 22 mm | 220.866 | M30 | — | — | — |
| 24 mm | 240.945 | (M33) | — | — | — |
| 27 mm | 271.063 | M36 | — | — | — |
| Inch keys (ASME B18.3) | |||||
| .028″ | 0.710.028 | — | — | — | #0 |
| .035″ | 0.890.035 | — | — | — | #1, #2 |
| .050″ | 1.270.050 | #0 | — | — | #3, #4 |
| 1/16″ | 1.591/16 | #1 | — | — | #5, #6 |
| 5/64″ | 1.985/64 | #2, #3 | #6 | #6 | #8 |
| 3/32″ | 2.383/32 | #4, #5 | #8 | #8 | #10 |
| 7/64″ | 2.787/64 | #6 | — | — | — |
| 1/8″ | 3.181/8 | — | #10 | #10 | 1/4″ |
| 9/64″ | 3.579/64 | #8 | — | — | — |
| 5/32″ | 3.975/32 | #10 | 1/4″ | 1/4″ | 5/16″ |
| 3/16″ | 4.763/16 | 1/4″ | 5/16″ | 5/16″ | 3/8″ |
| 7/32″ | 5.567/32 | — | 3/8″ | 3/8″ | 7/16″ |
| 1/4″ | 6.351/4 | 5/16″ | — | — | 1/2″ |
| 5/16″ | 7.945/16 | 3/8″ | 1/2″ | 1/2″ | 5/8″ |
| 3/8″ | 9.533/8 | 7/16″, 1/2″ | 5/8″ | 5/8″ | 3/4″ |
| 1/2″ | 12.71/2 | 5/8″ | — | — | — |
| 5/8″ | 15.885/8 | 3/4″ | — | — | — |
| 3/4″ | 19.053/4 | 7/8″, 1″ | — | — | — |
No exact match. The nearest sizes:
How to read the chart and pick the right key
Find the key size in the first column; the other columns list the thread sizes it drives in each head type. Metric columns refer to ISO 4762 socket head cap screws (DIN 912 sizes in brackets), ISO 7380 button heads, ISO 10642 countersunk heads and ISO 4026–4029 set screws. Inch columns refer to the ASME B18.3 equivalents; #-sizes are machine screw numbers.
Hex keys are measured across the flats of the hex. Metric keys are made in whole and half millimetre sizes (plus 0.7, 0.9 and 1.3 mm for tiny set screws); inch keys in fractions and, below 1/16″, in thousandths (0.028″, 0.035″, 0.050″).
A key that fits well goes in fully without force and does not rock. If it rattles, try the next size up, and check whether it might be the other measuring system.
About Hex Key (Allen) Sizes
The socket size s is part of each screw standard, so every ISO 4762 M8 cap screw takes the same 6 mm key regardless of maker or strength class. Low-profile heads cannot hold a socket as deep or as wide, so button heads (ISO 7380), countersunk heads (ISO 10642) and set screws use progressively smaller keys for the same thread.
Metric and inch keys almost never interchange. Even the closest pairs (2 mm and 5/64″ = 1.98 mm, 4 mm and 5/32″ = 3.97 mm, 8 mm and 5/16″ = 7.94 mm) differ by a few hundredths of a millimetre; the smaller key rocks in the socket and the larger one may not enter. Common mistakes are 1/8″ (3.18 mm) in a 3 mm socket and 3/16″ (4.76 mm) in a 5 mm socket: both feel almost right and then strip the socket under torque.
Ball-end keys reach screws at up to about 25° off-axis but transmit less torque; use the short straight end for final tightening and for breaking loose. Keys for 12.9 screws should be of good steel and fit well. A worn key is the usual cause of a rounded socket.
Questions
What size Allen key for an M6 bolt?
5 mm for an M6 socket head cap screw (ISO 4762 / DIN 912), 4 mm for an M6 button head or countersunk screw, 3 mm for an M6 set screw.
What Allen key fits an M8 socket head screw?
6 mm. M8 button head and countersunk screws take 5 mm, M8 set screws 4 mm.
What size hex key for a 1/4-20 socket head cap screw?
3/16″. A 1/4″ button head or flat head screw takes 5/32″, a 1/4″ set screw 1/8″.
Can I use a 5/32″ key instead of 4 mm?
In an emergency, on a lightly tightened screw: 5/32″ is 3.97 mm, 0.03 mm smaller than 4 mm. It will feel slightly loose and can round the socket at full torque.
What key size for an M3 screw?
2.5 mm for an M3 socket head cap screw, 2 mm for an M3 button head or countersunk screw, 1.5 mm for an M3 set screw.
What size Allen key for a #10 socket head screw?
5/32″ for a #10 socket head cap screw, 1/8″ for #10 button and flat heads, 3/32″ for a #10 set screw.
Sources
- ISO 2936:2014, Assembly tools for screws and nuts, hexagon socket screw keys
- ISO 4762, ISO 7380-1, ISO 10642, ISO 4026–4029: Hexagon socket screws (socket sizes s)
- ASME B18.3: Socket cap, shoulder, set screws and hex keys (inch series)
Values last checked against these sources on November 15, 2026. · How we check data
Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.