Lay out a standard external spur gear pair
The pitch circles roll against one another at the nominal center distance. The outside and root circles define the nominal tooth envelope. The tool assumes standard full-depth involute teeth and zero profile shift on both gears.
Both gears need the same tooth size and pressure angle. Diametral pitch is teeth per pitch inch and converts to metric module using 25.4 ÷ DP. The ideal speed ratio depends on tooth counts alone.
Contact ratio uses the length of the path of contact divided by the base pitch. Check the actual tooth profile when the small gear triggers undercut or the tip extends beyond a base-circle tangent. Set production clearance and backlash using your gear data.
Worked example
At module 1, 20 and 40 teeth give 20 and 40 mm pitch diameters. The shafts are 30 mm apart and the outside diameters are 22 and 42 mm. With a 20° pressure angle the nominal contact ratio is about 1.64.
Formulas
Module (mm) = 25.4 / DPPitch diameter d = m ZOutside diameter = d + 2mRoot diameter = d − 2.5mCenter distance = (d₁ + d₂) / 2Base diameter = d cos αContact ratio = [√(rₐ₁² − rᵦ₁²) + √(rₐ₂² − rᵦ₂²) − C sin α] / (π m cos α)