Free Online Gear & Spur Mesh Simulator

Calculate gear ratios, output RPM, torque, and mesh forces for any spur gear pair — animate it live, then export your results as CSV or PNG.

100%
Gear A · Z 20Gear B · Z 40
x 0.0 mm  y 0.0 mm

Live Results

Every card updates instantly as inputs change.

Formula Breakdown

Every calculation, with substituted values and units, expanded step by step.

Export your results

Download the current parameter set as CSV, or capture the gear drawing as a PNG.

How to Use This Gear Simulator

Step-by-step guide to every control and readout

Step 1 — Set Input RPM & Power

Drag the Input RPM slider (range: 10 – 5,000 RPM) to set the rotational speed of the driving pinion (Gear A). This directly controls how fast both gears animate on the CAD stage.

Adjust the Power slider (0.1 – 200 kW) to set the mechanical power delivered by the prime mover. Power drives the torque calculation — higher power at the same RPM means greater torque on both shafts.

💡 Tip: A typical industrial motor driving a pump runs at 1,450 RPM with 7.5 kW. Try these values to see realistic torque and force figures appear instantly in the stat cards.
Step 2 — Configure Gear Geometry (Teeth, Module, Pressure Angle)

Use the ± steppers to set the tooth counts for Gear A (Z₁) and Gear B (Z₂). The gear ratio is simply i = Z₂ / Z₁. For a 2:1 speed reduction, try Z₁ = 20 and Z₂ = 40.

The Module (m) controls tooth size in millimeters. Standard ISO modules are 1, 1.5, 2, 2.5, 3, 4, 5, 6, 8, 10. Both gears must always share the same module to mesh correctly.

The Pressure Angle (α) is almost always 20° for modern industrial gearing. Increase to 25° for compact high-torque designs; only use 14.5° when replacing legacy parts.

⚠️ Undercutting Warning: At α = 20°, using fewer than 17 teeth (Z < 17) causes undercutting — the cutter removes material from the tooth root, weakening it. The simulator still works, but avoid this in real designs.
Step 3 — Read the Live Output Statistics

The 15 stat cards update in real-time as you move any control. Key values to watch:

  • Gear Ratio (i) — the speed reduction factor. Highlighted in blue.
  • Output RPM (N₂) — the rotational speed of Gear B. Includes a sparkline chart.
  • Output Torque (T₂) — net torque at the driven shaft after applying efficiency losses.
  • Tangential Force (Fₜ) — the useful power-transmitting tooth contact force in Newtons.
  • Center Distance (a) — shaft-to-shaft spacing needed for assembly.

Cards with sparkline graphs (Output RPM, Output Torque, Tangential Force) show how values vary as the simulation runs.

Step 4 — Use the CAD Stage (Zoom, Pan, Overlays)

The gear animation stage is a fully interactive CAD-style viewport:

  • Scroll wheel — zoom in/out on the meshing zone (40% – 250%)
  • Click & drag — pan across the workspace to inspect individual teeth
  • + / − buttons and Reset View in the toolbar — precise zoom control
  • Fullscreen button (⤢) — expands the stage for detailed inspection

Use the toggle switches in the control panel to show/hide the background grid, coordinate axes, and pitch circles. The coordinate readout (bottom-left) shows your cursor position in millimeters relative to the gear mesh center.

Step 5 — Control Animation Speed & Export

The speed multiplier slider and segmented control (0.25×, 0.5×, 1×, 2×, 4×) let you slow down or speed up the animation to examine tooth meshing behavior closely.

The Pause / Resume button freezes the animation at any point. Use Reset to return all parameters to their default values.

When you are satisfied with your gear design, use the Export section to:

  • Export CSV — downloads a spreadsheet with all 22 engineering parameters and their units for your records or further calculations.
  • Export PNG — saves a high-resolution (1600px) image of the current gear mesh stage for use in reports or presentations.
Sultan Saudagar — Mechanical Engineer
Written & Reviewed by
Sultan SaudagarMechanical Engineer

Mechanical engineer specializing in computational mechanics, kinematics, and interactive engineering tools.

What is a Gear Simulator?

A gear simulator is an interactive, web-based mechanical engineering tool designed to precisely model, animate, and evaluate the dynamic meshing kinematics and force transmissions of external spur gear pairs. By calculating fundamental parameters in real-time — such as pitch circle diameters, angular velocity ratios (i), transmitted torques (T₁, T₂), and multi-component mesh forces (tangential force Fₜ, radial force Fᵣ, and normal force Fₙ) — this free online gear simulator empowers mechanical engineers, machine designers, and students to visualize conjugate tooth action without relying on expensive physical prototypes or complex CAD software.

In modern mechanical design, gear trains serve as the primary mechanism for transmitting mechanical power between rotating shafts, adjusting rotational speed (RPM), and multiplying output torque. Whether you are designing an automotive manual transmission, a multi-stage planetary gearbox for wind turbines, or a high-precision robotics actuator, running an accurate gear simulation provides immediate feedback on kinematic behavior, interference, and load distribution.

Illustrative Gear Simulation Example: Consider an electric motor delivering 5.0 kW of power at 1,000 RPM to a pinion gear (Z₁ = 20 teeth, module m = 4.0 mm, pressure angle α = 20°). The pinion meshes with a driven gear (Z₂ = 40 teeth). Using this interactive gear train calculator, you can instantly see that the speed reduction ratio is i = 40 / 20 = 2.0. This reduces the output speed to 500 RPM while doubling the ideal output torque from 47.75 N·m to 95.50 N·m — and after applying a typical 96% mechanical efficiency, the actual output torque is 91.68 N·m.

How Does the Gear Simulation Engine Work?

The simulation engine relies on analytical kinematics and exact involute tooth trigonometry. When you modify input sliders or numerical steppers, the gear simulation executes a real-time mathematical solver that updates the structural state and re-renders the SVG geometry at up to 60 frames per second — entirely client-side, with no server round-trips.

The underlying physics model operates under standard kinematic assumptions:

  • Rigid Tooth Body Model: Tooth deformation under load is neglected for purely kinematic and force vector resolution purposes.
  • Fixed Center Distance: Shafts maintain a constant center distance a = (D₁ + D₂) / 2, ensuring zero deflection.
  • Conjugate Involute Action: The velocity vector at the pitch point satisfies the fundamental law of gearing, yielding a smooth constant velocity ratio throughout tooth engagement.
  • Isothermal Lubrication & Constant Efficiency: Friction torque losses are modeled using a global mechanical efficiency parameter (η ≈ 96%).

Gear Simulation Input Parameters Explained

Accurate gear design requires understanding each parameter's physical meaning, units, and structural influence during a gear simulation:

Input ParameterSymbolUnitsTypical RangeEngineering Significance
Input SpeedN₁RPM10 – 5,000Rotational velocity of the driving pinion. Determines pitch line velocity and dynamic loading.
Input PowerPkW0.1 – 200Total mechanical power delivered by the prime mover. Directly dictates transmitted forces.
Pinion Teeth CountZ₁6 – 200Number of teeth on the driving gear. Counts below 17 may cause profile undercutting at α = 20°.
Gear Teeth CountZ₂6 – 200Number of teeth on the driven gear. Controls the gear ratio i = Z₂ / Z₁.
Metric Modulemmm0.5 – 20Standard measure of tooth size (m = D / Z). Larger modules yield thicker, stronger teeth.
Pressure Angleαdegrees10° – 30°Angle between line of action and pitch circle tangent. Standard industrial value is 20°.
Mechanical Efficiencyη%90% – 98%Accounts for tooth friction, windage, and bearing churning losses during high-speed rotation.

Output Parameters & Gear Kinematics

The gear train calculator automatically computes 15 key output variables essential for gear geometry verification and bearing load selection:

  • Gear Ratio (i): The ratio of driven teeth to driving teeth (i = Z₂ / Z₁). Represents speed reduction or torque multiplication.
  • Output Speed (N₂): Rotational speed of Gear B in RPM (N₂ = N₁ / i).
  • Angular Velocity (ω₁, ω₂): Rotational velocity in radians per second (ω = 2π·N / 60).
  • Input Torque (T₁): Torque exerted by the driver (T₁ = 9550 · P / N₁) in N·m.
  • Output Torque (T₂): Net torque at the driven shaft, incorporating efficiency (T₂ = T₁ · i · η).
  • Pitch Diameters (D₁, D₂): Theoretical diameter of the pitch circle (D = m · Z).
  • Center Distance (a): Distance between parallel shaft centers (a = (D₁ + D₂) / 2).
  • Circular Pitch (p): Distance along the pitch circle between adjacent teeth (p = π · m).
  • Tooth Thickness (s): Arc length of tooth width along the pitch circle (s = π·m / 2).
  • Pitch Line Velocity (v): Linear tangential speed at the pitch circle (v = π·D₁·N₁ / 60,000 m/s).
  • Tangential Force (Fₜ): Useful power-transmitting force vector (Fₜ = 2·T₁ / D₁).
  • Radial Force (Fᵣ): Force pushing shaft centers apart (Fᵣ = Fₜ · tan α). Must be supported by radial bearings.
  • Normal Force (Fₙ): Total contact force acting along the pressure line (Fₙ = Fₜ / cos α).

Engineering Equations & Derivations

Below is the comprehensive theoretical framework governing spur gear design — all computed live during the gear simulation:

1. Fundamental Gear Ratio & Kinematics

The velocity ratio i between two meshing spur gears is inversely proportional to their tooth counts and pitch diameters:

i = Z₂ / Z₁ = D₂ / D₁ = N₁ / N₂

2. Torque and Power Relationship

Mechanical power P (kW) is related to torque T (N·m) and rotational speed N (RPM) by:

T₁ = 9550 × (P / N₁)          [N·m]
T₂ = T₁ × i × η               [N·m]

3. Gear Mesh Force Resolution

The total normal force Fₙ acts along the pressure line at angle α relative to the pitch circle tangent:

Fₜ = (2 × T₁ × 1000) / D₁     [N]
Fᵣ = Fₜ × tan(α)              [N]
Fₙ = Fₜ / cos(α)              [N]

Physics of Involute Spur Gear Meshing

The profile of a modern spur gear tooth is almost universally shaped as an involute curve — the path traced by the end of a taut string unspooling from a fixed base cylinder (the base circle r_b). The gear simulator mathematically generates these involute curves to ensure geometrically accurate meshing visuals.

Contact Ratio (mₒ)

To ensure continuous, smooth power transmission without impact noise, at least one pair of teeth must remain in mesh until the next pair engages. The average number of tooth pairs in contact is the contact ratio (mₒ). A properly configured gear simulation always yields a contact ratio greater than 1.0 — typically between 1.4 and 1.9 for standard spur gears.

Undercutting and Minimum Teeth Limit

When a gear is generated using a standard rack cutter, if the tooth count is too small, the cutter tip removes material from the tooth flank root — known as undercutting. This severely weakens tooth root bending strength. The theoretical minimum tooth count Z_min to avoid undercutting is:

Z_min = 2 / sin²(α)

At α = 14.5°: Z_min ≈ 32 teeth  (obsolete standard)
At α = 20°:   Z_min ≈ 17 teeth  (worldwide industrial standard)
At α = 25°:   Z_min ≈ 11 teeth  (compact high-torque designs)

Practical Engineering Applications

Spur gears analyzed in this gear simulator are utilized across virtually all electro-mechanical sectors:

  • Automotive Transmissions: Countershaft manual gearboxes, reverse gear pairs, and oil pump drive gears.
  • Aerospace & Defense: Turboprop reduction gearboxes, flap actuation mechanisms, and radar antenna positioning drives.
  • Robotics & Automation: Precision gearheads, planetary gear speed reducers, and CNC rotary tables.
  • Industrial Heavy Machinery: Mining conveyors, cement kilns, paper mill rolls, and steel rolling mills.
  • Renewable Energy: Wind turbine main speed multipliers driving high-speed generators.
  • Consumer Products: Electric power tools, washing machine transmissions, and 3D printer extruder drives.

Engineering Reference Tables

Standard Gear Material Properties

Material SpecificationDensity (kg/m³)Yield Strength (MPa)HardnessAllow. Bending Stress (MPa)Typical Application
AISI 1045 Carbon Steel (Normalized)7,850350200 HB210Low-duty industrial gears, winches
AISI 4140 Alloy Steel (Q&T)7,850650300 HB310Automotive gears, machine tool drives
AISI 8620 Case-Carburized Steel7,85085060 HRC440High-load truck transmissions, racing gears
Ductile Cast Iron (Grade 80-55-06)7,100380230 HB180Agricultural machinery, pump gears
Phosphor Bronze (C90700)8,780180100 HB90Worm gear mates, quiet instrument gears
Polycarbonate / Nylon 661,1407580 Rockwell R35Office equipment, light toys, medical devices

Standard Metric Modules (ISO 780 / DIN 867)

Series PreferenceStandard Metric Modules (m in mm)
Primary Choice (Preferred)1.0, 1.25, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0, 6.0, 8.0, 10.0, 12.0, 16.0, 20.0
Secondary Choice (Optional)1.125, 1.375, 1.75, 2.25, 2.75, 3.5, 4.5, 5.5, 7.0, 9.0, 11.0, 14.0, 18.0

Pressure Angle Comparison

Pressure Angle αMin. Teeth Z_minTooth Root ThicknessRadial Bearing Force FᵣStatus / Recommendation
14.5°32Thinner rootLowest (0.258 · Fₜ)Obsolete — used only in legacy replacement parts.
20°17Standard balanced rootModerate (0.364 · Fₜ)Worldwide standard for modern industrial gearing.
25°11Extra thick rootHighest (0.466 · Fₜ)Heavy aerospace & high-torque compact gearboxes.

Common Engineering Design Mistakes & How to Avoid Them

  1. Designing with Undercut Pinions (Z < 17 at α = 20°): Choosing fewer than 17 teeth without a positive profile shift severely weakens the root flank and leads to early fatigue failure. Solution: Verify at least 17 teeth or increase the pressure angle to 25°.
  2. Ignoring Pitch Line Velocity Limits: Running commercial cut gears (AGMA Quality 6–8) above 10 m/s creates excessive dynamic shock loads and noise. Solution: Specify ground gear teeth (AGMA Quality 11+) for high-speed applications (v > 15 m/s).
  3. Neglecting Thermal Expansion & Shaft Deflection: Operating gears without proper backlash can cause teeth to bind when thermal expansion increases pitch diameters. Solution: Incorporate AGMA recommended backlash allowances into center distance tolerances.
  4. Failing to Distinguish Bending vs Contact Stress Limits: Sizing gears purely for bending strength while ignoring Hertzian contact stress causes premature pitting failure. Solution: Evaluate both Lewis bending stress (σ_b) and AGMA contact stress (σ_c) in final designs.

Frequently Asked Questions About Gear Simulation

What is a gear simulator used for?

A gear simulator is used to compute and visualize gear mesh kinematics, speed reduction ratios, pitch diameters, transmitted torques, and mesh force vectors (Fₜ, Fᵣ, Fₙ) for spur gear pairs in real-time — without CAD software or physical prototypes.

How is the gear ratio calculated in a spur gear simulation?

The gear ratio i is calculated by dividing the driven gear tooth count (Z₂) by the driving pinion tooth count (Z₁): i = Z₂ / Z₁. It equals the ratio of pitch diameters (D₂ / D₁) and also equals the inverse speed ratio (N₁ / N₂).

What is the metric gear module (m)?

The metric module m is the ratio of the pitch diameter in millimeters to the number of teeth (m = D / Z). It defines the physical size of gear teeth. Two gears can only mesh together if they have the exact same module.

Why is a 20-degree pressure angle standard in gear simulation?

A 20° pressure angle offers the optimal balance between high tooth root bending strength, low undercutting limits (Z_min = 17), and manageable radial bearing loads — superior to the obsolete 14.5° standard and less aggressive than 25° designs.

What is the difference between tangential force and radial force?

Tangential force (Fₜ = 2T/D) is the useful power-transmitting force acting parallel to the pitch circle tangent. Radial force (Fᵣ = Fₜ · tan α) acts perpendicular to the tangent, pushing the gear shafts apart and loading the radial bearings.

How does this gear train calculator assist engineering design?

This gear train calculator lets engineers rapidly iterate on tooth counts, modules, and speeds — obtaining instant calculations for forces, torques, and pitch geometry before performing detailed FEA stress analysis or producing CAD drawings.

What is the history of gear simulation?

The foundations of modern gear design were established in 1765 by Leonhard Euler, who proposed using the involute of a circle for gear tooth profiles. Professor Robert Willis later formalized the fundamental law of gearing. Today, digital gear simulation software builds upon these classical trigonometric principles to automate complex drivetrain engineering.

References & Educational Reading

  • Budynas, R. G., & Nisbett, J. K. (2020). Shigley's Mechanical Engineering Design (11th ed.). McGraw-Hill Education.
  • Radzevich, S. P. (2018). Dudley's Handbook of Practical Gear Design and Manufacture (3rd ed.). CRC Press.
  • AGMA Standard 2001-D04. Fundamental Rating Factors and Calculation Methods for Involute Spur and Helical Gear Teeth. American Gear Manufacturers Association.

Related Engineering Simulation Tools

Explore more free online mechanical & fluid simulators

All calculations run locally in your browser — no data leaves your device.