Gear ratios: How tooth count determines speed and direction, and how tooth shapes work (involutes)
For two meshing spur gears, the speed ratio is the inverse ratio of the tooth counts. When they mesh on their outer sides, they rotate in opposite directions. Adding an idler gear (an intermediate gear) restores the input direction without changing the ratio.
The calculations model the kinematics of ideal gears with no tooth skipping or losses. In the experiment below, you can change the tooth counts and add an idler to check the results.
Rotate meshing gears
Diagram with initial values (input 20 teeth, output 40 teeth, module 4 mm). Enable JavaScript to change the tooth counts and animate the gears.
Only the kinematics of ideal gears are computed (tooth contact, backlash, losses, and strength are not computed). The animation runs at an input speed of 10 rpm.
Try these three things
- Play it as is While the input makes one revolution, the output turns half a revolution in the opposite direction. The pitch circles (dotted lines) roll against each other without slipping, and the distance between the shafts is m(z₁ + z₂)/2 = 120 mm.
- Add an idler The output speed becomes +60 rpm, and its direction matches the input again. If the idler has 18 teeth, it rotates at -133.3 rpm, but changing its tooth count does not change the output speed.
- Set the input gear to 12 teeth Gears with fewer than 17.1 teeth are shown with undercut roots caused by standard gear cutting. The tooth profile in the figure does not show the undercut.
Gear ratio equations
Two meshing gears move at the same speed along their pitch circles. The pitch circle radius is proportional to the tooth count, so rotational speed is inversely proportional to the tooth count.
Compound gear train: multiply the ratios of each stage
This gear train has two gears mounted on the same shaft. For two stages, 20→60 teeth and 15→45 teeth, the ratio is (1/3) × (1/3) = 1/9, so 900 rpm becomes 100 rpm in the same direction.
Planetary gear set: hold one gear stationary
It consists of a sun gear, planet gears, and an internal gear (ring). If the ring is held stationary and the sun gear (24 teeth, ring 60 teeth) rotates at 840 rpm, the arm supporting the planets (carrier) rotates in the same direction at 240 rpm, which is 24/(24 + 60) times the speed (Willis equation).
Tooth shape: involute curves
The sides of the teeth on many gears follow a curve traced by the end of a string as it unwinds from a base circle (involute). The gear profiles in the figure are generated by the calculation engine using this curve (module m, pressure angle 20°, addendum m, dedendum 1.25m).
- Constant gear ratioThe tooth contact point always moves along a fixed straight line (the line of action), so the gear ratio stays constant regardless of tooth position.
- Tolerant of shaft misalignmentThe gear ratio does not change if the distance between the shafts shifts slightly.
The contact ratio is the average number of pairs of teeth in contact at the same time. It must be greater than 1; otherwise, the current teeth disengage before the next teeth engage.
What this page does not cover
- The calculations model the kinematics of ideal gears. They do not calculate tooth surface contact or forces, sliding, backlash (tooth clearance), losses, strength, or noise, so do not use them for gear design or strength checks.
- The tooth profiles shown are for standard spur gears and do not represent undercutting, rounded tooth tips, or profile shift.
- Actual rotational speed may vary depending on the motor driving the gears and the load.
How the values are calculated
The gear ratio is calculated from the tooth count ratio (including its sign), the distance between shafts from m(z₁ + z₂)/2, and the contact ratio by dividing the length of contact along the line of action by the base pitch π m cos 20°.
Automated tests of the calculation engine compare its results against a specification example (20 teeth at 120 rpm → 40 teeth at −60 rpm), a separately derived value based on the speed of the rolling circle in a planetary gear set, the involute equation, and the textbook contact ratio (1.557 for two 20-tooth gears). The values in the text are recalculated and checked when this page is built. Calculation engine version: 0.1.0.
Reference: R. L. Norton, Design of Machinery (chapter on gears).
Linkages that convert one rotation to another can be explored with the double-crank mechanism and the parallelogram linkage.