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.
Gear pair
Results copied to clipboard.
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 DP | Circular pitch (mm) | Whole depth (mm) |
|---|---|---|---|
| 0.5 | 50.80 | 1.571 | 1.125 |
| 0.8 | 31.75 | 2.513 | 1.800 |
| 1 | 25.40 | 3.142 | 2.250 |
| 1.25 | 20.32 | 3.927 | 2.813 |
| 1.5 | 16.93 | 4.712 | 3.375 |
| 2 | 12.70 | 6.283 | 4.500 |
| 2.5 | 10.16 | 7.854 | 5.625 |
| 3 | 8.47 | 9.425 | 6.750 |
| 4 | 6.35 | 12.566 | 9.000 |
| 5 | 5.08 | 15.708 | 11.250 |
| 6 | 4.23 | 18.850 | 13.500 |
| 8 | 3.18 | 25.133 | 18.000 |
| 10 | 2.54 | 31.416 | 22.500 |
Minimum teeth to avoid undercut
| Pressure angle | 2 / sin²α | Min teeth |
|---|---|---|
| 14.5° | 31.9 | 32 |
| 20° | 17.1 | 17 |
| 25° | 11.2 | 11 |
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
φ = 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 diameter | 40 mm |
| Outside diameter | 44 mm |
| Root diameter | 35 mm |
| With a 50-tooth gear: ratio | 2.5 : 1 |
| Center distance | 70 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
- Enter the number of teeth on the gear.
- Choose module (mm) or diametral pitch (teeth per inch) and enter its value.
- Optionally enter a pressure angle (default is 20 degrees).
- Click Calculate to see all spur gear parameters instantly.
- Optionally enter the mating gear's teeth (or a target ratio) and input speed for the ratio, output rpm and center distance.
- To identify an unknown gear, count its teeth and measure the outside diameter: module = OD ÷ (N + 2), DP = (N + 2) ÷ OD in inches.
- 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.