InputTestHub

Bike Chain Length Calculator

Works out bicycle chain length in links from chainstay length, largest chainring and largest sprocket.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Enter your figures and press Calculate.
In short Chain length is set by the largest chainring, the largest sprocket and the distance between the bottom bracket and the rear axle. The standard method takes twice the chainstay length in inches, adds a quarter of the big ring and a quarter of the big sprocket, adds one, and then rounds up. The rounding is not a convenience: a chain alternates inner and outer plates, so it can only ever have an EVEN number of links. An odd count is physically impossible without a half-link, which is a different component. One link is half an inch — the 12.7 mm pitch is standard across every derailleur chain from every manufacturer — so a 108-link chain is 1,372 mm. The important caveat is that this is a cross-check, not an instruction. Full suspension changes the effective chainstay length through its travel, so a formula based on a static measurement can come out short at full compression. Long-cage and clutch derailleurs take up slack differently. And cutting a chain cannot be undone. The reliable method is still to wrap the chain around the big ring and the big sprocket without threading it through the derailleur, add two links, and use this number to confirm you have not made an arithmetic error.

How to use the Bike Chain Length Calculator

  1. Enter your figures in the input fields.
  2. The result updates as you type, together with the full working.
  3. Check the breakdown table to see exactly how the number was reached.

About the Bike Chain Length Calculator

The Bike Chain Length Calculator works out bicycle chain length in links from chainstay length, largest chainring and largest sprocket. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Sizing a new chain before fitting.
  • Checking a chain length after changing a cassette.
  • Cross-checking the wrap method.

Details

One linkHalf an inch — chain pitch is 12.7 mm
Link countAlways even; a chain alternates inner and outer plates
The formula2 × chainstay in inches + ring ÷ 4 + sprocket ÷ 4 + 1
Full suspensionChanges effective chainstay through its travel
Cutting a chain cannot be undone. Use this as a cross-check against the wrap method, not instead of it.

Frequently asked questions

Why must the number of links be even?
Because a chain alternates inner and outer link plates. An odd count cannot be joined without a half-link, which is a separate component and not used on modern derailleur chains.
Does this work for full suspension?
Use it with caution. The effective chainstay changes as the suspension moves, so a static measurement can produce a chain that is too short at full compression. Measure at the longest point.
What if I change the cassette?
A bigger largest sprocket needs a longer chain — a quarter of the extra teeth, in inches. Going from 28 to 34 teeth adds 1.5 inches, which is three links. But the total is always rounded up to an even number, and both totals are rounded independently, so the figure this tool reports jumps by two or by four and never by exactly three. Which one you get depends on your chainstay length.
Should I trust this over wrapping the chain?
No. Wrap the chain around the big ring and big sprocket, bypassing the derailleur, and add two links. Use this figure to confirm that result rather than to replace it.
Is the Bike Chain Length Calculator free, or is there a paid tier?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Can you see what I put into this page?
No. The Bike Chain Length Calculator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What does a typical result look like?
Enter 415 mm chainstay, 50T ring, 28T sprocket and the Bike Chain Length Calculator returns 108 links.
What is the Bike Chain Length Calculator used for?
The most common reasons people reach for it: sizing a new chain before fitting. Checking a chain length after changing a cassette. Cross-checking the wrap method. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything to watch out for?
Cutting a chain cannot be undone. Use this as a cross-check against the wrap method, not instead of it.
Which values should I know?
One link is Half an inch — chain pitch is 12.7 mm. Link count is Always even; a chain alternates inner and outer plates. The formula is 2 × chainstay in inches + ring ÷ 4 + sprocket ÷ 4 + 1. These are printed on the page itself, so you do not have to take them on trust.
Can I rely on this for exact work?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…