54
links
27
in
68.6
cm
686
mm
52.39
links
54
links
27
in
68.6
cm
686
mm
52.39
links
The Chain Length Calculator helps cyclists determine the correct number of chain links needed for their bicycle drivetrain. Getting chain length right is critical for proper shifting performance, drivetrain longevity, and safe operation. A chain that is too short can cause catastrophic derailleur damage when shifting into the largest chainring and largest cog combination, while a chain that is too long leads to poor shifting, chain slap, and potential chain derailment.
This calculator uses the Shimano method, which is the industry-standard formula recommended by the world's largest bicycle drivetrain manufacturer. The formula accounts for three key measurements: the chainstay length (the distance from the bottom bracket center to the rear axle center), the sizes of the largest chainring and largest rear cog, and a constant that provides necessary chain slack for the derailleur to function properly.
The chainstay length is particularly important because it determines how much chain is needed to span the distance between the front and rear sprockets. Bikes with longer chainstays, such as touring and gravel bikes with chainstay lengths of 420-450mm, require longer chains than racing bikes with compact 400-410mm chainstays. Mountain bikes vary widely, from 415mm on cross-country frames to 445mm or more on enduro and downhill bikes.
Modern drivetrains have become increasingly complex, with wide-range cassettes featuring cogs as large as 52 teeth (SRAM Eagle) or 51 teeth (Shimano). These extreme gear ranges require careful chain sizing because the difference in chain wrap between the smallest and largest gear combinations is enormous. The calculator rounds the result up to the nearest even number of links, as bicycle chains must have an even number of links to ensure proper connection with an outer plate pair meeting an inner plate pair.
While this formula provides an excellent starting point, there are situations where you might need to adjust the result. Bikes with full-suspension designs may need one or two additional links to accommodate suspension movement that effectively increases chainstay length. Some 1x drivetrains with clutch derailleurs can run slightly shorter chains for reduced slack. Always verify the calculated length by physically routing the chain through the largest chainring and largest cog without threading through the derailleur, then adding two links to that measurement as a cross-check.
Professional mechanics often keep the old chain to compare length with the new one, but this only works if the original chain was correctly sized. New bikes occasionally come from the factory with incorrectly sized chains, making a calculation-based approach more reliable. This calculator gives you the correct starting point, saving time and preventing the costly mistake of cutting a new chain too short.
For multi-speed bicycles, chain length must accommodate the cross-chain extremes even if you rarely use those combinations. The chain must be long enough for the big-big combination (largest front, largest rear) while short enough to maintain tension in the small-small combination (smallest front, smallest rear). This balancing act becomes more challenging with wider gear ranges, which is one reason modern 1x drivetrains simplify the equation by eliminating the front derailleur entirely.
Chain pitch has been standardized at 12.7mm (half an inch) for all modern multi-speed bicycle chains, regardless of whether you use 9, 10, 11, 12, or 13-speed systems. What changes between speed ratings is the chain width, with higher speed chains being narrower to fit between more closely spaced cogs. Despite these width differences, the pitch remains constant, so this calculator works for all modern drivetrain configurations. When purchasing a replacement chain, ensure you buy the correct speed rating for your drivetrain, as mismatched chain widths cause poor shifting and accelerated wear.
It is worth noting that the Shimano formula provides a theoretical minimum length. In practice, many mechanics add two extra links as a safety margin, particularly for bikes with rear suspension or those used in rough conditions where chain tension fluctuates significantly during riding. Always perform a physical check after cutting the chain to ensure proper derailleur cage tension in all gear combinations.
The Shimano chain length formula calculates the number of links as follows:
$$L = 2 \times \frac{C}{P} + \frac{F}{2} + \frac{R}{2} + 1$$
Where:
The result is rounded up to the nearest even number because chains consist of alternating inner and outer link plates that must connect properly. The +1 term provides necessary slack for the rear derailleur cage to maintain tension.
Chain length in inches is calculated by multiplying links by half-inch pitch:
$$\text{Length (inches)} = \text{Links} \times 0.5$$
A typical road bike with a 50/34 crankset and 11-28 cassette needs approximately 108-112 links. Mountain bikes with wide-range 1x drivetruts typically need 114-126 links depending on chainstay length and cassette range. Most chains are sold in 116 or 126 link lengths, so you will usually need to remove links. If your calculated length exceeds the chain you purchased, you may need a longer chain. Always err on the side of one pair of links longer rather than shorter to avoid derailleur damage.
Inputs
Results
A standard road bike with 50T chainring, 28T cassette, and 405mm chainstay needs approximately 104 links. Most new chains come with 116 links, so 12 links (6 pairs) need to be removed.
Inputs
Results
A modern 1x12 mountain bike with 32T chainring, 52T Eagle cassette, and 435mm chainstay requires about 112 links. The large rear cog significantly increases chain length requirements.
Most road and mountain bike chains are sold with 116 links. Some mountain bike-specific chains (such as SRAM Eagle) come with 126 links to accommodate wide-range drivetrains with long chainstays. You almost always need to remove links to achieve the correct length for your specific bike.
A chain that is too short can cause catastrophic damage when shifting into the largest chainring and largest cog. It can snap the rear derailleur hanger, destroy the derailleur itself, or even crack the frame dropout. In extreme cases, the rear wheel can lock up, causing a crash. Always ensure the chain can accommodate the big-big combination.
An overly long chain causes poor shifting performance, excessive chain slap against the chainstay, and increased risk of the chain derailing from the chainring. The rear derailleur may not maintain sufficient tension, allowing the chain to bounce and skip, especially on rough terrain. However, too long is far less dangerous than too short.
Yes. Full-suspension bikes experience chain growth as the rear suspension compresses, effectively increasing the chainstay length. Add 1-2 extra links beyond the calculated length, or check the chain tension with the suspension fully compressed to ensure the derailleur is not over-extended.
Single-speed and fixed-gear bikes do not use a derailleur, so this formula does not apply. For those bikes, chain length is determined by wrapping the chain around the chainring and cog, finding the tightest position that still allows smooth rotation. Many single-speed frames use horizontal dropouts or an eccentric bottom bracket to adjust chain tension.
Use a chain wear checker (chain gauge). When the tool indicates 0.5% elongation, the chain should be replaced to protect the cassette and chainrings from accelerated wear. At 0.75% elongation, you may also need a new cassette. For 12-speed drivetrains, replace at 0.5% because the narrower chain and tighter tolerances are less forgiving of wear.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Cycling Calorie Calculator
Cycling & Endurance Sports
Cycling Wattage Calculator
Cycling & Endurance Sports
Gear Ratio Calculator (Bike)
Cycling & Endurance Sports
Cycling Power Zones Calculator
Cycling & Endurance Sports
Functional Threshold Power (FTP) Calculator
Cycling & Endurance Sports
E-Bike Range Calculator
Cycling & Endurance Sports