Spur Gear Calculator
Input Parameters
Computed Results
The spur gear calculator determines essential gear dimensions such as pitch diameter, outside diameter, root diameter, and base diameter. By entering the number of teeth, module (or diametral pitch), and pressure angle, you can quickly find the exact measurements needed for standard full-depth involute gear design in both metric and imperial units.
Practical Use Cases
Calculating gear dimensions is a fundamental step in mechanical design and manufacturing. This tool helps engineers and machinists determine the exact physical size of a gear before cutting or 3D printing. It is commonly used when designing custom gearboxes, replacing worn or broken gears in existing machinery, or verifying the compatibility of mating gears. Whether you are working with small metric pinions for robotics or large industrial gears, having accurate measurements for the pitch diameter, addendum, and dedendum ensures proper meshing and smooth operation.
How to Use the Calculator
Follow these steps to calculate your gear dimensions:
- Select Measurement Standard: Choose either millimeters (mm) for metric calculations or inches for imperial calculations.
- Select Gear Type: Choose "external" for standard gears or "internal" for ring gears.
- Enter Number of Teeth (z / N): Input the total number of teeth on the gear.
- Enter Module or DP: For metric gears, enter the Module (m). For imperial gears, enter the Diametral Pitch (DP).
- Enter Pressure Angle: Input the pressure angle in degrees. Standard angles are typically 14.5°, 20°, or 25°.
- Set Decimal Precision: Choose how many decimal places you want in your results.
The calculator will instantly display the pitch diameter, outside diameter, root diameter, base diameter, circular pitch, addendum, dedendum, whole depth, and circular tooth thickness.
Formula & Explanation
The calculator uses standard full-depth involute gear proportions. The core formulas depend on whether you are using the metric Module (m) or imperial Diametral Pitch (DP). For imperial calculations, the module equivalent is calculated as
The primary dimensions are calculated as follows (where z is the number of teeth and α is the pressure angle):
- Pitch Diameter (d): d = m × z
- Addendum (ha): ha = 1.0 × m
- Dedendum (hf): hf = 1.25 × m
- Base Diameter (db): db = d × cos(α)
- Circular Pitch (p): p = π × m
For external gears, the outside diameter is
Verified Scenario Walkthroughs
Here are examples of how the calculator processes different gear specifications.
Small Metric Pinion Gear
Consider an external metric gear with 12 teeth, a module of 1.0, and a 20° pressure angle, calculated to 2 decimal places. The pitch diameter is 12 mm. The outer diameter is 14 mm, and the root diameter is 9.5 mm. The base diameter is 11.28 mm, with a circular pitch of 3.14 mm.
Standard Industrial Internal Gear
For an internal metric gear with 80 teeth, a module of 2.0, and a 20° pressure angle, calculated to 4 decimal places. The pitch diameter is 160 mm. The inside tip diameter (outer diameter output) is 156 mm, and the root diameter is 165 mm. The base diameter is 150.3508 mm.
Large Imperial Gear Design
If you design an external imperial gear with 150 teeth, a Diametral Pitch of 12.0, and a 14.5° pressure angle, calculated to 6 decimal places. The pitch diameter is 12.5 inches. The outer diameter is 12.666667 inches, and the root diameter is 12.291667 inches. The base diameter is 12.101846 inches.
High Precision Imperial Pinion
For an external imperial gear with 32 teeth, a Diametral Pitch of 8.0, and a 25° pressure angle, calculated to 3 decimal places. The pitch diameter is 4 inches. The outer diameter is 4.25 inches, and the root diameter is 3.688 inches. The base diameter is 3.625 inches, with a circular pitch of 0.393 inches.
Inputs & Outputs Table
| Input/Output | Description |
|---|---|
| Measurement Standard | Choose between millimeters (mm) or inches. |
| Gear Type | Select external (standard) or internal (ring gear). |
| Number of Teeth (z / N) | The total number of teeth on the gear. |
| Module (mm) or DP (1/in) | The size of the gear teeth. Use Module for metric or Diametral Pitch for imperial. |
| Pressure Angle (°) | The angle of the tooth profile, typically 14.5°, 20°, or 25°. |
| Pitch Diameter | The diameter of the pitch circle, where mating gears theoretically roll together. |
| Tip / Outside Diameter (da) | The overall diameter of the gear (or inside diameter for internal gears). |
| Root Diameter (df) | The diameter at the bottom of the tooth spaces. |
| Base Diameter (db) | The diameter from which the involute tooth profile is generated. |
| Circular Pitch (p) | The distance from one point on a tooth to the corresponding point on the next tooth along the pitch circle. |
Frequently Asked Questions
What is the difference between Module and Diametral Pitch?
Module is the metric standard for gear tooth size, representing the pitch diameter divided by the number of teeth. Diametral Pitch (DP) is the imperial standard, representing the number of teeth per inch of pitch diameter. They are inversely related.
How does the pressure angle affect the gear?
The pressure angle determines the shape of the gear tooth. A higher pressure angle (like 25°) results in a wider base and stronger tooth, while a lower pressure angle (like 14.5°) provides smoother, quieter operation but a weaker tooth.
Why are the outside and root diameter formulas different for internal gears?
For an internal gear (ring gear), the teeth point inward toward the center. Therefore, the tip diameter is smaller than the pitch diameter, and the root diameter is larger than the pitch diameter, which is the reverse of an external gear.