Gear geometry calculator
You are drawing or checking a pair of standard spur gears and need the diameters and the centre distance from the module (or diametral pitch) and the tooth counts. It loads with a worked example filled in. Standard full-depth 20° spur gear proportions, as given in KHK's gear technical reference and Open Exam Prep.
More calculators in the Toolbox
Module and diametral pitch
The module m is the pitch diameter in millimetres divided by the number of teeth, so a larger module is a bigger tooth. Diametral pitch P is the number of teeth per inch of pitch diameter, so a larger pitch is a smaller tooth. They are the same idea turned over: m = 25.4 / P. The tool offers diametral pitch for coarse pitch only, under 20. Fine-pitch gears (20 diametral pitch and finer) often use different tooth depths. This tool covers coarse pitch only.
Pitch, outside and root diameter
For standard full-depth teeth with no profile shift, the addendum is one module and the dedendum is one and a quarter modules, so the clearance is a quarter module and the whole depth 2.25 modules. The pitch diameter is d = z m, the outside (tip) diameter is d + 2 m, and the root diameter is d − 2.5 m.
Worked example: module 2, with 20 and 40 teeth. The pitch diameters are 40 and 80 mm, the outside diameters 44 and 84 mm, and the root diameters 35 and 75 mm. The whole depth is 4.5 mm and the circular pitch is π m = 6.283 mm.
Centre distance
The centre distance of two standard gears is (z1 + z2) m / 2, which is 60 mm in the example, and the ratio is z2 / z1 = 2. Running gears need backlash, so the centre distance or the tooth thickness is adjusted from this nominal value.
Base circle and pressure angle
The base diameter is d cos 20°, which is 37.588 and 75.175 mm in the example. The base pitch is π m cos 20° = 5.904 mm. The tool covers 20° teeth only. Standard 20° full-depth teeth cut by a rack-type cutter (a hob or rack) start to undercut below about 17 teeth. The geometric limit is 2 / sin² 20° = 17.1. A smaller pinion needs profile shift, which this tool doesn't do.
The gear data table on a drawing
A drawing of a gear carries a data table. This tool fills only the rows that geometry alone settles: the number of teeth, the module or diametral pitch, the pressure angle, and the pitch and base diameters, which are reference values. It leaves the rest blank for you: the root form, the root diameter as limits, the tooth thickness and the accuracy. The outside diameter and the face width are toleranced dimensions on the view, not table rows.
Geometry of standard full-depth 20° spur gears with no profile shift, at their standard centre distance. It gives sizes only. It doesn't check tooth strength, wear, backlash, interference between a small pinion and a large gear, or noise, and it sets no tolerances. Gears that carry real power are designed to a gear rating standard.
For the fit of a gear on its shaft see the press fit calculator, and for how the data table reads on a print see reading a GD&T drawing.
Rapid Datum makes the drawing from your STEP file. First drawing free.
Questions
How do you calculate the pitch diameter of a spur gear?
The pitch diameter is the module times the number of teeth. A module 2 gear with 20 teeth has a 40 mm pitch diameter. In inch units divide the number of teeth by the diametral pitch.
What is the outside diameter of a standard spur gear?
The pitch diameter plus two modules. For module 2 and 20 teeth that is 44 mm.
How many teeth can a standard 20° gear have before it undercuts?
Below about 17 teeth, for standard full-depth teeth cut by a rack-type cutter. The geometric limit is 2 / sin² 20° = 17.1.