Bike Chain Length Calculator

Quick answer

The bike chain length calculator finds the chain length you need from the chainstay length and the largest chainring and cog, in inches and in links, rounded up to a whole number of links.

Chain length
53.5 in
Chain length
1,359 mm
Number of links (rounded up, even)
108 links

A chain that is too short can rip the derailleur off in the big-big gear; too long and it sags and skips. This standard formula (as used by Park Tool) gives the right length for derailleur bikes.

How to use the Bike Chain Length Calculator

  1. Chainstay length
  2. Largest chainring teeth
  3. Largest cog teeth

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Measure the chainstay (bottom bracket centre to rear axle), enter the teeth of the largest chainring and largest cog.

Inputs explained

Field What to enter
Chainstay length Units: in, mm, cm
Largest chainring teeth A number
Largest cog teeth A number

What each result means

  • Chain length = 2×[Chainstay length] + [Largest chainring teeth]÷4 + [Largest cog teeth]÷4 + 1
  • Chain length = (2×[Chainstay length] + [Largest chainring teeth]÷4 + [Largest cog teeth]÷4 + 1)×25.4
  • Number of links (rounded up, even) = 2×ceil((2×[Chainstay length] + [Largest chainring teeth]÷4 + [Largest cog teeth]÷4 + 1)÷0.5÷2)

Example values

How the main result changes when Chainstay length changes and everything else stays at the example values above:

Chainstay length (in) Number of links (rounded up, even) (links)
8.25 74
12.38 92
16.5 108
20.63 124
24.75 140
33 174

Formula

L (in) = 2 × C + F ÷ 4 + R ÷ 4 + 1 (C = chainstay length in inches, F = largest chainring, R = largest cog) · Links = L ÷ 0.5, rounded up to an even number

Worked example

Inputs: Chainstay length: 16.5 in; Largest chainring teeth: 50; Largest cog teeth: 28.
Results: Chain length = 53.5 in; Chain length = 1,359 mm; Number of links (rounded up, even) = 108 links.

Key terms

Chainstay
Frame tube from bottom bracket to rear axle.

Frequently asked questions

Why an even number of links?

Chains alternate inner and outer links, so standard chains need an even count (unless you use a half-link).

How long is one link?

Half an inch (12.7 mm) per link; a full inch is one inner + one outer.

Does this work for single-speed bikes?

No, single speeds are sized on the bike with the wheel slid in the dropouts.

How do I check on the bike?

Wrap the chain over the big ring and big cog without the derailleur, then add 2 links.

Sources

  1. Sheldon Brown: Bicycle technical info
  2. Park Tool: Chain length sizing

Cite this calculator

Speedy Calculator. (2026). Bike Chain Length Calculator. Speedy Calculator. https://speedycalculator.com/calculators/sports/chain-length/