Tililt

What size spanner or socket does an M20 bolt take?

Answer 30 mm

An M20 hex bolt takes 30 mm across the flats — spanner or socket, and the same for its nut. A socket-head cap screw of the same size takes 17 mm.

How it is worked out

  1. Spanner / socket — across the flats of the headM20 → 30 mm
  2. Hex (Allen) key — socket-head cap screwM20 → 17 mm
  3. The nut takes the same spanner30 mm fits the M20 hex nut too

A standard hex is about 1.5x the thread diameter across the flats; the exact figure is fixed by the standard, not the formula

Worth knowing

Spanner size (across flats)
30 mm
Socket size
The same as the spanner — 30 mm.
Hex (Allen) key
17 mm for a socket-head cap screw of this thread.
The nut
A standard M20 hex nut takes the same 30 mm.
This is the head, not the thread
The spanner fits the head. What the bolt threads into is the tap drill, and how hard to do it up is the torque — both linked below.

Spanner and socket size — nearby sizes

The rest of the job at this size

Do it with your own numbers

This page answers one specific question. The Tap Drill & Thread Size Calculator takes any values you like and answers as you type — in your browser, so nothing you enter is sent anywhere.