Gear Tooth Calculator

Enter tooth count and module (mm) or diametral pitch (in) to get every spur gear dimension; add the mating gear for ratio and center distance, or measure an existing gear to identify its module or DP.

For a standard spur gear with N teeth and module m: pitch diameter d = N × m, outside diameter = (N + 2) × m, root diameter = (N − 2.5) × m, whole depth = 2.25 × m and circular pitch = π × m.

Use the Gear Tooth Calculator

Looking for bicycle gearing (gear inches, gain ratio, speed at cadence)? Use the bicycle gear calculator.

Gear Inputs

Enter teeth count, module, and pressure angle to calculate all spur gear parameters.

Integer value, typically 3–500

Pitch diameter divided by number of teeth

Mating gear (optional)

Calculated Parameters

All dimensions in millimeters unless noted.

Enter values and click Calculate to see results.

Identify a gear: find module or DP from teeth and outside diameter

Count the teeth and measure across the tooth tips with calipers.

Standard modules and DP equivalents

Module (mm)Equivalent DPCircular pitch (mm)Whole depth (mm)
0.550.801.5711.125
0.831.752.5131.800
125.403.1422.250
1.2520.323.9272.813
1.516.934.7123.375
212.706.2834.500
2.510.167.8545.625
38.479.4256.750
46.3512.5669.000
55.0815.70811.250
64.2318.85013.500
83.1825.13318.000
102.5431.41622.500

Minimum teeth to avoid undercut

Pressure angle2 / sin²αMin teeth
14.5°31.932
20°17.117
25°11.211

Full-depth teeth generated by a rack, no profile shift. Below the minimum, use a positive profile shift x ≥ 1 − N sin²α / 2.

Spur Gear Formula Reference

Pitch Diameter
d = N × m
Addendum
a = 1.000 × m
Dedendum
b = 1.250 × m
Whole Depth
h = 2.250 × m
Outside Diameter
dₐ = (N + 2) × m
Root Diameter
dₑ = (N − 2.5) × m
Circular Pitch
p = π × m
Base Circle Diameter
dᵇ = d × cos(φ)
Tooth Thickness
t = π × m / 2
Diametral Pitch
DP = 25.4 / m (d = N / DP in)
Gear Ratio
i = N₂ / N₁
Center Distance
a = m × (N₁ + N₂) / 2

φ = pressure angle. Formulas follow ISO 21771 / AGMA 913 standards for full-depth spur gear teeth.

Quick answer

For a standard spur gear with N teeth and module m: pitch diameter d = N × m, outside diameter = (N + 2) × m, root diameter = (N − 2.5) × m, whole depth = 2.25 × m and circular pitch = π × m. In inches use diametral pitch: d = N ÷ DP, with m = 25.4 ÷ DP. Two gears mesh only with the same module and pressure angle; ratio = N₂ ÷ N₁ and center distance = m(N₁ + N₂) ÷ 2. At 20° a pinion needs about 17 teeth to avoid undercut.

Examples

20 teeth, module 2, 20°Value
Pitch diameter40 mm
Outside diameter44 mm
Root diameter35 mm
With a 50-tooth gear: ratio2.5 : 1
Center distance70 mm

Enter teeth and module or DP for all dimensions, add the mating gear for ratio and center distance, or measure a gear to find its module.

Summary

Enter tooth count and module (mm) or diametral pitch (in) to get every spur gear dimension; add the mating gear for ratio and center distance, or measure an existing gear to identify its module or DP.

How it works

  1. Enter the number of teeth on the gear.
  2. Choose module (mm) or diametral pitch (teeth per inch) and enter its value.
  3. Optionally enter a pressure angle (default is 20 degrees).
  4. Click Calculate to see all spur gear parameters instantly.
  5. Optionally enter the mating gear's teeth (or a target ratio) and input speed for the ratio, output rpm and center distance.
  6. To identify an unknown gear, count its teeth and measure the outside diameter: module = OD ÷ (N + 2), DP = (N + 2) ÷ OD in inches.
  7. Use the Reset button to clear inputs and start over.

Use cases

  • Verify gear dimensions during mechanical design review.
  • Quickly prototype gear sets for robotics or machinery projects.
  • Teach gear geometry to engineering students.
  • Cross-check CNC machining drawings for spur gears.
  • Determine outside and root diameters for gear blanks.
  • Calculate circular pitch for gear mesh compatibility.

Frequently Asked Questions

Last updated: 2026-10-10 · Reviewed by Nham Vu