{
 "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": "printable-spur-gears-and-racks-module-2",
 "name": "3D printable spur gears and racks, module 2: 10–40 teeth involute gears and gear racks (STL, STEP)",
 "kind": "hardware",
 "category": "Mechanisms",
 "group": "Gears",
 "year": null,
 "question": "Where can I get 3D printable spur gears and a rack that actually mesh?",
 "tags": [
  "spur gear",
  "involute gear",
  "module 2",
  "gear rack",
  "rack and pinion",
  "3d printed gear",
  "gear train",
  "stl",
  "step"
 ],
 "aliases": [
  "3d printable gears",
  "module 2 gear stl",
  "rack and pinion stl",
  "printable spur gear",
  "gear set 3d print",
  "m2 gear 20 teeth"
 ],
 "overall_mm": {
  "length": 125.7,
  "width": 84,
  "height": 6
 },
 "official_cad": false,
 "xem_status": "free-files",
 "les": false,
 "free_files": 9,
 "url": "https://xemstudio.com/objects/printable-spur-gears-and-racks-module-2/",
 "sheet_txt": "https://xemstudio.com/objects/printable-spur-gears-and-racks-module-2/sheet.txt",
 "sheet": {
  "basis": "Standard involute spur gear: module m, reference diameter m·z, centre distance (d1 + d2)/2 (KHK Gear Technical Reference). Xem design.",
  "overall_mm": {
   "length": 125.7,
   "width": 84,
   "height": 6
  },
  "notes": [
   "Resize: multiply every length by one factor k and the motion stays identical: angles, ratios, timing and the formulas below do not change, because a mechanism's motion depends only on the ratios of its lengths. Here, stays the same: gear-m2-z10, gear-m2-z12, gear-m2-z15, gear-m2-z20, gear-m2-z24, gear-m2-z30, gear-m2-z40, rack-m2-10t, rack-m2-20t.",
   "Resize: Gears scale by the module m (pitch Ø = m·z, centre distance = m·(z₁ + z₂)/2): keep the tooth counts so the ratio stays, and choose a standard module (0.5, 0.8, 1, 1.25, 1.5, 2, 2.5, 3).",
   "Resize: fit clearances stay in mm (a slide fit is the same gap at any size); keep every printed wall and pin at least two nozzle widths; mass grows with k³ but part strength only with k², so at k = 2 parts are about 8× heavier and 4× stronger: check pins and thin links when scaling up.",
   "Centre distance = m(z1 + z2)/2: 10+20 → 30 mm, 15+30 → 45 mm, 20+40 → 60 mm.",
   "Rack and gear: put the gear centre m·z/2 above the rack's pitch line (the rack's pitch line is 2.5 mm above the root, 7.5 mm above its back).",
   "Zero backlash as drawn: add 0.1–0.2 mm to the centre distance for FDM.",
   "Print flat, 0.4 mm nozzle; module 2 teeth print cleanly without supports."
  ],
  "table": {
   "columns": [
    "file",
    "what",
    "overall mm"
   ],
   "rows": [
    [
     "gear-m2-z10",
     "Module 2 spur gear, 10 teeth, pitch Ø20, outside Ø24, 6 mm face, Ø5 bore, 20° pressure angle",
     "23.971 × 23.161 × 6"
    ],
    [
     "gear-m2-z12",
     "Module 2 spur gear, 12 teeth, pitch Ø24, outside Ø28, 6 mm face, Ø5 bore, 20° pressure angle",
     "27.972 × 27.972 × 6"
    ],
    [
     "gear-m2-z15",
     "Module 2 spur gear, 15 teeth, pitch Ø30, outside Ø34, 6 mm face, Ø5 bore, 20° pressure angle",
     "33.74 × 33.926 × 6"
    ],
    [
     "gear-m2-z20",
     "Module 2 spur gear, 20 teeth, pitch Ø40, outside Ø44, 6 mm face, Ø5 bore, 20° pressure angle",
     "43.978 × 43.978 × 6"
    ],
    [
     "gear-m2-z24",
     "Module 2 spur gear, 24 teeth, pitch Ø48, outside Ø52, 6 mm face, Ø5 bore, 20° pressure angle",
     "51.98 × 51.98 × 6"
    ],
    [
     "gear-m2-z30",
     "Module 2 spur gear, 30 teeth, pitch Ø60, outside Ø64, 6 mm face, Ø5 bore, 20° pressure angle",
     "63.983 × 63.787 × 6"
    ],
    [
     "gear-m2-z40",
     "Module 2 spur gear, 40 teeth, pitch Ø80, outside Ø84, 6 mm face, Ø5 bore, 20° pressure angle",
     "83.986 × 83.986 × 6"
    ],
    [
     "rack-m2-10t",
     "Module 2 rack, 10 teeth, 62.8 mm long, 6 mm face",
     "62.832 × 9.5 × 6"
    ],
    [
     "rack-m2-20t",
     "Module 2 rack, 20 teeth, 125.7 mm long, 6 mm face",
     "125.664 × 9.5 × 6"
    ]
   ]
  }
 },
 "sheet_text": "3D printable spur gears and racks, module 2: 10–40 teeth involute gears and gear racks (STL, STEP) — dimension sheet\nSource: Xem Studio, https://xemstudio.com/objects/printable-spur-gears-and-racks-module-2/  (sheet CC BY 4.0; files Xem Studio Design License, https://xemstudio.com/license/)\nBasis: Standard involute spur gear: module m, reference diameter m·z, centre distance (d1 + d2)/2 (KHK Gear Technical Reference). Xem design.\nCatalog version: 2026-10-20\n\nOverall (mm): length 125.7, width 84, height 6\n- Resize: multiply every length by one factor k and the motion stays identical: angles, ratios, timing and the formulas below do not change, because a mechanism's motion depends only on the ratios of its lengths. Here, stays the same: gear-m2-z10, gear-m2-z12, gear-m2-z15, gear-m2-z20, gear-m2-z24, gear-m2-z30, gear-m2-z40, rack-m2-10t, rack-m2-20t.\n- Resize: Gears scale by the module m (pitch Ø = m·z, centre distance = m·(z₁ + z₂)/2): keep the tooth counts so the ratio stays, and choose a standard module (0.5, 0.8, 1, 1.25, 1.5, 2, 2.5, 3).\n- Resize: fit clearances stay in mm (a slide fit is the same gap at any size); keep every printed wall and pin at least two nozzle widths; mass grows with k³ but part strength only with k², so at k = 2 parts are about 8× heavier and 4× stronger: check pins and thin links when scaling up.\n- Centre distance = m(z1 + z2)/2: 10+20 → 30 mm, 15+30 → 45 mm, 20+40 → 60 mm.\n- Rack and gear: put the gear centre m·z/2 above the rack's pitch line (the rack's pitch line is 2.5 mm above the root, 7.5 mm above its back).\n- Zero backlash as drawn: add 0.1–0.2 mm to the centre distance for FDM.\n- Print flat, 0.4 mm nozzle; module 2 teeth print cleanly without supports.\n\nfile  what  overall mm\ngear-m2-z10  Module 2 spur gear, 10 teeth, pitch Ø20, outside Ø24, 6 mm face, Ø5 bore, 20° pressure angle  23.971 × 23.161 × 6\ngear-m2-z12  Module 2 spur gear, 12 teeth, pitch Ø24, outside Ø28, 6 mm face, Ø5 bore, 20° pressure angle  27.972 × 27.972 × 6\ngear-m2-z15  Module 2 spur gear, 15 teeth, pitch Ø30, outside Ø34, 6 mm face, Ø5 bore, 20° pressure angle  33.74 × 33.926 × 6\ngear-m2-z20  Module 2 spur gear, 20 teeth, pitch Ø40, outside Ø44, 6 mm face, Ø5 bore, 20° pressure angle  43.978 × 43.978 × 6\ngear-m2-z24  Module 2 spur gear, 24 teeth, pitch Ø48, outside Ø52, 6 mm face, Ø5 bore, 20° pressure angle  51.98 × 51.98 × 6\ngear-m2-z30  Module 2 spur gear, 30 teeth, pitch Ø60, outside Ø64, 6 mm face, Ø5 bore, 20° pressure angle  63.983 × 63.787 × 6\ngear-m2-z40  Module 2 spur gear, 40 teeth, pitch Ø80, outside Ø84, 6 mm face, Ø5 bore, 20° pressure angle  83.986 × 83.986 × 6\nrack-m2-10t  Module 2 rack, 10 teeth, 62.8 mm long, 6 mm face  62.832 × 9.5 × 6\nrack-m2-20t  Module 2 rack, 20 teeth, 125.7 mm long, 6 mm face  125.664 × 9.5 × 6\n\nFiles elsewhere (not hosted by Xem Studio; license as stated by the publisher):\n- KHK Gears: Gear Technical Reference — web — Publisher's page; dimensions are facts — https://khkgears.us/media/izojpong/gear_guide1.pdf\n- KHK Gears: Exploring the hows and whys of choosing the proper center distance — web — Publisher's page; dimensions are facts — https://www.khkgears.us/media/1215/exploring-the-hows-and-whys-of-choosing-the-proper-center-distance.pdf\n\nFree files (Xem Studio Design License, Xem Studio; STEP + STL, 9 parts): https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/index.json\nAPI: https://xemstudio.com/api/geometry?object=printable-spur-gears-and-racks-module-2\n",
 "sources": [
  {
   "publisher": "KHK Gears",
   "title": "Gear Technical Reference",
   "url": "https://khkgears.us/media/izojpong/gear_guide1.pdf",
   "formats": [
    "web"
   ],
   "license": "Publisher's page; dimensions are facts",
   "license_verified": true,
   "hosted": false
  },
  {
   "publisher": "KHK Gears",
   "title": "Exploring the hows and whys of choosing the proper center distance",
   "url": "https://www.khkgears.us/media/1215/exploring-the-hows-and-whys-of-choosing-the-proper-center-distance.pdf",
   "formats": [
    "web"
   ],
   "license": "Publisher's page; dimensions are facts",
   "license_verified": true,
   "hosted": false
  }
 ],
 "xem": {
  "status": "free-files",
  "sheet_free": true,
  "mesh_price_usd": null,
  "step_price_usd": null,
  "tolerance_mm": null
 },
 "related": [
  "print-in-place-planetary-gearbox",
  "ratchet-wheel-and-pawl",
  "l-rod-right-angle-drive",
  "printable-spiral-torsion-springs"
 ],
 "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": "gear teeth",
   "exact": "module 2, 20° PA",
   "mates": "any module 2 gear or rack",
   "fit": "designed",
   "files": "all"
  },
  {
   "feature": "bore",
   "exact": "Ø5",
   "mates": "5 mm shaft or printed pin",
   "fit": "run",
   "files": "gears"
  }
 ],
 "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": "How far apart do two gears go?",
   "a": "Centre distance = module × (teeth1 + teeth2) / 2. For module 2 that is simply teeth1 + teeth2 in mm."
  },
  {
   "q": "What gear ratio can I get?",
   "a": "Any ratio of the tooth counts: 10:40 is 4:1, 10:20 is 2:1, 12:24 is 2:1, 15:30 is 2:1."
  },
  {
   "q": "Do printed gears need backlash?",
   "a": "Yes, add about 0.1–0.2 mm to the centre distance for FDM; these files are exact."
  },
  {
   "q": "What is module?",
   "a": "Pitch diameter divided by tooth count. Gears mesh only with the same module and pressure angle."
  }
 ],
 "files_license": {
  "name": "Xem Studio Design License",
  "holder": "Xem Studio",
  "url": "https://xemstudio.com/license/",
  "note": "Xem Studio's own design: free to use, print, modify and sell things made from it; not to be republished or redistributed as files."
 },
 "offers": [
  {
   "file": "gear-m2-z10",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z10.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z10.stl",
   "note": "Module 2 spur gear, 10 teeth, pitch Ø20, outside Ø24, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "gear-m2-z12",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z12.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z12.stl",
   "note": "Module 2 spur gear, 12 teeth, pitch Ø24, outside Ø28, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "gear-m2-z15",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z15.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z15.stl",
   "note": "Module 2 spur gear, 15 teeth, pitch Ø30, outside Ø34, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "gear-m2-z20",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z20.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z20.stl",
   "note": "Module 2 spur gear, 20 teeth, pitch Ø40, outside Ø44, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "gear-m2-z24",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z24.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z24.stl",
   "note": "Module 2 spur gear, 24 teeth, pitch Ø48, outside Ø52, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "gear-m2-z30",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z30.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z30.stl",
   "note": "Module 2 spur gear, 30 teeth, pitch Ø60, outside Ø64, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "gear-m2-z40",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z40.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/gear-m2-z40.stl",
   "note": "Module 2 spur gear, 40 teeth, pitch Ø80, outside Ø84, 6 mm face, Ø5 bore, 20° pressure angle"
  },
  {
   "file": "rack-m2-10t",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/rack-m2-10t.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/rack-m2-10t.stl",
   "note": "Module 2 rack, 10 teeth, 62.8 mm long, 6 mm face"
  },
  {
   "file": "rack-m2-20t",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "Xem Studio Design License",
   "step": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/rack-m2-20t.step",
   "stl": "https://xemstudio.com/files/mechanisms/printable-spur-gears-and-racks-module-2/rack-m2-20t.stl",
   "note": "Module 2 rack, 20 teeth, 125.7 mm long, 6 mm face"
  }
 ],
 "markdown": "https://xemstudio.com/objects/printable-spur-gears-and-racks-module-2/index.md"
}