Metric bolt size chart: spanner and hex key sizes, M2 to M24

· Updated 10 November 2026 · 4 min read

Hex bolts from M3 to M24 standing in a row at their true sizes, with the M10 in yellow

This page answers the questions that come up with a bolt in your hand: which spanner or hex key fits it, and what size hole to drill for it. The ones people ask most: M6 takes a 10 mm spanner, M8 13 mm, M10 16 mm (17 mm if it’s made to DIN 933), M12 18 mm (19 mm for DIN), M16 24 mm, M20 30 mm and M24 36 mm. Pick a size for everything else about it. The full tables are below, all in millimetres, with a chart that goes from the spanner to the bolt, and the heads, nuts and washers too.

Spanner
13 mm
Hex key, socket head
6 mm
Hole for it to pass through
9 mm
Tap drill
6.8 mm

M8 × 1.25 is the standard thread; fine threads are M8 × 1.

The full chart

The pitch is the standard thread, the one you get when a bolt is just called M8 or M10. The clearance hole is the medium size from ISO 273, which suits most work, and the tap drill is the same as in our thread calculator.

SizePitchFine pitchSpannerHex keyClearance holeTap drill
M20.4None41.52.41.6
M2.50.45None522.92.05
M30.5None5.52.53.42.5
M40.7None734.53.3
M50.8None845.54.2
M61None1056.65
M81.25113696.8
M101.51.25, 116 or 17 (DIN)8118.5
M121.751.5, 1.2518 or 19 (DIN)1013.510.2
M1421.521 or 22 (DIN)1215.512
M1621.5241417.514
M182.52, 1.527142015.5
M202.52, 1.530172217.5
M222.52, 1.534 or 32 (DIN)172419.5
M243236192621

Which bolt fits my spanner?

The same chart the other way round, from the spanner or hex key in your hand to the bolt it fits. A nut takes the same spanner as its bolt. Where a spanner says ISO or DIN, it only fits bolts made to that standard, which the next section explains. To look one up with the spanner in your hand, use our spanner size finder.

SpannerBolt or nut
4M2
5M2.5
5.5M3
7M4
8M5
10M6
13M8
16M10 (ISO)
17M10 (DIN)
18M12 (ISO)
19M12 (DIN)
21M14 (ISO)
22M14 (DIN)
24M16
27M18
30M20
32M22 (DIN)
34M22 (ISO)
36M24
Hex keySocket head screw
1.5M2
2M2.5
2.5M3
3M4
4M5
5M6
6M8
8M10
10M12
12M14
14M16 or M18
17M20 or M22
19M24

Why a 17 mm spanner doesn’t fit every M10 bolt

Two seperate standards describe the same hex bolts. The older German one, DIN 933 (DIN 931 for bolts with a plain shank), puts a 17 mm hex on an M10 bolt. ISO 4017 and ISO 4014, which replaced them, make it 16 mm. The same happens at M12, which is 19 mm in DIN and 18 mm in ISO, and at M14, 22 against 21 mm. At M22 it goes the other way, 32 mm in DIN and 34 mm in ISO. Every other size is the same in both.

Both kinds are still sold, so if your 17 mm spanner slips on a new M10 bolt, the bolt is made to ISO and needs a 16. Nuts follow the bolts: DIN 934 nuts take the DIN sizes and ISO 4032 nuts the ISO ones.

Clearance holes: fine, medium or coarse

ISO 273 gives three hole sizes for each bolt. The medium hole suits most things, because it leaves a little room to line two parts up. Use the fine hole when parts have to sit exactly in place and you drill them together or with a jig, and the coarse hole when you can’t drill both parts accurately, such as a bracket going onto a wall.

SizeFineMediumCoarse
M22.22.42.6
M2.52.72.93.1
M33.23.43.6
M44.34.54.8
M55.35.55.8
M66.46.67
M88.4910
M1010.51112
M121313.514.5
M141515.516.5
M161717.518.5
M18192021
M20212224
M22232426
M24252628

Holes in 3D printed parts usually come out a little smaller than they’re drawn, so in a printed part start from the medium size and test.

Heads, nuts and washers

Socket heads and nuts are given at their largest, so a counterbore or a pocket made to these sizes fits any screw or nut that meets the standard. Hex head heights are the nominal size, and washers are the smallest hole and the largest outside the standard allows.

SizeHex head heightSocket head, across × highNut height, ISONut height, DINWasher, inside × outside × thick
M21.43.8 × 21.61.62.2 × 5 × 0.3
M2.51.74.5 × 2.5222.7 × 6 × 0.5
M325.5 × 32.42.43.2 × 7 × 0.5
M42.87 × 43.23.24.3 × 9 × 0.8
M53.58.5 × 54.745.3 × 10 × 1
M6410 × 65.256.4 × 12 × 1.6
M85.313 × 86.86.58.4 × 16 × 1.6
M106.416 × 108.4810.5 × 20 × 2
M127.518 × 1210.81013 × 24 × 2.5
M148.821 × 1412.81115 × 28 × 2.5
M161024 × 1614.81317 × 30 × 3
M1811.527 × 1815.81519 × 34 × 3
M2012.530 × 20181621 × 37 × 3
M221433 × 2219.41823 × 39 × 3
M241536 × 2421.51925 × 44 × 4

From M5 up, a DIN 934 nut is a little lower than an ISO 4032 nut of the same size, for example 8 mm against 8.4 mm at M10.

Parts like these in CadFlow

We make CadFlow, a 3D program for things you build, which plays the build back as a step-by-step video that anyone can follow. It isn’t public yet. If you'd like to try it, join the waitlist.

Questions people ask

What size spanner fits an M8 bolt?

13 mm. An M6 bolt takes 10 mm, an M10 takes 16 mm (17 mm if it's made to DIN 933), and an M12 takes 18 mm (19 mm for DIN).

What bolt fits a 24 mm spanner?

M16. A 13 mm spanner fits M8, 17 mm an M10 made to DIN 933, 19 mm an M12 made to DIN, 30 mm M20 and 36 mm M24.

What size hole do I drill for an M6 bolt?

6.6 mm for the bolt to pass through, the medium size in ISO 273. The fine size is 6.4 mm and the coarse 7 mm. To cut an M6 thread in the hole instead, drill 5 mm and tap it.

What hex key fits an M6 socket head screw?

5 mm. M5 takes 4 mm, M8 takes 6 mm and M10 takes 8 mm.

What's the difference between M10 and M10 × 1.25?

M10 on its own means the standard thread, with 1.5 mm from one thread to the next. M10 × 1.25 is a fine thread, with the threads 1.25 mm apart. The bolt and the nut have to match: a fine nut won't go on a standard bolt.

Where do these numbers come from?

From the standards: ISO 261 and ISO 262 for threads, ISO 4014 and ISO 4017 for hex bolts (DIN 931 and DIN 933 for the older sizes), ISO 4762 for socket head cap screws (DIN 912 for M18 and M22, which ISO 4762 leaves out), ISO 4032 and DIN 934 for nuts, ISO 7089 for washers and ISO 273 for clearance holes. We checked every column against at least two published tables on 24 October 2026, and M18 and M22 on 10 November, mainly fasten.it, Fuller Fasteners, AMES and TR Fastenings. The tap drills are ISO 2306's, as in our thread calculator.

Free tools for this

History of this post

  1. Updated: The spanner and hex key sizes people ask for most at the top, a chart from the spanner back to the bolt, and M18 and M22 in the tables.
  2. Published
Every post by its last update

This blog is by the team making CadFlow, where you build your project in 3D and show how it goes together.

See how CadFlow works