★ CONSTRUCTION · TOOLS · REFERENCE

Allen Key Size Chart: What Size Key for Each Bolt?

An M8 bolt takes a 6 mm Allen key, which is 0.24 in across the flats. The Allen key size is the size of the hex socket inside the bolt head, not the bolt diameter: an M8 bolt has a 6 mm socket. Enter any metric bolt size to find its key, or enter a key size to find the bolt it fits.

771

Allen key size — metric bolt to hex key lookup

The Allen key that fits a bolt is the size of the hex socket inside the bolt head, not the bolt itself. A metric bolt is named by its shank diameter: an M8 bolt has an 8 mm shank. The hex socket in the head is smaller, and the key fits that socket: an M8 socket head cap screw has a 6 mm socket, so it takes a 6 mm Allen key. This chart lists the ISO 4762 / DIN 912 hex socket sizes for metric socket head cap screws from M4 to M16, in millimetres and in inches, and it works backwards too: enter a key size to find the bolt it fits.

The metric bolt size, as the M number on the bolt head. The chart covers M3, M4, M5, M6, M8, M10, M12, M14, M16, M20 and M24. The default is M8.

An Allen key size in millimetres, to work out which bolt it fits. The chart covers 2.5, 3, 4, 5, 6, 8, 10, 12, 14, 17 and 19 mm. The default is 6 mm, which fits an M8 bolt.

Allen key for your bolt6 mm Allen key (0.24 in)An M8 bolt takes a 6 mm Allen key, which is 0.24 in across the flats. That is row 4 of the chart. A 6-mm key fits an M8 bolt (0.24 in).

Bolt: M8

Allen key: 6 mm

Key in inches: 0.24 in

Chart row: Row 4 of 7

M4: M4 → 3 mm (0.12 in)

M5: M5 → 4 mm (0.16 in)

M6: M6 → 5 mm (0.20 in)

M10: M10 → 8 mm (0.31 in)

M12: M12 → 10 mm (0.39 in)

M16: M16 → 14 mm (0.55 in)

M14: M14 → 12 mm (0.47 in)

M3: M3 → 2.5 mm (0.10 in)

M20: M20 → 17 mm (0.67 in)

Reverse, 6-mm key: A 6-mm key fits an M8 bolt (0.24 in).

Reverse, 10-mm key: A 10-mm key fits an M12 bolt (0.39 in).

An M8 bolt takes a 6 mm Allen key. That is 0.24 in across the flats, which is row 4 of the chart. A 6-mm key fits an M8 bolt (0.24 in).

M4 → 3 mm Allen key (0.12 in).

M5 → 4 mm Allen key (0.16 in).

M6 → 5 mm Allen key (0.20 in).

M10 → 8 mm Allen key (0.31 in).

M12 → 10 mm Allen key (0.39 in).

M16 → 14 mm Allen key (0.55 in).

M14 → 12 mm Allen key (0.47 in).

M3 → 2.5 mm Allen key (0.10 in).

M20 → 17 mm Allen key (0.67 in).

Reverse: A 6-mm key fits an M8 bolt (0.24 in). A 10-mm key fits an M12 bolt (0.39 in). A 5-mm key fits an M6 bolt (0.20 in). A 3-mm key fits an M4 bolt (0.12 in).

How the Allen key size chart works

A metric bolt is named by its shank diameter: an M8 bolt has an 8 mm shank. The Allen key does not fit the shank; it fits the hex socket inside the bolt head, and the socket is smaller than the shank. The Allen key size is the distance across the flats of that hex socket, measured from one flat side to the opposite flat side. For an M8 socket head cap screw the socket is 6 mm across the flats, so the key is 6 mm. The inch figures are the millimetres divided by 25.4, rounded to 2 decimals: 6 ÷ 25.4 = 0.24 in.

At the default — M8 — the key is 6 mm, which is 6 ÷ 25.4 = 0.24 in across the flats. That is row 4 of the chart. The reverse lookup works the other way: a 6-mm key fits an M8 bolt, which is 6 ÷ 25.4 = 0.24 in.

BoltAllen key (mm)Allen key (in)
M43 mm0.12 in
M54 mm0.16 in
M65 mm0.20 in
M86 mm0.24 in
M108 mm0.31 in
M1210 mm0.39 in
M1614 mm0.55 in

The worked example, line by line

Setup: M8 bolt; reverse key 6 mm.

Line 1 — the bolt socket. An M8 bolt has an 8 mm shank and a 6 mm hex socket in its head, measured across the flats.

Line 2 — the key in millimetres. The key matches the socket, so it is 6 mm.

Line 3 — the key in inches. 6 ÷ 25.4 = 0.24 in.

Line 4 — the chart row. M8 is row 4 of the 7-row chart.

Line 5 — the reverse lookup. A 6-mm key fits an M8 bolt, which is 6 ÷ 25.4 = 0.24 in.

Line 6 — the second reverse. A 10-mm key fits an M12 bolt, which is 10 ÷ 25.4 = 0.39 in.

Every branch, checked

M4: the key is 3 mm, which is 3 ÷ 25.4 = 0.12 in. The smallest bolt in the main chart takes the smallest key.

M5: the key is 4 mm, which is 4 ÷ 25.4 = 0.16 in. A 4-mm key is the one most bike tool kits reach for first, and it fits the M5 bolt.

M6: the key is 5 mm, which is 5 ÷ 25.4 = 0.20 in. Check the head before you buy: an M6 button-head screw takes a 4 mm key instead.

M10: the key is 8 mm, which is 8 ÷ 25.4 = 0.31 in. At this size the key is a long-arm key more often than not, because the bolt is tight.

M12: the key is 10 mm, which is 10 ÷ 25.4 = 0.39 in. A 10-mm key is the one that fits the M12 bolt, and it is also the key that turns most engine covers.

M16: the key is 14 mm, which is 14 ÷ 25.4 = 0.55 in. The largest bolt in the main chart takes the largest key in it.

M3: the key is 2.5 mm, which is 2.5 ÷ 25.4 = 0.10 in. The smallest key in the full ISO list, for the smallest socket head cap screw.

M14: the key is 12 mm, which is 12 ÷ 25.4 = 0.47 in. The M14 sits between the M12 and the M16: its 12 mm socket is 2 mm wider than the M12 socket and 2 mm narrower than the M16 socket.

M20: the key is 17 mm, which is 17 ÷ 25.4 = 0.67 in. The largest key in the full ISO list, for heavy machinery bolts.

Reverse — the 6-mm key: a 6-mm key fits an M8 bolt, a 10-mm key fits an M12 bolt, a 5-mm key fits an M6 bolt, and a 3-mm key fits an M4 bolt. Work backwards from the key you already own when the bolt head is out of reach.

What the defaults assume

The chart is the ISO 4762 / DIN 912 hex socket standard: the key size is the distance across the flats of the hex socket in the bolt head, and the inch figures are the millimetres divided by 25.4, rounded to 2 decimals. It assumes a standard ISO socket head cap screw. Button-head and flat-head screws take a smaller key than cap screws of the same size — an M6 button-head screw takes a 4 mm key, not the 5 mm in the chart — so check the head before buying. Some older DIN and JIS fasteners differ by 1 mm, so test-fit before torquing. It is explicitly NOT a torque chart: the torque for a bolt depends on the grade, the thread and the lubrication, not on the key size. It is explicitly NOT an SAE-size chart: inch bolts use inch keys, and a 0.24 in key is not a 1/4 in key. Rounding convention: inches are rounded to 2 decimals, and all figures are computed from the millimetre sizes, rounded only for display.

Output · formula · meaning

OutputFormulaWhat it means
Allen key (mm)ISO 4762 socket lookup6 mm for an M8 bolt.
Allen key (in)mm ÷ 25.40.24 in for an M8 bolt.
M4same chartM4 → 3 mm (0.12 in).
M5same chartM5 → 4 mm (0.16 in).
M6same chartM6 → 5 mm (0.20 in).
M10same chartM10 → 8 mm (0.31 in).
M12same chartM12 → 10 mm (0.39 in).
M16same chartM16 → 14 mm (0.55 in).
M14same chartM14 → 12 mm (0.47 in).
M3same chartM3 → 2.5 mm (0.10 in).
M20same chartM20 → 17 mm (0.67 in).
Reverse: 6-mm keykey → bolt lookupA 6-mm key fits an M8 bolt (0.24 in).
Reverse: 10-mm keykey → bolt lookupA 10-mm key fits an M12 bolt (0.39 in).
Reverse: 5-mm keykey → bolt lookupA 5-mm key fits an M6 bolt (0.20 in).
Reverse: 3-mm keykey → bolt lookupA 3-mm key fits an M4 bolt (0.12 in).

Who uses this

  • The home mechanic changing a brake caliper: they learn the M8 caliper bolts take a 6 mm Allen key — so they buy the 6 mm before they jack the car up, not after.
  • The DIYer assembling flat-pack furniture: they learn the M6 bolts in the kit take a 5 mm Allen key — so they grab the one key, not the whole set.
  • The cyclist adjusting a seat post: they learn the M5 clamp bolts take a 4 mm Allen key — so they know the 4 mm is the one that lives in the saddle bag.
  • The hobbyist sorting a mixed bolt bin: they learn a 10-mm key fits an M12 bolt — so they sort the bin by key, not by shank, and the chart does the work.

Accuracy & limitations

The chart is exact for the ISO 4762 / DIN 912 standard: the key sizes are the ISO hex socket sizes, and the inch figures are the millimetres divided by 25.4, rounded to 2 decimals. What the chart cannot do is measure your bolt for you: button-head and flat-head screws take a smaller key than cap screws of the same size, so check the bolt head before buying — an M6 button-head screw takes a 4 mm key, not the 5 mm in the chart. Some older DIN and JIS fasteners differ by 1 mm, so test-fit before torquing. It does not cover Torx heads, Phillips heads, or hex-head bolts, which use sockets or screwdrivers, not Allen keys. It is not a torque chart and not an SAE chart: a 0.24 in key is not a 1/4 in key, and the torque for a bolt depends on the grade and the thread, not on the key. For the socket for the same bolt heads, see socket size chart; for the bolt itself, see bolt size chart; for the wrench, see wrench size chart.

Cite this reference tableBright Side Kit. “Allen Key Size Chart: What Size Key for Each Bolt?” brightoolbox.com, 2026. Method: ISO 4762 / DIN 912 socket head cap screw hex socket standard; key mm is the hex socket size for the bolt; key in = mm ÷ 25.4, rounded to 2 decimals. Rows: M4 → 3 mm (0.12 in); M5 → 4 mm (0.16 in); M6 → 5 mm (0.20 in); M8 → 6 mm (0.24 in); M10 → 8 mm (0.31 in); M12 → 10 mm (0.39 in); M16 → 14 mm (0.55 in). Full ISO list: M3 → 2.5 mm (0.10 in); M14 → 12 mm (0.47 in); M20 → 17 mm (0.67 in); M24 → 19 mm (0.75 in). Reverse: 6-mm key → M8 bolt; 10-mm key → M12 bolt; 5-mm key → M6 bolt; 3-mm key → M4 bolt. Note: button-head and flat-head screws take a smaller key than cap screws of the same size (M6 button head → 4 mm); some older DIN and JIS fasteners differ by 1 mm — test-fit before torquing. This is not a torque chart and not an SAE/imperial chart.Bright Side Kit. "Allen Key Size Chart: What Size Key for Each Bolt?" https://brightoolbox.com/allen-key-size-chart/ Accessed October 24, 2026.
Embed this reference table

Paste this into any web page to embed the live reference table. The “Powered by Bright Side Kit” link below it must stay intact.

Frequently asked questions

What size Allen key for an M8 bolt?

6 mm, which is 0.24 in. An M8 socket head cap screw has a 6 mm hex socket, so it takes a 6 mm Allen key. That is row 4 of the chart.

What size Allen key for an M6 bolt?

5 mm, which is 0.20 in. An M6 socket head cap screw has a 5 mm hex socket. Check the head before you buy: an M6 button-head screw takes a 4 mm key instead.

What size Allen key for an M10 bolt?

8 mm, which is 0.31 in. An M10 socket head cap screw has an 8 mm hex socket, so it takes an 8 mm Allen key. That is row 5 of the chart.

What size Allen key for an M4 bolt?

3 mm, which is 0.12 in. An M4 socket head cap screw has a 3 mm hex socket, so it takes a 3 mm Allen key. That is the smallest key in the main chart.

I have a 5-mm key — what bolt does it fit?

An M6 bolt. A 5-mm key fits an M6 bolt, which is 0.20 in across the flats. A 10-mm key fits an M12 bolt.

Are Allen key sizes the same as socket sizes?

No. An Allen key fits the hex socket inside the bolt head, and a socket fits the hex head outside it: an M8 bolt takes a 6 mm Allen key but a 13 mm socket. The two charts measure different parts of the bolt.

Why does my M6 button-head screw take a smaller key?

Button-head and flat-head screws use smaller sockets than cap screws. An M6 button-head screw takes a 4 mm key, not the 5 mm in the chart, because the low head leaves no room for a full-size socket. Check the head before you buy, and test-fit before torquing.

Is this an SAE or imperial chart?

No, this is a metric chart. The sizes here are ISO 4762 metric hex sockets, in millimetres. SAE hex keys are fractional inches, and a 0.24 in key is not a 1/4 in key, so an imperial key will not fit a metric socket properly.