M5 Socket Head Cap Screw Dimensions and Allen Key Size

Socket Head Cap Screws · ISO 4762 sizes

An M5 socket head cap screw (ISO 4762 / DIN 912) takes a 4 mm (0.157 in) hex key. The head is up to 8.5 mm (0.335 in) in diameter and 5 mm (0.197 in) high; the thread pitch is 0.8 mm.

sHex key size
4 mm0.157 in0.157 in4 mm
dkHead diameter (max.)
8.5 mm0.335 in0.335 in8.5 mm
kHead height (max.)
5 mm0.197 in0.197 in5 mm
PThread pitch
0.8 mm31.7 TPI31.7 TPI0.8 mm

Drawing

⌀8.5 mm⌀0.335 ink 5 mmk 0.197 in⌀5 mm⌀0.197 in
⌀8.5 mm⌀0.335 ins 4 mms 0.157 in
Drawn to scale · Dimensions in mmDimensions in inches

M5 specifications

PThread pitch0.8 mm31.7 TPI
dkHead diameter (max.)8.5 mm0.335 in
kHead height (max.)5 mm0.197 in
sHex key size4 mm0.157 in

M5 takes a 4 mm key and is the typical screw for 20 mm aluminum extrusion T-nuts. Button and countersunk M5 heads take 3 mm.

M5 in other charts

All Socket Head Cap Screws sizes

Compare all 20 sizes in the Socket Head Cap Screws chart →

Sources

  1. ISO 4762:2004, Hexagon socket head cap screws
  2. DIN 912 (withdrawn): Hexagon socket head cap screws, as reproduced in Westfield Fasteners and FastenRight data tables
  3. Farnell / Unbrako: ISO 4762 socket head cap screw dimension sheet

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.