# Bike Chain Length Calculator

URL: https://speedycalculator.com/calculators/sports/chain-length/
Last updated: 2026-11-08

> The bike chain length calculator finds the chain length you need from the chainstay length and the largest chainring and cog, in inches and in links, rounded up to a whole number of links.

## Inputs

- Chainstay length (in, mm, cm)
- Largest chainring teeth
- Largest cog teeth

## Results

- Chain length
- Chain length
- Number of links (rounded up, even)

## Formula

```
L (in) = 2 × C + F ÷ 4 + R ÷ 4 + 1  (C = chainstay length in inches, F = largest chainring, R = largest cog) · Links = L ÷ 0.5, rounded up to an even number
```

## Explanation

A chain that is too short can rip the derailleur off in the big-big gear; too long and it sags and skips. This standard formula (as used by Park Tool) gives the right length for derailleur bikes.

### How to use the Bike Chain Length Calculator

- **Chainstay length**
- **Largest chainring teeth**
- **Largest cog teeth**

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

### How it works

Measure the chainstay (bottom bracket centre to rear axle), enter the teeth of the largest chainring and largest cog.

### Inputs explained

FieldWhat to enterChainstay lengthUnits: in, mm, cmLargest chainring teethA numberLargest cog teethA number

### What each result means

- **Chain length** = 2×[Chainstay length] + [Largest chainring teeth]÷4 + [Largest cog teeth]÷4 + 1
- **Chain length** = (2×[Chainstay length] + [Largest chainring teeth]÷4 + [Largest cog teeth]÷4 + 1)×25.4
- **Number of links (rounded up, even)** = 2×ceil((2×[Chainstay length] + [Largest chainring teeth]÷4 + [Largest cog teeth]÷4 + 1)÷0.5÷2)

### Example values

How the main result changes when **Chainstay length** changes and everything else stays at the example values above:

Chainstay length (in)Number of links (rounded up, even) (links)8.257412.389216.510820.6312424.7514033174

## Worked example

Inputs: Chainstay length: 16.5 in; Largest chainring teeth: 50; Largest cog teeth: 28.

Results: Chain length = 53.5 in; Chain length = 1,359 mm; **Number of links (rounded up, even) = 108 links**.

## Key terms

- **Chainstay**: Frame tube from bottom bracket to rear axle.

## FAQ

**Why an even number of links?**
Chains alternate inner and outer links, so standard chains need an even count (unless you use a half-link).

**How long is one link?**
Half an inch (12.7 mm) per link; a full inch is one inner + one outer.

**Does this work for single-speed bikes?**
No, single speeds are sized on the bike with the wheel slid in the dropouts.

**How do I check on the bike?**
Wrap the chain over the big ring and big cog without the derailleur, then add 2 links.


## Sources

- [Sheldon Brown: Bicycle technical info](https://www.sheldonbrown.com/)
- [Park Tool: Chain length sizing](https://www.parktool.com/en-us/blog/repair-help/chain-length-sizing)
