# Gear ratio calculator > How fast does the output gear turn? The gear ratio, output speed, torque and direction of two or three meshing gears, drawn to scale with arrows showing which way each turns. Find the gear ratio, output rpm and torque of two gears or a train with an idler, see which way each gear turns and drag the gears bigger or smaller. - Page: https://how.box/gear-ratio/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/gear-ratio/?a={a}&b={b}&g={g}&i={i}&rpm={rpm}&t={t}&tu={tu} - `a` (whole number 6 to 300): Teeth on the driving gear. Example: `20`. - `b` (whole number 6 to 300): Teeth on the driven gear. Example: `60`. - `g` (two or three): two or three (with an idler). Example: `two`. - `i` (whole number 6 to 300): Teeth on the idler (gears three). Example: `30`. - `rpm` (number 0 to 1e6): Input speed, rpm. Example: `1200`. - `t` (number 0 to 1e7): Input torque in tu. Example: `10`. - `tu` (nm or lbfft): nm or lbfft. Example: `nm`. Example answer: https://how.box/gear-ratio/?a=20&b=60&g=two&i=30&rpm=1200&t=10&tu=nm A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `gear_ratio_calculate`: Gear train of two meshing gears, or three with an idler between: ratio = driven_teeth ÷ driver_teeth, output speed = input_rpm ÷ ratio, ideal output torque = input torque × ratio (no losses). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gear_ratio_calculate","arguments":{"driver_teeth":20,"driven_teeth":60,"gears":"two","idler_teeth":30,"input_rpm":1200,"input_torque":10,"torque_unit":"nm"}}}` - GET: https://how.box/mcp/run/gear_ratio_calculate?driver_teeth=20&driven_teeth=60&gears=two&idler_teeth=30&input_rpm=1200&input_torque=10&torque_unit=nm ## How it works Meshing teeth move past each other at the same speed, so a gear with more teeth turns more slowly: the speeds go in the opposite ratio to the teeth. The gear ratio is the driven gear's teeth divided by the driving gear's, and the output speed is the input speed divided by that ratio. What you lose in speed you gain in turning force: without losses the power stays the same, so the torque grows by the ratio. A 20-tooth gear at 1,200 rpm driving a 60-tooth gear gives a ratio of 60 ÷ 20 = 3 : 1, so the output turns at 1,200 ÷ 3 = 400 rpm with three times the torque. Every mesh reverses the direction, so two gears turn opposite ways; an idler between them makes the ends turn the same way without changing the ratio. Real gears lose a few percent to friction, so the torque is a little lower. The idea follows the mechanical advantage of simple machines in OpenStax College Physics 2e, section 9.5 (openstax.org). ## FAQ **Can the driven gear turn faster than the driver?** Yes. Choose fewer teeth on the driven gear than on the driver. The speed increases while the ideal output torque decreases. **Does the number of idler teeth affect how fast the idler spins?** Yes. A smaller idler spins faster and a larger one spins slower. The output speed still depends only on the driver and driven gears. **How do bike gears work?** The chain works like meshing teeth: front chainring teeth ÷ rear sprocket teeth is how many times the wheel turns per pedal turn. With a chain both turn the same way. **Can two gears with different tooth sizes mesh?** No. Meshing gears need the same tooth size (module or pitch); that is why the radius of each gear here follows its number of teeth. **Can this calculate a compound gearbox with several stages?** Not directly: the three-gear option has a single idler. For a compound gearbox, calculate each stage separately and multiply the stage ratios. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)