Cycling Speed Calculator
Calculate your cycling speed, time, or distance based on the other two variables.
CyclingCalculate the length of your bike chain based on the chainring and sprocket sizes.
Learn more about the calculator and its creator
I'm a software developer and bike enthusiast from Germany. I created this chain length calculator to help cyclists find the perfect chain length for their bike because I couldn't find a good one when I started cycling and bought the wrong chain length one too many times.
This chain length calculator helps determine the correct chain length for your bike. Whether you're replacing an old chain with a new chain or checking your current chain length, this tool provides accurate measurements. Using a chain tool and checking against the original chain can help ensure proper installation.
The chain length calculator uses the following formula to determine the chain length:
A bicycle chain consists of inner plates and outer plates connected by two rivets. The master link (also called a quick link) joins the chain ends together. Each link measures approximately one inch in length, and the total chain consists of multiple inner and outer plates working together.
Chainstay Length
The distance from the center of the bottom bracket to the center of the rear axle.
Largest Front Chainring
The number of teeth on the largest chainring at the front.
Largest Rear Sprocket
The number of teeth on the largest sprocket on the rear cassette.
Apply Formula
The calculator takes the input values and applies them to the formula.
Unit Conversion
If the chainstay length is provided in millimeters, it's converted to inches (1 inch = 25.4 mm).
Calculate Chain Length
The result (L) gives the chain length in inches.
Calculate Number of Chain Links
The number of chain links is calculated by dividing the chain length by 0.5 (as each link is typically 0.5 inches long).
Round Up
The number of links is rounded up to the nearest even number to ensure a complete chain.
The calculator provides two main outputs:
Total Correct Chain Length
The estimated length of the chain in inches or centimeters.
Number of Chain Links
The recommended number of chain links for your new chain, rounded to an even number.
Estimate Only
This calculation provides an estimate and should be used as a starting point.
Manufacturer Guidelines
Always refer to your bicycle manufacturer's guidelines for the most accurate chain length.
Additional Factors
Consider factors like suspension design and specific drivetrain requirements when determining the final chain length.
Err on the Side of Longer
It's generally better to err on the side of a slightly longer chain, as it can be shortened if necessary.
Use this calculator as a helpful tool in determining your bike's chain length and chain links, but always double-check with professional resources or a bike mechanic for the best results.
Explore more calculators to help with your fitness goals.
Calculate your cycling speed, time, or distance based on the other two variables.
CyclingCalculate gear ratio, gear inches and chain angle of your bike based on the chainring and sprocket sizes.
Cycling