Library › Hardware › Fasteners ·
Hex nuts, M2–M8 (ISO 4032)
What size pocket does an M3 nut need in a 3D print? · Hardware · basis: ISO 4032 (DIN 934 matches for M2–M8; they differ at M10 and up)
- sizes
- 7 in table
Notes
- Width across flats (AF) and thickness per size below. A printed nut trap: AF + 0.2–0.3 mm, thickness + 0.3 mm, and the corner-to-corner dimension is AF × 1.155.
- M3: 5.5 AF, 2.4 thick → print a 5.8 mm hex, 2.8 deep.
Sizes
| thread | width_af_mm | corner_mm | thickness_mm |
|---|---|---|---|
| M2 | 4 | 4.6 | 1.6 |
| M2.5 | 5 | 5.8 | 2 |
| M3 | 5.5 | 6.4 | 2.4 |
| M4 | 7 | 8.1 | 3.2 |
| M5 | 8 | 9.2 | 4.7 |
| M6 | 10 | 11.5 | 5.2 |
| M8 | 13 | 15 | 6.8 |
Where the files are
Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.
| McMaster-Carr | Hex nuts (free STEP/IGES/STL per part, for your own design use; no redistribution) | STEP, IGES, STL, PDF | McMaster-Carr site terms: personal design use, no redistribution verify |
| Wikipedia | Nut (hardware) | web | CC BY-SA 4.0 (text) |
Free files
★ Free files 7 parts, generated by Xem Studio from the standard. CC BY 4.0. Threads are plain cylinders at major diameter. index.json
| nut-m2 | ISO 4032 M2 | STEP · STL |
| nut-m2.5 | ISO 4032 M2.5 | STEP · STL |
| nut-m3 | ISO 4032 M3 | STEP · STL |
| nut-m4 | ISO 4032 M4 | STEP · STL |
| nut-m5 | ISO 4032 M5 | STEP · STL |
| nut-m6 | ISO 4032 M6 | STEP · STL |
| nut-m8 | ISO 4032 M8 | STEP · STL |
Plain text: sheet.txt · JSON: /api/geometry?object=hex-nuts-metric

Fits with
Questions
What size is an M3 nut?
5.5 mm across flats, 6.4 mm across corners, 2.4 mm thick (ISO 4032). Print a nut trap 5.8 mm across flats and 2.8 mm deep.
What size is an M4 nut and M5 nut?
M4: 7 mm across flats, 3.2 mm thick. M5: 8 mm across flats, 4.7 mm thick. Across corners = AF × 1.155.
How to model a captive nut pocket in a 3D print?
Hex pocket at AF + 0.2–0.3 mm, depth = nut thickness + 0.3 mm, slot it in from the side so the nut can't spin, and keep at least 1.5 mm of wall around the corners.


