Calculate the required chain length for bicycle drivetrains, motorcycles, or industrial sprocket systems.
Standard bike chain: 0.5" (12.7mm)
Chain length determines how many links are needed to connect two sprockets at a given center distance. Proper chain length ensures smooth operation, prevents binding in high gears, and maintains adequate tension in low gears.
The calculation accounts for the sprocket sizes (number of teeth) and the distance between their centers. For bicycles with derailleurs, the chain must be long enough to accommodate the largest gear combination without binding, yet short enough to maintain tension in the smallest gears.
Chain length is measured in "pitches" (links), where each pitch is the distance between pin centers. Standard bicycle chains have a 1/2 inch (12.7mm) pitch, while industrial chains may use different pitch standards like 3/8", 5/8", or metric equivalents.
Step 1: Choose your measurement system—Imperial (inches) or Metric (millimeters).
Step 2: Enter the chain pitch. For standard bicycle chains, use 0.5 inches (12.7mm). Industrial chains may use different pitches—check your chain specifications.
Step 3: Measure the center distance between the two sprocket axles and enter it.
Step 4: Enter the number of teeth on the large sprocket (front chainring or rear cassette largest cog) and the small sprocket.
Step 5: The calculator displays the required number of chain links (always an even number for proper joining) and total physical length.
Formula: L = 2C + (N + n)/2 + ((N - n)/(2π))² / C, where L is length in pitches, C is center distance in pitches, N is large sprocket teeth, n is small sprocket teeth. The result is rounded up to the nearest even number.
Scenario: You're building a single-speed bicycle with a 50-tooth chainring and 11-tooth rear cog, with 16 inches between axles, using standard 1/2" pitch chain.
Calculation: C = 16 ÷ 0.5 = 32 pitches
L = 2(32) + (50+11)/2 + ((50-11)/(2π))² / 32
L = 64 + 30.5 + 1.51 = 96.01 pitches → 96 links (even number)
Total length: 96 × 0.5 = 48 inches
Chain pitch is the distance between the centers of two adjacent pins. Standard bicycle chains have a 1/2 inch (12.7mm) pitch. Industrial chains may use 3/8", 5/8", 3/4", or metric pitches like 9.525mm or 15.875mm.
Measure from the center of the front sprocket axle (bottom bracket on bikes) to the center of the rear sprocket axle (hub). This is the straight-line distance, not along the chain path.
Most chains are sold in even-numbered link lengths. Chain joining requires matching inner and outer plates, which works best with even numbers. If your calculation gives an odd number, round up to the next even number.
For bikes with derailleurs, this calculator provides the theoretical minimum length. Add 2-4 links for derailleur cage capacity and to ensure you can shift into all gear combinations without binding. Always test in the largest-largest combination.
Yes, using a chain breaker tool to remove pins. Count from both ends to remove an even number of links. For bikes with quick links/master links, you can easily remove pairs of links without special tools.
A too-short chain may not reach the largest gears, causing binding, derailleur damage, or breaking under load. It also prevents proper shifting and creates excessive tension that wears components faster.
An overly long chain will go slack in the smallest gears, potentially falling off or causing poor shifting. The derailleur may not have enough spring tension to take up the slack, leading to chain slap and noise.
The formula is the same, but modern multi-speed chains (8/9/10/11/12-speed) are narrower and may require more precise length due to tighter derailleur tolerances. Single-speed and track chains are more forgiving with length variations.
Related Tools
Calculate bolt circle dimensions.
Calculate bolt tightening torque.
Calculate drill hole sizes.
Calculate countersink depths.
Calculate drill and tap sizes.
Calculate concrete needed.