Chains · Two-sprocket drive geometry

Roller Chain Length Calculator

Calculate roller-chain length, whole and even link counts, nominal chain length, and achieved center distance for a two-sprocket chain drive.

Reference calculator #009

Enter chain and sprocket geometry

Inputs stay in your browser. Values are normalized to canonical units before calculation.

Pin-to-pin pitch of the selected roller chain.

Whole-number tooth count on the smaller sprocket.

Whole-number tooth count equal to or greater than the small sprocket.

Approximate shaft center distance before selecting a whole link count.

Display unit for chain length, pitch diameters, center distance, and adjustment.

Calculated output

Results

roller-chain-length/1.0.0
Recommended even link count120 links
Theoretical chain length
119.769581 links
Minimum whole link count
120 links · even count
Nominal chain length
1524 mm
Center distance with recommended links
501.482487 mm
Center-distance adjustment
+1.482487 mm
Requested center distance / pitch
39.370079 pitches
Sprocket tooth ratio
3:1

Valid two-sprocket roller-chain length result

Two-sprocket roller-chain length diagramSmall and large sprocket pitch circles connected by an open roller-chain path, with requested and achieved center-distance labels and calculated link counts.20T60TRequested: 500 mmWith even links: 501.482487 mmChain resultTheory: 119.769581 linksUse: 120 linksLength: 1524 mm
Pitch-circle schematic only. Sprocket tooth form, roller dimensions, slack, sag, and wrap geometry are not manufacturing geometry.
Scope and assumptions
  • The model is one ordinary open roller-chain drive with two sprockets on parallel shafts and a common chain pitch.
  • The standard approximate two-sprocket chain-length relationship is used; detailed polygonal chain articulation is not modeled.
  • The minimum whole count is the theoretical link count rounded upward. The recommended count is then raised to the next even number when necessary.
  • Nominal chain length equals chain pitch times recommended links for a new, unelongated chain; assembly slack and wear allowance are not added.
  • Sprocket outside diameters, tooth form, chain series, strand count, offset-link rating, tension, power, speed, lubrication, wear, and service life are not calculated.

Calculation engine: roller-chain-length/1.0.0

Two-sprocket roller-chain length formula

C = a / p   ·   X = 2C + (z₁ + z₂) / 2 + ((z₂ − z₁) / (2π))² / C

The result X is a theoretical chain length in pitches, which is numerically the link count. Catalog formulas sometimes write 6.28 for and 9.86 for π²; this engine uses the full JavaScript Math.PI value and keeps rounding separate from the calculation.

Symbol Meaning Unit
p Roller-chain pitch mm or in
a Requested shaft center distance mm or in
C Center distance expressed in pitches, a/p dimensionless
z₁ Small sprocket tooth count teeth
z₂ Large sprocket tooth count teeth
X Theoretical chain length pitches or links

For p = 12.7 mm, z₁ = 20, z₂ = 60, and a = 500 mm:

  1. Center distance in pitches: C = 500 / 12.7 = 39.370079.
  2. Theoretical length: X = 119.769581 links.
  3. Rounding upward gives 120 links, already an even count.
  4. Nominal new-chain length: 120 × 12.7 = 1,524 mm.
  5. Recalculating with 120 links gives 501.482487 mm center distance, an increase of 1.482487 mm from the request.

The 500 mm input remains visible as the design target. The 501.482487 mm value is the geometric center distance associated with the selected whole link count under the same approximate model.

Any fractional theoretical result is rounded upward, not to the nearest integer. For the Tsubaki-style example p = 25.4 mm, z₁ = 19, z₂ = 57, and a = 350 mm, the full-π formula gives 68.213496 links:

  • minimum whole chain: 69 links, which is odd and requires an offset link;
  • recommended standard even chain: 70 links;
  • nominal length: 1,778 mm;
  • recalculated center distance: 374.930161 mm.

This large change is why the calculator reports both counts and the achieved center distance. An engineer may instead revise the tooth counts, provide shaft adjustment, or deliberately use a rated offset-link arrangement after checking manufacturer data.

Center-distance guidance is a warning, not a pass/fail rule

Manufacturer guidance commonly identifies roughly 30 to 50 chain pitches as a desirable general center-distance range. Shorter layouts can require additional clearance, wrap, polygonal-action, and load review. Longer layouts can require sag control, support, or tensioning. Fluctuating loads and specialized arrangements can justify different limits.

The calculator therefore reports values outside 30–50 pitches as warnings. It rejects only a center distance that cannot clear the calculated pitch circles; because roller diameter and sprocket tooth form are not inputs, passing this check does not prove outside-diameter clearance.

Engineering scope and limitations

This V1 tool covers one ordinary open roller-chain drive with two sprockets on parallel shafts. It excludes:

  • chain-series, simplex/duplex/triplex, material, attachment, and offset-link selection;
  • power rating, torque, chain pull, shock factors, speed, polygonal dynamics, and wrap-angle rating;
  • sprocket outside diameter, tooth form, roller clearance, shaft and bearing loads, and alignment;
  • lubrication, temperature, corrosion, sag, tensioner design, wear elongation, adjustment allowance, and service life;
  • conveyor, leaf, silent, inverted-tooth, timing, crossed, reversing, and multi-sprocket layouts.

Use the result for preliminary chain-length geometry, then verify the chain manufacturer’s rating tables, installation requirements, and adjustment provisions before final design.

Frequently asked questions

How is roller chain length calculated?

For an ordinary two-sprocket drive, the approximate length in links is X = 2C + (z1 + z2)/2 + ((z2 − z1)/(2π))²/C, where C is center distance divided by chain pitch.

Should roller chain have an even number of links?

A fractional result must first be rounded upward to a whole link. An odd count requires an offset link; where practical, manufacturers recommend changing center distance or tooth counts so an even link count can be used.

What is the difference between links and chain length?

Link count is the number of chain pitches. Nominal linear chain length is pitch multiplied by link count, so 120 links of 12.7 mm pitch has a nominal new-chain length of 1,524 mm.

Why does the calculated center distance change after rounding links?

A chain cannot contain a fractional pitch. Selecting a whole, usually even, link count changes the geometric solution, so the shaft center distance must be recalculated or accommodated with adjustment.

Does this calculator select the correct roller chain?

No. It does not select chain series or strand count and does not rate power, tension, speed, shock, lubrication, wear, offset-link capacity, alignment, or service life.

References and review status

Reviewed . References support formula, rounding, terminology, and scope checks; they do not imply endorsement, certification, or standards conformity.