# Chain length calculator

> Calculate roller chain link count rounded to an even number, theoretical and sag-adjusted centre distance, chain length, and sprocket pitch diameters from pitch and teeth.

Compute roller chain link count rounded to an even number, exact and sag-adjusted centre distance, and sprocket pitch diameters.

Page: https://archee.studio/tools/chain-length-calculator/
Standard: ISO 606 · ANSI B29.1 · T1 eq. 5.12–5.13

## Formulas

```text
x_calc = 2·a/p + (z1 + z2)/2 + (z2 - z1)² · p / (4·π²·a)
x = nearest even integer to x_calc
a* = 0.25·p · (x - (z1 + z2)/2 + √[(x - (z1 + z2)/2)² - 2·((z2 - z1)/π)²])
a = a* · (1 - Δa),   L = x · p,   d = p / sin(π / z)
```

## How it works

Roller chain link count x is computed from the preliminary centre distance a, chain pitch p, and sprocket tooth counts z1 and z2 (T1 eq. 5.12).

The link count is rounded to the nearest even integer so the chain closes with a standard connecting link instead of a weaker offset (cranked) link. The theoretical centre distance a* is then solved back from the even link count (eq. 5.13).

To give the slack span the small operating sag recommended in T1 §5.2.3 (Δa = 0.002 to 0.004 of a*, default 0.003), the final mounting centre distance is reduced slightly from a*.

## Worked example

10B / #50 roller chain (p = 15.875 mm), z1 = 19, z2 = 57, preliminary centre distance a = 635 mm (40p).

- **Chain pitch p:** 15.875 mm (10B / #50)
- **Driving teeth z1:** 19
- **Driven teeth z2:** 57
- **Preliminary centre a:** 635 mm
- **Exact / Even links:** 118.91 → 118 links
- **Total chain length L:** 1,873.3 mm
- **Theoretical centre a*:** 627.7 mm
- **Sag-adjusted centre a:** 625.8 mm

## Questions

### Why should a roller chain have an even number of links?

An even link count alternates inner and outer plates evenly so the chain joins with a standard connecting link. An odd link count requires an offset (half) link, which lowers fatigue capacity and wears faster.

### Why is the final centre distance slightly smaller than a*?

Reducing the theoretical centre distance by 0.2% to 0.4% (default 0.3%) provides working sag on the slack side so the chain runs smoothly without excessive initial tension on the shaft bearings.

### What preliminary centre distance works best for roller chains?

A centre distance between 30p and 50p (30 to 50 pitches) balances wrap angle on the small sprocket against chain whip. For high ratios, keep at least 120° wrap on the small sprocket.

## Next step

- [Draw this part in Archee](https://app.archee.studio/signup)
- [Use it from your coding agent](https://docs.archee.studio/mcp/setup)
- [All free calculators](https://archee.studio/tools/)
- [Belt length calculator](https://archee.studio/tools/belt-length-calculator/)
- [Gear calculator](https://archee.studio/tools/gear-calculator/)
- [Bearing life calculator](https://archee.studio/tools/bearing-life-calculator/)
