Skip to content
FitMetricLab
Privacy
Cycling

Chain Length Calculator

Calculate optimal chain length for single-speed and track bikes using chainring, cog, and chainstay measurements.

Updated

Embed this calculator

Paste this HTML into your site. The calculator runs in an iframe and updates live for your visitors.

Preview embed →

Cite this tool

What this tool does

This calculator determines the optimal chain length for single-speed and track bicycles using the standard single-speed formula: L = 2C + (F/4 + R/4) + 1. It takes chainring teeth, rear cog teeth, and chainstay length in inches as inputs and returns the required chain length in inches plus an approximate link count. The formula includes a 1-inch allowance for tension adjustment and is specific to bikes without derailleurs where chain wrap geometry is constant.

Export Report

How would you like to export your results?

Formula Used
Front chainring teeth
Rear cog teeth
Chainstay length in inches

Disclaimer

This calculator is for educational and informational purposes only. It does not provide medical, nutritional, or training advice. Results are mathematical estimates and may not reflect individual circumstances. Consult a qualified coach, registered dietitian, medical professional, or physiotherapist for personal guidance.

How Chain Length Calculator works

This calculator estimates the optimal chain length for single-speed and track bicycles using the standard two-times-chainstay formula. It takes three inputs: the number of teeth on the front chainring, the number of teeth on the rear cog, and the chainstay length measured in inches from the centre of the bottom bracket to the centre of the rear axle (geometry charts usually list this in millimetres; divide by 25.4, so a 419 mm chainstay is 16.5 in). The tool applies the formula L = 2(C) + (F/4 + R/4) + 1, where L is chain length in inches, C is chainstay length, F is front chainring teeth, and R is rear cog teeth. The output includes the chain length in inches, the link count rounded up to an even number, and the chainstay converted to millimetres.

The formula

The calculation follows the sizing equation published in Park Tool's chain length guide: L = 2(C) + (F/4 + R/4) + 1. In this equation, L represents the required chain length in inches, C is the chainstay length in inches, F is the number of teeth on the front chainring, and R is the number of teeth on the rear cog. The constant 1 inch is added as a tolerance factor to account for chain wrap and to ensure adequate tension adjustment range. The link count is derived by multiplying the inch measurement by 2, since standard bicycle chain pitch is 0.5 inches per link, then rounding up to an even number because chains alternate inner and outer plates. Worked through with the defaults: a 50T chainring, 16T cog, and 16.5 in (419 mm) chainstay give 2 × 16.5 + 50/4 + 16/4 + 1 = 33 + 12.5 + 4 + 1 = 50.5 inches, which is 101 half-inch links, rounded up to 102.

Where this method is most accurate

This tool applies the formula to single-speed and fixed-gear bicycles with horizontal or semi-horizontal dropouts that allow rear-wheel position adjustment for chain tensioning; guidance on setting up such drivetrains is collected in Sheldon Brown's singlespeed conversion guide. The calculation assumes a straight chainline and does not account for derailleur cage capacity, chain wrap around jockey wheels, or the variation in cog size found on multi-speed drivetrains. Measurements are most reliable when chainstay length is measured precisely from centre-to-centre of the bottom bracket and rear axle, with the wheel positioned midway in the dropout slots.

What this tool does not do

This calculator does not size chains for derailleur-equipped bicycles. Park Tool applies the same style of equation there, but run against the largest chainring and largest cog with the extra inch covering derailleur wrap, a workflow this tool does not model. It does not provide guidance on chain tensioning, chainline alignment, or component compatibility. The tool produces numerical estimates from a mechanical formula; it does not assess the condition of existing chains, recommend specific chain brands or models, or account for frame-specific dropout geometry variations. Link count is approximated and may need adjustment based on whether an odd or even number is required for proper chain routing.

Disclaimer

This tool provides educational reference calculations based on established bicycle mechanics formulas. It is not a substitute for professional bicycle fitting, mechanical inspection, or individualised component selection. The calculator offers numerical estimates for informational purposes. Users remain responsible for verifying measurements, ensuring proper component installation, and consulting qualified bicycle mechanics for safety-critical drivetrain work. Individual bicycles vary in geometry and component specifications.

Questions

Why does this formula add 1 inch to the chain length?
The additional inch provides tolerance for chain wrap around the sprockets and ensures adequate adjustment range in the dropouts for proper chain tension. Without this buffer, the chain may be too tight at the midpoint of the dropout slots, limiting adjustment options.
Can I use this calculator for a bike with derailleurs?
Not directly. Park Tool publishes the same style of equation for derailleur bikes, applied to the largest chainring and largest cog, with the added inch covering the chain's path around the derailleur cage. This tool runs the equation with a single fixed ring and cog only, so for a derailleur drivetrain follow the big-ring-big-cog workflow instead.
How do I measure chainstay length accurately?
Chainstay length is measured from the centre of the bottom bracket spindle to the centre of the rear axle. Frame geometry charts usually list it in millimetres: divide by 25.4 to get inches (a 419 mm chainstay is 16.5 in). For this calculation, position the rear wheel approximately midway in the dropout slots before measuring, as this represents the average position for chain tensioning.
Why does the link count differ from the inch measurement?
Standard bicycle chain has a pitch of 0.5 inches per link, the pin-to-pin spacing. The link count is calculated by multiplying the inch length by 2 and rounding up to an even number, because chains alternate inner and outer plates and only an even count closes. The default inputs give 50.5 inches, 101 links raw, shown as 102.
What if my calculated length falls between standard chain sizes?
Bicycle chains are sold in standard lengths and can be shortened by removing links with a chain tool. The tool already rounds an odd count up to the next even number; fine-tune the resulting slack with rear-wheel position in the dropouts.

Sources & Methodology

Uses the standard chain length sizing equation L = 2(C) + (F/4 + R/4) + 1, where C is chainstay length in inches, F is front chainring teeth, R is rear cog teeth, and 1 inch is added as wrap and adjustment allowance. Link count multiplies length by 2 (half-inch pitch) and rounds up to an even number, since chains alternate inner and outer plates.

Spotted something off?

Calculations or display — let us know.

More in Cycling

View all 10 →

Add to Home Screen

Safari installs apps from the Share menu rather than a prompt:

  1. Tap Share in the browser bar.
  2. Scroll to Add to Home Screen.
  3. Tap Add.

Your browser installs apps from its own menu:

  1. Open the browser menu ( or ···).
  2. Choose Install app, or Add to Home screen.
  3. Confirm.

Some browsers only offer this after a visit or two, and a few do not support it at all.

Safari on macOS adds apps to the Dock rather than prompting:

  1. Open the File menu.
  2. Choose Add to Dock.
  3. Confirm the name, then click Add.

Add to Dock arrived in Safari 17 (macOS Sonoma). On earlier versions the option is not present.

It opens without browser chrome and keeps working with no connection. Nothing you enter ever leaves the device.