Two gears are connected. The diameter of the larger gear is D subscript large and diameter of the smaller gear is D subscript small.

Let C = gear circumference, p = pitch of a gear tooth (i.e., arclength of one tooth), N = number of teeth on the gear, and D = gear diameter. The circumference of a gear can be expressed either in terms of its number of teeth N or its diameter D.

C=pN=πD

Therefore, for the large and small gears:

Clarge=pNlarge=πDlargeCsmall=pNsmall=πDsmall

Solve for p in each equation and equate:

p=πDlargeNlarge=πDsmallNsmall

 DlargeDsmall=NlargeNsmall    DsmallDlarge=NsmallNlarge