Bike Chain Length Calculator: Links for 1x, 2x, MTB and Single Speed

How many links your chain needs, how many to take out of a new one, and the shop method to check it against.

What are you building?

mm
Centre of the bottom bracket to centre of the rear axle.
T
T
links
Common setups

Your chain needs

—links
Remove
—

Shop method
—

Big-big loop
—

Bare wrap, before any slack

Check it on the bike before you cut

    The one everyone quotes is Sheldon Brown's, also used by Park Tool:

    L = 2C + F÷4 + R÷4 + 1

    L is chain length in inches, C the chainstay in inches, F the largest chainring and R the largest cog. The +1 is slack for the derailleur cage to take up. Divide L by 0.5 for links, since every bicycle chain has a half-inch pitch, then round up to an even number — a chain joins in inner-and-outer pairs.

    It is an approximation and a good one. Against the exact loop geometry it lands about 0.8–1.0 inch longer than a bare big-big wrap, which is the same allowance the shop method tells you to add by hand. On a single speed that approximation is no use, which is why this calculator switches to solving the loop exactly when you pick that mode.

    Every manufacturer's official procedure is the same idea: wrap the chain round the largest chainring and largest cog with the derailleur bypassed, then add a fixed amount. What differs is how much.

    Cassettes up to 36T — add 2 rivets (one inch) past the point where an inner plate meets an outer. This covers most road and older MTB setups.

    Big 1x cassettes, 40T and up — add 4 rivets (two inches). The cage swings much further on an Eagle or 11-51, and two rivets leaves it bottomed out.

    Full suspension is the one people get wrong. Size the chain with the shock fully compressed — let the air out or take it off and bottom the linkage. The chainstay effectively lengthens as the suspension moves, and a chain sized on an extended bike goes tight over a big hit. SRAM's own instruction for Eagle is to add one inner and one outer link once bottomed out, which is fewer than the hardtail figure precisely because the compression is already in the measurement.

    Then check the other end: in the small-small gear the cage should still hold tension. If the chain sags there, it is a link too long.

    With no derailleur there is nothing to take up slack, so the chain has to come out at very nearly the exact length — and the exact length is almost never a whole number of links. That is what the axle position is for.

    The calculator solves the loop properly and then works backwards: for each whole link count either side of exact, it tells you where the axle has to sit. If one of them lands within about 3 mm of your nominal chainstay, that pairing is a magic gear — it tensions up without a tensioner, which is what you need on vertical dropouts.

    Otherwise you need horizontal dropouts, track ends, a sliding dropout or an eccentric bottom bracket to make up the difference — or a half link, which buys you half an inch of adjustment and lets you use an odd link count. Tick the box above to allow that.

    How many links does a bike chain need?

    Most road bikes land on 106–112 links and most 1x mountain bikes on 112–120, but it depends on your chainstay and your biggest sprockets. New chains come at 116 or 126 links so you almost always remove some.

    Are links, rivets and inches the same thing?

    A link is half an inch, so a 116 link chain is 58 inches. Rivets are counted one per link too. What people call an inner plus an outer link together is one inch, or two links — which is why chain length is quoted in even numbers.

    What happens if the chain is too long or too short?

    Too long and the derailleur cage runs out of tension in the small-small gear, so the chain slaps and can drop. Too short is worse: shift into big-big and you can tear the derailleur off and bend the hanger.

    Can I measure against the old chain?

    Yes, and it is the quickest way when the old chain was the right length. Lay them side by side and match the link count, not the length — a worn chain has stretched and will be measurably longer than the new one.

    Is a 12-speed chain length different from an 11-speed?

    The pitch is identical, so the link count works out the same way. What changed is width, not length. The bigger cassettes that came with 12-speed are what push the length up, and that is already in the calculation.

    A simplified, open-source version of this tool is on GitHub — both the Sheldon equation and the exact single-speed loop, as readable code, with tests and a walk-through of how the sums work. Free to read, fork or build on. View the source on GitHub →