Measurement over pins / balls calculator (spur and helical, ideal pin diameter)
The dimension M measured over pins (balls for helical gears) placed in the tooth spaces. Leave the pin diameter blank to use the ideal pin diameter.
Result
invφ = dp/(z·m·cosα) − (π/(2z) − invα) + 2x·tanα/z
Even teeth: M = z·m·cosα/cosφ + dp Odd teeth: M = (z·m·cosα/cosφ)·cos(90°/z) + dp
Helical gears use αt and mn/cosβ (measured over balls)
Pins (balls for helical gears) are placed in tooth spaces and M is measured across them with flat anvils. With an even number of teeth the spaces are directly opposite; with an odd number they are half a pitch apart, so M = (2 × radius to pin center) × cos(90°/z) + dp. Drawn to scale with the ideal pin diameter.
Printed from Kezuriba (kezuriba.net/en/gears/overpin/)
Notes
- In practice, choose the commercially available precision pin (ball) closest to the ideal diameter and enter its size to calculate M.
- On an odd-tooth gear the pins cannot sit in opposite spaces, so the dimension is taken half a pitch apart.
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 (Over pins)
- When do I use cylindrical pins versus spherical balls for over-pin measurement?
- Spur gears can be measured with either cylindrical gauge pins or balls. Helical gears have twisted tooth spaces, so spherical balls must be used in standard calculation formulas (or special mounting for cylindrical pins matching the helix).
- What should I do when the ideal pin diameter does not match a standard gauge pin size?
- First leave the pin diameter dp blank to find the ideal pin size (which contacts near the pitch circle). Then pick the nearest available precision gauge pin or ball size, enter that actual diameter into the dp field, and use the recalculated M value.
- Why is the over-pin formula different for odd and even numbers of teeth?
- On an even-tooth gear the two pins sit in diametrically opposite tooth spaces (180° apart). On an odd-tooth gear a tooth land is opposite the space, so the second pin sits half a pitch off-center, introducing the cos(90°/z) factor.

