Mechanical Engineering Calculator

Gear Ratio Calculator

Calculate the gear ratio, output speed, and output torque of a mating gear pair. Analyze mechanical advantage and power transmission efficiency.

Gear Mesh Schematic

Speed reduction and torque multiplication through mating gears

DriverT1 = 20DrivenT2 = 60

Input Parameters

teeth

Number of teeth on the input motor gear.

teeth

Number of teeth on the output gear.

RPM

Rotational speed of the driving gear.

N·m

Torque applied to the driving gear.

%

Efficiency of power transmission (typically 95-98%).

Design Tip

To prevent accelerated wear on specific teeth, engineers often design gears with "hunting ratios" (non-integer ratios) so the same teeth don't mesh on every revolution.

Gear Ratio (i)

3.00: 1
Speed Reduction (Torque Multiply)

Output Speed

500.00 RPM

Output Torque

147.00 N·m

Governing Formulas

i = T₂ / T₁
N₂ = N₁ / i
Torque₂ = Torque₁ × i × η

Engineering Code

Calculate multi-stage gear train kinematics programmatically.

Python
def calculate_gear_kinematics(t1, t2, n1_rpm, t1_torque, efficiency_pct=100):
    """
    Calculate gear ratio, output speed, and output torque.
    
    t1: Teeth on driving gear
    t2: Teeth on driven gear
    n1_rpm: Input speed in RPM
    t1_torque: Input torque
    efficiency_pct: Mechanical efficiency (0-100)
    
    Returns: Dict containing ratio, output_speed, output_torque
    """
    if t1 <= 0 or t2 <= 0:
        raise ValueError("Number of teeth must be greater than zero.")

    ratio = t2 / t1
    n2_rpm = n1_rpm / ratio
    t2_torque = t1_torque * ratio * (efficiency_pct / 100)
    
    return {
        "ratio": ratio,
        "output_speed": n2_rpm,
        "output_torque": t2_torque
    }

# Example
results = calculate_gear_kinematics(
    t1=20, 
    t2=60, 
    n1_rpm=1500, 
    t1_torque=50, 
    efficiency_pct=98
)

print(f"Gear Ratio: {results['ratio']:.2f}")
print(f"Output Speed: {results['output_speed']:.1f} RPM")
print(f"Output Torque: {results['output_torque']:.1f} N.m")
MATLAB
function res = gear_kinematics(t1, t2, n1_rpm, t1_torque, eff_pct)
    % Calculate gear ratio, output speed, and output torque

    if t1 <= 0 || t2 <= 0
        error('Number of teeth must be > 0');
    end

    ratio = t2 / t1;
    n2_rpm = n1_rpm / ratio;
    t2_torque = t1_torque * ratio * (eff_pct / 100);
    
    res.ratio = ratio;
    res.output_speed = n2_rpm;
    res.output_torque = t2_torque;
end

% Example
res = gear_kinematics(20, 60, 1500, 50, 98);

fprintf('Gear Ratio: %.2f\n', res.ratio);
fprintf('Output Speed: %.1f RPM\n', res.output_speed);
fprintf('Output Torque: %.1f N.m\n', res.output_torque);
Excel Formulas
Ratio: =T2/T1
Output Speed: =N1/(T2/T1)
Output Torque: =Torque1*(T2/T1)*(Eff/100)

Example Calculation

A motor drives a pinion with 20 teeth at 1,500 RPM delivering 50 N·m of torque. It meshes with a driven gear having 60 teeth. The gear mesh efficiency is 98%.

Gear Ratio (i)
60 / 20
3.00
Output Speed
1500 / 3
500 RPM
Output Torque
50 × 3 × 0.98
147.0 N·m

Technical Explanation: Gear Ratios and Mechanical Advantage

In mechanical engineering, gears are fundamental rigid machine elements used to transmit rotational motion and power between intersecting, parallel, or non-parallel shafts. The core purpose of a gear set is to act as a mechanical transformer. Prime movers—such as electric motors, internal combustion engines, and turbines—typically generate power at high rotational speeds with relatively low torque. However, industrial loads (like conveyor belts, hoisting drums, or vehicle drive wheels) usually require low speeds and high torque. Calculating the gear ratio is the critical first step in matching the power characteristics of the motor to the physical demands of the mechanical load.

Governing Formula and Geometry

The gear ratio (often denoted as i or u) defines the kinematic relationship between the driving gear (the pinion, connected to the power source) and the driven gear (the gear, connected to the load). Because mating gears must share identical tooth profiles (the same module or diametral pitch) to mesh smoothly without binding, the ratio of their teeth is mathematically equivalent to the ratio of their pitch circle diameters. The fundamental equation is:

i = Tdriven / Tdriver = Ddriven / Ddriver

Where T represents the integer number of teeth, and D represents the theoretical pitch diameter. It is critical to use the exact tooth count rather than measured outer diameters when analyzing existing gearboxes, as tip truncations and profile shifts can make outer diameter measurements misleading.

Calculation Method: Speed and Torque Derivation

To determine the output speed and torque, engineers rely on the law of conservation of energy. In rotary systems, mechanical power (P) is the product of torque (τ) and angular velocity (ω). Assuming an ideal, frictionless system, the input power must exactly equal the output power (Pin = Pout). Because the power remains constant, changing the speed via a gear mesh creates an inversely proportional change in torque.

Output Speed (RPM) = Input Speed / i
Ideal Output Torque = Input Torque × i

The Role of Mechanical Efficiency

While the speed ratio is a perfect geometric relationship locked by the meshing teeth, the torque transmission is not 100% efficient. In the real world, power is lost as heat due to sliding friction between the gear teeth, viscous drag from the lubricating oil (churning losses), and rolling resistance within the shaft bearings. To calculate the true mechanical advantage, the ideal torque must be multiplied by the system's mechanical efficiency (η):

Actual Output Torque = Input Torque × i × η

Standard precision spur and helical gears typically operate at 97% to 99% efficiency per stage. However, worm gear sets—which rely heavily on sliding friction rather than rolling contact—can experience efficiencies ranging from 90% down to 40%, heavily dependent on the lead angle and lubricant quality.

Engineering Interpretation: Reduction vs. Overdrive

Interpreting the calculated gear ratio allows engineers to classify the transmission stage into one of two categories:

  • Gear Reduction (i > 1): The driven gear has more teeth than the driver. The output speed decreases, but the output torque is multiplied. This is the most common industrial configuration, used in heavy machinery, robotics, and the lower gears of automotive transmissions to provide the massive forces required to accelerate massive inertial loads.
  • Overdrive / Speed Multiplier (i < 1): The driven gear has fewer teeth than the driver. The output speed is multiplied, but the available torque is drastically reduced. Overdrive configurations are common in centrifugal compressors, wind turbine generators, and the top cruising gears of automobiles where maintaining high speeds requires low torque.

It is also important to note that a single external gear mesh reverses the direction of rotation. If maintaining the original rotational direction is required, an idler gear must be introduced. An idler changes the direction but mathematically cancels out in the ratio equation, having zero effect on the final output speed or torque.

Assumptions and Structural Limitations

This calculator performs a rigid-body kinematic and steady-state power analysis. It inherently assumes continuous, uniform loading without shock impacts. Crucial Design Warning: Verifying that a gear ratio provides the required output torque does not prove that the physical gear teeth can actually survive that force.

High torque multiplication often results in massive tangential forces at the pitch line of the output gear. A complete mechanical design verification requires the engineer to subsequently calculate the tooth root bending stress (e.g., using the Lewis formula or AGMA standards) to prevent catastrophic tooth fracture, and analyze the Hertzian contact stress to prevent pitting fatigue on the tooth flanks.

Real-World Engineering Cases

Automotive Transmission Engineering

A vehicle's internal combustion engine produces peak power at around 3,000 RPM, but the wheels need to turn at 300 RPM for city driving. A multi-stage gearbox provides a high reduction ratio in 1st gear to supply massive torque for acceleration, then shifts to ratios closer to 1:1 (or overdrive) for highway cruising.

Engineering Lesson

Variable gear ratios are required when the power source has a narrow optimal operating band but the application requires a wide range of speeds and forces.

Wind Turbine Gearbox Failures

Wind turbines use large planetary gearboxes to convert the 15 RPM of the massive rotor blades into the 1,500 RPM required by the electrical generator (an overdrive ratio of 1:100). The massive torque input causes microscopic deflections in the gearbox housing, often leading to premature bearing and gear tooth failure.

Engineering Lesson

Extreme gear ratios generate extreme forces. The structural rigidity of the gearbox casing is just as critical as the gear teeth design.

Frequently Asked Questions

What does a 3:1 gear ratio mean?

A 3:1 ratio means the driving gear must complete 3 full revolutions to turn the driven gear exactly 1 full revolution. This configuration divides the output speed by 3 but multiplies the output torque by nearly 3.

Can I calculate ratio using gear diameters?

Yes. Because mating gears must have the same module (tooth size), the ratio of their teeth is identical to the ratio of their pitch diameters (Ratio = D2 / D1).

What is the typical efficiency of gears?

Spur and helical gears are highly efficient, typically 95% to 98% per mesh. Bevel gears run around 93-97%. Worm gears, however, have high sliding friction and their efficiency can range anywhere from 40% to 85% depending on the ratio.

Calculations assume standard mating gears without complex planetary kinematics. Efficiency losses are generalized. For final product design, consult AGMA or ISO standards for comprehensive gear rating, bending stress, and pitting resistance analysis.