SOLVETUTORMATH SOLVER

Instrument MI-11-028 · Sports

Chain Length Calculator

Enter your chainstay length, largest chainring, and largest rear cog, and get the chain length in inches plus the number of links to buy or cut to.

Instrument MI-11-028
Sheet 1 OF 1
Rev A
Verified
Type 11 — Cycling SER. 2026-11028

Chain links needed

110

L = 2C + F/4 + R/4 + 1 (Sheldon Brown / Park Tool formula)

54.750 Chain length (inches)
The working Every figure verified twice
  1. chainLengthIn = 2·17.5 + 50 ⁄ 4 + 25 ⁄ 4 + 1 = 54.750
  2. linkCount = 2·ceil(54.75 ⁄ 0.5 ⁄ 2) = 110
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

Getting bicycle chain length right matters more than it might seem: too short and the chain can't reach the largest chainring/largest cog combination without over-stressing the derailleur (or making that gear combination impossible to use), while too long leaves excess slack that can shift sloppily or derail. This calculator uses the widely reproduced Sheldon Brown / Park Tool formula: chain length in inches equals twice the chainstay length, plus a quarter of the front chainring's teeth count, plus a quarter of the rear cog's teeth count, plus one inch.

That extra 'plus one inch' term isn't arbitrary — it builds in enough slack for the derailleur cage to take up chain in smaller gear combinations without going fully compressed or fully extended, while still keeping the chain taut enough in the big-big combination (largest chainring paired with largest cog, a combination most drivetrains are designed to avoid using anyway) to shift reliably.

Since bicycle chains are made of alternating inner and outer links, a complete chain always needs an even number of links to close into a loop without a special (weaker) half-link connector. This calculator converts the inch-based result to links (each link is 0.5 inches) and rounds up to the nearest even number, matching standard mechanic practice — rounding down would risk coming up short, and rounding to an odd number would leave you unable to close the chain cleanly.

L=2C+F4+R4+1L = 2C + \frac{F}{4} + \frac{R}{4} + 1
chainstay — bottom bracket center to rear axle center, in inches · front/rear teeth — largest chainring and largest rear cog tooth counts · links — final chain length in individual chain links (each 0.5 in), always rounded to an even count so the chain closes properly.
  • Measure Chainstay length in inches — the distance from the center of the bottom bracket to the center of the rear axle.
  • Enter Largest front chainring — the tooth count of your biggest chainring.
  • Enter Largest rear cog — the tooth count of your biggest rear cassette or freewheel cog.
  • Read Chain length in inches, the raw formula output.
  • Read Chain links needed — the inch figure converted to links and rounded up to the nearest even number, ready to buy or size your chain to.

Worked example — 17.5 in chainstay, 50T/25T drivetrain

Enter 17.5 inches for chainstay length, 50 for the largest chainring, and 25 for the largest rear cog. The formula gives L = 2x17.5 + 50/4 + 25/4 + 1 = 35 + 12.5 + 6.25 + 1 = 54.75 inches of chain.

Converting to links: 54.75 / 0.5 = 109.5 links. Since chains need an even link count, that rounds up to 110 links — the number you'd size a new chain to, or count out if shortening one with a chain tool. A more compact setup, like an 18.0 in chainstay with a 53T/11T road double, computes to exactly 53.0 inches and lands neatly on 106 links with no fractional rounding needed at all.

Questions

Why does the formula divide the tooth counts by 4 instead of some other number?

It comes from the chain's geometry wrapping around each sprocket: each chainring or cog tooth adds a small, roughly consistent amount of chain wrap length as the chain bends around it, and the /4 factor is the standard approximation that's held up well across decades of bike drivetrains. It's an empirical rule of thumb refined by mechanics (popularized by Sheldon Brown and Park Tool) rather than derived from first-principles geometry, but it's accurate enough that it remains the standard reference formula for chain sizing today.

Why must chain length round to an even number of links?

Bicycle chains are built from alternating inner links and outer links, and a complete loop needs to end on a matching pair to close cleanly with a standard connector — which only happens with an even total link count. An odd link count forces using a weaker 'half link,' something most mechanics avoid for a primary drivetrain chain. Rounding the raw formula result up to the nearest even number sidesteps that problem entirely.

What happens if my chain is too short or too long?

A chain that's too short may not be able to reach the largest chainring and largest rear cog at the same time, risking damage to the derailleur or drivetrain if that combination is ever selected, and can create excess tension throughout the gear range. A chain that's too long leaves too much slack, especially in smaller gear combinations, which can cause sloppy shifting, chain slap against the frame, or in extreme cases derailing off the smallest cog. This formula's built-in 1-inch allowance is specifically there to keep both ends of that range workable.

Do I need to measure my old chain, or can I use this formula on a new bike?

This formula works from your bike's physical geometry (chainstay length) and drivetrain (largest chainring and cog), so it doesn't require an old chain to measure — useful when building up a new bike or replacing a badly worn chain where measuring the old one would just propagate its wear-stretched length. If you do have a healthy, correctly sized old chain, counting its links directly is also a valid (and simpler) way to size a replacement.

Does this formula work for single-speed and internally geared hub bikes?

For single-speed and hub-gear bikes there's only one chainring and one cog, so the same formula still applies — just enter that single tooth count for both the front and rear teeth values, since there's no largest/smallest distinction to make. The chainstay-length term and the +1 inch allowance work the same way regardless of how many gears the drivetrain has.

References