What size spanner or socket does an M5 bolt take?
Answer
An M5 hex bolt takes 8 mm across the flats — spanner or socket, and the same for its nut. A socket-head cap screw of the same size takes 4 mm.
How it is worked out
- Spanner / socket — across the flats of the head
M5 → 8 mm - Hex (Allen) key — socket-head cap screw
M5 → 4 mm - The nut takes the same spanner
8 mm fits the M5 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)
- 8 mm
- Socket size
- The same as the spanner — 8 mm.
- Hex (Allen) key
- 4 mm for a socket-head cap screw of this thread.
- The nut
- A standard M5 hex nut takes the same 8 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.