Chris Collins

Tools · cycling

Bike gearing calculator

Gear inches, development, gain ratio and speed at any cadence for chainrings × cassette (or an internal hub) on your wheel and tyre; compare two drivetrains gear by gear with their steps; cross-chaining warnings; and a chain-length estimate.

Added

How to use it

Enter drivetrain A: the chainrings (50/34, 53/39, 50/39/30, or one number for a 1×), a cassette from the list (or Custom cogs and type them), or an internal hub with its sprocket, the wheel and tyre, and the crank length. The Gears tab shows every combination as a table — pick gear inches, development, gain ratio or speed at your cadence — and a gear ladder, one row per chainring on a log scale, so equal spacing means equal percentage steps.

  • Wheel size comes from the ETRTO size printed on the tyre (e.g. 28-622 is a 700 × 28): the circumference is π × (bead-seat diameter + 2 × tyre width), Sheldon Brown’s approximation that a tyre is as tall as it is wide. If you have measured the rollout (mark the tyre, roll one turn with you sitting on the bike, measure), type it in — it beats any formula.

  • Gear inches = diameter of the drive wheel in inches × chainring ÷ cog (the old penny-farthing measure). Development (or rollout) = metres travelled per crank turn.

  • Gain ratio is Sheldon Brown’s: (wheel radius ÷ crank length) × (chainring ÷ cog) — how far the bike moves for each unit the pedal moves, so it also accounts for crank length. A gain ratio of 4 means the bike moves 4 mm per mm of pedal travel.

  • Speed = development × cadence; the Speed tab draws speed against cadence for every gear and tabulates 60–120 rpm.

  • Cross-chaining: on a double, the big ring with the two biggest cogs and the small ring with the two smallest are struck through (on a triple, three each side). They work, but the chain runs at its steepest angle — more friction, noise and wear — and there is nearly always the same gear on the other ring.

  • Compare adds drivetrain B on the same scale, with the steps (% jump to the next easier gear) of each cassette or hub and a table of lowest and top gear, range, distinct gears (non-cross-chained gears at least 3% apart) and the mean and largest step.

  • Chain length uses Park Tool’s formula, L = 2C + F/4 + R/4 + 1 inches (C the chainstay in inches, F the biggest ring, R the biggest cog), rounded to the nearest inch; an inch is two links.

Cassette sequences are those listed by Shimano and SRAM for the models named; internal-hub ratios are from Sheldon Brown’s internal-gear pages. Your units (metric or imperial) are remembered and shared with the other bike tools.

Limits

  • The circumference is an approximation: real tyres are a few millimetres shorter than the formula, vary by brand and pressure, and squash under load. Measured rollout is better.

  • Chain length by formula is an estimate, written for conventional drivetrains: for 1× cassettes with 42+ teeth, SRAM Eagle/Transmission and full-suspension bikes, use the maker’s method and check on the bike. Hub-gear and single-speed chains are set by the dropouts.

  • Speeds ignore the rider: whether you can hold 90 rpm up a 10% grade in 34/34 is a question for the power and climbing calculator.

Linking to an example

Every setting has a short parameter, so links can be written by hand. Drivetrain A uses names ending in a, drivetrain B the same names ending in b.

Parameter Meaning Example

ra, rb

Chainrings

ra=50/34

ca, cb

Cassette id (below) or custom

ca=r12-11-34

cogsa, cogsb

Custom cogs, with ca=custom

cogsa=11,13,15,17,19,21,24,28

huba, hubb

none, rohloff, alfine8, alfine11, nexus3, aw3

huba=rohloff

spa, spb

Hub sprocket teeth

spa=16

wa, wb

Wheel: 700x23 … 700x50, 650bx47, 27.5x2.4, 29x2.4, 26x2.1, 20x1.75, 16x1.35 … or custom

wa=29x2.4

bsda, twa

With wa=custom: ETRTO bead-seat diameter and tyre width (mm)

wa=custom&bsda=584&twa=50

circa, circb

Measured rollout (mm), overriding the tyre

circa=2105

cla, clb

Crank length (mm)

cla=170

cad

Cadence (rpm)

cad=95

show

Table shows gi, dev, gain or speed

show=speed

cs

Chainstay length (mm, or inches with units=imperial)

cs=415

units

metric or imperial

units=imperial

Cassette ids: r11-28, r11-30, r11-32, r11-34 (Shimano 11-speed), r12-11-30, r12-11-34 (Shimano 12-speed road), axs10-28, axs10-33, axs10-36 (SRAM 12-speed road), xplr10-44, m11-42, m12-10-45, m12-10-51, eagle10-50, eagle10-52, m10-11-36, m9-11-34, m8-11-32.

Presets (?example=<name>):

example= Shows

road-compact

50/34 × 11-34 12-speed on 700 × 28: 34/34 is a 1:1 climbing gear

road-vs-gravel

that road bike against a 42 × 10-44 XPLR 1× gravel bike on 700 × 40

mtb-eagle

32 × 10-50 Eagle on 29 × 2.4: a 500% range

classic-vs-compact

53/39 × 11-28 against 50/34 × 11-32 on the same wheels

rohloff

Rohloff 14 with 40/16 on 26 × 2.1: 526% in even 13.6% steps

brompton

a 16-inch wheel with 50 × 12/13/16 — why small wheels need big chainrings

Runs entirely in your browser; nothing you type leaves this page.