Roller Chain Length Calculator

Find the roller chain length in links for a center distance, or the center distance for a link count, with wrap angle and ratio.

Calculator inputs

Results update as you type. Switch units at any time without changing the physical values.

Set all

Results

Chain links (even)
76
Exact length in pitches
75.34
Chain length
38 in
Center distance
12.1657 in
Center distance in pitches
24.33
Speed ratio (driven ÷ driver)
2
Wrap on small sprocket
166.5 °

Chain drive layout

Both sprockets and the chain drawn to scale at the calculated center distance, with every link in place.

Generate these sprockets
Driver pitch diameter
2.879 in
Driven pitch diameter
5.737 in
Center distance
12.166 in
The center distance is 24.3 pitches. About 30 to 50 pitches is ideal for chain life; up to 80 works with a guide or idler.

Make these sprockets

Generate laser-cut plate sprockets for this drive with ASME B29.1 teeth, one at a time or as a matched set.

More sprocket options

Bore and holes

in
Min. feature 0.050 in · 1.27 mm

Download the manufacturing files

100% in-browser

STEP solids are built and checked in your browser. DXF and SVG drawings use lines and true arcs at full scale. Nothing is uploaded until you order.

  • 3.136 in × 3.096 in

  • ⌀ 5.995 in

Laser cut it at Fabworks

We generate the STEP files, add them to a new quote, and open it in a new tab where you can review material, finish, and quantity.

Ready to make the part?

Turn the mechanism into real parts. Upload your plate, sheet, or tube CAD for an instant Fabworks quote.

Start an instant quote

How it works

Chain length in links is 2C/p + (N1 + N2)/2, plus a small correction when the sprockets differ in size, rounded up to an even number. Rounding moves the center distance, so the tool shows the actual center distance for that link count. Set your mounts to that number, not to your first guess.

How to use the calculator

  1. 1Pick the center distance you want, 30 to 50 pitches if you can. For #40 chain that is 15 to 25 in.
  2. 2Read the link count. The tool rounds up to an even number because an odd count needs an offset link, which is weaker.
  3. 3Use the actual center distance it reports, which can be up to one link longer than your target. Slot the mounts or add a tensioner so you can set the slack.
  4. 4Check that the chain wraps at least 120° of the small sprocket. If not, move the centers apart or reduce the ratio.
  5. 5If you already have the chain, switch to Link count to get the center distance for the links you have.

Chain length formulas

Chain length in pitches
L = 2C/p + (N1 + N2)/2 + p·(N2 − N1)² ÷ (4π²·C)
L is the number of pitches (links), C the center distance, p the chain pitch, N1 and N2 the small and large sprocket tooth counts. Round L up to an even whole number.
Chain length
Length = L × p
76 links of #40 chain (p = 0.500 in) is 38.0 in.
Center distance from link count
C = (p/4)·[A + √(A² − 2(N2 − N1)²/π²)], where A = L − (N1 + N2)/2
The center distance that pulls a chain of L links snug with no slack.
Wrap angle on the small sprocket
θ = 180° − 2·asin((PD2 − PD1) ÷ (2C))
PD1 and PD2 are the small and large pitch diameters, PD = p ÷ sin(180°/N). Keep θ at 120° or more.

How to lay out a two-sprocket roller chain drive

  1. 1Pick the chain size from load and speed, then choose the small sprocket tooth count (17 or more runs smoothest).
  2. 2Set the large sprocket from the ratio: N2 = N1 × i.
  3. 3Choose a starting center distance between 30 and 50 chain pitches.
  4. 4Calculate L with the chain length formula and round up to an even link count.
  5. 5Recalculate the actual center distance for that link count.
  6. 6Check that wrap on the small sprocket is at least 120°.
  7. 7Provide adjustment (slotted mounts or an idler) to take up slack and chain wear.

#40 chain, 18 and 36 teeth at 12 in centers

Inputs
ANSI #40 chain (p = 0.500 in), 18-tooth driver, 36-tooth driven, target center distance 12.000 in.
Result
L = 75.34 pitches, rounded up to 76 links (38.0 in of chain). Actual center distance ≈ 12.166 in, ratio 2:1, wrap on the 18-tooth sprocket ≈ 166.5°.

2C/p = 48, (N1 + N2)/2 = 27, and the correction term adds 0.34 pitches. Rounding up to 76 links moves the centers out about 0.166 in. At 24 pitches this span is shorter than the usual 30 to 50, so the tool notes it.

What to know before using the result

How do you calculate roller chain length?
Use L = 2C/p + (N1 + N2)/2 + p·(N2 − N1)²/(4π²·C) and round up to an even number of links. For #40 chain with 18 and 36 teeth at 12 in centers, L = 75.34, so you need 76 links, or 38 in of chain.
Why should a roller chain have an even number of links?
Chain alternates inner and outer links, so an even count closes with a standard connecting link. An odd count needs an offset link, which lowers the chain’s working capacity; Diamond Chain does not recommend them in performance drives. Change the center distance or a tooth count instead.
What center distance is best for a chain drive?
Tsubaki gives 30 to 50 chain pitches, and under 20 for fluctuating loads. Past about 80 pitches the chain needs a guide or idler. For #40 chain, 30 to 50 pitches is 15 to 25 in.
How tight should the chain be?
Diamond Chain puts mid-span slack at 4 to 6% of the center distance for slow and medium-speed drives, and 2 to 3% for high-speed or reversing drives. Put the slack on the lower side. FRC teams on short #25 and #35 runs often add about 0.018 in or 0.012 in to the rounded center distance.
How much can a chain stretch before I replace it?
About 3% for most industrial drives, and 1.5% on fixed centers or where smooth running matters. Measure pin to pin over a number of links with the drive off. Chain lengthens as it wears, so build in a way to adjust the centers.

ANSI roller chain dimensions and sprocket tooth width

Nominal ASME B29.1 values in inches. #25 and #35 are rollerless bushing chains, so the listed diameter is the bushing. Tooth width is for single-strand sprockets (0.93·W − 0.006 in).

ChainPitchRoller diameterInside width WSprocket tooth width
#250.2500.1300.1250.110
#350.3750.2000.1880.168
#400.5000.3120.3120.284
#410.5000.3060.2500.227
#500.6250.4000.3750.343
#600.7500.4690.5000.459
#801.0000.6250.6250.575

Recommended center distance range by chain size (in)

30 to 50 chain pitches is the usual target; 80 pitches is a practical maximum without a support guide or idler.

ChainPitch30 pitches50 pitches80 pitches
#250.2507.5012.5020.00
#350.37511.2518.7530.00
#40, #410.50015.0025.0040.00
#500.62518.7531.2550.00
#600.75022.5037.5060.00
#801.00030.0050.0080.00

Formula

L = 2C/p + (N₁ + N₂)/2 + p·(N₂ − N₁)² ÷ (4π²·C)

Chain length in pitches is 2C/p + (N₁ + N₂)/2, plus a small correction when the sprockets differ in size, rounded up to an even number of links. Going the other way, C = (p/4)·[A + √(A² − 2(N₂ − N₁)²/π²)], where A = L − (N₁ + N₂)/2.

Assumptions and limits

  • Two sprockets and a taut chain on straight spans. Slack, idlers, and chain wear are not included.
  • Chain sizes use nominal ANSI pitch (ASME B29.1).
  • The link count is rounded up to even, because an odd count needs a weaker offset link.
  • Wrap is worked out from pitch diameters and flagged below 120° on the small sprocket.

Order Sheet Metal Parts

Upload a 2D DXF or 3D STEP file for an instant laser cutting quote. Quote in seconds, order in minutes, receive parts in days.