Skip to content
BOMproof

Standard part · ISO 4017

M5 hex head screw ISO 4017 / DIN 933

All dimensions of the fully threaded M5 hex head screw: width across flats, head height, clearance hole and tap drill. And how to write it in your BOM so it doesn't get ordered twice.

s 8k 3.5a 2.4lM5

Dimensions

M5 in mm

Thread
M5 × 0.8
Width across flats s (ISO)
8
Width across flats DIN 933
8
Head height k
3.5
Without full thread a
2.4

k is nominal; a is the maximum length under the head without full thread (3 × P).

Holes

Clearance hole and tap drill

Clearance hole medium
5.5
Clearance hole fine
5.3
Tap drill
4.2

Clearance hole to ISO 273. The tap drill is for the tapped hole the screw goes into.

In your BOM

One notation per screw

Use the designation from the standard itself (standard, size × length, property class) and keep that notation throughout the BOM. For example:

ISO 4017 - M5 x 20 - 8.8

Common mistake: DIN 933 M5x20, ISO 4017 - M5 x 20 - 8.8 and Hex screw M5 x 20 are three lines in the BOM, while they are one part.

Lengths

Standard lengths per ISO 4017

  • M5×10
  • M5×12
  • M5×16
  • M5×20
  • M5×25
  • M5×30
  • M5×35
  • M5×40
  • M5×45
  • M5×50

The standard lists lengths from 2 × d to 10 × d, with a maximum of 200 mm. Which lengths are in stock differs per supplier.

Always put the property class in the description, for example 8.8 for steel or A2-70 for stainless steel.

Questions

Frequently asked questions about the M5

01 Which spanner fits an M5 hex head screw?

A 8 mm spanner (ISO 4017). For a screw to the old DIN 933 the width across flats is 8 mm.

02 What clearance hole do I drill for M5?

5.5 mm (ISO 273, medium). If the screw needs to sit more accurately, 5.3 mm (fine).

03 Which tap drill do I use for M5?

4.2 mm for coarse thread M5 × 0.8: roughly the nominal diameter minus the pitch.

04 How do I write an M5 hex head screw in my BOM?

With standard, size × length and property class, for example ISO 4017 - M5 x 20 - 8.8. Use the same notation everywhere, even if an older drawing still says DIN 933.

Checked against

Every dimension on this page was checked on 15 November 2026 against at least two of these sources.

For a critical application, always check the dimensions in the standard or with your supplier.

Is this screw in your BOM twice?

Put model, drawing and BOM side by side and see per position what doesn't match.