Designing gears that print and mesh smoothly
A printed gear is accurate to about a tenth of a millimetre, made of a plastic that softens with friction heat, and mounted on shafts in printed holes that come out small. The standard gear formulas still apply. What changes is how you choose the numbers: teeth large enough for the nozzle, deliberate backlash, and a layout that keeps the teeth solid and the shafts parallel.
The sizes that define a gear
The module m is the tooth size in millimetres: the pitch diameter divided by the number of teeth. Everything else follows from it and the tooth count z:
- Pitch diameter d = m × z — the circles of two meshing gears touch here.
- Outside diameter = m × (z + 2) for standard teeth.
- Root diameter ≈ m × (z − 2.5), with the usual 1.25 m tooth depth below the pitch circle.
- Centre distance for spur gears = m × (z1 + z2) ÷ 2.
- Tooth thickness on the pitch circle = π × m ÷ 2.
Example: module 1.5 with 20 and 40 teeth gives pitch diameters of 30 and 60 mm, outside diameters of 33 and 63 mm, a root diameter of 26.25 mm on the small gear and a centre distance of 45 mm. The ratio is 40 ÷ 20 = 2: half the speed, twice the torque before losses. The gear ratio calculator does these numbers, including output speed and torque.
Choosing the module for your nozzle
The tooth-thickness formula is the key to printability. At module 1 a tooth is only 1.57 mm thick at the pitch circle and thinner towards the tip; at 1.5 it is 2.36 mm, and at 2 it is 3.14 mm. With 0.4–0.45 mm lines, a module-1 tooth holds a few outlines and little else, while a module-2 tooth is solid with room to spare.
| Module | Tooth thickness at pitch circle | Typical use with a 0.4 mm nozzle |
|---|---|---|
| 0.8 mm | 1.26 mm | Lower limit; small models and light mechanisms |
| 1.0 mm | 1.57 mm | Compact gear trains, low torque |
| 1.5 mm | 2.36 mm | General purpose, motor-driven parts |
| 2.0 mm and up | 3.14 mm and up | Higher torque, wear-critical gears |
Tooth strength scales roughly with module times face width, which is the core of the classic Lewis bending formula. Doubling the module at the same width roughly doubles the force a tooth carries, but it also doubles the diameter for the same tooth count. When space is tight, a wider face is often a better trade than a larger module.
Tooth count and pressure angle
The pressure angle is the angle at which teeth push on each other. Standard gears use 20°; 25° gives a wider tooth base and stronger teeth at the cost of more force pushing the shafts apart. Older 14.5° gears also exist. Two gears mesh only if module and pressure angle match.
Small pinions run into undercut: below a certain tooth count, the cutting geometry of an involute gear removes material from the tooth root. The limit is 2 ÷ sin² of the pressure angle, which works out to about 17 teeth at 20° and about 12 at 25°. Printed gears do not need to be cut, but CAD tools and generators reproduce the same undercut shape, so the weakening is real. If you need a 10- or 12-tooth pinion, choose 25°, a larger module, or a tool that supports profile shift.
Two more rules for the tooth count:
- Avoid exact integer ratios where wear matters. With 20 and 40 teeth, each pinion tooth meets the same two gear teeth forever, and any printed defect wears into the same spots. With 20 and 41, every tooth meets every other one in turn and wear spreads out.
- Split large ratios. Two stages of 3:1 give 9:1 with gears of reasonable size; a single 9:1 stage needs either a tiny pinion or a huge wheel.
Backlash and centre distance
Printed teeth come out slightly fat, holes come out small, and printed shafts are rarely perfectly parallel. Gears placed at the exact theoretical centre distance therefore often bind. Backlash is the deliberate play between teeth that absorbs this. On the gear generator it thins the teeth, and 0.1–0.2 mm usually gives smooth running.
You can also move the shafts apart, but that lever is weaker than it looks. For involute gears, increasing the centre distance by Δa adds about 2 × Δa × tan(pressure angle) of backlash. At 20° that is 0.73 × Δa: 0.1 mm more distance gives about 0.07 mm of play. Thinning the teeth acts directly, so use it first, and keep extra centre distance for fine adjustment, for example with slotted motor mounts.
The housing matters as much as the gears. Shaft holes in a printed frame shrink and can be slightly oval, which changes the centre distance; model them with your printer's hole compensation, as explained in tolerances for holes, and print both bearing walls in one part where possible so the shafts stay parallel.
Face width and tooth type
Metal gear design commonly keeps spur face width at about three to five circular pitches, roughly 10–15 × module; for module 1.5 that is 15–23 mm. Narrower gears are fine for light loads. Much wider ones rarely help when printed, because slightly misaligned shafts make the teeth bear on one edge only.
- Spur teeth are the simplest and push only sideways, not along the shaft.
- Helical teeth engage gradually, so they run more smoothly and quietly, but they push along the shaft with a force of the tangential force × tan(helix angle). The shaft or housing needs a shoulder or washer to take it. Helical pairs also have a larger centre distance than spur gears with the same module and tooth counts.
- Herringbone teeth are two opposite helices, so the axial forces cancel and the gears stay aligned with each other. They are hard to machine but easy to print, which makes them a natural choice for printed gearboxes.
Material, orientation and slicer settings
Orientation. Print gears flat, with the axis vertical. The involute profile is then drawn by the nozzle as outlines, which gives the most accurate tooth shape, and each tooth bends within a layer rather than across layer bonds. Gears printed on edge have stepped, inaccurate teeth and break along layers.
Walls and infill. The teeth carry the load in their walls, so they should be solid. With 0.45 mm lines, three walls on each side fill a module-1.5 tooth at the pitch circle. The gear generator recommends 3–4 walls and 40 % infill or more. The wall settings guide explains how wall count and line width combine.
First layer. Elephant foot widens the bottom of every tooth and can make an otherwise good pair bind. Use elephant-foot compensation or a small chamfer on the bottom edge; see elephant foot. Place the seam on the gear's hub or inner faces rather than on tooth flanks when your slicer allows it; see the Z seam guide.
Material.
- PLA — accurate and stiff; good for prototypes, clocks and occasional use. It wears faster and softens if friction heats it.
- PETG — tougher and more wear-resistant, easier to print than nylon; see how to print PETG.
- Nylon — the best wear and noise behaviour among common filaments, and the usual choice for gears that run for hours; see how to print nylon.
- TPU — not for load-bearing teeth, but useful for quiet, low-load drives.
A thin coat of plastic-compatible grease, such as a PTFE or silicone type, reduces wear and noise. Some oils attack some plastics, so check the grease is meant for plastic parts.
Mounting gears on shafts
A gear that slips on its shaft is the most common printed-gearbox failure. Options, from simplest to strongest:
- Bore +0.1–0.2 mm over the shaft for a sliding fit, with glue for light loads.
- D-flat matching motor shafts with a flat side; the gear generator offers this for the common 5 mm stepper shaft.
- Hub with a set screw into a nut or insert; see heat-set inserts. Tighten the screw against the flat of the shaft.
- Pinned or keyed hubs for high torque.
Shaft support matters too: a gear far from its bearing tilts under load and wears one edge of the teeth. Keep gears close to their supports.
Binding, noise, wear and broken teeth
- Binds everywhere: too little backlash, teeth too fat from over-extrusion, or centre distance too small. Add backlash in 0.05 mm steps and check flow.
- Binds once per turn: a gear that runs off-centre or wobbles; check the bore, the shaft and the first layer.
- Noisy or rough: stepped tooth surfaces, a seam on the flanks, misaligned shafts, or no lubrication. Helical or herringbone teeth are quieter.
- Skips teeth under load: shafts spread apart under load. Stiffen the frame and check the centre distance.
- Teeth break at the root: module too small for the torque, an undercut pinion, too few walls, or a gear printed on edge.
- Wears quickly: PLA under continuous use, a hard material running against a soft one with grit, or no grease. Switch to nylon or PETG.
Frequently asked questions
What module should I use for 3D printed gears?
Module 1 to 2 mm suits most gears printed with a 0.4 mm nozzle. Below about 0.8 mm the teeth are too small to print cleanly, and gears that carry real torque are better at 1.5 mm or more. Both gears in a pair must have the same module and pressure angle.
How many teeth should the smallest gear have?
At least 17 for standard 20° teeth, or about 12 for 25° teeth, to avoid undercutting that thins the tooth root. Smaller pinions work but have weaker teeth; a larger module or a 25° pressure angle helps.
How much backlash do printed gears need?
About 0.1–0.2 mm, set by thinning the teeth in the generator or by mounting the shafts slightly further apart. Thinning the teeth is the more direct lever: at 20°, moving the shafts 0.1 mm apart adds only about 0.07 mm of backlash.
Which filament is best for gears?
Nylon wears best and runs quietly; PETG is a good, easier alternative. PLA is accurate and stiff and fine for light or occasional use, but it wears faster and softens when friction heats it.
Why do my printed gears bind at one point of each turn?
Usually a hole or bore that is off-centre or oval, a gear that is not flat, or elephant foot on the first layers. Check that the gear runs true on its shaft, add elephant-foot compensation, and if it binds everywhere, add backlash.