Chain length calculator
Find your links.
Plan the fit.
Size a two-sprocket roller chain drive for a motorcycle, kart, machine or single speed bike. Start with center distance or an existing link count.
Presets include ANSI 25–100 and common motorcycle sizes. Pitch is pin center to pin center. Equal pitch does not mean compatible width, roller diameter or strength.
Changing mm / in converts pitch and distance. Your inputs are saved in this browser.
Diagram: pitch circles and a smooth chain envelope, at the calculated center distance. Actual teeth and individual rollers are not drawn.
Chain drive estimate
A taut geometric estimate. Allow adjustment and set slack using your equipment manual.
How chain length is calculated
For two sprockets, the standard approximation in individual pitches is:
L ≈ 2C/p + (N1 + N2)/2 + p × (N2 − N1)² / (4π² × C)
Here p is chain pitch, C is shaft center distance in the same unit, and N1 / N2 are driver / driven teeth. We use full π rather than the rounded 6.28 in the Tsubaki formula. Length mode rounds L upward to an even number; one link is one pitch, so chain length = links × p. For equal tooth counts N, the approximation reduces to 2C/p + N.
Example: ANSI 40, p = 12.7 mm, N1 = 15, N2 = 45 and C = 500 mm: L ≈ 78.740157 + 30 + 0.579051 = 109.319208 links → 110 links, or 1397 mm of chain.
Center distance: a different geometric model
D = p / sin(180°/N)
φ = asin((D2 − D1)/(2C))
S = 2C cos φ + π(D1 + D2)/2 + φ(D2 − D1)
We solve S = links × p numerically by bisection using the two pitch circles and their external tangents. Angles in this formula are radians. This is exact for smooth circles, but a real chain follows chords between teeth. Therefore the geometric center distance is an estimate for a chain drive, and putting it into the standard approximation need not return exactly the same link count. The geometric check shown in results uses S/p and does reproduce the selected links.
Wrap angles are 180° − 2φ on the driver and 180° + 2φ on the driven sprocket (with φ converted to degrees). Speed ratio = N2/N1; driven rpm = driver rpm × N1/N2; mean chain speed = p(mm) × N1 × rpm / 60000 in m/s. Instantaneous chain speed varies due to chordal action.
Pitch circles must not overlap or touch. Actual tooth outside diameters need additional clearance. These calculations omit slack, wear, tensioners and suspension motion. Check the manufacturer's sizing, compatibility and installation instructions.
Sources
- Tsubaki: calculation formulas for drive chain selection — link-count approximation, odd-link guidance and mean chain speed. Its C is measured in pitches; here C is a physical length, so C/p is substituted.
- Tsubaki: original Japanese technical page — same selection formulas.
- D.I.D: motorcycle chain pitch and dimension table — 420/428 at 12.7 mm; 520/525/530 at 15.875 mm. Size presets select pitch only.
- U.S. Tsubaki: single pitch chain dimensions — ANSI pitch sizes (1 in = 25.4 mm).
- Tsubaki: sprocket dimensions — pitch-circle diameter formula.
The pitch-circle formula follows directly from a chord: p = 2R sin(π/N). The smooth-circle length above is derived from two tangent spans of C cos φ plus the two wrapped arcs. It is our geometric calculation, not a claim of an exact articulated-chain fit.
FAQ
What counts as one chain link?
One link means one pitch between adjacent pin centers, not an inner-and-outer pair. A 110-link chain contains 110 pitches.
Can I use an odd number of links?
An odd pitch count requires a compatible offset link. Prefer even links; check your chain manufacturer's instructions and rating.
Does this size Shimano or SRAM derailleur chains?
For derailleur bikes follow your derailleur's manual. This two-sprocket calculator does not model derailleur routing, suspension travel or model-specific sizing rules.