Free Chain Length Calculator
Enter chain stay length, front chainring teeth, and rear cog teeth to calculate your bike chain length.
Bicycle Chain Length Calculator: A Rider's Guide
Determining the correct number of chain links for a bicycle directly affects riding comfort, shifting precision, and the lifespan of your drivetrain components. A dedicated Bicycle Chain Length Calculator processes your bike's geometry—chain stay length, front chainring tooth count, and rear cog tooth count—to output a precise length and link count. This guide explains the underlying principles so you can either use the tool confidently or perform the calculation manually if needed.
Why Chain Length and Width Matter
The chain is the sole mechanical link between your legs and the wheels. It is composed of alternating inner and outer plates held together by rivets, with a standardized pitch (distance between rivets) of exactly 0.5 inches (12.7 mm) on virtually all modern bicycles. The primary differentiating dimension is width: as the number of rear cogs increases from 5‑speed to 12‑speed, chains become narrower to prevent rubbing against adjacent sprockets. A chain that is too wide for the cassette will cause noisy, inefficient operation, while one that is too narrow may skip under load and accelerate tooth wear.
A chain that is too long can sag and derail, especially on rough terrain, whereas a chain that is too short may prevent you from shifting into the largest cogs and can overload the rear derailleur spring. Both situations accelerate wear of chainrings, cassette, and derailleur pulleys. Additionally, as a chain wears, its pitch elongates (commonly called “stretching”), which further wears the sprockets; replacing a worn chain at the correct length is essential to preserving the rest of the drivetrain.
Bike Chain Size Reference Table
When selecting a new chain, match its speed rating to the number of cogs on your rear cassette. The table below lists typical external and internal widths for common speed configurations.
| Rear Cogs (Speeds) | External Width (inches) | Internal Width (inches) |
|---|---|---|
| 5‑6‑7‑8 | 9/32 (0.281) | 3/32 (0.094) |
| 9 | 1/4 – 9/32 (0.250–0.281) | 11/128 (0.086) |
| 10 | 1/4 – 9/32 (0.250–0.281) | 11/128 (0.086) |
| 10 (narrow) | 7/32 (0.219) | 11/128 (0.086) |
| 11 | 7/32 (0.219) | 11/128 (0.086) |
| 12 | 13/64 (0.203) | 11/128 (0.086) |
For single‑speed bicycles, a dedicated chain with an internal width of 1/8″ (3.175 mm) is recommended, though any chain can physically be used in a pinch.
Three Methods for Determining Chain Length
- Reference chain: If the old chain is still available, count its links (inner‑outer pairs). Because chains “stretch” during use, match the number of links, not the physical length.
- Maximum gear wrap: Route an uncut chain around the largest front chainring and the largest rear cog without threading it through the rear derailleur. Pull the ends together until they just meet, then add two links (1 inch) to that position. This method accounts for the derailleur cage’s need to take up slack.
- Calculation: Use the formulas below to derive the ideal length from your bike’s specific dimensions.
Key Measurements for the Formulas
You will need three values:
- Chain stay length (): The distance from the center of the bottom bracket to the center of the rear axle, typically measured in inches. A tape measure works; many frames are specified to the nearest 1/8″ or 1 mm. If your bike has rear suspension, consider the chain stay length under normal sag.
- Largest front chainring (): The number of teeth on the biggest front gear (usually stamped on the chainring).
- Largest rear cog (): The number of teeth on the biggest cassette sprocket (often stamped on the lockring or the largest cog itself).
The rear derailleur’s capacity to handle slack is already built into the formulas; the front derailleur (if present) does not influence the chain length calculation.
The Two Standard Chain Length Formulas
Simple Equation
Valid when the chain stay length exceeds about 15 inches and the gear ratio is not extreme:
Where:
- = required chain length in inches
- = chain stay length in inches
- = number of teeth on the largest front chainring
- = number of teeth on the largest rear cog
The term accounts for the two straight runs; and approximate the length wrapped around the chainring and cog (the chain wraps roughly half the circumference, and each tooth contributes 0.5 inches, so the wrap is approximately ); the +1 inch provides a safety margin for the rear derailleur’s jockey wheels.
Rigorous Equation
When the chain stay is shorter than 15 inches, or when the difference between the largest front and rear teeth is large, the simple formula becomes less accurate. Use the following for a more precise result:
Here stands for theoretical shortest possible chain length in inches. The square‑root term calculates the effective length of the diagonal chain run when the chainring and cog have different radii; the factor 0.0796 is derived from to convert tooth‑count difference into inches. This formula is particularly useful for mini‑velo bikes, folding bikes, or any setup with a compact rear triangle.
Converting Length to Number of Links
Chains cannot be manufactured with fractional links; they must have an even number of links to keep inner and outer plates properly paired. Since each link (the segment between two consecutive rivets) is 0.5 inches long, the number of links is:
Always round up to the nearest integer, even if the decimal is small. For example, a computed length of 52.25 inches gives and requires 105 links. When using a quick link (master link), remember that the quick link replaces one link, so you may need to add or remove a link to maintain an even total.
Worked Example
Consider a bicycle with:
- Chain stay = 16 3/8″ → after conversion ″ (consult the fractional‑inch table below)
- Largest front chainring () = 42 teeth
- Largest rear cog () = 32 teeth
Using the Simple Equation
Convert to links:
Using the Rigorous Equation
This yields about 51.3 inches, which converts to → 103 links. The simple formula suggests a longer chain, which is generally safer; in practice, always use the larger link count or verify with the “largest gear” wrap method.
Fractional Inch to Decimal Conversion Table
Chain stay lengths are often expressed in fractions. Use this reference for quick conversion:
| Fraction | Decimal (inches) |
|---|---|
| 1/8″ | 0.125″ |
| 1/4″ | 0.250″ |
| 3/8″ | 0.375″ |
| 1/2″ | 0.500″ |
| 5/8″ | 0.625″ |
| 3/4″ | 0.750″ |
| 7/8″ | 0.875″ |
For mixed numbers, add the decimal to the whole part (e.g., 16 3/8″ = 16.375″).
Quick and Dirty Sizing (When You're Short on Time)
If you cannot perform a full measurement, use these shortcuts:
- Width: Count the rear cogs and buy a chain rated for that speed. The width will be correct.
- Length: If the old chain is available, count its links and order the same number (ignoring any “stretch” in the old chain’s physical length). If no old chain exists, route a new chain over the largest chainring and largest cog, bypassing the derailleur, find the shortest length that overlaps by 1–2 links, then add two links to account for the derailleur cage travel. This method is fast but slightly less precise than the formula approach.
Cutting and Joining Considerations
Once you have the correct number of links, use a chain breaker to push out a rivet and remove excess links. Most modern chains use a quick link (master link) that snaps together without tools; this link requires that both ends of the chain terminate in inner plates (the narrower section). If your cut leaves an outer plate at either end, remove one more link to expose an inner plate. Always count the quick link as part of the total link count—if you are one link short, you may need to add a half‑link (disallowed by the even‑link rule) or restart with one more link.
Conclusion
A properly sized chain is the foundation of a reliable, efficient drivetrain. Whether you rely on a dedicated Bicycle Chain Length Calculator or work through the formulas manually, the critical steps are: measure the chain stay accurately, apply the correct formula for your geometry, always round up to an even number of links, and verify with a visual wrap check. With the information in this guide, you can confidently size a chain for any bicycle, ensuring crisp shifting and extended component life.
FAQ
1. How do I calculate bicycle chain length with the simple formula?
First measure the chain stay length (C) in inches, count the teeth on the largest front chainring (F) and the largest rear cog (R). Then apply: L = 2×C + F/4 + R/4 + 1. Convert L to links by dividing by 0.5 and rounding up to the nearest whole number.
2. When should I use the rigorous chain length formula instead of the simple one?
Use the rigorous formula when the chain stay is shorter than about 15 inches, or when the difference between the largest front and rear sprockets is large. The rigorous formula accounts for the diagonal path of the top chain run, making it more accurate for compact frames or extreme gear ratios.
3. Why does my chain length calculation give a fractional number of links?
Because the chain pitch is 0.5 inches, dividing a length in inches by 0.5 often yields a decimal. Chains require an even number of whole links, so you must always round up to the next integer, even if the decimal is small.
4. Can I use a chain rated for a higher number of speeds than my cassette has?
Yes, a chain rated for more speeds (e.g., an 11-speed chain on a 9-speed system) is narrower than necessary and will generally work, though shifting may be slightly less crisp. Using a narrower chain is acceptable, but using a wider chain on a narrow cassette is not recommended.
5. How do I convert a fractional chain stay measurement like 16 3/8 inches to decimal?
Use the conversion table: 3/8″ equals 0.375″; add that to the whole number (16) to get 16.375″. For other fractions, refer to the table in the article: 1/8″ = 0.125″, 1/4″ = 0.250″, 5/8″ = 0.625″, etc.
How to Use
- Measure your bike's chain stay length - the distance between the center of the bottom bracket and the center of the rear wheel axle.
- Count the number of teeth on your largest front chainring and largest rear cog.
- Enter all measurements and click Calculate to get the required chain length and number of links.