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.
Engineering student calculators
Free textbook calculators with every step shown, so you can check your own working. Pick one, type in your numbers and see the formulas worked out. Or switch to Ask a question for an explained answer. No account needed.
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:
- Pitch diameter of gear 1: 80.00 mm
- Pitch diameter of gear 2: 120.00 mm
- Outside diameter of gear 1: 88.00 mm
- Outside diameter of gear 2: 128.00 mm
- Root diameter of gear 1: 70.00 mm
- Root diameter of gear 2: 110.00 mm
- Base circle diameter of gear 1: 75.18 mm
- Base circle diameter of gear 2: 112.76 mm
- Centre distance: 100.00 mm
- Circular pitch: 12.57 mm
- Base pitch: 11.81 mm
- 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.
- Pitch diameter of gear 1: 42.50 mm
- Pitch diameter of gear 2: 100.00 mm
- Outside diameter of gear 1: 47.50 mm
- Outside diameter of gear 2: 105.00 mm
- Root diameter of gear 1: 36.25 mm
- Root diameter of gear 2: 93.75 mm
- Base circle diameter of gear 1: 39.94 mm
- Base circle diameter of gear 2: 93.97 mm
- Centre distance: 71.25 mm
- Circular pitch: 7.85 mm
- Base pitch: 7.38 mm
- 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?
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 →