βοΈ Bike Chain Length Calculator
The right link count for any drivetrain.
Chain Length
How to Use This Chain Length Calculator
A new chain that is two links too short will not reach the big-big combination and can destroy a derailleur; two links too long and shifting turns sloppy. This calculator sizes the chain from your frame and drivetrain numbers so you buy and cut with confidence. Measure once, cut once.
Measure chainstay length: center of the bottom bracket to center of the rear axle, in inches.
Enter your largest front chainring and largest rear cog tooth counts.
Read the link count. Buy a chain with at least that many links; new chains come long and you remove the excess.
Install with the big-big plus method to double-check: thread the chain through the derailleur, wrap big ring to big cog, and add links per your derailleur maker's guidance.
The Chain Length Formula
The formula adds the two straight runs (twice the chainstay) to the wrap around the big ring and big cog (each contributes a quarter of its teeth in inches of chain) plus one inch of slack. Since each link is half an inch, doubling the inches gives links, rounded up to even because chains join in pairs. It is the standard equation shop mechanics use, and it lands within a link of the physical big-big method on conventional drivetrains.
Worked Example: 16.5 in Stays, 50x28
Length = 2 x 16.5 + 50/4 + 28/4 + 1 = 33 + 12.5 + 7 + 1 = 53.5 inches. Links = 53.5 x 2 = 107, rounded up to the even 108. A standard 114- or 116-link chain covers this with links to spare. Enter these numbers above to verify.
Too Short vs Too Long
Too short is the dangerous direction. If the chain cannot wrap the big chainring and big cog together, shifting there under power can rip the derailleur into the spokes, a crash-causing failure. Too long just shifts lazily and slaps the chainstay, annoying but not catastrophic. When the formula gives an odd number, always round up. And when replacing a chain on a bike that shifted well, the laziest reliable method is matching the old chain link for link, provided the old one was correctly sized.
Full-suspension frames complicate things because chainstay length grows as the suspension compresses. Size the chain at the point of maximum chain growth, or use the big-big method with the shock deflated, so the chain never goes taut mid-travel. Single-speeds and fixies skip all of this: they size for proper tension with the wheel positioned in the dropout, a different job entirely.
When to Replace Your Chain
Chains wear by elongating as the pins and rollers wear, and a worn chain wears out the cassette and chainrings with it. Check with a chain checker tool: at 0.5 percent elongation on 11- and 12-speed drivetrains, replace the chain; 10-speed and below can go to 0.75. Replacing a 30-dollar chain on time saves a 150-dollar cassette. Measure every few hundred miles, because wear is invisible until it has already cost you the cassette.
Sizing Chains for 1x Drivetrains
Single-ring drivetrains with wide-range cassettes, now standard on mountain bikes and common on gravel bikes, size a little differently. The formula still works: use your single chainring as the ring and the largest cassette cog as the cog. With a 32-tooth ring and a 52-tooth cog on 17-inch stays, the math gives 2 x 17 + 32/4 + 52/4 + 1 = 56 inches, or 112 links. The huge cog is what drives the length here, contributing 13 inches of wrap all by itself.
On 1x setups the derailleur clutch does the chain-retention work, so correct length matters even more: too long and the clutch cannot take up the slack in small cogs, too short and the big cog becomes unreachable. Many manufacturers publish their own method, often big-cog plus two links through the derailleur, which usually agrees with the formula within a link. When they disagree, trust the manufacturer's method for that specific derailleur, since cage geometry varies.
Gravel and road 1x riders should also mind chainring size changes. Dropping from a 42 to a 40-tooth ring shortens the ideal chain by one link, a small change that still affects shifting crispness on 12-speed systems with their tight tolerances. Recompute with the calculator whenever the ring changes, and remember that a fresh chain on worn chainring teeth will skip under load: if the old chain was far past its wear limit, budget for a ring too. Keep the old chain until the new one is cut and tested; comparing link counts side by side catches miscounts before you press the quick link closed.
A Second Worked Example: The 1x Gravel Bike
Single-ring drivetrains use the same formula with one chainring. Say your gravel bike has 16.5-inch chainstays, a 40-tooth chainring, and a 42-tooth largest cassette cog. The formula: links equals 2 times chainstay plus chainring teeth divided by 4 plus cog teeth divided by 4 plus 1. That is 33 plus 10 plus 10.5 plus 1, which equals 54.5 links. Chains only come in whole even numbers of links, so round up to 56.
In practice you buy a standard 114- or 116-link chain and cut it down. Thread it through the derailleur, bring the ends together, and count off to 56 links, which means removing 58 from a 114. Mark the cut with the chain tool's pin, not by memory. Keep the leftover links in a bag; two of them plus a quick link make a trailside repair that has saved many rides.
The Big-Big Plus Two Method, Explained
Mechanics who distrust formulas use the big-big method, and it is worth knowing because it never needs a tape measure. Shift, by hand, onto the largest chainring and the largest cassette cog. Thread the chain through the rear derailleur and pull both ends tight until the derailleur cage points roughly forward. Where the ends meet, add two full links, which is one inch of chain, and cut there.
The two extra links are the suspension of the system. Without them, the derailleur cage stretches flat in big-big and the drivetrain binds; with more than two, the chain sags in small-small and slaps the chainstay. Full-suspension bikes add a wrinkle: size the chain with the suspension fully compressed, because the chainstay effectively grows through the travel. Size it at rest and the chain goes taut mid-stroke, which can rip a derailleur off on the first big hit.
Why Chainstay Length Is Measured, Not Listed
Geometry charts list chainstay length, but the number you need is the real one on your bike. Manufacturers round to the nearest 5 mm, and 5 mm is 0.2 inches, enough to shift the formula by nearly half a link. Measure from the center of the bottom bracket to the center of the rear axle with the wheel seated in the dropouts. A steel tape and a helper beat any spec sheet.
Sliding dropouts and eccentric bottom brackets change the effective length on purpose, which is how single-speed riders tension their chains. If your frame has them, set the wheel where you want it first, then measure. And measure with the tire you will actually run: a bigger tire does not change the stay length, but it changes clearance, which limits how far forward you can slide the wheel before the tire buzzes the seat tube.
New Chain Day: The Replacement Checklist
A new chain on a worn drivetrain skips, so check before you cut. Measure twelve full links with a ruler: pin to pin should be exactly 12 inches. At 12 and 1/16 inches the chain is worn and should be replaced; past 12 and 1/8, it has likely worn the cassette and chainring to match, and a fresh chain will skip on the old teeth. Replace chains early and cassettes last years; run them too long and you buy both.
Size the new chain with the old one only if the old one was the right length, which you cannot assume. Run the formula or the big-big method fresh. Then ride the two extreme combos, big-big and small-small, before you leave the stand. In big-big the derailleur should still have spring travel left; in small-small the chain should not drag on itself under the chainstay. Two minutes of checking beats a walk home.
Frequently Asked Questions
How do I calculate bike chain length?
Use the formula: length in inches = 2 x chainstay + chainring/4 + cog/4 + 1, then double for links and round up to even. A 16.5-inch chainstay with 50x28 gears needs 53.5 inches, or 108 links. The calculator above does it instantly.
How many links does my bike chain need?
It depends on your chainstay length and biggest gears, but most road bikes need 108 to 114 links and mountain bikes 112 to 118. Enter your numbers above for the exact count. Buy a chain longer than needed; new chains are sold long and you remove links.
What happens if my bike chain is too short?
The chain cannot reach the big-big gear combination, and forcing it can destroy the rear derailleur or lock the drivetrain, which can cause a crash. Always size so the chain wraps the largest chainring and largest cog with the derailleur able to take up the slack.
What happens if my bike chain is too long?
Shifting gets lazy and imprecise, the chain slaps the chainstay over bumps, and it can drop off the rings more easily. It is less dangerous than too short but still worth fixing. Remove links in pairs until the big-big method checks out.
How do I measure chainstay length?
Measure from the center of the bottom bracket spindle to the center of the rear axle, in inches. On most road bikes this is 16 to 17 inches; mountain bikes run 16.5 to 18. Use a tape measure along the chainstay itself for the truest number.
When should I replace my bike chain?
When a chain checker shows 0.5 percent wear on 11/12-speed drivetrains, or 0.75 on 10-speed and below. Riding a worn chain past these marks wears the cassette and chainrings, turning a 30-dollar chain into a full drivetrain replacement. Check every few hundred miles.
Can I reuse a quick link?
Most quick links are officially single-use, though many riders reuse them a few times without issue. Carry a spare on rides regardless: a broken chain 20 miles out is a long walk. Reconnecting with a fresh quick link takes under a minute with the right pliers.
Does chain length change with suspension?
Yes. On full-suspension bikes the distance from bottom bracket to rear axle grows through the travel, so size the chain at maximum chain growth or the chain can go taut and damage the frame or derailleur. Check with the shock deflated or per the manufacturer's method.