
Allen wrench size chart
Choose the type of screw head and its size to get the hex key that fits, its size in the other unit and whether a key from the other system can stand in.
Nothing you type leaves your browser. Your entries are kept on this device only, so they are still there next time.
The key depends on the head, not only the thread
An M6 socket head cap screw takes a 5 mm key, but an M6 button head takes 4 mm and an M6 set screw only 3 mm. Button heads are low and set screws have no head at all, so their sockets are smaller than those of cap screws of the same thread. That is why the type comes first in the calculator. Low-head and flat countersunk socket screws have their own tables again; when in doubt, try the key from the table, then one size smaller.
Metric keys
Metric socket head cap screws follow ISO 4762, the successor of DIN 912: M3 takes 2.5 mm, M4 3 mm, M5 4 mm, M6 5 mm, M8 6 mm and M10 8 mm. Button heads follow ISO 7380 and set screws ISO 4026. Metric key sets usually run from 1.5 to 10 mm, with 0.7, 0.9 and 1.3 mm keys sold separately for small set screws in electronics and model making.
Inch keys
Inch socket screws follow ASME B18.3. A 1/4 in socket head cap screw takes 3/16 in, a #10 takes 5/32 in and a 3/8 in screw 5/16 in. Small sizes use keys given as decimals, 0.028, 0.035 and 0.050 in, because they have no common fraction. Inch set screws use their own key sizes too, but we could not check them against a published table, so they are not in this chart; use the maker's table.
Never mix inch and metric keys
Several inch and metric keys are within a few hundredths of a millimeter: 5/32 in is 3.97 mm and 4 mm is 4.00 mm; 3/16 in is 4.76 mm against 5 mm. A near miss still turns the screw, but it touches only the corners of the socket, and under torque it rounds them. The calculator shows the nearest key from the other system and how close it is; when it says to avoid it, the key will slip. A worn key with rounded corners does the same damage: replace it.
Using a hex key well
Clean the socket and push the key fully in before turning. Use the long arm for reach and speed and the short arm for torque. Ball-end keys allow an angle of about 25 degrees but carry less torque; finish with the straight end. For final tightening, especially in aluminum or small screws, a hex bit in a torque screwdriver or wrench is safer than a long L-key. The maker's data for the fastener, tool or machine comes first. For torque values, see the bolt torque chart; for the thread of the screw itself, the metric thread chart and the screw size chart.
Socket head cap screws
| Screw | Key | Equals |
|---|---|---|
| 1 | 3/4 in | 19.05 mm |
| M1.6 | 1.5 mm | 0.059 in |
| M2 | 1.5 mm | 0.059 in |
| M2.5 | 2 mm | 0.079 in |
| M3 | 2.5 mm | 0.098 in |
| M4 | 3 mm | 0.118 in |
| M5 | 4 mm | 0.157 in |
| M6 | 5 mm | 0.197 in |
| M8 | 6 mm | 0.236 in |
| M10 | 8 mm | 0.315 in |
| M12 | 10 mm | 0.394 in |
| M14 | 12 mm | 0.472 in |
| M16 | 14 mm | 0.551 in |
| M20 | 17 mm | 0.669 in |
| M24 | 19 mm | 0.748 in |
| M30 | 22 mm | 0.866 in |
| M36 | 27 mm | 1.063 in |
| #0 | 0.050 in | 1.27 mm |
| #1 | 1/16 in | 1.59 mm |
| #2 | 5/64 in | 1.98 mm |
| #3 | 5/64 in | 1.98 mm |
| #4 | 3/32 in | 2.38 mm |
| #5 | 3/32 in | 2.38 mm |
| #6 | 7/64 in | 2.78 mm |
| #8 | 9/64 in | 3.57 mm |
| #10 | 5/32 in | 3.97 mm |
| 1/4 | 3/16 in | 4.76 mm |
| 5/16 | 1/4 in | 6.35 mm |
| 3/8 | 5/16 in | 7.94 mm |
| 7/16 | 3/8 in | 9.52 mm |
| 1/2 | 3/8 in | 9.52 mm |
| 5/8 | 1/2 in | 12.70 mm |
| 3/4 | 5/8 in | 15.88 mm |
| 7/8 | 3/4 in | 19.05 mm |
| 1-1/4 | 7/8 in | 22.23 mm |
| 1-1/2 | 1 in | 25.40 mm |
Button heads and set screws
| Button head | Key | Equals |
|---|---|---|
| M3 | 2 mm | 0.079 in |
| M4 | 2.5 mm | 0.098 in |
| M5 | 3 mm | 0.118 in |
| M6 | 4 mm | 0.157 in |
| M8 | 5 mm | 0.197 in |
| M10 | 6 mm | 0.236 in |
| M12 | 8 mm | 0.315 in |
| M16 | 10 mm | 0.394 in |
| #0 | 0.035 in | 0.89 mm |
| #1 | 0.050 in | 1.27 mm |
| #2 | 0.050 in | 1.27 mm |
| #3 | 1/16 in | 1.59 mm |
| #4 | 1/16 in | 1.59 mm |
| #5 | 5/64 in | 1.98 mm |
| #6 | 5/64 in | 1.98 mm |
| #8 | 3/32 in | 2.38 mm |
| #10 | 1/8 in | 3.18 mm |
| 1/4 | 5/32 in | 3.97 mm |
| 5/16 | 3/16 in | 4.76 mm |
| 3/8 | 7/32 in | 5.56 mm |
| 1/2 | 5/16 in | 7.94 mm |
| 5/8 | 3/8 in | 9.52 mm |
| Set screw | Key | Equals |
|---|---|---|
| M1.6 | 0.7 mm | 0.028 in |
| M2 | 0.9 mm | 0.035 in |
| M2.5 | 1.3 mm | 0.051 in |
| M3 | 1.5 mm | 0.059 in |
| M4 | 2 mm | 0.079 in |
| M5 | 2.5 mm | 0.098 in |
| M6 | 3 mm | 0.118 in |
| M8 | 4 mm | 0.157 in |
| M10 | 5 mm | 0.197 in |
| M12 | 6 mm | 0.236 in |
| M16 | 8 mm | 0.315 in |
| M20 | 10 mm | 0.394 in |
| M24 | 12 mm | 0.472 in |
Questions
What size Allen key for an M6 bolt?
5 mm for a socket head cap screw, 4 mm for a button head, 3 mm for a set screw.
What size Allen key for an M8 socket cap screw?
6 mm.
What size Allen wrench for a 1/4 inch socket head cap screw?
3/16 in.
Can I use a 5/32 key instead of 4 mm?
It is only 0.03 mm smaller and often works, but the exact key is safer for a tight screw.
Other charts and calculators
Sources
- Fasten.it: ISO 4762 socket head cap screws (checked 2026-12-06)
- Fasten.it: ISO 7380-1 button head screws (checked 2026-12-06)
- Fasten.it: ISO 4026 set screws, flat point (checked 2026-12-06)
- Fasten.it: ASME B18.3 table 3, button head cap screws, inch (checked 2026-12-06)
- Socket head cap screw dimensions, inch (ASME B18.3) (checked 2026-12-06)
- AmesWeb: hex key sizes chart (checked 2026-12-06)
Figures checked on 2026-12-04. Page updated 2026-12-04.














