Skip to content
Hardware Sizes
Menu

Allen key (hex key) size chart

By · 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
  1. SAE hex key sizes
  2. Metric hex key sizes
  3. How to tell which key you need
  4. Which metric and SAE hex keys are close in size?
  5. Types of hex keys
  6. How do you avoid rounding a hex socket?
  7. Which keys you use most
  8. Hex keys with torque
  9. Quality matters with hex keys
  10. Questions

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 hex key sizes with mm, nearest metric key and socket head cap screws they fit
SAE keymmNearest metricDifferenceCap screw
.028 in0.710.7 mm-0.01 mm-
.035 in0.890.9 mm0.01 mm-
.050 in1.271.3 mm0.03 mm-
1/16 in1.591.5 mm-0.09 mm-
5/64 in1.982 mm0.02 mm-
3/32 in2.382.5 mm0.12 mm#4
7/64 in2.783 mm0.22 mm#6
1/8 in3.173 mm-0.17 mm-
9/64 in3.574 mm0.43 mm#8
5/32 in3.974 mm0.03 mm#10
3/16 in4.765 mm0.24 mm1/4 in
7/32 in5.566 mm0.44 mm-
1/4 in6.356 mm-0.35 mm5/16 in
5/16 in7.948 mm0.06 mm3/8 in
3/8 in9.5210 mm0.48 mm7/16 in, 1/2 in
7/16 in11.1112 mm0.89 mm9/16 in
1/2 in12.712 mm-0.7 mm5/8 in
9/16 in14.2914 mm-0.29 mm-
5/8 in15.8817 mm1.12 mm3/4 in
3/4 in19.0519 mm-0.05 mm7/8 in, 1 in
ASME B18.3 key sizes and socket head cap screw keys.

Metric hex key sizes

Metric hex key sizes with inches, nearest SAE key and cap screws they fit
Metric keyInchesNearest SAEDifferenceCap screw
0.7 mm0.028.028 in0.01 mm-
0.9 mm0.035.035 in-0.01 mm-
1.3 mm0.051.050 in-0.03 mm-
1.5 mm0.0591/16 in0.09 mm-
2 mm0.0795/64 in-0.02 mm-
2.5 mm0.0983/32 in-0.12 mmM3
3 mm0.1181/8 in0.17 mmM4
4 mm0.1585/32 in-0.03 mmM5
5 mm0.1973/16 in-0.24 mmM6
6 mm0.2361/4 in0.35 mmM8
8 mm0.3155/16 in-0.06 mmM10
10 mm0.3943/8 in-0.48 mmM12
12 mm0.4721/2 in0.7 mmM14
14 mm0.5519/16 in0.29 mmM16
17 mm0.6695/8 in-1.12 mmM20
19 mm0.7483/4 in0.05 mmM24
ISO 2936 key sizes; ISO 4762 socket head cap screws.
A fold-out set of metric hex keys and an L-key set of SAE keys laid side by side, with a 4 mm key next to a 5/32 inch key
AI illustration

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