Bike Chain Length Calculator: How to Measure
- Chain length
- inches
- Result
- Chainstay length
- 425 mm
- You entered
- Largest chainring teeth
- 50 teeth
- You entered
This calculator works out the correct chain length for a bicycle drivetrain based on chainstay length, largest chainring teeth, and largest cassette sprocket teeth. You enter those three measurements, and it returns the chain length in links and inches, so you can cut a new chain or check an existing one.
Formula
The standard formula for a bicycle chain length with a rear derailleur is:
Chain length (inches) = (2 × chainstay length in inches) + (largest chainring teeth / 4) + (largest cassette sprocket teeth / 4) + 1
Where:
- Chainstay length – the distance from the center of the bottom bracket to the center of the rear axle, measured in millimeters or inches.
- Largest chainring teeth – the number of teeth on the biggest front gear (e.g., 50 for a 50/34 compact crankset).
- Largest cassette sprocket teeth – the number of teeth on the biggest rear gear (e.g., 34 for an 11-34 cassette).
- +1 inch – a fudge factor that accounts for the derailleur cage and the extra wrap needed to shift smoothly.
The result is in inches. To convert to links, multiply by 2 (since one inch of chain equals two links – a standard chain has 1-inch pitch, meaning each link is 0.5 inches long).
Worked Example
Using the default values from the calculator above (chainstay = 425 mm, largest chainring = 50 teeth, largest cassette sprocket = 34 teeth):
- Convert chainstay to inches: 425 mm ÷ 25.4 = 16.73 inches.
- Multiply by 2: 16.73 × 2 = 33.46 inches.
- Add chainring term: 50 ÷ 4 = 12.5 inches.
- Add cassette term: 34 ÷ 4 = 8.5 inches.
- Add 1 inch fudge factor: 33.46 + 12.5 + 8.5 + 1 = 55.46 inches.
- Convert to links: 55.46 × 2 = 110.92, round to 111 links.
The calculator gives 111 links and 55.46 inches, matching the manual calculation.
When to Use This Formula
This formula works for any bicycle with a rear derailleur – road, mountain, gravel, or hybrid – as long as you know the three key measurements. It is most useful when:
- You are installing a new chain and need to know how many links to cut before putting it on.
- You are changing chainring or cassette sizes and want to check whether your existing chain is still long enough.
- You are building a bike from parts and need to order the correct chain length.
For single-speed or fixed-gear bikes, the formula is different (it uses the number of teeth on both sprockets and the chainstay length, but without the +1 inch and with a different wrap calculation). This calculator is not for those drivetrains.
How to Measure Chainstay Length Correctly
Chainstay length is the most common source of error. Measure from the center of the bottom bracket axle to the center of the rear dropout (where the wheel axle sits). Use a ruler or caliper, and make sure the bike is not loaded (no rider on it). For most road bikes, chainstay length is between 405 mm and 420 mm; for mountain bikes, it ranges from 420 mm to 460 mm or more.
If you cannot measure directly, you can look up the geometry chart for your bike model – manufacturers list chainstay length in the specs. But be aware that some frames have adjustable dropouts, so the actual length may vary slightly.
Common Mistakes and Misconceptions
One common mistake is measuring chainstay length from the center of the bottom bracket to the end of the dropout (the rear axle slot) rather than to the axle center. That adds a few millimeters and can change the chain length by a link.
Another misconception is that the +1 inch is optional. It is not – it accounts for the derailleur cage wrap, which is necessary for the chain to route properly through the pulleys. Without it, the chain will be too tight in the big-big combination (largest chainring and largest cassette sprocket), which can damage the drivetrain.
Also, this formula assumes a standard rear derailleur with a typical cage length. If you have a long-cage mountain bike derailleur, the +1 inch still works, but if you have a short-cage road derailleur, you may need to add an extra link or two to avoid excessive tension. The formula gives a minimum length; it is often safer to add one or two links if you are between sizes.
How to Check Chain Length Without a Calculator
If you already have a chain on the bike, you can check the length by shifting to the largest chainring and largest cassette sprocket (big-big). The chain should have a small amount of slack – about 1 to 2 mm of vertical movement at the midpoint between the derailleur and the cassette. If it is taut, the chain is too short. If it sags more than 5 mm, it is too long.
Another method is to wrap the chain around the largest chainring and largest sprocket without going through the derailleur, then add two links (one inch) for the derailleur. This is essentially what the formula does, but it requires you to have the chain and the drivetrain parts in hand.
Limitations of the Formula
This formula is a good approximation, but it does not account for:
- Derailleur cage length – long-cage derailleurs need a bit more chain to handle large gear differences.
- Chain wrap – if your chainring and cassette have very different tooth counts (e.g., 53/39 chainrings with an 11-32 cassette), the formula may underestimate the length.
- Frame geometry – some frames have a rear suspension that changes chainstay length when the bike is ridden. For full-suspension bikes, you should measure chainstay length at the sag point (with rider on board) for the most accurate result.
For most standard bikes, the formula is within one link of correct. If you are in doubt, add an extra link – a chain that is one link too long is safer than one that is too short, because a too-short chain can break or damage your derailleur.
Frequently Asked Questions
What if I have a 1x (single chainring) drivetrain?
The same formula works for 1x systems. Use the number of teeth on your single chainring as the largest chainring, and the largest sprocket on your cassette. The +1 inch still applies. Many 1x riders use a long-cage derailleur, so adding an extra link is often recommended.
How do I convert chain length from inches to links?
Multiply the length in inches by 2. Standard bicycle chain has a 1-inch pitch, meaning each link (inner and outer plate pair) is 0.5 inches long. So 55 inches of chain equals 110 links.
What if my bike has a rear suspension?
For full-suspension bikes, the chainstay length changes as the suspension compresses. Measure the chainstay at the sag point (when the rider is on the bike) to get the most accurate length. If you cannot measure at sag, use the fully extended length and add one extra link to be safe.
Can I use this formula for a BMX or single-speed?
No. Single-speed and fixed-gear bikes use a different formula because there is no derailleur. For those, you typically wrap the chain around the largest chainring and largest sprocket, then add one link (half an inch) for the master link. This calculator is for derailleur-equipped bikes only.
Is it better to have a chain that is too long or too short?
Too short is worse. A too-short chain will not engage the derailleur properly, can snap under load, and can pull the derailleur into the spokes. A chain that is one or two links too long will simply have a bit more slack, which is usually fine unless it is so loose that it drops off the chainring. When in doubt, go longer.
Why does the formula add 1 inch?
The +1 inch accounts for the derailleur cage wrap – the chain must go around the two pulleys in the derailleur, which adds length. Without it, the chain would be too short to route through the derailleur correctly.
Related
Formula used
in cs | Chainstay length | mm | 425 | 0 in t1 | Largest chainring teeth | teeth | 50 | 0 in t2 | Largest cassette sprocket teeth | teeth | 34 | 0 out links | Chain length | links | round((2 * cs / 25.4 + t1 / 4 + t2 / 4 + 1) * 2, 0) | 0 out inches | Chain length | inches | 2 * cs / 25.4 + t1 / 4 + t2 / 4 + 1 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.