Spur gear dimensions: formulas and calculator
Every dimension of a standard involute spur gear follows from three numbers: the tooth count, the module (or diametral pitch), and the pressure angle. This page lists the formulas for metric and inch gears, external and internal, with a worked example and a calculator.
Spur gear formulas
For standard full-depth teeth: addendum 1 module, dedendum 1.25 module. z is the tooth count, m the module in mm, P the diametral pitch in teeth per inch (m = 25.4 / P), and α the pressure angle.
| Dimension | Metric (module) | Inch (diametral pitch) |
|---|---|---|
| Pitch diameter | d = m · z | d = z / P |
| Addendum | ha = m | ha = 1 / P |
| Dedendum | hf = 1.25 · m | hf = 1.25 / P |
| Whole depth | h = 2.25 · m | h = 2.25 / P |
| Clearance | c = 0.25 · m | c = 0.25 / P |
| Outside (tip) diameter | da = m · (z + 2) | da = (z + 2) / P |
| Root diameter | df = m · (z − 2.5) | df = (z − 2.5) / P |
| Base diameter | db = d · cos α | db = d · cos α |
| Circular pitch | p = π · m | p = π / P |
| Base pitch | pb = p · cos α | pb = p · cos α |
| Tooth thickness at pitch circle | s = π · m / 2 | s = π / (2P) |
| Centre distance (external pair) | a = m · (z1 + z2) / 2 | a = (z1 + z2) / (2P) |
Fine-pitch inch gears (20 DP and finer) are often cut with a slightly different dedendum, 1.2 / P + 0.002 in. GearStudio uses 1.25 for all pitches.
How do you calculate the outside diameter of a spur gear?
Add two addenda to the pitch diameter: da = m · (z + 2), or (z + 2) / P in inches. A 20-tooth, module 2 gear has a pitch diameter of 40 mm and an outside diameter of 44 mm; a 24-tooth, 20 DP gear has a pitch diameter of 1.2 in and an outside diameter of 1.3 in. Its root diameter is (24 − 2.5) / 20 = 1.075 in.
How do you find the module of an existing gear?
Count the teeth and measure the outside diameter, then reverse the formula: m ≈ da / (z + 2), or P ≈ (z + 2) / da in inches. Round to the nearest standard size (see the module and diametral pitch chart). If the result falls between standard sizes, the gear may be profile shifted, or an inch gear measured in millimetres: try both.
What is the centre distance of two spur gears?
Half the sum of the pitch diameters: a = m · (z1 + z2) / 2. A 20-tooth and a 40-tooth gear at module 2 sit 60 mm apart. For a pinion inside an internal gear it is half the difference, a = m · (z2 − z1) / 2, which is how a planetary set's planets meet the ring.
Internal gears
An internal gear's teeth point inward, so its addendum reduces the diameter and its dedendum increases it:
df = m · (z + 2.5)
A 60-tooth ring at module 2 has a pitch diameter of 120 mm, a tip (inside) diameter of 116 mm, and a root diameter of 125 mm.
Profile-shifted gears
Shifting the cutter outward by x modules makes the tooth thicker at the root and moves both diameters out:
hf = m · (1.25 − x)
s = m · (π / 2 + 2x · tan α)
The standard centre distance still holds when the two shifts add up to zero; otherwise the gears run at a different centre distance. See undercut and profile shift.
Calculator
| Dimension (mm) | Gear | Mating gear |
|---|---|---|
| Pitch diameter d | 40 | 80 |
| Tip diameter da | 44 | 84 |
| Root diameter df | 35 | 75 |
| Base diameter db | 37.5877 | 75.1754 |
| Addendum ha | 2 | 2 |
| Dedendum hf | 2.5 | 2.5 |
| Whole depth h | 4.5 | 4.5 |
| Circular pitch p | 6.2832 | 6.2832 |
| Base pitch pb | 5.9043 | 5.9043 |
| Tooth thickness s | 3.1416 | 3.1416 |
GearStudio draws the true involute and trochoid root fillet from these numbers and exports the gear to STEP, STL or DXF.
Open GearStudio