Gear Train Simulator Back
Mechanical Design & Kinematics

Gear Train Simulator (Spur & Planetary Gears)

Animated meshing gear pairs, compound trains, and planetary gear sets. Auto-calculate gear ratio, output speed, torque ratio, and pitch circle diameter.

Mode
Driver Teeth N₁
Driven Teeth N₂
Input Speed
rpm
RPM
Module m
mm
mm
Results
Velocity Ratio i
2.000
Output Speed
500RPM
Torque Ratio
1.96×
Total Efficiency
98.0%
d₁ Pitch Dia.
40mm
d₂ Pitch Dia.
80mm
Center Distance
60.0mm
Gear

Animation: each gear rotates at its correct angular velocity ratio

Theory & Key Formulas

Key Formulas

Velocity ratio: $i = N_2/N_1$
Pitch circle: $d = m \cdot Z$
Center distance: $a = m(Z_1+Z_2)/2$
Planetary (ring fixed): $n_c = n_s \cdot Z_s/(Z_s+Z_r)$

What is a Gear Train?

🙋
What exactly is a "gear ratio," and how do I see it in this simulator?
🎓
Basically, the gear ratio tells you how much the speed and torque change between two meshing gears. In a simple spur gear pair, it's just the ratio of their tooth counts. In the simulator, try setting the 'Driver Teeth N₁' to 20 and 'Driven Teeth N₂' to 40. You'll see the smaller driver gear spins twice as fast as the larger driven gear, giving a ratio of 2:1 for speed reduction (or 1:2 for torque multiplication).
🙋
Wait, really? So the "module" (m) slider changes the gear size but not the ratio? What's it for?
🎓
Exactly! The ratio depends only on tooth counts. The module defines the physical size and strength of the teeth. A larger module means bigger, stronger teeth for transmitting more torque, but the gears also get physically larger. Slide the 'Module m' control and watch the pitch circles grow. For two gears to mesh in reality—and in this simulator—they must have the same module.
🙋
That makes sense. The planetary gear setup looks more complex. What's the main advantage of cramming all those gears in one place?
🎓
Great observation! Planetary gears (or epicyclic gears) are a game-changer. They provide high reduction ratios in a compact, coaxial package—meaning input and output shafts are in line. In the simulator, with the ring gear fixed, change the 'Sun Gear Teeth Zs'. You'll see a large speed reduction from the sun gear (input) to the carrier (output) without needing multiple bulky gear stages. This compactness is why they're inside automatic transmissions.

Physical Model & Key Equations

The fundamental relationship for a simple spur gear pair is the velocity ratio (or gear ratio) i, defined as the ratio of the driven gear's teeth to the driver's teeth. This inversely relates their rotational speeds.

$$i = \frac{N_2}{N_1}= \frac{\omega_1}{\omega_2}$$

Where \(N_1, N_2\) are the numbers of teeth on the driver and driven gears, and \(\omega_1, \omega_2\) are their angular speeds. If \(i > 1\), you have a speed reducer (output is slower but has more torque).

The physical size of a gear is determined by its module and tooth count. The pitch circle diameter is the theoretical circle on which gears mesh perfectly.

$$d = m \cdot Z$$

Where \(d\) is the pitch circle diameter, \(m\) is the module (in mm), and \(Z\) is the number of teeth. The center distance between two meshing gears is the average of their pitch diameters, crucial for proper assembly.

$$a = \frac{m(Z_1 + Z_2)}{2}$$

For a planetary gear train with the ring gear fixed, the relationship between the sun gear speed (\(n_s\)), carrier speed (\(n_c\)), and ring gear speed (\(n_r=0\)) is given by the following kinematic equation.

$$n_c = n_s \cdot \frac{Z_s}{Z_s + Z_r}$$

Where \(Z_s\) and \(Z_r\) are the tooth counts of the sun and ring gears, respectively. This shows the compact speed reduction possible: for example, a small sun and large ring yield a very low output speed at the carrier.

Frequently Asked Questions

The overall speed ratio of a gear train is determined by the number of teeth on all meshing gears. For a pair of spur gears, it is calculated only from the number of teeth on the driving and driven gears, but for planetary gears, multiple elements such as the carrier and sun gear are involved. Please set the number of teeth for each gear correctly and check the speed ratio displayed in the calculation results.
In a planetary gear, you can switch between speed increase and reduction by changing the input, output, and fixed elements (sun gear, ring gear, carrier). For example, with the sun gear as input and the carrier as output, you get speed reduction; with the carrier as input and the sun gear as output, you get speed increase. Try using the fixed element selection dropdown in the simulator.
The torque ratio is the reciprocal of the speed ratio (in an ideal state ignoring losses). If the reduction ratio is 2:1, the output torque is approximately twice the input torque. In the simulator, it is automatically calculated from the gear ratio and displayed along with the animation. Since actual gears have friction losses, please use this as a reference value.
The pitch circle diameter is determined by the module (tooth size) and the number of teeth. If you want to change the diameter, please modify the module or the number of teeth. For example, increasing the number of teeth will increase the diameter, while decreasing the module will also decrease the diameter. The center distance will be automatically recalculated.

Real-World Applications

Automotive Transmissions: Planetary gear sets are the heart of automatic transmissions. By using clutches and brakes to hold different elements (sun, carrier, ring) stationary, a single planetary set can provide multiple gear ratios, reverse, and a neutral state, all in an incredibly compact space.

Industrial Gearboxes: Multi-stage spur gear trains, like the 2-stage model in the simulator, are used in conveyor systems, mixers, and heavy machinery. Engineers use the module to design teeth strong enough to handle high torque loads without failure over years of operation.

Precision Robotics & Aerospace Actuators: High-reduction planetary gearheads are attached to motors in robotic joints and aircraft flap actuators. They provide the high torque and precise, backlash-controlled motion needed for accurate positioning from a small, lightweight package.

Wind Turbines: The gearbox in a wind turbine is a prime example of a massive, multi-stage speed increaser. The slow rotation of the blades is converted into the high-speed rotation required by the electrical generator, using principles identical to those in the simulator's multi-stage setup.

Common Misconceptions and Points to Note

First, while playing with the simulator, have you ever thought, "As long as the tooth counts match, any combination will mesh"? Actually, there's a major pitfall. Gears won't mesh properly unless they share the same module (tooth size). For example, a 20-tooth gear with module 2 (pitch circle diameter 40mm) and a 20-tooth gear with module 2.5 (pitch circle diameter 50mm) might look similar but will absolutely not mesh. In design, the golden rule is to unify the module you use before even considering tooth counts.

Next, when calculating reduction ratios, it's easy to think "a single stage can do anything." Theoretically, you can create a ratio of 100:1 in one stage. However, if the pinion has 10 teeth, the larger gear would need 1000 teeth, which is impractical. It would be enormous and inefficient. In practice, it's standard to keep the reduction ratio per stage to around 3 to 6. For instance, if you need a total ratio of 36, a two-stage configuration of 6×6 allows you to build much more compact gears. Try using the "compound gear train" in the simulator to change the tooth counts for each stage while keeping the overall ratio constant; you should experience firsthand how the balance of gear sizes changes.

Also, regarding "fixing" in planetary gears. The tool deals with the case of a fixed ring gear, but in actual mechanisms, by switching which element is fixed (sun, ring, or carrier), you can achieve various transmission characteristics like reduction, increase, reversal, or direct drive (1:1). This "choice of the fixed element" is the key to designing planetary gear mechanisms. The ability to generate diverse motions from a single set is why planetary gears are highly valued in applications like transmissions.

How to Use

  1. Enter pinion teeth count in vN1Num (typically 12-24 for spur gears) and gear teeth count in vN2Num
  2. Set input shaft RPM in vRPM1Num (e.g., 1500 RPM for motor drive)
  3. Select gear type via sN1 dropdown (Spur or Planetary) and tooth profile via sN2 (20° or 25° pressure angle)
  4. Specify module in sN1Num (e.g., 2.5 mm for industrial drives) and face width in sN2Num (e.g., 20 mm)
  5. Click Simulate to visualize mesh engagement and view calculated output speed, torque multiplication, and pitch diameters

Worked Example

Spur gear pair: 16-tooth pinion (module 3.0 mm, 20° pressure angle) driving 48-tooth gear at 1800 RPM input. Gear ratio = 48/16 = 3.0. Output speed = 1800/3.0 = 600 RPM. Pinion pitch diameter = 16 × 3.0 = 48 mm; gear pitch diameter = 48 × 3.0 = 144 mm. Center distance = (48+144)/2 = 96 mm. If input torque is 50 N·m, output torque = 50 × 3.0 = 150 N·m (accounting 97% efficiency loss = 145.5 N·m).

Practical Notes

  1. Planetary gears offer compact packaging with ratios up to 10:1 in single stage; spur gears suit high-speed applications above 3000 RPM
  2. Module selection affects contact stress: smaller modules (1.5-2.0) reduce weight but demand precision machining; larger modules (4.0-6.0) tolerate misalignment
  3. Face width minimum = 12× module for adequate load capacity in industrial conveyors and pump drives
  4. Backlash compensation: add 0.15-0.25 mm radial clearance per mesh for thermal expansion in 24/7 operations