MachineCalcs

Gear Center Distance Calculator

Calculate spur gear center distance from module, diametral pitch or circular pitch and the two tooth counts — with pitch diameters and ratio. Metric and imperial. Free, no signup.

Calculator

Choose the pitch value used by both meshing gears.

Module in mm, diametral pitch in 1/in, or circular pitch in mm.

mm

Number of teeth on the pinion or first gear.

Number of teeth on the mating gear.

Results

Default result
Edit inputs
Center distance(a)
60mm

Also computed

Pinion pitch diameter(d₁)40mm

Gear pitch diameter(d₂)80mm

Ratio(i)2

Module(m)2

mm

Diametral pitch(DP)12.7

1/in

Circular pitch(p)6.283mm

Method notes 3 notes
  • For standard unshifted external spur gears, center distance is half the sum of the pitch diameters.
  • Module form: a = m·(z1 + z2)/2. Diametral-pitch form: a(in) = (z1 + z2)/(2·DP).
  • Profile shift, backlash allowance and nonstandard working pressure angle can change the operating center distance.

Spur gear center distance is half the sum of the pitch diameters: a = (d₁ + d₂)/2. Since pitch diameter is d = m·z, standard unshifted gears use a = m·(z₁ + z₂)/2, or a(in) = (z₁ + z₂)/(2·DP) in diametral pitch. This calculator returns center distance, pitch diameters and ratio.

Continue workflow

All Gears

How to use this calculator

  1. Choose pitch system. Select module, diametral pitch or circular pitch.
  2. Enter pitch value. Enter the pitch value shared by both gears.
  3. Enter tooth counts. Enter pinion and gear teeth.
  4. Read center distance. Read center distance, pitch diameters and gear ratio.

How it works

Pitch diameter is d = m·z. For two meshing external spur gears, the standard center distance is half the sum of their pitch diameters: a = (d₁ + d₂) / 2 a = m · (z₁ + z₂) / 2 In diametral pitch, the same relation is a(in) = (z₁ + z₂)/(2·DP).

Worked example

Verified against the live calculator

A 20-tooth pinion and 40-tooth gear with module 2 mm have pitch diameters 40 mm and 80 mm. Center distance is (40 + 80) / 2 = 60 mm, and the ratio is 40 / 20 = 2:1.

Frequently asked questions

How do you calculate gear center distance?

For standard unshifted external spur gears, center distance is half the sum of the pitch diameters: a = (d₁ + d₂)/2. With module, that becomes a = m·(z₁ + z₂)/2.

What is the center distance formula for diametral pitch?

In inches, a = (z₁ + z₂)/(2·DP), where z₁ and z₂ are the two tooth counts and DP is diametral pitch.

Do both gears need the same pitch?

Yes. Meshing spur gears must share the same module or diametral pitch and pressure angle. Tooth counts can differ, but pitch system cannot.

Is center distance the same as pitch diameter?

No. Each gear has its own pitch diameter. The center distance between two standard external gears is the sum of their pitch radii.

Can profile shift change center distance?

Yes. Profile shift and a changed working pressure angle can alter operating center distance. This page gives the standard unshifted reference distance.

Method & assumptions

  • External spur gears with standard unshifted reference pitch diameters.
  • Both gears share the same pitch and pressure angle.
  • Backlash allowance, profile shift, helix angle and tolerance stack are not included.
Embed this calculator on your site free

Paste this where you want the calculator to appear. It stays in sync — same formulas, metric & imperial, light/dark — and a small credit link helps people find more tools.

Open widget

Live preview