Allen key (hex key) size chart
By Asif Saleem · Checked against the standards
Quick answer
A hex key (Allen key) is sized across its flats: SAE keys from 0.028 to 3/4 in, metric from 0.7 to 19 mm. Socket head cap screws take a key about three-quarters of their thread size: 3/16 in for 1/4-20, 5 mm for M6, 6 mm for M8. Button heads and set screws take smaller keys.
Key facts
- Socket head cap screw keys: 1/4-20 takes 3/16 in, M6 takes 5 mm, M8 takes 6 mm.
- Button heads and set screws take smaller keys than cap screws of the same thread.
- 5/32 in and 4 mm keys are only 0.03 mm apart.
- Allen is a brand name; hex key is the general term.
Source: ASME B18.3, ISO 2936 and ISO 4762
On this page
We've all been there: flat-pack furniture half built, a bag of hex keys spread across the floor, and none of them quite fits. Here's how hex key sizes work, and how to find the right one without trying all twenty.
SAE hex key sizes
| SAE key | mm | Nearest metric | Difference | Cap screw |
|---|---|---|---|---|
| .028 in | 0.71 | 0.7 mm | -0.01 mm | - |
| .035 in | 0.89 | 0.9 mm | 0.01 mm | - |
| .050 in | 1.27 | 1.3 mm | 0.03 mm | - |
| 1/16 in | 1.59 | 1.5 mm | -0.09 mm | - |
| 5/64 in | 1.98 | 2 mm | 0.02 mm | - |
| 3/32 in | 2.38 | 2.5 mm | 0.12 mm | #4 |
| 7/64 in | 2.78 | 3 mm | 0.22 mm | #6 |
| 1/8 in | 3.17 | 3 mm | -0.17 mm | - |
| 9/64 in | 3.57 | 4 mm | 0.43 mm | #8 |
| 5/32 in | 3.97 | 4 mm | 0.03 mm | #10 |
| 3/16 in | 4.76 | 5 mm | 0.24 mm | 1/4 in |
| 7/32 in | 5.56 | 6 mm | 0.44 mm | - |
| 1/4 in | 6.35 | 6 mm | -0.35 mm | 5/16 in |
| 5/16 in | 7.94 | 8 mm | 0.06 mm | 3/8 in |
| 3/8 in | 9.52 | 10 mm | 0.48 mm | 7/16 in, 1/2 in |
| 7/16 in | 11.11 | 12 mm | 0.89 mm | 9/16 in |
| 1/2 in | 12.7 | 12 mm | -0.7 mm | 5/8 in |
| 9/16 in | 14.29 | 14 mm | -0.29 mm | - |
| 5/8 in | 15.88 | 17 mm | 1.12 mm | 3/4 in |
| 3/4 in | 19.05 | 19 mm | -0.05 mm | 7/8 in, 1 in |
Metric hex key sizes
| Metric key | Inches | Nearest SAE | Difference | Cap screw |
|---|---|---|---|---|
| 0.7 mm | 0.028 | .028 in | 0.01 mm | - |
| 0.9 mm | 0.035 | .035 in | -0.01 mm | - |
| 1.3 mm | 0.051 | .050 in | -0.03 mm | - |
| 1.5 mm | 0.059 | 1/16 in | 0.09 mm | - |
| 2 mm | 0.079 | 5/64 in | -0.02 mm | - |
| 2.5 mm | 0.098 | 3/32 in | -0.12 mm | M3 |
| 3 mm | 0.118 | 1/8 in | 0.17 mm | M4 |
| 4 mm | 0.158 | 5/32 in | -0.03 mm | M5 |
| 5 mm | 0.197 | 3/16 in | -0.24 mm | M6 |
| 6 mm | 0.236 | 1/4 in | 0.35 mm | M8 |
| 8 mm | 0.315 | 5/16 in | -0.06 mm | M10 |
| 10 mm | 0.394 | 3/8 in | -0.48 mm | M12 |
| 12 mm | 0.472 | 1/2 in | 0.7 mm | M14 |
| 14 mm | 0.551 | 9/16 in | 0.29 mm | M16 |
| 17 mm | 0.669 | 5/8 in | -1.12 mm | M20 |
| 19 mm | 0.748 | 3/4 in | 0.05 mm | M24 |

How to tell which key you need
The easiest way is to know the screw: socket head cap screws, button heads, flat heads and set screws of the same thread each take a different key. For cap screws, the key is roughly three-quarters of the thread diameter. For button and flat socket heads, it is one size smaller, and for set screws smaller again. A 1/4-20 thread takes 3/16 in as a cap screw, 5/32 in as a button or flat head, and 1/8 in as a set screw; an M8 thread takes 6, 5 and 4 mm. See the set screw page for set screw keys.
If you don't know the screw, start with a small key and work up. The right key slides all the way in with almost no wiggle. If you can feel it rock before it grips, try the next size up, and check you're not mixing metric and SAE, which is the most common reason a key "nearly" fits and then rounds the screw out.
Which metric and SAE hex keys are close in size?
A few pairs are near enough to work: 5/32 in and 4 mm differ by only 0.03 mm, and 3/16 in and 5 mm by 0.24 mm, which is loose. Most pairs are further apart. Because hex sockets are small and the key transmits all the torque through six thin corners, even 0.1 mm of play can round out the socket, especially in soft socket screws on furniture and bikes. Keep both sets and use the right one.
Worked example
A flat-pack bed frame comes with a 4 mm key for its M6 connector bolts, which are button or flat socket heads. The supplied key is soft and short; a good-quality 4 mm ball-end key or a 4 mm hex bit in a driver will save effort. Run the bolts in with the ball end, then do the final tightening by hand with the short end of an L-key, firm but not so hard that the threaded inserts strip.
Types of hex keys
- L-keys: the classic shape; the long arm gives reach, the short arm gives torque.
- Ball-end keys: turn at an angle for speed; finish with the straight end.
- T-handle keys: comfortable for many screws and good torque.
- Fold-out sets: compact, but awkward in tight spaces.
- Hex bits and sockets: for drivers and ratchets, and for torque wrenches.
How do you avoid rounding a hex socket?
Clean dirt and paint out of the socket before inserting the key, push the key in fully, and keep it straight while turning. Replace keys whose corners have rounded. If a socket does round out, tapping a Torx bit one size larger into it often grips enough to remove the screw. For very tight screws, a hex bit in a 1/4 in ratchet gives more control than an L-key. Torx heads resist rounding far better; see the Torx size chart.
Which keys you use most
In metric, 2.5, 3, 4, 5 and 6 mm keys do most of the work on bikes, furniture, 3D printers and machinery. In SAE, 1/8, 5/32, 3/16 and 1/4 in cover most socket head screws from #10 to 5/16 in. Very small keys, from 0.028 in to 1.5 mm, are for set screws in knobs, pulleys and electronics, and large keys from 10 mm or 3/8 in up are for heavy machinery and car drain plugs. A good set from 1.5 to 10 mm and 0.050 to 3/8 in covers nearly everything.
Hex keys with torque
Many bikes, furniture fittings and machine parts have torque specifications for socket screws, often quite low: bicycle stem bolts are commonly around 4 to 6 N·m. A hex bit in a small torque wrench or a preset torque driver avoids over-tightening, which can crush carbon parts or strip threaded inserts. The short arm of an L-key gives a lot of force for its size, so it is easy to go past the figure by hand.
Quality matters with hex keys
Cheap keys are often slightly undersized and made from soft steel, so their corners twist and round after a few hard turns, damaging the screws as well. Good keys are made from hardened alloy steel to tight tolerances and fit snugly. The short ones that come with furniture are fine for assembly, but for regular use a quality set pays for itself in screws that do not strip.
Label a holder for each set, metric and SAE, so keys go back in order. A missing key is easy to spot, and you will not grab a 3/16 in key for a 5 mm screw by mistake.
Frequently asked questions
What is the difference between an Allen key and a hex key?
- Nothing. Allen is a brand name that became the common name for L-shaped hex keys; hex key and hex wrench are the general terms.
Can I use a metric Allen key on an SAE screw?
- Only for the few pairs that match closely, such as 5/32 in and 4 mm (0.03 mm apart). Most others slip and round the socket, so use the right system.
What size hex key for a 1/4-20 socket head cap screw?
- A 3/16 in key. The same 1/4-20 thread in a button head takes 5/32 in, and as a set screw 1/8 in.
What size Allen key for an M6 bolt?
- A 5 mm key for an M6 socket head cap screw, 4 mm for an M6 button or flat head, and 3 mm for an M6 set screw.
Ball end or straight hex keys?
- Ball ends let you turn the screw at an angle of up to about 25°, which is fast for running screws in and out. Use the straight end for final tightening, since a ball end grips less and can break.
Last checked: by Asif Saleem