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 a—mm
Working pressure angle αw—deg
Center distance modification coefficient y—
Transverse contact ratio εα—

Pinion (z1)

Reference diameter d1—mm
Base diameter db1—mm
Tip diameter da1—mm
Root diameter df1—mm
Working pitch diameter dw1—mm

Gear (z2)

Reference diameter d2—mm
Base diameter db2—mm
Tip diameter da2—mm
Root diameter df2—mm
Working pitch diameter dw2—mm

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.

⚙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)