{
 "version": "2026-10-20",
 "license": "Dimension sheets: CC BY 4.0. Standard and published-size files: CC BY 4.0. Xem Studio's own designs (files_license = Xem Studio Design License): free to use and sell things from, not to redistribute as files — https://xemstudio.com/license/. Other publishers' files: their own license, linked beside them.",
 "slug": "hex-nuts-metric",
 "name": "Hex nuts, M2–M8 (ISO 4032)",
 "kind": "hardware",
 "category": "Hardware",
 "group": "Fasteners",
 "year": null,
 "question": "What size pocket does an M3 nut need in a 3D print?",
 "tags": [
  "nut",
  "fastener",
  "captive nut",
  "pocket"
 ],
 "aliases": [
  "m3 nut",
  "hex nut",
  "iso 4032",
  "din 934",
  "nut trap"
 ],
 "overall_mm": {
  "length": null,
  "width": null,
  "height": null
 },
 "official_cad": false,
 "xem_status": "free-files",
 "les": false,
 "free_files": 7,
 "url": "https://xemstudio.com/objects/hex-nuts-metric/",
 "sheet_txt": "https://xemstudio.com/objects/hex-nuts-metric/sheet.txt",
 "sheet": {
  "basis": "ISO 4032 (DIN 934 matches for M2–M8; they differ at M10 and up)",
  "overall_mm": {
   "length": null,
   "width": null,
   "height": null
  },
  "notes": [
   "Width across flats (AF) and thickness per size below. A nut trap is drawn at the nut's AF and thickness; the corner-to-corner dimension is AF × 1.155.",
   "M3: 5.5 AF, 2.4 thick; the trap is drawn 5.5 AF × 2.4 deep."
  ],
  "table": {
   "columns": [
    "thread",
    "width_af_mm",
    "corner_mm",
    "thickness_mm"
   ],
   "rows": [
    [
     "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
    ]
   ]
  }
 },
 "sheet_text": "Hex nuts, M2–M8 (ISO 4032) — dimension sheet\nSource: Xem Studio, https://xemstudio.com/objects/hex-nuts-metric/  (sheet CC BY 4.0)\nBasis: ISO 4032 (DIN 934 matches for M2–M8; they differ at M10 and up)\nCatalog version: 2026-10-20\n\nSizes: see table below\n- Width across flats (AF) and thickness per size below. A nut trap is drawn at the nut's AF and thickness; the corner-to-corner dimension is AF × 1.155.\n- M3: 5.5 AF, 2.4 thick; the trap is drawn 5.5 AF × 2.4 deep.\n\nthread  width_af_mm  corner_mm  thickness_mm\nM2  4  4.6  1.6\nM2.5  5  5.8  2\nM3  5.5  6.4  2.4\nM4  7  8.1  3.2\nM5  8  9.2  4.7\nM6  10  11.5  5.2\nM8  13  15  6.8\n\nFiles elsewhere (not hosted by Xem Studio; license as stated by the publisher):\n- 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 license at link] — https://www.mcmaster.com/products/nuts/hex-nuts/\n- Wikipedia: Nut (hardware) — web — CC BY-SA 4.0 (text) — https://en.wikipedia.org/wiki/Nut_(hardware)\n\nFree files (CC BY 4.0, Xem Studio; STEP + STL, 7 parts): https://xemstudio.com/files/hardware/hex-nuts-metric/index.json\nAPI: https://xemstudio.com/api/geometry?object=hex-nuts-metric\n",
 "sources": [
  {
   "publisher": "McMaster-Carr",
   "title": "Hex nuts (free STEP/IGES/STL per part, for your own design use; no redistribution)",
   "url": "https://www.mcmaster.com/products/nuts/hex-nuts/",
   "formats": [
    "STEP",
    "IGES",
    "STL",
    "PDF"
   ],
   "license": "McMaster-Carr site terms: personal design use, no redistribution",
   "license_verified": false,
   "hosted": false
  },
  {
   "publisher": "Wikipedia",
   "title": "Nut (hardware)",
   "url": "https://en.wikipedia.org/wiki/Nut_(hardware)",
   "formats": [
    "web"
   ],
   "license": "CC BY-SA 4.0 (text)",
   "license_verified": true,
   "hosted": false
  }
 ],
 "xem": {
  "status": "free-files",
  "sheet_free": true,
  "mesh_price_usd": null,
  "step_price_usd": null,
  "tolerance_mm": null
 },
 "related": [
  "socket-head-cap-screws-metric",
  "flat-washers-metric",
  "threaded-standoffs-metric"
 ],
 "fits": [],
 "dimensions": "exact (nominal, no tolerance added)",
 "dimension_rule": "All geometry on Xem Studio is exact (nominal, true size) with no tolerance added. Where a part meets another part, the object lists its mating features (feature, exact size, what it mates with, fit class: press, slide, run, socket, clamp or designed). Apply your process's allowance to those features only; 'designed' gaps are part of the design and stay as drawn. Typical accuracy by process and ISO 286 fits: https://xemstudio.com/tolerances/",
 "mating": [
  {
   "feature": "hex",
   "exact": "AF × m (M3 5.5 × 2.4)",
   "mates": "nut trap",
   "fit": "press",
   "files": "nut-"
  },
  {
   "feature": "bore",
   "exact": "thread major (M3 Ø3)",
   "mates": "screw shank model",
   "fit": "designed",
   "files": "nut-"
  }
 ],
 "fit_classes": {
  "press": "stays put: pin, tube, bearing or magnet held by interference. ISO 286 equivalent: H7/p6 (locational interference) or tighter.",
  "slide": "assembles by hand and is held by a grub, pinch or clamp: shaft in a hub, rod in a socket, spigot in a bore. ISO 286 equivalent: H7/g6 or H7/h6.",
  "run": "turns or slides in use: pin in a link, rod through a guide. ISO 286 equivalent: H8/f7 (close running).",
  "socket": "large sliding fit: syringe barrel, sleeve, bobbin in a bore. ISO 286 equivalent: H9/d9 (free running) or looser.",
  "clamp": "split part that closes on the mating part with screws: make it at size.",
  "designed": "a gap that is part of the design (piston fit option, displacer gap, air gap): do not change."
 },
 "faq": [
  {
   "q": "What size is an M3 nut?",
   "a": "5.5 mm across flats, 6.4 mm across corners, 2.4 mm thick (ISO 4032). A trap for it is drawn 5.5 mm across flats and 2.4 mm deep."
  },
  {
   "q": "What size is an M4 nut and M5 nut?",
   "a": "M4: 7 mm across flats, 3.2 mm thick. M5: 8 mm across flats, 4.7 mm thick. Across corners = AF × 1.155."
  },
  {
   "q": "How to model a captive nut pocket in a 3D print?",
   "a": "Draw the hex pocket at the nut's AF and thickness, apply your press allowance to it, slot it in from the side so the nut can't spin, and keep at least 1.5 mm of wall around the corners."
  }
 ],
 "files_license": null,
 "offers": [
  {
   "file": "nut-m2",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m2.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m2.stl",
   "note": "ISO 4032 M2: 4.0 AF × 1.6, thread as Ø2.0 plain bore"
  },
  {
   "file": "nut-m2.5",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m2.5.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m2.5.stl",
   "note": "ISO 4032 M2.5: 5.0 AF × 2.0, thread as Ø2.5 plain bore"
  },
  {
   "file": "nut-m3",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m3.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m3.stl",
   "note": "ISO 4032 M3: 5.5 AF × 2.4, thread as Ø3.0 plain bore"
  },
  {
   "file": "nut-m4",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m4.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m4.stl",
   "note": "ISO 4032 M4: 7.0 AF × 3.2, thread as Ø4.0 plain bore"
  },
  {
   "file": "nut-m5",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m5.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m5.stl",
   "note": "ISO 4032 M5: 8.0 AF × 4.7, thread as Ø5.0 plain bore"
  },
  {
   "file": "nut-m6",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m6.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m6.stl",
   "note": "ISO 4032 M6: 10.0 AF × 5.2, thread as Ø6.0 plain bore"
  },
  {
   "file": "nut-m8",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m8.step",
   "stl": "https://xemstudio.com/files/hardware/hex-nuts-metric/nut-m8.stl",
   "note": "ISO 4032 M8: 13.0 AF × 6.8, thread as Ø8.0 plain bore"
  }
 ],
 "markdown": "https://xemstudio.com/objects/hex-nuts-metric/index.md"
}