Skip to content
FitMetricLab
Privacy
Cycling

Spoke Length Calculator

Calculate bicycle spoke length from rim ERD, hub flange diameter and offset, spoke count, and crossing pattern.

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 returns the spoke length for one hub flange using the standard wheelbuilding formula, L = √(d² + R² + F² − 2·R·F·cos α) − hole/2, where R is half the rim ERD, F is half the hub flange pitch circle diameter, d is the flange offset from the wheel centreline, and α is the spoke angle set by the crossing pattern and spoke count. It handles radial through 4-cross lacing. Because a dished rear wheel has different offsets on each side, run it once per flange with that side's offset.

Enter values
(mm)
mm
Effective rim diameter, nipple seat to nipple seat.
(mm)
mm
Spoke-hole pitch circle diameter, hole centre to hole centre across the flange.
(mm)
mm
Wheel centreline to this flange. Rear wheels differ side to side.
Total spokes in the wheel, split evenly between the two flanges.
Result
Result
Next steps

Export Report

How would you like to export your results?

Formula Used
Rim radius, ERD/2, in mm
Flange radius, PCD/2, in mm
Flange offset from the wheel centreline, in mm
Number of spoke crossings
Total spoke count

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 Spoke Length Calculator works

Spoke length is fixed by four things: how far the nipple seats sit from the axle, how far the hub's spoke holes sit from the axle, how far that flange sits sideways from the wheel centreline, and how far around the hub the spoke travels before it reaches the rim. Enter the rim ERD, the hub flange pitch circle diameter, the flange offset, the spoke count, and the crossing pattern, and the tool returns the length for that one flange. A dished rear wheel has a different offset on each side, so it needs two runs, one per flange.

The formula

L = √(d² + R² + F² − 2·R·F·cos α) − hole/2

R is the rim radius, ERD ÷ 2. F is the flange radius, the spoke-hole pitch circle diameter ÷ 2. d is the flange offset from the wheel centreline. The spoke angle is α = 720° × crossings ÷ spoke count, so a 3-cross 32-spoke wheel gives 720 × 3 ÷ 32 = 67.5°. The law of cosines gives the spoke's length as projected onto the plane of the wheel, and the offset d turns that into the true three-dimensional length. Finally, half the hub's spoke-hole diameter is subtracted, taken here as 2.6 mm, so 1.3 mm; real hubs run about 2.4 to 3.0 mm, a spread of only 0.3 mm across that whole range.

Working the default: R = 300, F = 22, d = 35, α = 67.5°, so d² + R² + F² = 1,225 + 90,000 + 484 = 91,709, and 2 × 300 × 22 × cos 67.5° = 13,200 × 0.38268 = 5,051. The square root of 86,658 is 294.4, less 1.3, giving 293.1 mm.

Why the crossing pattern changes the answer so much

At radial lacing α is zero, cos α is 1, and the formula collapses to √(d² + (R − F)²): the spoke spans the difference between rim radius and flange radius. Every crossing swings the spoke further around the flange and lengthens it. On the default wheel the progression is 278.9 mm radial, 280.7 mm at 1-cross, 285.7 mm at 2-cross, 293.1 mm at 3-cross, and 301.5 mm at 4-cross. That is 14.2 mm between radial and 3-cross, on a component sold in 1 and 2 mm steps, which is why a radial figure cannot stand in for a crossed build. The effect grows with flange size, so a large-flange track hub separates further still.

Measuring the inputs

ERD is measured nipple seat to nipple seat across the rim, and rim makers publish it, though published figures and measured ones sometimes disagree by a millimetre or two. The flange pitch circle diameter is measured across the circle the spoke holes sit on, centre of hole to centre of hole on the far side, not the outer edge of the flange. Flange offset is the distance from the wheel centreline, the midpoint between the locknuts, out to the flange face. Front hubs are usually close to symmetrical, while a rear hub sits the drive-side flange much nearer the centreline to make room for the cassette, which is why the two sides need different spokes.

Where this method is most accurate

This is the same formula the manufacturers' own calculators use (DT Swiss, Sapim), so the arithmetic is not the limiting factor: the measurements are. An ERD that is 2 mm out moves the answer by about 1 mm, which is a whole spoke size. Straight-pull hubs, hubs with asymmetric or offset flanges, and rims with an offset spoke bed all need geometry this five-input model does not capture. Before ordering, it is worth checking the figure against the hub and rim maker's published data or a dedicated wheelbuilding tool (Musson, Wheelbuilding).

What this tool does not do

It calculates one flange at a time and does not compute both sides of a dished wheel in a single pass. It does not check whether the answer matches a length any manufacturer stocks, or handle straight-pull and proprietary hub interfaces, asymmetric rims, or hub-specific hole chamfering. It does not judge whether a chosen crossing pattern suits the wheel's intended use.

Disclaimer

This tool is provided for educational and informational purposes only. It is not a substitute for professional wheelbuilding consultation or the hub and rim manufacturers' own specifications. Incorrect spoke length can result in wheel failure, loss of control, and injury. Users are responsible for verifying all measurements and confirming spoke lengths for their specific hub, rim, and lacing pattern before purchasing spokes or building wheels.

Questions

What is ERD and how is it measured?
ERD, the effective rim diameter, is the diameter of the circle the spoke nipple seats sit on, measured seat to seat across the rim. Rim makers usually publish it. To measure it yourself, thread two spokes of known length into nipples at opposite sides of the rim and measure between their ends, then add twice the spoke length. Published and measured figures sometimes differ by a millimetre or two, and 2 mm of ERD error moves the spoke length by about 1 mm.
Why do I need to run the calculator twice for a rear wheel?
Because a rear wheel is dished. The drive-side flange sits much closer to the wheel centreline to leave room for the cassette, so the two flanges have different offsets and therefore different spoke lengths, often differing by two or more millimetres. Enter each side's offset in turn. Front wheels are usually close to symmetrical, though disc-brake fronts often are not.
How much does the crossing pattern change the length?
More than most people expect. On the default wheel the spoke runs 278.9 mm radial, 285.7 mm at 2-cross, and 293.1 mm at 3-cross, a 14.2 mm spread. Since spokes are sold in 1 and 2 mm steps, a radial figure is nowhere near usable for a crossed build. Larger flanges widen the gap further.
What is the spoke angle and where does 720 come from?
α = 720° × crossings ÷ spoke count is the angle the spoke sweeps around the hub between its flange hole and its rim hole. The 720 rather than 360 is because only half the spokes sit on each flange, so the angular step between neighbouring spokes on one flange is twice the step around the rim. For 32 spokes at 3-cross that gives 67.5°.
Why does the calculator subtract 1.3 mm?
That is half the hub's spoke-hole diameter, taken as 2.6 mm. The formula computes the distance to the centre of the flange hole, while the spoke actually seats against its edge. Hubs run roughly 2.4 to 3.0 mm, so the correction only varies by 0.3 mm across the whole range, comfortably inside a single spoke size.
Can I trust this figure enough to order spokes?
The formula is the same one the hub and rim manufacturers use, so the arithmetic is not what limits accuracy: your measurements are. Check the ERD and flange figures against published specifications, and cross-check the result with the hub maker's own calculator before ordering. Straight-pull hubs, asymmetric flanges, and offset spoke beds carry geometry this model does not represent.

Sources & Methodology

Standard wheelbuilding formula L = √(d² + R² + F² − 2·R·F·cos α) − ø/2, with R = ERD/2, F = flange PCD/2, d = flange offset from the wheel centreline, and α = 720° × crossings ÷ spoke count. The flange hole diameter ø is taken as 2.6 mm. This is the same law-of-cosines model published by DT Swiss and Sapim. Calculates one flange per run, since a dished rear wheel has a different offset on each side. Patterns from radial to 4-cross are supported; combinations needing a spoke angle above 90° are rejected.

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.