Fitting new sprockets, a longer swingarm or a different chain size means working out how many links of chain to buy and how long to cut it. Too few links and the chain cannot reach the sprockets; too many and the axle runs out of adjustment. The number of links follows from geometry: the distance between the two axles, the size of each sprocket and the pitch of the chain. This calculator gives the links for a given axle distance, rounded up to an even number, and it works the other way too — telling you the axle distance a chain with a certain number of links will fit.
How to use the motorcycle chain length calculator
- Choose the calculation: the links from an axle distance, or the axle distance for a number of links.
- Enter the front and rear sprocket teeth, and choose the chain size: 520, 525 or 530 chains have a 5/8 in pitch; 415, 420 and 428 chains have a 1/2 in pitch.
- Enter the distance between the axles measured from the center of the countershaft sprocket to the rear axle with the axle in the middle of its adjustment range, or the number of links.
- Read the links (rounded up to an even number), the chain length and, in the second mode, the axle distance.
To see how a different sprocket changes the gearing as well as the chain, use the motorcycle sprocket calculator.
Chain length formula
Axle distance C = p ÷ 4 × [(L − S) + √((L − S)² − 2D² ÷ π²)], with S = (N1 + N2) ÷ 2 and D = N2 − N1
Chain length = links × pitch (5/8 in = 15.875 mm; 1/2 in = 12.7 mm)
This is the standard open-chain formula: the two straight runs of chain contribute 2C ÷ p links, the wrap around the sprockets adds the mean of the tooth counts, and a small correction accounts for the different sprocket sizes. The second form is the same equation solved for C. In practice always round up to an even number of links, because the chain closes with a single master link; and fit the chain with the rear axle near the middle of its slot so that you can adjust the slack both ways as the chain and sprockets wear.
Worked example: 15/42 teeth, 18 in axle distance
- Straight runs: 2 × 18 ÷ 0.625 = 57.6 links.
- Wrap: (15 + 42) ÷ 2 = 28.5 links.
- Correction: ((42 − 15) ÷ 2π)² × 0.625 ÷ 18 = 18.47 × 0.0347 = 0.64 links.
- Total: 86.74 links → 88 links, a chain 88 × 0.625 = 55 in (1,397 mm) long.
- Reverse check: a 106-link chain on 15/45 teeth fits an axle distance of 23.56 in (598 mm).
Links for a 15/45 combination
5/8 in pitch chain at different axle distances.
| Axle distance | Calculated links | Links to buy |
|---|---|---|
| 420 mm | 83.8 | 84 |
| 440 mm | 86.3 | 88 |
| 460 mm | 88.7 | 90 |
| 480 mm | 91.2 | 92 |
| 500 mm | 93.7 | 94 |
Links at a 450 mm axle distance
Different sprocket combinations, 5/8 in pitch.
| Sprockets (front / rear) | Calculated links | Links to buy |
|---|---|---|
| 14 / 42 | 85.4 | 86 |
| 15 / 42 | 85.8 | 86 |
| 15 / 45 | 87.5 | 88 |
| 16 / 45 | 87.9 | 88 |
| 17 / 47 | 89.5 | 90 |
Fitting the chain
- Check against the old chain. The simplest method is to count the links of the chain you are replacing and adjust for the change in sprockets.
- Replace sprockets and chain together. A worn chain ruins new sprockets and the reverse.
- Set the slack to the maker’s specification with the wheel on the ground, and check it at the tightest point of the chain’s travel.
- Gearing. Changing sprockets alters the gearing and the speed: use the motorcycle gear ratio calculator to see the effect.
Frequently asked questions
How do I calculate how many links my chain needs?
Links = 2C ÷ p + (N1 + N2) ÷ 2 + ((N2 − N1) ÷ 2π)² × p ÷ C, where C is the distance between the axles, p the chain pitch and N1, N2 the numbers of teeth on the sprockets. Round up to the next even number.
What does the chain number mean?
The first digit or digits are the pitch in eighths of an inch: 520, 525 and 530 are 5/8 in (15.875 mm) pitch; 415, 420 and 428 are 1/2 in (12.7 mm). The remaining digits are the width between the inner plates, in hundredths of an inch.
Why round up to an even number?
A chain is made of alternating inner and outer links, so a chain with an even number of links closes with a single master link. An odd number needs a special half link, which is weaker.
How much slack should a chain have?
Follow the motorcycle maker’s specification, usually about 25–35 mm of free play at the tightest point. The chain-length calculation assumes the axle is mid-way along the adjustment slot so you have room to adjust both ways.
What if the axle distance is not known?
Measure from the center of the countershaft sprocket to the center of the rear axle, with the rear axle in the middle of its adjustment range. Alternatively, count the links of the old chain, which is the easiest check.