Chain Length Calculator

Find the bike chain length from chainstay and gearing.

Chain length 53.5

Formula: L = 2·CS + (F/4 + R/4 + 1)

Step-by-step with your numbers:
1. Values used:
2. Chainstay length = 16.5
3. Largest chainring teeth = 50
4. Largest cog teeth = 28
5.
6. Chain length = 53.5
Did we solve your problem today?

Sizing a chain correctly keeps shifting crisp and the derailleur safe.

How the Math Works

The Chain Length Calculator uses the formula L = 2·CS + (F/4 + R/4 + 1) to determine the ideal bike chain length. Here, CS represents the chainstay length (distance between the rear and front wheel axles), while F and R denote the number of teeth on the front chainring and rear cassette, respectively. The formula accounts for the chain's path around the sprockets and the geometry of the bike frame. The term 2·CS doubles the chainstay length to approximate the straight-line distance between the wheels, while (F/4 + R/4 + 1) adjusts for the wrap-around angle of the chain on the sprockets and adds a small buffer (the '+1') to ensure proper tension.

Practical Applications

To apply this calculation, first measure the chainstay length (CS) in inches or centimeters using a ruler or tape measure. Next, count the number of teeth on both the front chainring (F) and rear cassette cog (R). Plug these values into the formula to compute the total chain length (L). This method is particularly useful when replacing a worn chain or upgrading gears, as it eliminates guesswork and ensures the chain is neither too long (causing slack) nor too short (straining the derailleur). Always round the result to the nearest inch or centimeter, as chains are sold in standard increments.

Day-to-Day Use

In everyday cycling, this calculator simplifies bike maintenance and performance optimization. A correctly sized chain improves shifting efficiency, reduces wear on drivetrain components, and prevents derailleur misalignment. Whether you're a commuter adjusting for daily rides or a weekend mechanic, quickly calculating the chain length saves time and avoids costly trial-and-error replacements. It also helps diagnose issues like chain drop or poor gear transitions, making bike repairs more accessible for enthusiasts and professionals alike.

Worked example

16.5" stay, 50T ring, 28T cog → about 52.5".

FAQ

Round up or down?

Round up to the nearest whole link (chains adjust in pairs of half-links).