A bike chain length calculator works out how long your chain should be, and how many links it needs, from the gears of your bike and the length of the chainstay. Enter the number of teeth on the largest front chainring and the largest rear cog and the chainstay length, and the calculator gives the length of the chain and the number of links. It uses two formulas of our own working, described below, and runs in your browser.
How to use the bike chain length calculator
- Choose US or metric units.
- Enter the teeth on the largest front chainring and on the largest rear cog.
- Enter the chainstay length, from the center of the bottom bracket to the center of the rear axle.
- Choose the formula: the simple rule or the exact geometry.
- Press Work out the chain length.
The simple rule
For chainstays longer than about 15 inches, the simple rule is our own working: the chain length in inches is twice the chainstay length, plus a quarter of the teeth on the front ring, plus a quarter of the teeth on the rear cog, plus 1 inch. With a front ring of 42 teeth, a rear cog of 32 teeth and a chainstay of 16.375 inches, the length is 32.75 plus 10.5 plus 8 plus 1, which is 52.25 inches. Each link of a chain is half an inch long, since a modern bicycle chain has a pitch of one half inch, [2] so this needs 104.5 links, which rounds up to 105.
The exact geometry
The exact formula is also our own working, and it takes into account the difference in size between the two sprockets. The chain length is twice the square root of the chainstay squared plus the square of 0.0796 times the difference in teeth, plus a quarter of the sum of the teeth, all in inches. For the same example it gives about 51.3 inches, about one inch less than the simple rule, which includes a margin. Use the simple rule for a safe margin and the exact one if you want the shortest chain that works with the geometry. A well-known workshop method gives a check on the result: wrap the chain around the largest chainring and the largest cog without the derailleur, so that one complete link overlaps, and then allow one extra complete link. [1]
Why an even number of links
A chain is made of alternating inner and outer links, so it normally has an even number of links, and it is joined by a master link or a pin. [1] [3] Wikipedia notes that chains with parallel-shaped links typically have an even number of links. If the calculator gives an odd number, such as 105, use the next even number, 106. Half links, also called offsets, are made, but a chain that uses them is said to be weaker, so avoid them if you can. [3]
Checking the result on the bike
Treat the calculation as a first estimate, and check it on the bike. Put the chain on the largest front ring and the largest rear cog, which is the big-big combination, and check that the derailleur can still take up the slack on the smallest rings. A chain should be long enough to shift onto the largest sprockets without binding, but not so long that the derailleur cannot take up the slack. [2] The chain should not be so tight that it pulls on the derailleur in the big-big combination. If you use a rear derailleur with a short cage or a large range of gears, check the maker's advice on chain length. If you have a suspension frame, the chainstay length can change as the suspension moves, so check at full compression.
Metric units
If you work in millimeters, the calculator converts the chainstay to inches for the formulas, since the formulas and the link length are in inches, and shows the result in centimeters. A chainstay of 415 millimeters is about 16.34 inches.
Worked example in metric units
A road bike has a chainring of 50 teeth, a cog of 28 teeth and a chainstay of 410 millimeters. The chainstay is 16.14 inches, so the simple rule gives twice 16.14, which is 32.28, plus 12.5, plus 7, plus 1, for 52.78 inches. That is 105.6 links, which rounds up to 106 links, an even number, so you would use 106 links. The length is about 134 centimeters. Check it on the bike before you cut anything.
When you change the gears
If you fit a bigger cassette or a larger chainring, the chain may need to be longer, so work it out again with the new numbers. If you change to a smaller chainring, the chain may be too long, and the derailleur may not be able to take up the slack. Many shops recommend measuring the old chain against the new chain before you cut it, and keeping the old one as a guide.
Chain wear
A chain wears and stretches over time. Replace it before it is badly worn, since a worn chain damages the cassette and chainrings. When you fit a new chain, use the same number of links as the old one, or the length from the calculator. A chain checker tool can tell you when it is time to replace it. This is separate from the length calculation, but it is a good habit to check the chain when you work on the bike.
Common mistakes
- Using the small ring and cog. Use the largest of each.
- Measuring the chainstay wrongly. Measure from the center of the bottom bracket to the center of the rear axle.
- Using an odd number of links. Round up to an even number.
- Cutting the chain too short. You cannot add links back.
What next
Use this often? Add Bike Chain L to your Home screen.
Frequently asked questions
What is a bike chain length calculator?
A tool that works out the length of a bicycle chain and its number of links from the gears and the chainstay.
How do you calculate bike chain length?
Our simple rule is twice the chainstay length plus a quarter of the front teeth, plus a quarter of the rear teeth, plus 1 inch, for chainstays above about 15 inches.
How many links does my chain need?
Divide the length in inches by 0.5 and round up to an even number. A length of 52.25 inches needs 105 links, so use 106.
Why does a chain need an even number of links?
Chains are made of alternating inner and outer links, so they normally have an even number of links and are joined by a master link or a pin.
Which gears do I use?
The largest front chainring and the largest rear cog, which is the big-big combination.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.