Guide
Spur gear dimensions: module, pitch diameter, tooth profile, centre distance and contact ratio
Gears for a robot, a clock, a 3D-printed mechanism or a laser-cut toy all follow the same standard: involute teeth of a given module on a pitch circle. Once you know the module and the number of teeth you can work out every diameter, and with the same numbers you can draw the outline. This calculator does both, for a pair of gears, and shows the figures that decide whether they will mesh smoothly.
Module, pitch and tooth count
The pitch circle is the imaginary circle on which two gears roll against each other. Its diameter is the module times the number of teeth, so a gear with 20 teeth at module 2 has a pitch diameter of 40 mm. Tooth size can instead be given as the diametral pitch, the number of teeth per inch of pitch diameter, which is 25.4 divided by the module. The circular pitch, the distance between teeth along the pitch circle, is π times the module, 6.28319 mm for module 2.
The standard tooth
A standard full-depth tooth sticks out beyond the pitch circle by one module, the addendum, and goes below it by 1.25 modules, the dedendum, so the whole depth is 2.25 modules. The outside diameter is m(z + 2) and the root diameter is m(z − 2.5). The base circle, from which the involute curve unrolls, has a diameter equal to the pitch diameter times the cosine of the pressure angle. At the pitch circle a tooth is half a circular pitch thick, π m ÷ 2.
A pair of gears
Two gears mesh at a centre distance of half the sum of their pitch diameters. For 20 and 40 teeth at module 2 the pitch diameters are 40 and 80 mm, so the centres are 60 mm apart and the ratio is 2:1. The outside diameters are 44 and 84 mm, the root diameters 35 and 75 mm and the base circles 37.5877 and 75.1754 mm at 20°. The 20° pressure angle is the modern standard and 14.5° is found on older gears.
Contact ratio and undercut
The contact ratio is how many tooth pairs are in contact on average. For the 20 and 40 tooth pair it is 1.63519, which is healthy. The tool warns if it falls below 1.2. Gears with too few teeth are undercut at the root when a hob or rack cutter generates them, which weakens the teeth. For a 20° pressure angle the limit is 18 teeth, and for 14.5° it is about 32, and the tool warns when either gear is below the limit. Gears made by 3D printing or laser cutting can have fewer teeth, but weaker.
The drawing
Each gear is drawn as a closed outline using true involute flanks, from the root circle up to the tip, with the bore as a circle and the pitch circle as a faint guide. The SVG is in millimetres, so it can be cut directly on a laser cutter or imported into CAD, and the PDF prints at 100%. The two gears are placed side by side, not meshed, so that you can cut them out separately.
Practical clearances
The outlines are ideal profiles with zero backlash. Real gears need a little clearance, which you can add by making each gear slightly smaller, by moving the shafts apart by a fraction of a millimetre, or by compensating in your cutting software for the kerf of a laser or the extra width of printed plastic. Test with a pair before making a full set.
Limits
The tool covers standard full-depth spur gears without profile shift, tip relief, fillets or backlash. It does not calculate the strength or wear of teeth, which depend on the material, the load and the speed, nor helical, bevel or worm gears. Treat the drawing as a starting point for your own design.
Related tools
- Gear Ratio Calculator stacks gear stages and follows speed and torque.
- Belt and Pulley Calculator is the alternative drive for longer distances.
- Steps per mm Calculator uses gear reductions in extruders and drives.
- Circle Calculator gives the circumference and area of the pitch circle.
Checked against the current version of the Spur Gear Calculator on .

