STLGen

All generators › Gears and drives

Gear pair maker

Two gears that mesh, from the shaft spacing and the ratio you need.

Drag to turn, scroll or pinch to zoom. Grid squares are 10 mm.
Building the model…
Saves an STL file in millimetres, ready for your slicer.

Your download is almost ready

8 seconds

Your download is ready

Your download is starting

should appear in your downloads folder in a moment. Click here if it does not start.

If you find STLGen useful, please consider buying me a coffee. Coffees and a few simple ads are what keep this website free, and they pay for new features, like the simple CAD program that is coming soon.

Buy me a coffee
Gear pair maker

Start from the shaft spacing

Often the shafts are already there and you need two gears that fit between them. Enter the distance between the shafts and the number of teeth on each gear, and the tooth size (module) is worked out so the pair meshes exactly. Both gears are shown meshed, with the ratio in the fact box.

The distance between shafts is half the module times the two tooth counts added together. For example module 1.5 with 16 and 48 teeth sits 48 mm apart.

  • Runs in your browser
  • Nothing is uploaded
  • No sign-up
  • Free STL download

Tips and questions

1Choosing the ratio
  • The ratio is the teeth on gear B divided by the teeth on gear A: 16 and 48 gives 3 to 1, so gear B turns three times slower and with three times the force.
  • Avoid fewer than about 12 teeth on the small gear; very small gears have weak, undercut teeth.
  • Gears only mesh if they share the same module and pressure angle. Keep 20 degrees unless you are matching an existing gear.
2Fitting them on shafts

Set the shaft hole for each gear and choose round, D-shaft or hex. Holes print slightly small, so add 0.1 to 0.2 mm for a slip fit. If the printed pair binds, add a little play between the teeth or move the shafts apart by a few tenths of a millimetre.

?Questions
What is the module of a gear?

The module is the gear diameter divided by the number of teeth, in millimetres. It describes the tooth size: two gears must have the same module to mesh.

Do printed gears last?

For models, toys, slow mechanisms and light machines, yes. PETG and nylon wear better than PLA; a little grease helps all of them.

Can I make helical gears?

Yes. Helical and herringbone pairs come out with opposite slants, so they mesh straight away.

More generators