CogPairTire pressure, gear ratios, and what actually fits your drivetrain.

Chain length for a 405 mm chainstay with a 40t ring and 21t sprocket

Chain length
98links
48.1″ for a 405 mm chainstay with a 40t ring and a 21t sprocket
40t21t405 mm chainstay98links48.1″min 96
Links (round up to even)98links
Length1,223 mm48.1in
FormulaPark Tool / Shimano method2 × 15.94 + 40/4 + 21/4 + 1
Chainstay15.94″ — bottom bracket centre to rear axle405mm
Absolute minimumbig ring to big sprocket, with no slack left at all96links
From a 116-link chainlinks to take out of a new chainremove 18
Total teeth40t ring + 21t sprocket61

Notes

  • Round up to an even number, always. A link is one inner plate plus one outer plate; there is no such thing as an odd link on a derailleur chain. 96.3 rounds to 98.
  • Too long beats too short, and it is not close. A chain that cannot reach big ring to big sprocket will tear the derailleur into the wheel and take the hanger — sometimes the frame — with it. A chain a couple of links too long just hangs slightly slack in the small–small combination you should not be using anyway.
  • Measure the chainstay to the axle centre, not to the dropout face. On a bike with sliding dropouts or an eccentric bottom bracket, measure it in the position you actually ride.
  • This formula gives a slightly longer chain than wrapping it around the big ring and big sprocket and adding two links. That is deliberate: the wrap method has no allowance for the derailleur cage taking up slack, and it comes out short on long-cage rear derailleurs.
  • A new chain on a worn cassette will skip under load. If you are replacing a chain that has been on the bike a long time, check cassette wear at the same time — a chain checker under 0.75% means you probably got away with it.

The formula

L = 2C + (F/4) + (R/4) + 1

with C the chainstay in inches, F the largest chainring and R the largest sprocket. For a 405 mm (15.94″) chainstay with a 40t ring and 21t sprocket that gives 48.1″ — 98 links.

Round up, and round to even

A link is one inner plate plus one outer plate. There is no such thing as an odd link on a derailleur chain, so the answer always lands on an even number. From a new 116-link chain, take out 18 links.

Too long beats too short, and it is not close

The absolute floor here is 96 links — big ring to big sprocket with no slack whatsoever. A chain that cannot reach that combination will pull the derailleur into the wheel and take the hanger, sometimes the frame, with it.

A chain a couple of links longer than ideal just hangs slightly slack in the small–small combination you should not be riding anyway.

Measure to the axle centre

Not to the dropout face. On a bike with sliding dropouts or an eccentric bottom bracket, measure in the position you actually ride.

Why this comes out longer than wrapping

Wrapping the chain around the big ring and big sprocket and adding two links has no allowance for the derailleur cage taking up slack, and it comes out short on long-cage rear derailleurs. That is the failure mode this formula is built to avoid.

Nearby sizes

Read more