Chain Length Calculator - Bike Chain Size in Inches and Links
Use this chain length calculator to size a new bicycle chain from chain stay length, front chainring teeth, and rear cog teeth in seconds.
Chain Length Calculator
Results
What Is Chain Length Calculator?
A chain length calculator sizes a replacement bicycle chain from three drivetrain measurements: the chain stay length, the largest front chainring teeth, and the largest rear cog teeth. Riders use it when installing a fresh chain, switching to a different chainring or cassette, or building a bike from a frame and need to know how many links to cut before the chain breaker. Getting the chain length right keeps the rear derailleur spring tension within its safe range and lets the chain clear the largest front and rear gears with about an inch of slack.
- • Replacing a worn chain: Match a new chain to your frame and gearing when the old one has stretched past 0.5 percent wear.
- • Switching chainring or cassette: Recheck chain length whenever you change the largest front or rear gear to avoid a chain that is too short or too long.
- • Building a bike from a frame: Calculate the link count before cutting so a single-speed, fixed gear, or 1x build has the right chain on the first try.
- • Verifying a chain in the workshop: Confirm a chain breaker or quick-link installation has produced a safe length before test riding.
Most modern derailleur bicycles share a 0.5 inch chain pitch, so a chain length in inches maps cleanly to a whole number of links. Enter the chain stay, the largest chainring teeth on the crank, and the largest cog teeth on the cassette to see the result in inches, in links, and as the rigorous shortest possible length.
Once you know the right chain length, the Bike Gear Calculator shows the gear ratios for every chainring and cog combination on that same drivetrain.
How Chain Length Calculator Works
The calculator applies the simple chain length equation to every input set and shows the rigorous equation alongside it so you can pick the safer number. The chain length in links is derived from the standard 0.5 inch chain pitch shared by almost every derailleur chain on the market today.
- C: Chain stay length in inches (distance from the bottom bracket center to the rear axle center).
- F: Tooth count on the largest front chainring you will ride.
- R: Tooth count on the largest rear cog your chain must wrap around.
- pitch: Standard chain pitch of 0.5 in used to convert length to links.
The simple equation is accurate for chain stays of 15 in or longer with normal road, gravel, and mountain bike gearing. For shorter chain stays or unusual gearing, the rigorous equation accounts for how the chain wraps around the gears and returns a slightly smaller minimum length.
Divide the simple-equation length by the 0.5 in pitch to convert inches to links, then round up so the chain ends on a full link. Most riders add one more link for the master link so both chain ends terminate with inner plates.
Example: 42-32-22 chainring, 32t largest cog, 16 3/8 in chain stay
Chain stay C = 16.375 in, front chainring F = 42 teeth, rear cog R = 32 teeth, pitch = 0.5 in.
L = 2 * 16.375 + 42 / 4 + 32 / 4 + 1 = 32.75 + 10.5 + 8 + 1 = 52.25 in.
Chain length 52.25 in, rigorous shortest length 51.29 in, links 105, recommended 106 links including the master link.
Cut a 106-link chain with a master link, route it around the 42t chainring and 32t cog, and leave about an inch of vertical slack in the lower run between the derailleur pulleys.
According to Park Tool, the workshop standard for sizing a new chain is to wrap it around the largest front chainring and the largest rear cog, then add two rivets (one inch) of slack to set the cutting point before joining the ends with a master link
With a freshly sized chain in place, the Bike Cadence Calculator turns the same chainring and cog teeth into pedal RPM at any riding speed.
Key Concepts Explained
Four terms come up every time you size a chain, and they each affect the answer in a different way. Get comfortable with these so you can sanity check any result the calculator gives you.
Chain stay length (C)
The distance between the center of the bottom bracket and the center of the rear wheel axle, measured in inches. This is the single largest contributor to chain length because the formula doubles it before adding the gearing terms.
Front chainring and rear cog teeth (F, R)
The tooth count of the largest chainring and the largest cassette cog. Adding F/4 and R/4 models how much chain must wrap around each gear when the chain is sized on the big-big combination.
Chain pitch (0.5 in)
Almost every modern derailleur chain uses a 0.5 in rivet-to-rivet pitch, which is why the same chain length in inches can be converted to whole links by dividing by 0.5. Chain width changes with the number of speeds, but the pitch does not.
Master (quick) link allowance
A master link clamps onto two inner plates, so the chain must end on inner plates after cutting. Most riders add one link to the calculated total so the cut leaves the right plate orientation for the master link.
The simple equation assumes a chain stay of about 15 in or more and a normal difference between chainring and cog teeth. If your geometry is unusual, the rigorous equation returns a smaller theoretical minimum and gives you a safer comparison number.
If you want to see how the chainring and cog numbers in the calculator relate to gear inches and meters of development, the Bicycle Gear Ratio Calculator explains that side of the drivetrain.
How to Use This Calculator
Run the calculator in under a minute by measuring three numbers from your bike and reading the result panel. Each step here lines up with a field in the input form.
- 1 Measure chain stay length in inches: Measure from the center of the bottom bracket to the center of the rear axle. Convert fractions to decimals (16 3/8 in becomes 16.375) and enter the value in the chain stay field.
- 2 Count the largest front chainring teeth: Use the chainring you actually ride, not the largest one on a triple you never shift into. Read the tooth count off the crank or from the spec sheet.
- 3 Count the largest rear cog teeth: Read the tooth count on the biggest cog of your cassette. The simple equation uses this number to add slack for the big-big combination.
- 4 Read the chain length in inches and links: Open the results panel. The simple length is the safe size, the rigorous length is the theoretical minimum, and the links column is the number of links to cut at the standard 0.5 in pitch.
- 5 Add one link for the master link: Use the recommended links value (links plus one) when you cut the chain so the master link can clamp onto two inner plates.
With a chain stay of 16.375 in, a 42-tooth chainring, and a 32-tooth cog, the calculator shows 52.25 in, 51.29 in, 105 links, and a recommended 106 links. Cut the chain to 106 links, install the master link on the inner plate pair, and verify about an inch of vertical slack in the lower run.
After the chain is cut and installed, the Bike Pace Calculator turns your cadence and chosen gear into a target pace per mile or kilometer.
Benefits of Using This Calculator
Sizing a chain with the calculator is faster than measuring by hand and gives a reproducible answer you can share with a mechanic or riding partner. These benefits show up every time the chain gets replaced or the gearing changes.
- • Avoid a chain that is too short: A short chain binds the derailleur under load and can damage the hanger on a big gear.
- • Avoid a chain that is too long: An over-long chain flops between the chainring and cassette and can drop off the gears on rough terrain.
- • Get the right link count on the first cut: The link count is rounded up using the standard 0.5 in pitch, so the chain ends on the correct plate orientation for a master link.
- • Switch gearing without trial and error: Recheck the chain length whenever you swap the largest chainring or cassette cog.
- • Plan workshop time before the chain breaker comes out: Knowing the link count in advance means you only break the chain once.
Use the chain length calculator each time you replace a chain so the rear derailleur spring stays in its safe range and the chain clears every gear combination.
Once the chain is sized and the drivetrain runs cleanly through every gear, the Bike Speed Calculator turns the same chainring and cog teeth into mph and km/h once you add cadence and wheel size.
Factors That Affect Your Results
A handful of bike setup choices change the result enough to matter. Check these factors before you commit to a cut length on the workshop floor.
Chain stay length
Doubled in the simple equation, so each inch of chain stay adds two inches of chain.
Largest chainring teeth
Adding one tooth on the largest chainring adds a quarter inch. A 42t to 50t swap adds two inches before the link conversion.
Largest cog teeth
Each extra tooth on the biggest rear cog adds another quarter inch of chain.
Suspension or sliding dropouts
Full suspension and sliding dropout frames need extra slack for compression. Add a half inch to one inch before cutting.
Single speed or fixed gear
Single-speed and fixed gear builds use taut-chain routing instead of this equation.
- • The simple equation assumes a chain stay of about 15 in or longer. For shorter chain stays or unusual gearing, the rigorous equation gives a smaller theoretical minimum.
- • Full suspension frames compress through the travel and need extra slack. The calculator does not include suspension travel, so add the frame travel in inches to the chain stay before computing.
- • Chains wear and stretch over time. Replace chains at 0.5 percent stretch, not when they only feel stiff.
This chain length calculator covers road, gravel, mountain, commuter, and many e-bike drivetrains. For Brompton or other compact folders with very short chain stays, add extra slack for the derailleur pulley travel.
According to Park Tool, routing a new chain around the largest front chainring and largest rear cog is the workshop standard for sizing a replacement bicycle chain
Chain stay length depends on frame size, so riders picking a new frame can use the Bike Size Calculator first and then come back to this calculator with the right chain stay number.
Frequently Asked Questions
Q: What is the chain length for a 16 3/8 in chain stay, 42 tooth chainring, and 32 tooth cog?
A: The simple chain length comes out to 52.25 inches, which equals 105 links at the standard 0.5 inch pitch. Add one link for the master link and cut a 106 link chain. The rigorous equation gives a theoretical shortest length of about 51.3 inches for the same geometry.
Q: How do I calculate the chain length for my bike?
A: Measure the chain stay in inches, count the largest front chainring teeth, and count the largest rear cog teeth. Apply the simple chain length equation L = 2 * C + F / 4 + R / 4 + 1, then divide by the standard 0.5 inch pitch and round up to the next whole link.
Q: What is the standard pitch of a bicycle chain?
A: Almost every derailleur bicycle chain uses a pitch of 0.5 inch between rivets. Chain width changes with the number of speeds, but the pitch is the same across 7, 8, 9, 10, 11, 12, and 13 speed chains, which is why a chain length in inches converts cleanly to a whole link count.
Q: How many links are in a typical bike chain?
A: Most road, gravel, and mountain bikes use between 100 and 116 links depending on the chain stay length and gearing. A 16 3/8 in chain stay with a 42 tooth chainring and 32 tooth cog needs about 105 links, while long-tail bikes and 1x drivetrains can push the total above 116 links.
Q: Can I shorten a bike chain that is too long?
A: Yes. Use a chain breaker tool to push a rivet out and remove one link at a time until the chain reaches the length shown by the calculator. Rejoin the chain with a master link matched to the number of speeds of your drivetrain.
Q: Does chain length affect gear shifting?
A: Yes. A chain that is too short can bind the rear derailleur at the big-big combination and cause missed shifts or a thrown chain. A chain that is too long reduces the derailleur spring tension and can cause slow or noisy shifts on the small gear combinations.