Gear generator

Set the tooth count and module, inspect the involute profile, then export a printable gear or a meshed pair.

Pitch 40.00 mm · Outside 44.00 mm · Root 35.00 mm

Gear generatorNO MODEL
Loading preview…

Dimensions and specifications

Pitch diametermodule × teeth
Outside diametermodule × (teeth + 2)
Root diametermodule × (teeth − 2.5)
Base diameterpitch diameter × cos(pressure angle)
Center distancemodule × (z₁ + z₂) / 2
Diametral pitchmodule = 25.4 / DP

Start with module and tooth count

A spur gear transfers motion through teeth parallel to its shaft. Module is the pitch diameter divided by the number of teeth, in millimeters. Two gears must use the same module and pressure angle to mesh at the standard center distance. If you know diametral pitch instead, enter it and the tool converts it using 25.4 divided by DP. Tooth count determines the ratio: a 20-tooth gear driving a 40-tooth gear turns the second shaft at half its speed.

Understand the circles

The pitch circle is an imaginary rolling reference, not the tip of a tooth. For an unshifted gear its diameter is module times teeth. The outside circle adds one module at each side; the root circle is 2.5 modules smaller than the pitch diameter. The base circle depends on pressure angle. Above that circle, each flank follows an involute. Below it, this generator approximates the root transition, so it is a practical print profile rather than a certified manufacturing cutter path.

Pressure angle and undercut

Choose 14.5°, 20° or 25° to match your mating gear. Twenty degrees is a common general-purpose choice, but it must agree across the pair. A small tooth count can undercut an involute gear and weaken its roots. The tool warns below 17 teeth at 20°; the precise limit depends on geometry and profile shift. Do not use a printed prototype as a substitute for engineering analysis when failure could injure someone or damage equipment.

Backlash, shafts and hubs

Backlash thins the teeth so the mating flanks have room to move. Printed parts need some clearance for layer lines and dimensional error; start with a small allowance and print a short pair before committing to a mechanism. A round bore is suitable for a pin or a separately secured shaft. A D-shaft bore removes a flat section from the opening; measure the actual shaft and flat depth. An optional hub adds material around the bore and extends above the face.

Export and test

The pair preview uses the standard center distance and a tooth-to-gap phase. Export STL for your slicer, exact STEP for CAD, or a millimeter-scale SVG of the first gear profile. The displayed roots are approximated and the mesh uses finite segments, so inspect critical fits in your target system. Print with the gear face flat, keep the bore clean and check for rubbing through a full revolution. Test load, wear and heat on a safe prototype before putting a mechanism into service.

Frequently asked questions

Do paired gears need the same module?

Yes. The pair uses one module and pressure angle for both gears.

What is diametral pitch?

It is teeth per inch of pitch diameter. Module in millimeters is 25.4 divided by diametral pitch.

Why is a low tooth count flagged?

At 20° pressure angle, fewer than 17 teeth can introduce undercut and weaker roots.

How is backlash applied?

The tool reduces tooth thickness at the pitch circle. Printer tolerances may require additional adjustment.

Is STEP a triangle mesh?

No: the gear STEP uses an extruded polygon and CAD booleans. The involute itself is sampled into straight segments.

Is it safe for a loaded mechanism?

These are printable approximations. Validate the material, load, wear, tolerances and failure consequences independently.

Keep making

Need a custom part? Describe it to the AI, or browse the design library.

Gridfinity generator →STL to STEP converter →