ThisCalculator

Sports and fitness

Bicycle Chain Length Calculator and Sizing Guide

Updated · Standard formula, shown below

Approximate chain length 106 links
Suggested even link count
108 links
Result
Chainstay length
420 mm
You entered
Largest front chainring
50 teeth
You entered

Bicycle Chain Length Calculator and Sizing Guide

A bicycle chain length calculator estimates the chain length needed from your bike’s chainstay length, front chainring size, and rear sprocket size. Enter those measurements in millimetres and teeth; the calculator returns an approximate chain length in links, rounded up to a usable even number.

Formula

This calculator uses a common approximation for a conventional derailleur bicycle drivetrain:

L ≈ 2C + F/2 + R/2 + ((F − R)/(2π))²/C

  • L is the estimated chain length in chain pitches, or links. Each pitch is 12.7 mm (one-half inch).
  • C is chainstay length expressed in chain pitches: chainstay length in millimetres divided by 12.7.
  • F is the tooth count of the largest front chainring.
  • R is the tooth count of the largest rear sprocket.

The formula’s first output shows the estimate rounded to a whole link. Its second output rounds that estimate up to an even number of links, a practical starting point because many bicycle chains are assembled in pairs of half-inch pitches. This is an estimate, not a substitute for the frame or drivetrain manufacturer’s sizing procedure.

Worked Example

Using the calculator’s default values—420 mm chainstay, a 50-tooth largest chainring, and a 30-tooth largest sprocket:

  1. Convert the chainstay to pitches: 420 ÷ 12.7 ≈ 33.0709.
  2. Calculate the main terms: 2 × 33.0709 + 50/2 + 30/2 = 106.1418.
  3. Calculate the correction: ((50 − 30)/(2π))² ÷ 33.0709 ≈ 0.4841.
  4. Add the terms: 106.1418 + 0.4841 ≈ 106.6259 links.

Rounded to a whole link, the estimate is 107 links. Rounding that result up to an even count gives 108 links as the calculator’s suggested starting length. Measure and size the actual chain on the bike before cutting it; the formula alone cannot confirm correct fit.

How to Measure the Inputs

Chainstay length is the distance from the centre of the crank axle to the centre of the rear wheel axle. Use millimetres for this calculator. If your measurement is in inches, multiply it by 25.4 before entering it; for example, 16.5 inches is 419.1 mm. Do not enter a wheel diameter or the length of the chainstay tube itself.

Count the teeth on the largest front chainring and largest rear sprocket. For a cassette with several sprockets, use the largest sprocket, not the smallest one or an average. The calculator uses tooth counts as plain numbers. A typical example might be a 52-tooth chainring and a 34-tooth largest cassette sprocket.

How to Use the Estimate on the Bike

The estimate is useful for planning a replacement chain, checking whether a proposed chain is in the right range, or understanding why drivetrain gearing affects chain length. Final sizing should follow the bicycle or drivetrain maker’s instructions, especially on suspension bikes, unusual frame designs, and drivetrains with large sprockets or chainrings.

  • Check that the chain is compatible with the number of rear sprockets and the drivetrain type.
  • Route the chain correctly through the derailleur, including the cage and pulleys.
  • Use the prescribed sizing method, which commonly involves wrapping the chain around the largest front chainring and largest rear sprocket without routing it through the derailleur, then adding the specified links.
  • Check that the derailleur can take up slack in the smallest gear combination and has adequate capacity in the largest combination.
  • Only shorten the chain once the required length is confirmed. Use the correct joining link or pin for that chain and follow its installation directions.

Do not ride with a chain that is too short: shifting into the largest chainring and largest rear sprocket can overload or damage the derailleur, chain, or frame. A chain that is too long can sag or shift poorly. If the bicycle has a full-suspension frame, chain growth as the suspension moves can change the required length; consult its specific instructions rather than relying on this simple geometry.

What the Calculator Does—and Does Not—Account For

The approximation models chain length around two sprockets and a straight chainstay distance. It does not know the derailleur’s capacity, pulley geometry, frame clearance, suspension movement, chain guide arrangement, or the manufacturer’s prescribed link-count convention. It also assumes the input sprockets are the largest front and rear sizes relevant to the sizing check.

Link-count language can be confusing. A bicycle chain is made from alternating inner and outer links, and a link-count convention may count individual pitches or pairs depending on the instructions being followed. The calculator reports individual half-inch pitches; compare that convention with the chain packaging or sizing instructions. Its even-number output is a convenient estimate, not proof that the chain should be cut to that exact count.

Common Sizing Mistakes

  • Mixing units: entering 16.5 as though it were millimetres when it is inches produces a meaningless result. Convert inches to millimetres first.
  • Using the wrong sprocket: chain length must accommodate the largest relevant front and rear sprockets, not the gear combination used most often.
  • Cutting from the estimate alone: even a mathematically sound estimate may not match a particular frame, derailleur, or sizing instruction.
  • Ignoring drivetrain compatibility: a chain’s width and construction need to suit the number and type of sprockets. Length does not establish compatibility.
  • Assuming an even count guarantees fit: rounding makes a practical starting point but does not replace checking derailleur movement and chain tension.

Frequently Asked Questions

How many links should my bicycle chain have?
There is no single correct count for every bicycle. It depends mainly on chainstay length and the largest chainring and rear sprocket, plus the frame and derailleur setup. Use the calculator for an estimate, then follow the bicycle or drivetrain sizing instructions.

Should I use the largest or smallest cassette sprocket?
Use the largest rear sprocket for the standard sizing estimate and the usual largest-chainring/largest-sprocket fit check. The smallest sprocket does not determine the maximum chain length required.

Why does the calculator suggest an even link count?
It rounds the estimated individual pitches up to an even number as a practical starting point. Chain assembly and joining-link instructions can affect how counts are interpreted, so verify the final count against the chain’s directions.

Can I measure the chainstay in inches?
Yes, but convert it to millimetres before entering it. Multiply inches by 25.4; for instance, 16.5 inches equals 419.1 mm.

Can I use this calculator for a single-speed bike?
It is intended as an approximation for a conventional derailleur drivetrain. Single-speed, internal-gear, and belt-drive setups may require different sizing methods or tension adjustment, so use the relevant frame and component instructions.

Related

Formula used
in c | Chainstay length | mm | 420 | 0
in f | Largest front chainring | teeth | 50 | 0
in r | Largest rear sprocket | teeth | 30 | 0
out links | Approximate chain length | links | 2 * (c / 12.7) + f / 2 + r / 2 + ((f - r) / (2 * pi))^2 / (c / 12.7) | 0
out usable | Suggested even link count | links | 2 * ceil(links / 2) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.