Bike gear
calculator
Gear ratio, gear inches, development, gain ratio, and speed at a given cadence — from your chainring, cog, wheel, and cranks. Imperial or metric, with a straight answer about which numbers are exact and which aren't.
How the math works
Gearing is geometry, not a fitted formula — every number here follows from counts and lengths you can measure. Four classic metrics describe the same drivetrain from different angles.
Gear ratio is how many times the wheel turns for one turn of the cranks. Gear inches is the old penny-farthing equivalent: the diameter of a direct-drive wheel that would travel the same distance per pedal stroke — the number most riders use to compare gears. Development (or rollout) is the distance the bike actually rolls per crank revolution, in metres. Gain ratio, introduced by Sheldon Brown, divides the wheel radius by the crank length before multiplying by the gear ratio, so it's the only one of the four that accounts for how long your cranks are. Wheel diameter and circumference come either from a measured rollout or from the ISO 5775 bead-seat diameter (700C is 622 mm) plus twice the tyre width.
Worked example
A 50-tooth chainring with a 15-tooth cog on a 700C wheel (622 mm bead-seat) running a 25 mm tyre, with 170 mm cranks, spun at 90 rpm.
- Gear ratio: 50 ÷ 15 = 3.333 wheel turns per crank turn
- Nominal wheel: 622 + 2×25 = 672 mm outer diameter (26.46 in), so circumference ≈ 2,111 mm
- Gear inches: 3.333 × 26.46 in ≈ 88.2
- Development: 3.333 × 2.111 m ≈ 7.04 m per crank revolution
- Gain ratio: 3.333 × (336 ÷ 170) ≈ 6.59
- Speed at 90 rpm: 7.04 m × 90 = 633 m/min ≈ 23.6 mph (38.0 km/h)
When this calculator is wrong
The gear ratio, gear inches, and development are exact: integers in, geometry out. The speed is not, because it multiplies development by cadence and development depends on the wheel circumference — and most calculators plug in a nominal circumference for an unloaded, perfectly round tyre (here, bead-seat diameter plus twice the stated width, so a 622 mm rim with a 25 mm tyre gives a 672 mm diameter and a 2,111 mm nominal rollout). A real tyre under your weight deflects and isn't perfectly circular, so its measured rollout runs a little shorter — typically a percent or two. That's exactly why a bike computer asks you to measure or auto-calibrate rather than trusting the size printed on the sidewall.
- The nominal rollout runs long. Feed it and the speed is a touch optimistic. For comparing gears — taller or shorter, where the overlaps sit across the cassette — it doesn't matter, because every gear is off by the same small factor and the ranking is unchanged. It only matters when you want the absolute speed to match your GPS.
- Gear inches and development are blind to crank length. Two bikes with the same gear inches but different cranks (175 vs 165 mm) put different leverage at the pedal, so the "same" gear feels different. Gain ratio is the metric that captures it — raise it by fitting shorter cranks at the same gear.
- Teeth, not tooth brands. The math cares only about tooth counts, so a 50×15 is a 50×15 on any groupset; chain width, speed count, and brand don't change the ratio.
What to do with the result
Use gear inches (or gain ratio) to compare combinations, not to chase a single speed. Lay out your cassette against one chainring and look for the step between adjacent sprockets — a jump larger than about 15% is where your cadence will drop noticeably when you shift. To match the speed readout to reality, measure your rollout once: mark the valve stem, roll the bike one full wheel revolution while sitting on it, mark where the valve lands, and measure the distance between the two marks in millimetres. Enter that as your measured rollout and the speed-at-cadence will track your computer. Recompute whenever you change chainring, cassette, wheel, tyre width, or crank length.
Common questions
- What is a good gear ratio for road cycling?
- There isn't one number — it depends on terrain and legs. A 50×15 (3.33, about 88 gear inches) is a typical flat-road cruising gear; climbers want something closer to 1:1 (a 34-tooth chainring on a 32- or 34-tooth cog, under 30 gear inches) so cadence stays up on steep pitches. Compare gears by gear inches or gain ratio rather than by the raw tooth numbers.
- What's the difference between gear inches, development, and gain ratio?
- They describe the same gear three ways. Gear inches is the equivalent direct-drive wheel diameter (a comparison number). Development is the actual distance rolled per crank turn, in metres. Gain ratio is dimensionless and the only one that includes crank length, so it reflects the leverage your legs feel. For picking gears, any of the three ranks them the same way; use whichever you think in.
- How do I find my wheel circumference or rollout?
- Measure it. Pump the tyre to your riding pressure, mark the valve position on the floor, sit on the bike, roll forward exactly one wheel revolution, mark the new valve position, and measure between the marks in millimetres. That loaded rollout is more accurate than any size chart, because it accounts for tyre pressure, width, and your weight. Enter it under "Measured rollout."
- Does crank length change my speed in a given gear?
- No. Speed depends on gear ratio, wheel circumference, and cadence — not crank length. What crank length changes is the leverage and the circle your feet trace, which is why the same gear feels different on 175 vs 165 mm cranks. Gain ratio captures that; gear inches and development don't.
- How fast is 90 rpm in a 50×15?
- On a 700C wheel with a 25 mm tyre, a 50×15 rolls out about 7.04 m per crank revolution, so 90 rpm is roughly 633 m/min — about 23.6 mph (38.0 km/h) on the nominal rollout. A measured rollout, which runs slightly shorter, trims that by a percent or two.