Pitch Diameter Calculator
Pitch Diameter & Drive Specs
What Is a Pitch Diameter Calculator?
A pitch diameter calculator determines the diameter of a theoretical reference circle used in mechanical power transmission components. For spur gears, it uses tooth count and tooth size. For roller chain sprockets and timing pulleys, it uses tooth or groove count and pitch. The appropriate formula depends on the selected component.
Pitch diameter, abbreviated as PD, is an important geometric measurement. In a spur gear, the pitch circle is a reference circle used to describe the meshing relationship between gears. Its diameter helps determine theoretical gear center distance and gear ratio.
For a roller chain sprocket, the pitch circle passes through the centers of the chain pins as the chain engages the sprocket. For a timing pulley, the pitch diameter relates to the theoretical pitch line of the belt.
The calculator provides five calculation modes: metric spur gear, imperial spur gear, spur gear estimated from outside diameter, roller chain sprocket, and timing pulley. Each mode applies the mathematical relationship appropriate to that component.
How the Pitch Diameter Formulas Work
Pitch diameter cannot be calculated using one formula for every type of gear or drive component. The calculator uses different equations based on the selected mode.
1. Metric Spur Gear Pitch Diameter Formula
For a metric spur gear, pitch diameter equals the number of teeth multiplied by the metric module.
Where:
- PD = Pitch diameter in millimeters
- m = Metric module in millimeters
- z = Number of gear teeth
Module describes the size of a gear's teeth relative to its pitch diameter. A larger module produces a larger pitch diameter when the number of teeth remains unchanged.
2. Imperial Spur Gear Pitch Diameter Formula
For imperial spur gears, the calculator uses diametral pitch, which represents the number of teeth per inch of pitch diameter.
Where:
- PD = Pitch diameter in inches
- N = Number of teeth
- DP = Diametral pitch in teeth per inch
For example, a 24-tooth gear with a diametral pitch of 12 has a pitch diameter of 2.0000 inches, equivalent to 50.800 mm.
The calculator converts imperial diametral pitch into metric module to calculate additional gear dimensions.
3. Pitch Diameter From Measured Outside Diameter
If the gear's module or diametral pitch is unknown, the calculator can estimate pitch diameter from the number of teeth and measured outside diameter.
It first calculates the estimated metric module:
The estimated module is then multiplied by the tooth count. Combining these calculations gives:
Here, OD is the measured outside diameter in millimeters, and z is the number of teeth.
For example, a 24-tooth gear with a measured outside diameter of 52 mm has an estimated module of 2 mm and a pitch diameter of 48 mm.
This method assumes standard full-depth spur gear proportions. Profile-shifted or non-standard gears may have different relationships between outside diameter and pitch diameter.
4. Roller Chain Sprocket Pitch Diameter Formula
A roller chain sprocket uses a polygon-based formula because the chain consists of individual links connected by pins.
Where:
- PD = Sprocket pitch diameter
- P = Chain pitch, measured between adjacent pin centers
- N = Number of sprocket teeth
For a sprocket with 24 teeth and a chain pitch of 12.7 mm, the calculated pitch diameter is approximately 97.298 mm.
The calculator also compares this result with the timing pulley formula and displays the percentage by which that shortcut would underestimate the sprocket pitch diameter.
For the 24-tooth example, the shortcut produces a result approximately 0.29% smaller than the sprocket formula.
5. Timing Pulley Pitch Diameter Formula
For a timing pulley, the pitch circumference equals the number of grooves multiplied by the belt pitch. Dividing this circumference by pi produces the pitch diameter.
Where:
- PD = Timing pulley pitch diameter
- N = Number of pulley grooves
- P = Belt pitch
- π = Pi, approximately 3.141593
For example, a timing pulley with 24 grooves and a belt pitch of 12.7 mm has a pitch diameter of approximately 97.021 mm.
For both timing pulleys and roller chain sprockets, the calculator also displays the pitch radius, which is half the calculated pitch diameter.
Additional Spur Gear Geometry Calculations
In all three spur gear modes, the calculator uses the metric module to calculate additional dimensions. These calculations assume standard full-depth involute tooth proportions.
| Dimension | Formula |
|---|---|
| Outside diameter | OD = m × (z + 2) |
| Root diameter | RD = m × (z − 2.5) |
| Base circle diameter | BD = PD × cos(α) |
| Addendum | a = m |
| Dedendum | b = 1.25 × m |
| Circular pitch | CP = π × m |
| Equivalent diametral pitch | DP = 25.4 / m |
In these formulas, m is the module in millimeters, z is the number of teeth, PD is the pitch diameter, and α is the pressure angle. The cosine calculation uses the pressure angle converted from degrees to radians.
The addendum represents the radial distance from the pitch circle to the tooth tip. The dedendum represents the radial distance from the pitch circle to the tooth root.
When a mating gear tooth count of at least three is entered, the calculator also determines theoretical center distance and tooth-count ratio.
Here, z₁ is the primary gear tooth count, and z₂ is the mating gear tooth count. The center distance formula assumes two external spur gears with the same module.
Length conversions use 25.4 millimeters per inch. The calculator displays metric and imperial equivalents where applicable.
Worked Example: 24-Tooth Metric Spur Gear
Consider the calculator's default metric gear inputs:
- Number of teeth: 24
- Metric module: 2 mm
- Pressure angle: 20 degrees
- Mating gear tooth count: 48
First, calculate the pitch diameter by multiplying the module by the number of teeth.
Convert the result to inches by dividing by 25.4.
Next, calculate the mating gear center distance.
The calculator produces these results:
| Output | Calculated Result |
|---|---|
| Pitch diameter | 48.000 mm (1.8898 in) |
| Outside diameter | 52.000 mm (2.0472 in) |
| Root diameter | 43.000 mm (1.6929 in) |
| Base circle diameter | 45.105 mm |
| Addendum / Dedendum | 2.00 / 2.50 mm |
| Metric module | 2.000 mm |
| Diametral pitch | 12.70 |
| Circular pitch | 6.283 mm |
| Mating gear center distance | 72.000 mm (2.8346 in) |
| Gear ratio | 1 : 2.00 |
This example shows how the calculator determines several useful gear dimensions from a small set of inputs.
How to Use the Pitch Diameter Calculator
The calculator changes its available input fields based on the selected component and calculation method.
- Select the component and calculation mode. Choose metric spur gear, imperial spur gear, gear from outside diameter, roller chain sprocket, or timing pulley.
- Enter the number of teeth or grooves. The calculator accepts tooth counts from 3 to 1,000.
- Enter the required measurement. Depending on the selected mode, provide metric module, diametral pitch, measured outside diameter in millimeters, or chain or belt pitch.
- Choose the pitch unit when available. Sprocket and timing pulley modes allow pitch measurements in millimeters or inches.
- Set the pressure angle for spur gears. The calculator starts with a default pressure angle of 20 degrees.
- Enter the mating gear tooth count if needed. Use a value of at least three to calculate center distance and gear ratio. Enter zero if those additional results are not needed.
- Click Calculate. Read the pitch diameter and the additional results shown for your selected component.
The primary result displays pitch diameter in both millimeters and inches. Imperial spur gear mode shows inches first, while metric gear modes show millimeters first. Sprocket and timing pulley modes show the selected pitch unit first.
The main result is displayed to three decimal places for millimeters and four for inches. Additional outputs have their own decimal formatting. You can click Reset to restore the original values and hide the displayed results.
Understanding Your Results and Important Assumptions
Pitch diameter is a theoretical geometric dimension. It should not automatically be treated as a directly measurable outside diameter.
Pitch Diameter vs. Outside Diameter
Outside diameter measures across the outermost tooth tips of a gear. Pitch diameter describes the theoretical reference circle used in gear geometry.
For a standard external spur gear, outside diameter is larger than pitch diameter. The difference depends on the module and tooth proportions.
The outside-diameter estimation mode assumes standard tooth geometry. If a gear has profile shifts or modified tooth proportions, the estimated pitch diameter may differ from its actual design specification.
Why Pressure Angle Matters
The pressure angle affects the base circle diameter of an involute spur gear. The calculator uses the selected pressure angle in the cosine relationship to determine the base circle.
Changing pressure angle does not change the calculated pitch diameter when module and tooth count remain constant. It changes the base circle result instead.
Sprocket Pitch Diameter vs. Timing Pulley Pitch Diameter
Roller chain sprockets and timing pulleys use different pitch diameter formulas. Sprockets use a chord-based polygon relationship, while timing pulleys use the belt pitch circumference.
The sprocket mode reports how much the timing pulley formula would underestimate the calculated sprocket pitch diameter. This comparison helps explain why the formulas are not interchangeable.
Physical Pulley Diameter and Gear Compatibility
In timing pulley mode, the calculator states that the physical pulley outside diameter is smaller than the pitch diameter by twice the belt pitch-line offset. It does not calculate that physical diameter because no offset value is entered.
The calculated gear center distance also assumes a common module and standard external gear geometry. The calculator does not establish whether two gears have matching tooth profiles or are suitable for a particular load.
Check component drawings and manufacturer specifications before using calculated dimensions for machining or assembly. The formulas provide theoretical results, while physical components may include manufacturing tolerances and design modifications.
Frequently Asked Questions
How do I calculate pitch diameter from the number of teeth?
For a metric spur gear, multiply the number of teeth by the module. For an imperial spur gear, divide the number of teeth by the diametral pitch. Tooth count alone is not enough because the calculation also requires tooth size or another relevant measurement.
Can you calculate pitch diameter from outside diameter?
Yes. For a standard spur gear, multiply the measured outside diameter by the tooth count and divide by the tooth count plus two. The calculator uses this relationship to estimate module and pitch diameter. The result assumes standard, unshifted gear tooth proportions.
What is the difference between module and diametral pitch?
Module expresses gear tooth size using millimeters, while diametral pitch measures the number of teeth per inch of pitch diameter. They have an inverse relationship. For a fixed tooth count, increasing module increases pitch diameter, while increasing diametral pitch decreases it.
Does changing the pressure angle change the pitch diameter?
No. The calculator's spur gear pitch diameter formulas do not include pressure angle. Pressure angle affects the calculated base circle diameter instead. The default pressure angle is 20 degrees, and the input field provides a stated range of 5 to 45 degrees.
How is gear center distance calculated?
The theoretical center distance between two standard external spur gears equals half the sum of their pitch diameters. The calculator uses the common module and both tooth counts to determine this value. Enter a mating gear tooth count of three or more to display the center distance and ratio.
Can I use inches instead of millimeters?
Yes. The calculator displays pitch diameter in both inches and millimeters. Imperial gear mode accepts diametral pitch in teeth per inch. Sprocket and timing pulley modes also let you choose inches for the pitch input. The gear outside-diameter estimation mode uses a measured diameter in millimeters.
Why does the calculator not show a result?
The calculation may stop if a required entry is missing or invalid. Tooth count must be between 3 and 1,000, and the relevant module, diametral pitch, outside diameter, or chain or belt pitch must be positive. In spur gear modes, the pressure angle and mating gear tooth count fields must also contain usable values. Enter zero rather than leaving the mating tooth count blank when no mating gear is needed.