Spur gear calculator (standard and profile-shifted, center distance, contact ratio)

From module, number of teeth and profile shift coefficients: reference, tip, root and base diameters, working pressure angle, center distance and transverse contact ratio.

Mesh

Center distance a56.500mm
Working pressure angle αw26.0886deg
Center distance modification coefficient y0.83329
Transverse contact ratio εα1.202

Pinion (z1)

Reference diameter d136.000mm
Base diameter db133.829mm
Tip diameter da144.840mm
Root diameter df132.100mm
Working pitch diameter dw137.667mm

Gear (z2)

Reference diameter d272.000mm
Base diameter db267.658mm
Tip diameter da279.400mm
Root diameter df266.660mm
Working pitch diameter dw275.333mm

invαw = 2tanα(x1 + x2)/(z1 + z2) + invα (inv α = tanα − α)
y = (z1 + z2)/2 × (cosα/cosαw − 1) a = ((z1 + z2)/2 + y)m
d = zm db = d cosα df = d − 2(1.25 − x)m
Tip: keep clearance ha1 = (1 + y − x2)m / no shortening ha1 = (1 + x1)m

Reference, tip and root circles and tooth dimensions
dadfdd reference diameter = z × mda tip diameter = d + 2mdf root diameter = d − 2.5mTooth depth and pitch (enlarged)hahfhp = πmαha addendum = m (reference → tip)hf dedendum = 1.25m (reference → root)h whole depth = ha + hf = 2.25mp pitch (tooth spacing on reference circle) = πmm module = p ÷ π (tooth size)α pressure angle (flank slope) = 20°— chain line = reference circle (datum line on the rack)

Left: an 18-tooth standard spur gear (no profile shift) drawn from the calculated involute. Right: the basic rack profile (pressure angle α = 20°) that sets tooth depth and pitch, enlarged. On profile-shifted gears the tip and root circles move by the amount of shift.

Notes

The formulas follow the published technical data listed below and have been checked against the worked examples in those sources. For design or inspection, confirm against your drawing and the standards.

Frequently asked questions (Spur gears)

When should profile shift be used on a spur gear?
Profile shift is used mainly to (1) prevent undercut on pinions with few teeth (theoretically below 17 teeth for a 20° full-depth tooth), (2) fit a required center distance a with given tooth counts, and (3) increase root bending and contact strength.
What is the minimum acceptable transverse contact ratio εα for spur gears?
For continuous action the next pair of teeth must engage before the previous pair leaves mesh, so theoretically εα > 1.0 is required. In practice, power-transmission spur gears aim for εα ≥ 1.2 (preferably 1.4 or higher). Excessive positive profile shift reduces εα and causes pointed tips.
What is the difference between shortening the tip (keeping 0.25m clearance) and not shortening it on profile-shifted gears?
When x1 + x2 > 0, the center-distance modification coefficient y is slightly smaller than x1 + x2, so leaving ha = (1 + x)m reduces tip clearance below 0.25m. The JIS/KHK convention shortens the tips by (x1 + x2 − y)m to keep 0.25m clearance. Match whichever convention is specified on your gear drawing.

Other gear calculators

Sources

  1. Kohara Gear Industry (KHK) — Gear technical data (web version) 4.1 Dimension calculation for spur gears and racks
  2. Kyoiku Gear Industry (KG) — Technical data (PDF, 176 pages: gear basics, profile shift, contact ratio, tooth thickness measurement, accuracy, calculations for various gears)