Skip to content
Omnikalc

Spur gear calculator: how big are the gears and how far apart?

Enter the diametral pitch, the number of teeth on each gear, the pressure angle and the pinion speed to get the diameters, the center distance, the ratio, the speed and the undercut limit.

Updated on
Your inputs
teeth/in

Value out of range

Value out of range

Value out of range

rpm

Value out of range

Results

Center distance

4.500 in

Pitch diameter of the pinion
2.250 in
Pitch diameter of the gear
6.750 in
Outside diameter of the pinion
2.500 in
Outside diameter of the gear
7.000 in
Gear ratio
3.000
Speed of the gear
583.3 rpm
Pitch line velocity
1,030.8 ft/min
Minimum teeth without undercut
18
Teeth above the minimum on the pinion
0
The pinion will not undercut

Meshing spur gears must have the same tooth size, and the rest of the geometry follows from it. The spur gear calculator takes the diametral pitch, the teeth on the pinion and on the gear, the pressure angle and the pinion speed and gives the pitch diameters, the center distance, the outside diameters, the gear ratio, the speed of the gear, the pitch line velocity and the undercut limit of the pinion.

How the calculation works

  • Pitch diameter = number of teeth ÷ diametral pitch. The pitch circles of two meshing gears touch at the pitch point.
  • Center distance = (pinion teeth + gear teeth) ÷ (2 × diametral pitch), the distance between the two shafts.
  • Outside diameter = (teeth + 2) ÷ diametral pitch. The addendum of a standard tooth is one module (1 ÷ diametral pitch).
  • Gear ratio = gear teeth ÷ pinion teeth, and gear speed = pinion speed ÷ ratio.
  • Pitch line velocity = π × pitch diameter × speed, in feet per minute when the diameter is in inches and the speed in rpm.
  • Minimum teeth without undercut = 2 ÷ sin²(pressure angle), rounded up: 32 for 14.5°, 18 for 20° and 12 for 25°.

Example

A pair of spur gears with a diametral pitch of 8, 18 teeth on the pinion and 54 teeth on the gear. The pitch diameters are 18 ÷ 8 = 2.25 in and 54 ÷ 8 = 6.75 in, and the center distance is 4.5 in. The outside diameters are 2.5 in and 7.0 in. The ratio is 3:1, so a pinion at 1 750 rpm drives the gear at 583 rpm, with a pitch line velocity of 1 031 ft/min. A 20° pinion needs at least 18 teeth, so this pinion has 0 to spare.

Why it matters

These figures are what you need to draw a gear train, to leave space for the shafts and the housing, to size the blanks that a gear cutter will start from, and to check the speed at the teeth. They also show quickly if a pinion is too small for the pressure angle.

Good to know

The formulas are for standard, full-depth involute spur gears with no profile shift. Real designs may use shortened or stub teeth, a profile shift to adjust the center distance or avoid undercut, and backlash. The strength of the teeth and the lubrication need separate checks, and a high pitch line velocity needs precise gears.

The gear ratio calculator gives the ratio and speed of a train of gears and the belt length calculator sizes a belt that runs over two pulleys.

Frequently asked questions

What is the difference between module and diametral pitch?

Both describe the size of the teeth. The module is the pitch diameter in millimetres divided by the number of teeth, and the diametral pitch is the number of teeth per inch of pitch diameter. They are linked by module = 25.4 ÷ diametral pitch. Metric gears use the module and US gears use the diametral pitch.

What is the pressure angle?

It is the angle between the direction of the force between two teeth and the line tangent to the pitch circles. The standard is 20 degrees today. The 14.5 degree angle is found on older gears. A larger angle gives stronger teeth and allows fewer teeth on the pinion without undercut, but it loads the shafts and bearings more.

What is undercut?

When a pinion has too few teeth, the cutting tool removes part of the root of the tooth and weakens it, and the gears do not mesh well. The minimum number of teeth for a standard 20 degree tooth is 18 in theory, though 14 to 17 are often used in practice with a shortened tooth.

Can two gears with different pitch mesh?

No. Gears that mesh must have the same module or diametral pitch and the same pressure angle. They can have any number of teeth. The center distance is then fixed by the teeth numbers, so a design with a different center distance needs a profile shift or helical gears.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.