Spur Gear Geometry Calculator: Diameters, Pitch, Centre Distance and Contact Ratio

The dimensions of a pair of standard spur gears from the module, the numbers of teeth and the pressure angle, useful for drawing a gear pair to scale.

Calculated from standard textbook formulas, with every step shown. The formulas are fixed, so the working does not need checking: what matters is the numbers you type in. Use these calculators only if you are competent to choose the inputs (loads, material strength, dimensions, supports) and check your units and assumptions. For learning and checking your own working: design and sign-off are for a qualified engineer. Drafting Central does not store the numbers you type.

How this calculator works

Enter the module, the number of teeth on each gear and the pressure angle (usually 20 degrees).

The calculator gives the pitch, outside, root and base circle diameters, the circular and base pitch, the tooth depth, the centre distance and the speed ratio.

It also gives the contact ratio and warns if a gear has too few teeth for standard teeth without undercutting.

Formulas used

  • d = m\,z,\quad d_a = d + 2m,\quad d_f = d - 2.5m
  • d_b = d\cos\alpha,\quad a = \frac{d_1 + d_2}{2}
  • \varepsilon = \frac{\sqrt{r_{a1}^2 - r_{b1}^2} + \sqrt{r_{a2}^2 - r_{b2}^2} - a\sin\alpha}{\pi m\cos\alpha}

Worked example

With the default numbers in the calculator above:

  1. Pitch diameter of gear 1: 80.00 mm
  2. Pitch diameter of gear 2: 120.00 mm
  3. Outside diameter of gear 1: 88.00 mm
  4. Outside diameter of gear 2: 128.00 mm
  5. Root diameter of gear 1: 70.00 mm
  6. Root diameter of gear 2: 110.00 mm
  7. Base circle diameter of gear 1: 75.18 mm
  8. Base circle diameter of gear 2: 112.76 mm
  9. Centre distance: 100.00 mm
  10. Circular pitch: 12.57 mm
  11. Base pitch: 11.81 mm
  12. Tooth thickness on the pitch circle: 6.28 mm

Change the numbers in the calculator to see the full working, every step, for your own case.

A second worked example

A different case, with these numbers: Module 2.5 mm; Teeth on gear 1 (pinion) 17; Teeth on gear 2 40.

  1. Pitch diameter of gear 1: 42.50 mm
  2. Pitch diameter of gear 2: 100.00 mm
  3. Outside diameter of gear 1: 47.50 mm
  4. Outside diameter of gear 2: 105.00 mm
  5. Root diameter of gear 1: 36.25 mm
  6. Root diameter of gear 2: 93.75 mm
  7. Base circle diameter of gear 1: 39.94 mm
  8. Base circle diameter of gear 2: 93.97 mm
  9. Centre distance: 71.25 mm
  10. Circular pitch: 7.85 mm
  11. Base pitch: 7.38 mm
  12. Tooth thickness on the pitch circle: 3.93 mm

Common questions

What is the module of a gear?

The pitch diameter divided by the number of teeth, in millimetres. Two gears can only mesh if they have the same module and pressure angle.

How do I find the centre distance?

Half the sum of the two pitch diameters. For module 4 with 20 and 30 teeth the pitch diameters are 80 and 120 mm, so the centre distance is 100 mm.

What is the contact ratio?

The average number of tooth pairs in contact. It should be well above 1 (about 1.2 at least) so the next pair is already carrying load as one pair leaves.

Why do small gears undercut?

With standard full-depth teeth and a 20 degree pressure angle, a gear with fewer than about 18 teeth has its tooth root cut away by the mating tool, which weakens it. Profile shift can avoid that.

Related calculators

Got a question about this? Ask an engineering question and get a plain-language answer with references.

Further reading: Any machine design text or gear standard (involute spur gears, standard module and tooth proportions).

Need a calculator we do not have?

Tell us what you would like to calculate. We read every request and build the most asked-for ones.

We store your request (and your email if you give it) to decide what to build. We do not store the numbers you type into calculators.

Embed this calculator on your own page

Copy this code into your page. The calculator runs inside the frame and links back to Drafting Central.

Need this drawn, designed or checked?

Drafting Central is a mechanical engineering and drafting business working with customers across Australia and around the world. A calculator gives you the numbers; we can turn them into drawings and designs.

Need help with a real project?

Talk to Drafting Central →

← All engineering calculators