BikeCompanion App

Free calculator · no account

Bike chain length calculator

Enter the chainstay length, the teeth of the largest chainring and those of the largest cog. You get the chain length in links, inches and millimeters, following Park Tool's equations.

Your data

From the center of the bottom bracket to the rear wheel axle.

Chain length
108 links
In inches
54 inches
In millimeters
1,372 mm
Park Tool's two equations
EquationBefore roundingRounded
Rigorous (result shown)54.38 inches54 inches
Simplified54.28 inches54 inches

Method

The equations used

The result follows Park Tool's rigorous equation, in inches: L = 1 + 0.25 × (F + R) + 2 × √(C² + (0.0796 × (F − R))²). C is the chainstay length, from the center of the bottom bracket to the rear wheel axle; F is the number of teeth on the largest chainring; R the number on the largest cog. The inch added at the start is the length set aside for the derailleur.

Park Tool also gives a simplified equation: L = 2 × C + F/4 + R/4 + 1. It is enough for most bikes. It can give a chain one inch too short when the chainring and the cog are very different in size and the chainstays are short. The table shows both results.

The length is rounded to the nearest whole inch, with 0.5 rounded up. A chain alternates inner and outer links, and an inner link can only join an outer link: so it can only be closed every inch.

A link measures half an inch, or 12.7 mm, from one pin to the next: this is how chains are sold. A 116-link chain measures 58 inches. The number of links shown is therefore twice the length in inches, and it counts the quick link if the chain has one.

Limits: Park Tool keeps the single added inch for largest cogs of 36 teeth at most and adds two for a 1x drivetrain with a largest cog of 42 teeth or more. If the cogs and chainrings exceed the capacity of the derailleur, which is set by the length of its cage, no length suits every gear: a chain that is too long is then better than one that is too short. On a full-suspension bike, the distance between the bottom bracket and the wheel changes as the suspension moves. In these cases, check the length on the bike before cutting.

Sources: Park Tool, “Chain Length Sizing”, sections “Chain Sizing by Equation” and “Rigorous Equation” of the 2015 version of the article (archive.org) for the two equations and the rounding; current version of the same article (parktool.com) for large cogs, suspension and the check on the bike.

Frequently asked questions

How many links does my chain need?

With 410 mm chainstays, a 50-tooth largest chainring and a 34-tooth largest cog, the calculation gives 108 links, or 54 inches or 1,372 mm. A new chain is usually longer: you need to remove the extra links.

What counts as a chain link?

A link measures half an inch, or 12.7 mm, from one pin to the next. The chain alternates inner and outer links, so you shorten it two links at a time, in other words inch by inch.

How do I measure the chainstay length?

Measure from the center of the bottom bracket to the center of the rear wheel axle. Park Tool asks for a measurement to the nearest eighth of an inch, about 3 mm.

Does the calculation work for a 1x drivetrain?

With a largest cog of 36 teeth at most, yes. For a largest cog of 42 teeth or more, Park Tool adds two inches instead of one: count 2 links more than the result, then check on the bike.

How do I check the length on the bike?

On the largest chainring and the largest cog, the chain should still make a slight bend at each derailleur pulley. On the smallest chainring and the smallest cog, it should have no slack, and the derailleur should not fold back so far that the chain rubs against itself.

Other calculators

Go further

Your smartphone becomes a bike computer Voice and visual guidance, turn by turn
Install Install