Chain Length Calculator
Estimate the number of chain pitches and total chain length for a two-sprocket layout.
How to use this calculator
- Enter the tooth counts of the two sprockets. If both are the same size, the geometry becomes simpler, but the same formula still applies.
- Measure shaft center distance as accurately as practical. Center-distance error directly affects the estimated number of chain pitches and can shift the suggested link count.
- Enter chain pitch in the same length unit used for center distance. For example, a 1/2-inch-pitch chain should be entered as 0.5 when center distance is in inches.
- Read the raw pitch count first, then the practical even-link suggestion. Standard roller chain is commonly assembled from alternating inner and outer links, so even pitch counts are generally easier to build without offset links.
- Before ordering or cutting chain, verify tensioner or axle adjustment range, idlers, wrap angle and the chain manufacturer's sizing guidance for the actual installation.
Formula and assumptions
Pitches ≈ 2C/p + (N1+N2)/2 + (N2−N1)² ÷ (4π² × C/p), where C is center distance, p is chain pitch and N1/N2 are sprocket tooth counts. The approximation is intended for conventional two-sprocket layouts.
GIIRR calculates idealized geometry and kinematics. Friction, slip, compliance, tire deformation, manufacturing tolerances and control-system behavior can move real measurements away from the theoretical result.
Worked example
For 15- and 45-tooth sprockets, 18 inches of center distance and 0.5-inch chain pitch, the standard approximation gives about 102.63 pitches. In practice you would normally evaluate a nearby usable whole-link count, often an even number such as 102 or 104, then confirm that the resulting axle or tensioner position falls inside the machine's adjustment range.
Frequently asked questions
Why does GIIRR suggest an even link count?
Standard roller chain is commonly assembled in inner/outer link pairs. Offset links can permit odd counts, but they add another component and can have different load characteristics.
Is this exact enough to order chain?
Use it for planning. Verify the real center distance, required slack or tension, adjustment range and the chain manufacturer's recommended method before cutting or ordering.
Does sprocket size change the required chain length?
Yes. Larger sprockets increase the path length around the sprockets, so changing tooth counts can require a different number of pitches even when shaft centers do not move.
What if my system uses an idler or tensioner?
The two-sprocket approximation no longer describes the complete path. Measure or calculate every additional chain segment and wrap geometry, or use the equipment manufacturer's method.
Can I use this for motorcycle chains?
The geometry is applicable as a planning estimate, but motorcycles have axle-adjuster limits, suspension and clearance constraints. Verify the model-specific chain specification before fitting parts.
For safety-critical, legal or fitment decisions, verify the result against manufacturer documentation and physical measurements.
Related calculators
Gear Ratio Calculator
Use tooth counts from a simple gear pair to see the reduction or overdrive ratio, output shaft speed and torque multiplication.
Open calculator →DrivetrainRPM to Speed Calculator
Estimate vehicle speed at a given engine RPM from the selected gear, differential ratio and rolling diameter.
Open calculator →DrivetrainSpeed to RPM Calculator
Work backward from road speed to engine RPM, useful when comparing highway gearing, tire sizes or differential changes.
Open calculator →