Bicycle Chain Length Calculator and Gear Range

Estimate bicycle chain links, check derailleur capacity, and compare gear inches, development and speed. Includes single-speed adjustment and a wrapped-chain schematic.

#bicycle chain #cadence #chain sizing #derailleur capacity #gear inches #single speed

This bike chain length calculator helps cyclists, mechanics, engineers and students estimate a new chain before cutting it, check rear derailleur capacity, and compare gearing. It answers how many links a bicycle chain needs while showing what the length estimate can and cannot establish.

Enter the actual drivetrain

Measure the distance from the bottom bracket centre to the rear axle centre. Enter the largest chainring, any smaller chainrings, and every cassette sprocket in order from smallest to largest. The default example is a 50/34 double with an 11–32 cassette and a 410 mm chainstay. Enter the total tooth capacity and maximum cog rating from the exact derailleur specification.

For gearing, use the wheel's effective rolling diameter, including the inflated tyre. A measured rollout divided by pi is better than a nominal wheel designation. Set a pedalling cadence to obtain the speed for every fitted combination.

Understand the link count

In derailleur mode, the classic estimate is L=2C+F/4+R/4+1L=2C+F/4+R/4+1, with lengths in inches and teeth on the largest front and rear sprockets. The classic option rounds upward to whole inches: one inch is two half-inch pitches. The displayed count includes the connector in the finished loop. An inner-and-outer pair is therefore two counted links.

The Park wide-range 1× option first rounds the direct big-big wrap upward to the shortest even-link loop, then adds four half-inch links (two inches). Consult the maker's instructions to confirm that this method applies. Generic allowances do not replace SRAM Full Mount/T-Type chain-length guides or other model-specific procedures.

Cross-check before cutting

Wrap the new chain around the largest chainring and largest rear cog while bypassing the rear derailleur, and account for the connector. Establish a joinable reference point, then add the allowance required by the drivetrain maker. Route through any chain guide as instructed. Finally check big-big reach and small-small chain tension with the chain routed normally. A capacity pass does not guarantee shifting compatibility.

On full-suspension bikes, chain growth means the crank-to-axle distance can increase through travel. Enter that increase and verify the entire travel using the frame maker's procedure. Idler layouts are outside this model.

Single speed and gear range

Horizontal-dropout mode estimates the shortest even-link chain and the theoretical axle movement needed to fit it. Leave real running slack and verify wheel-removal clearance. Pulley-tensioner mode adds your routing allowance and checks the extra chain path against available take-up; use it only with a suitable freewheel drivetrain.

The gear inches calculator also reports metres of development and speed at cadence. The table includes every mathematical combination, including cross-chained combinations that may be unsuitable in use. Speed assumes rolling without slip; it predicts neither rider power nor achievable road speed.

How it is calculated

Derailleur sizing

The requested classic approximation is L=2C+F/4+R/4+1L=2C+F/4+R/4+1 inches, using the chainstay CC and the largest tooth counts F,RF,R. Its dimensional implementation is L=2C+p(F+R)/2+aL=2C+p(F+R)/2+a, where chain pitch p=12.7 mmp=12.7\,\mathrm{mm} and the classic allowance a=25.4 mma=25.4\,\mathrm{mm}. The custom approximation substitutes the entered allowance. For these two options, N=2⌈L/(2p)⌉N=2\lceil L/(2p)\rceil half-inch pitches, including the connector. Rounding upward is this tool's conservative policy; the classic approximation is kept distinct from the physical sizing procedure.

Park wide-range 1× follows the sequence in Park Tool, Chain Length Sizing, section 5: first establish the shortest joinable big-big wrap with the derailleur bypassed, then add four half-inch pitches (two inches). Numerically this is

Nw=2⌈Lw2p⌉,Nwide=Nw+4.N_w=2\left\lceil\frac{L_w}{2p}\right\rceil,\qquad N_{\mathrm{wide}}=N_w+4.

Here LwL_w is the smooth-chain direct-wrap geometry below. Rounding the simple loop approximation with a two-inch allowance can miss a link-pair boundary, so it is not used for this option. For the independent review's 425 mm chainstay, 30-tooth ring and 52-tooth rear cog, the wrap rounds to 110 pitches and the finished estimate is 114 links.

Park Tool section 4 describes a one-inch physical allowance for cogs up to 36 teeth; section 5 describes the four-pitch wide-range method for dedicated 1× systems with cogs of 42 teeth or more. The classic formula is an approximation, not an exact simulation of either joinable reference. Consult the maker for other arrangements and physically establish the joinable reference before cutting. The numerical wrap remains a smooth-chain estimate rather than a polygonal model of the fitted chain.

Two-sprocket geometry and single speed

The direct wrap is the smooth, taut loop around two circles. With equivalent radii rf=pF/(2π)r_f=pF/(2\pi), rr=pR/(2π)r_r=pR/(2\pi) and d=rf−rrd=r_f-r_r, its length is

Lw=2C2−d2+π(rf+rr)+2darcsin⁡(d/C).L_w=2\sqrt{C^2-d^2}+\pi(r_f+r_r)+2d\arcsin(d/C).

This is equivalent to equation (2) in Matto's original Bike Chain Math derivation (2021). The radii preserve chain pitch along an arc; they are not exact polygonal sprocket pitch radii. Horizontal mode rounds LwL_w upward to an even-link chain, then solves for the corresponding taut centre distance by bisection. Its axle movement is a geometric starting point, not the final tension setting. Unlike Park Tool's wheel-removal procedure, this shortest-chain mode adds no automatic spare inch. Pulley mode first adds the entered routing allowance; maximum take-up is evaluated at the shortest centre distance.

Capacity and gearing

Total tooth capacity is (F_\max-F_\min)+(R_\max-R_\min), following Sheldon Brown's Capacity worked example. Maximum cog clearance is checked separately against the entered rating. Gear ratio is front teeth divided by rear teeth. Sheldon Brown's Gain Ratios, printed p. 30, defines gear inches as wheel diameter in inches times this ratio, and development as πD\pi D times the ratio, with DD in metres. Speed is development times crank revolutions per minute, converted to the displayed speed unit. Overall range is 100\,g_\max/g_\min percent; 100% means a single ratio.

Gear inches is displayed as the conventional inch-based index (equivalent geared wheel diameter divided by one inch). Its numerical definition stays fixed when the metric/US switch converts physical lengths, development and road speed.

Assumptions

  • New, conventional half-inch-pitch chains with alternating inner and outer links. A displayed link is one 12.7 mm pitch; two make a one-inch pair. Connector length is included in the finished estimate.
  • Tooth counts are entered for the actual components; default derailleur ratings are illustrative input values, not a specification for a named product.
  • Ordinary direct-chain layouts without idlers, eccentric suspension routing or internally geared hub ratios. No half-link connector is modelled.
  • The suspension input is an increase in centre distance, not shock stroke. The maximum must be established from the frame maker's procedure across the full travel.
  • Wheel diameter means effective rolling diameter. No slip, tyre growth or drivetrain loss is included in the kinematic speed calculation.
  • The direct wrap assumes a smooth, taut chain and concentric sprockets. Real chains form polygons and require running slack; tensioner geometry must be checked on the bicycle.

Where it applies

Use this tool for planning chain purchases and comparing external gearing. The numerical input ranges are editing limits, not component compatibility guarantees. The schematic deliberately shows a direct sizing wrap with the derailleur bypassed, rather than the installed chain route.

Before cutting, use the physical big-big method and the exact chain, derailleur and frame instructions. Check big-big reach and small-small tension after normal routing. Capacity and largest-cog checks do not establish indexing, chain width, mounting, B-gap, front derailleur or chainline compatibility. Do not shorten a chain to compensate for inadequate derailleur capacity.

Full Mount/T-Type, high-pivot idler frames, oval chainrings, unusual guides, half-link chains, chain wear and internal hub ratios require their own treatment. A custom allowance does not make these systems covered.

In horizontal-dropout mode, the solved position is theoretically taut: leave the prescribed slack, inspect tight spots through a crank revolution, and ensure the wheel can be removed. A pulley tensioner requires an adequate wrap and travel range; do not use a sprung pulley tensioner for fixed-gear or coaster-brake drives. Installation and suspension work belong to a qualified bicycle mechanic when the user lacks the required competence and equipment.

References

  • Park Tool. Chain Length Sizing, sections 4–6 (accessed 2026-10-26). https://www.parktool.com/en-us/blog/repair-help/chain-length-sizing
  • Park Tool. Chain Replacement: Single Speed Bikes, sizing and tension sections. https://www.parktool.com/en-us/blog/repair-help/chain-replacement-single-speed-bikes
  • Sheldon Brown. Bicycle Glossary: Capacity; 52/42/30 and 12–28 worked example. https://sheldonbrown.com/capacity/
  • Sheldon Brown. Gain Ratios, Adventure Cyclist, printed pp. 30–31; definitions and development examples. https://sheldonbrown.com/adv-cycling/gainratios.pdf
  • Sheldon Brown. Gain Ratios web version; wheel dimensions accompanying the development examples. https://www.sheldonbrown.com/gain.html
  • Matto. Bike Chain Math (26 April 2021), equations (1)–(3) and 53/25 worked example. https://mattomath.wordpress.com/2021/04/26/bike-chain-math/
  • SRAM. Chains digital user manual: model-specific sizing and Full Mount chain-length guide (accessed 2026-10-26). https://docs.sram.com/en-US/publications/6sfLCOGTn6FE98W8vXLqm0/UM%20-%20Chains

Inputs

InputSymbolUnitDefault
Drivetrain
Pulley tensioner mode is for freewheel drives only. Do not use a sprung pulley tensioner with fixed gears or coaster brakes.
driveDerailleur gears
Chainstay length, centre to centre
Bottom bracket centre to rear axle centre. For horizontal dropouts, enter the shortest usable axle position.
Cmm410
Full suspension with chain growth
Use the greatest axle-to-crank distance over the entire travel, following the frame maker's procedure.
suspensionfalse
Increase to maximum chainstay length
Maximum centre distance minus the chainstay length entered above. This is not shock travel. Idler frames are outside this model.
growthmm10
Derailleur sizing method
Classic/custom: round the approximation up to a whole inch. Park wide-range: find the shortest even-link direct wrap, then add four links. Follow model-specific instructions.
ruleClassic approximation: add 1 inch
Manufacturer's added chain length
Extra length beyond the simple two-sprocket loop approximation. Do not use this generic formula for SRAM Full Mount/T-Type.
allowancemm25.4
Available increase in axle centre distance
Change in centre-to-centre distance from the shortest usable position to the rearmost usable position; not the slot's total length.
travelmm20
Extra chain for pulley routing
Enter the tensioner's required extra path length beyond a direct two-sprocket wrap. Default is an initial allowance; confirm the actual routing before cutting.
extramm25.4
Available pulley chain take-up
Maximum extra chain path the fitted tensioner can accommodate, measured as chain length, not pulley movement. Check its manufacturer.
takeupmm60
Number of chainringsfront_count2
Largest / only chainring teethF_150
Second chainring teethF_234
Smallest (third) chainring teethF_324
Number of rear sprockets
Enter every actual sprocket, smallest to largest. The defaults describe an 11–32 cassette; edit the tooth counts to match your cassette.
rear_count11
Single-speed rear sprocket teethR_single18
Rear sprocket 1 teeth — smallestR_111
Rear sprocket 2 teethR_212
Rear sprocket 3 teethR_313
Rear sprocket 4 teethR_414
Rear sprocket 5 teethR_516
Rear sprocket 6 teethR_618
Rear sprocket 7 teethR_720
Rear sprocket 8 teethR_822
Rear sprocket 9 teethR_925
Rear sprocket 10 teethR_1028
Rear sprocket 11 teethR_1132
Rear sprocket 12 teethR_1236
Rear sprocket 13 teethR_1342
Rated rear derailleur total capacity
Tooth capacity from your exact model's specification. This is separate from its largest-cog limit.
capacity39
Rated maximum rear cog teeth
Enter the limit for your model and chainring configuration. A capacity pass alone does not prove compatibility.
cog_limit32
Effective rolling wheel diameter
Use measured rollout divided by pi for best accuracy. Include the inflated tyre; rim diameter or the nominal 700C designation is not enough.
wheel_Dmm672
Pedalling cadencecadencerpm90

Results

With the default inputs above, the calc gives:

ResultValue
Finished chain estimate — half-inch links108
Estimated finished chain length1,371.6 mm
Fit and ratings37 / 39 teeth capacity; 32 / 32 teeth max cog. Verify chain on bike.
Overall gear range (%)428
Lowest gear inches28.1
Highest gear inches120.3
Lowest gear — speed at cadence12.1 km/h
Highest gear — speed at cadence51.8 km/h

Checked against sources

Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).

Published road-bike development — 52/13

Source: Sheldon Brown, Gain Ratios, Adventure Cyclist, printed p. 30, and gain.html: published 52/13 development is 8.64 m. The web version specifies a 622 mm rim with a 33 mm tyre; diameter 688 mm assumes tyre height equals width. The printed source omits wheel dimensions; the web source supplies them (33m is an obvious mm typo). https://www.sheldonbrown.com/gain.html

Inputs: Number of chainrings = 1; Largest / only chainring teeth = 52; Number of rear sprockets = 2; Rear sprocket 1 teeth — smallest = 13; Rear sprocket 2 teeth = 28; Effective rolling wheel diameter = 688 mm; the others as above.

ResultSourceThis calc
Metres of development per crank revolution [1]8.64 ± 0.01 m8.646 m

Published mountain-bike development — 24/28

Source: Sheldon Brown, Gain Ratios, Adventure Cyclist, printed p. 30, plus gain.html: published 24/28 development is 1.78 m. The web version gives a 559 mm rim with a 51 mm tyre (661 mm estimated outside diameter). https://www.sheldonbrown.com/gain.html

Inputs: Number of chainrings = 1; Largest / only chainring teeth = 24; Number of rear sprockets = 2; Rear sprocket 1 teeth — smallest = 14; Rear sprocket 2 teeth = 28; Effective rolling wheel diameter = 661 mm; the others as above.

ResultSourceThis calc
Metres of development per crank revolution [2]1.78 ± 0.005 m1.78 m

Published triple-chainring capacity — 38 teeth

Source: Sheldon Brown, Bicycle Glossary, Capacity: worked example uses a 52/42/30 crankset and 12–28 cluster and states 38 teeth total capacity. This calculator respects the entered manufacturer rating. https://sheldonbrown.com/capacity/

Inputs: Number of chainrings = 3; Largest / only chainring teeth = 52; Second chainring teeth = 42; Smallest (third) chainring teeth = 30; Number of rear sprockets = 2; Rear sprocket 1 teeth — smallest = 12; Rear sprocket 2 teeth = 28; Rated rear derailleur total capacity = 38; Rated maximum rear cog teeth = 28; the others as above.

ResultSourceThis calc
Required total derailleur tooth capacity3838
Derailleur capacity margin00

Published 53/25 smooth-loop example, wear corrected

Source: Matto, Bike Chain Math (2021), worked example: N=53, n=25, x=15.68 inches and 102 links with stretch factor s=1.0035. The published worn-chain length is 102×0.5×1.0035 inches = 1299.9339 mm; the tolerance covers rounding x to 0.01 inch. The calculator sizes a NEW chain and therefore may give 104 links instead of the published 102 worn links; no wear correction is applied to its chain count. https://mattomath.wordpress.com/2021/04/26/bike-chain-math/

Inputs: Drivetrain = Single speed — horizontal dropouts; Chainstay length, centre to centre = 398.3 mm; Largest / only chainring teeth = 53; Single-speed rear sprocket teeth = 25; the others as above.

ResultSourceThis calc
Smooth-chain direct wrap, no derailleur1,300 mm1,300 mm

Independent equal-sprocket limiting geometry

Source: Analytical limiting case from Matto, Bike Chain Math, equation (1): equal sprockets give two straight spans plus one full circumference. Two 16-inch spans and one 32×0.5-inch circumference total 48 inches, or 96 half-inch pitches, with no axle movement. This checks the general unequal-circle implementation against the simpler independent geometry. https://mattomath.wordpress.com/2021/04/26/bike-chain-math/

Inputs: Drivetrain = Single speed — horizontal dropouts; Chainstay length, centre to centre = 406.4 mm; Largest / only chainring teeth = 32; Single-speed rear sprocket teeth = 32; the others as above.

ResultSourceThis calc
Smooth-chain direct wrap, no derailleur1,219 mm1,219 mm
Finished chain estimate — half-inch links9696
Theoretical rearward axle adjustment0 ± 1 × 10⁻⁶ mm6.064 × 10⁻¹⁰ mm

Independent review — wide-range rounding boundary, 114 links

Source: Independent reviewer for board subtask #936 supplied C=425 mm, F=30, R=52 and a shortest joinable wrap of 110 half-inch pitches. Park Tool, Chain Length Sizing, section 5, requires four additional rivets after that joinable reference, giving 114 pitches. This numerical example comes from the independent review; Park publishes the procedure rather than these inputs. https://www.parktool.com/en-us/blog/repair-help/chain-length-sizing

Inputs: Derailleur sizing method = Park wide-range 1×: joinable wrap + 4 links; Chainstay length, centre to centre = 425 mm; Number of chainrings = 1; Largest / only chainring teeth = 30; Number of rear sprockets = 2; Rear sprocket 2 teeth = 52; Rated rear derailleur total capacity = 41; Rated maximum rear cog teeth = 52; the others as above.

ResultSourceThis calc
Finished chain estimate — half-inch links114114

Park wide-range — exact joinable-wrap boundary

Source: Independent analytical limiting geometry from Matto, Bike Chain Math, equation (1): equal sprockets give two straight spans and one full circumference. C=16 inches and 42 teeth give 32+21=53 inches, exactly 106 half-inch pitches. Park Tool section 5 then adds four pitches, giving 110. This exact-integer case ensures floating-point roundoff does not add a spurious pair. https://mattomath.wordpress.com/2021/04/26/bike-chain-math/ ; https://www.parktool.com/en-us/blog/repair-help/chain-length-sizing

Inputs: Derailleur sizing method = Park wide-range 1×: joinable wrap + 4 links; Chainstay length, centre to centre = 406.4 mm; Number of chainrings = 1; Largest / only chainring teeth = 42; Number of rear sprockets = 2; Rear sprocket 2 teeth = 42; Rated rear derailleur total capacity = 31; Rated maximum rear cog teeth = 42; the others as above.

ResultSourceThis calc
Shortest even-link direct wrap estimate106106
Finished chain estimate — half-inch links110110

Related Resources

Responses

Your email address will not be published. Required fields are marked *

L ading...