# Gear calculator

> Calculate spur gear pitch, tip, root, and base diameters, centre distance, circular pitch, and gear ratio from module and teeth. Follows ISO 53 and TCVN 1065-71.

Compute spur gear pitch, tip, root, and base diameters, centre distance, and gear ratio from module and tooth counts.

Page: https://archee.studio/tools/gear-calculator/
Standard: ISO 53 · ISO 6336 · TCVN 1065-71

## Formulas

```text
d1 = m · z1,   d2 = m · z2
da = d + 2 · (1 + x) · m
df = d - (2.5 - 2 · x) · m
db = d · cos(α)
a = m · (z1 + z2) / 2,   u = z2 / z1
```

## How it works

Standard metric spur gears follow the ISO 53 basic rack profile with a 20° pressure angle, addendum ha = 1.0·m, and dedendum hf = 1.25·m (TCVN 1065-71).

Pitch diameter scales linearly with module and tooth count. Tip (addendum) and root (dedendum) diameters shift by 2·x·m when profile shift coefficients x1 or x2 are applied to avoid undercut on low tooth counts or adjust backlash.

Preferred modules follow ISO 54 / T1 Table 6.8 Row 1 (1.25 to 12 mm) and Row 2 (1.375 to 14 mm). Custom positive modules are accepted for non-standard cutters.

## Worked example

Standard unshifted spur pair: module m = 3 mm, pinion z1 = 20, wheel z2 = 60, α = 20°.

- **Module m:** 3 mm
- **Pinion teeth z1:** 20
- **Wheel teeth z2:** 60
- **Pressure angle α:** 20°
- **Pitch diameters d1 / d2:** 60 / 180 mm
- **Tip diameters da1 / da2:** 66 / 186 mm
- **Root diameters df1 / df2:** 52.5 / 172.5 mm
- **Centre distance a / Ratio u:** 120 mm / 3

## Questions

### What is gear module m?

Gear module m is the pitch diameter divided by the number of teeth (m = d / z), expressed in millimetres. Two meshing spur gears must have the same module and pressure angle.

### What is the minimum number of teeth without undercut?

For a standard 20° full-depth involute spur gear with zero profile shift, undercut begins below 17 teeth. Applying positive profile shift x > 0 lets pinions with fewer teeth mesh cleanly.

### How do I convert module to diametral pitch (DP)?

Divide 25.4 by the module in millimetres: DP = 25.4 / m. For example, a 2 mm module corresponds to 12.7 DP.

## Next step

- [Draw this part in Archee](https://app.archee.studio/signup)
- [Use it from your coding agent](https://docs.archee.studio/mcp/setup)
- [All free calculators](https://archee.studio/tools/)
- [Keyway size chart](https://archee.studio/tools/keyway-size-chart/)
- [ISO fit calculator](https://archee.studio/tools/iso-fit-calculator/)
- [Bearing life calculator](https://archee.studio/tools/bearing-life-calculator/)
- [Belt length calculator](https://archee.studio/tools/belt-length-calculator/)
