Motorcycle Chain Length Calculator

Find how many links a chain needs from the sprocket teeth, chain pitch and axle distance, or the axle distance a given number of links allows.

Result

Calculated length—links
Links to buy (rounded up to an even number)—
Chain length—
Axle distance this chain fits (no slack)—

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

  1. Choose the calculation: the links from an axle distance, or the axle distance for a number of links.
  2. 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.
  3. 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.
  4. 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

C (axle to axle)N1N2L = 2C/p + (N1 + N2)/2 + ((N2 − N1)/2π)² × p/C15/42 teeth, 18 in, 5/8 in pitch → 86.7 → 88 links motormaple.com
The chain length depends on the axle distance, the chain pitch and the sizes of the two sprockets.
Links L = 2C ÷ p + (N1 + N2) ÷ 2 + ((N2 − N1) ÷ 2π)² × p ÷ C
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

  1. Straight runs: 2 × 18 ÷ 0.625 = 57.6 links.
  2. Wrap: (15 + 42) ÷ 2 = 28.5 links.
  3. Correction: ((42 − 15) ÷ 2π)² × 0.625 ÷ 18 = 18.47 × 0.0347 = 0.64 links.
  4. Total: 86.74 links → 88 links, a chain 88 × 0.625 = 55 in (1,397 mm) long.
  5. 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 distanceCalculated linksLinks to buy
420 mm83.884
440 mm86.388
460 mm88.790
480 mm91.292
500 mm93.794

Links at a 450 mm axle distance

Different sprocket combinations, 5/8 in pitch.

Sprockets (front / rear)Calculated linksLinks to buy
14 / 4285.486
15 / 4285.886
15 / 4587.588
16 / 4587.988
17 / 4789.590

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.

Related calculators

Last updated October 31, 2026. Found a problem with this calculator? Tell us.