How to use the calculator
Start in Simple mode with measurements from your own rim and hub, or pick an example wheel to see how the fields behave.
- Effective rim diameter (ERD). Enter the value in millimetres, from 160 to 900 mm.
- Total spokes. Enter the count for the entire wheel, not per side. It must be an even number from 12 to 72, and the slider moves in steps of two.
- Crosses. Count how many spokes on the same side each spoke crosses. Simple mode uses one setting for both sides. Choose from 0 to 6 crosses, subject to the 90° lacing angle limit described below. Choose "Radial (0 crosses)" for a radial pattern.
- Flange diameters. Enter the left and right values. Each must be between 10 and 240 mm and strictly smaller than the ERD.
- Center-to-flange distances. Enter the left and right values, each from 1 to 100 mm.
- Read the results. "Left spoke length" and "Right spoke length" update as you change a value.
Left and right are defined from the riding position, with the wheel oriented as installed on the bicycle. On a typical rear cassette hub, the right flange sits closer to the hub center to make room for the sprockets. Measure both sides of your own hub. Hub measurement reference
The dimensional number fields step by 0.1 mm, and the ERD, flange diameter and center-to-flange sliders step by 1 mm. You can copy both results, or use the browser's print dialog to print or save a PDF.
Simple and Advanced modes
Simple mode uses one cross count for both sides, a centered spoke bed and a 2.5 mm hub spoke hole. Advanced mode exposes the following additional controls:
- Left crosses. The default is "Match right side." You can instead choose 0 to 6 crosses for the left side independently of the right, subject to the same 90° limit. In Advanced mode the right-side control is labelled "Right crosses."
- Rim spoke bed offset. The range is −20 to +20 mm. The slider steps by 0.5 mm and the number field steps by 0.1 mm. A negative value means the effective spoke bed sits toward the bicycle's left, and a positive value toward the right.
- Hub spoke hole diameter. The range is 1 to 8 mm in 0.1 mm steps, shared by both sides. It is the diameter of the opening in the flange that the J-bend passes through.
While Simple is active, the calculator ignores the Advanced values. Switching back to Advanced restores what you entered before, unless you used Reset or loaded a preset. Reset returns the initial Simple measurements.
Example wheels
The "Example wheel" selector offers custom inputs and two presets:
- Custom measurements keeps the current inputs and mode. Editing a measurement also switches the selector to this option.
- 32-spoke wheel loads the Simple defaults: 600 mm ERD, 32 spokes, 3 crosses, 60 mm flange diameters, and center-to-flange distances of 35 mm left and 20 mm right.
- 32-spoke wheel, offset rim opens Advanced mode with the same ERD, spoke count and hub dimensions, but 2 left crosses, 3 right crosses, a −5 mm rim offset and 2.5 mm hub holes. Its estimates are 279.9 mm left and 289.7 mm right.
These presets are demonstration values, not recommendations for any particular rim or hub.
Measurements the calculator needs
With the Simple defaults, a 1 mm change in ERD moves each estimate by about half a millimetre. The effect depends on the wheel geometry. Measure your own rim and hub to determine spoke length reliably.
Effective rim diameter (ERD)
ERD is the effective diameter through the intended ends of opposite spokes when the nipples are seated. It is not the same as the nominal size printed on a tire. A 700c rim, for example, has a nominal bead seat diameter of 622 mm, but its ERD depends on the rim profile and the nipple setup, so two different 700c rims can have different ERDs. To use this tool as a 700c spoke length calculator, you need the ERD of your specific rim, not the 622 mm bead seat diameter.
A published ERD is usable if its measurement convention matches your hardware and your intended thread engagement. A dimension that ends at the nipple bed may follow a different convention, so check how the figure was defined before relying on it. ERD measurement reference
To measure ERD yourself with two known-length J-bend spokes:
- Use the nipples you intend to build with, plus any specified washers.
- Seat the nipples in two opposite rim holes.
- Thread each spoke to the intended depth. For slotted nipples this is commonly the bottom of the screwdriver slot.
- Pull the spokes inward and measure the gap between the inside faces of the two bends.
- Add that gap to the two known spoke lengths. The sum is the ERD.
- Repeat with another pair of opposite holes as a cross-check.
Flange diameter
In this calculator, flange diameter means the spoke-hole pitch circle diameter (PCD), meaning the diameter of the circle passing through the centers of the spoke holes, not the outer edge of the flange.
- With an even number of evenly spaced holes on a flange, measure between the centers of two opposite holes.
- With an odd number of evenly spaced holes on a flange, measure the longest center-to-center chord and divide by . Here is the hole count on one flange.
The calculator requires each flange PCD to be strictly smaller than the ERD.
Center-to-flange distance
Measure axially from the midpoint between the hub's two seating faces to the spoke-hole center plane of each flange. Measure left and right separately. The hub's seating faces are the surfaces that sit against the dropouts, so the midpoint is the wheel's center plane.
Measuring an existing spoke
If you are replacing a spoke, you can measure the old one directly. For bicycle spoke length measurement, measure a J-bend spoke from the inside of the bend to the end of the thread. An intact spoke from the same side of the same wheel can help you check the estimate.
Rim spoke bed offset and hub hole diameter
For rims with evenly staggered left and right holes, a zero offset is a centered approximation. If your rim has a spoke bed that is deliberately offset, enter the offset in Advanced mode. The calculator accepts the offset only if the effective spoke bed remains strictly between the flanges.
Rims whose spoke holes are in widely separated rows fall outside the single-plane approximation used here. Asymmetric rim measurement reference
The hub spoke hole diameter is the opening in the flange through which the J-bend passes. The default is 2.5 mm, and the calculator subtracts half of it from the computed distance to approximate where the bend seats in the hole.
How the calculation works
The calculator treats each spoke as a straight line from the center of a flange hole to the effective spoke end on the rim. All rim endpoints are modelled as lying in one axial plane between the hub flanges.
Let be the ERD, the total spoke count, the flange PCD on side , the cross count on that side, and the left and right center-to-flange distances, the signed rim spoke bed offset, and the shared hub spoke hole diameter.
Each flange has holes. The angular separation between a flange hole and its rim endpoint is
in radians, which is the same as in degrees. The effective axial spans, which include the rim offset, are
The length on each side is
This is the half-angle form of the law of cosines. With and , the squared distance from the flange-hole center to the rim endpoint is
For radial lacing, , so the in-plane distance reduces to . The calculator combines that radial difference and the axial span using the Pythagorean theorem before applying the hub-hole correction.
Validity limits
Each cross count must satisfy , which keeps the angle at or below 90° per side. The offset must satisfy . The calculator rejects missing or out-of-range values, odd or fractional spoke counts, a flange PCD at or above the ERD, invalid lacing or offset combinations, and lengths that are effectively zero or negative. The numerical zero guard is , where is binary64 machine epsilon.
When any input is invalid, both results clear to em dashes and the field that needs attention is highlighted.
Worked example: the Simple defaults
With a 600 mm ERD, 32 spokes, 3 crosses, 60 mm flanges, 35 mm left and 20 mm right center-to-flange distances and a 2.5 mm hub hole:
- Each flange has 16 holes, so on both sides.
- The difference between the rim and flange radii is mm.
- The squared in-plane distance adds the square of that difference to the lacing term , which is about 11,111.7 mm².
- The hub-hole correction is mm.
Before display rounding, the left length is approximately 290.70325 mm and the right is approximately 289.28691 mm. They display as 290.7 mm and 289.3 mm. The sides differ only because the axial spans differ (35 mm against 20 mm).
If both sides are changed to radial with everything else unchanged, the displayed lengths fall to 271.0 mm left and 269.5 mm right. That shows how strongly the cross count affects spoke length.
Worked example: offset rim
Now take the offset preset. An offset of −5 mm changes the axial spans from 35 and 20 mm to 30 mm left and 25 mm right. Because that preset also changes the left lacing to 2 crosses, its left result reflects two changes at once: the new span and a smaller angle of 45°. The displayed estimates are 279.9 mm left and 289.7 mm right. The right side changes only slightly, from 289.3 mm to 289.7 mm, because its axial span grew from 20 to 25 mm while its lacing stayed the same.
Interpreting the results
The two numbers are the estimated J-bend lengths for the left and right sides, measured from the inside of the bend to the end of the thread. Valid results appear to one decimal place in millimetres. A valid result below 0.1 mm displays as "< 0.1 mm."
Several things sit between the estimate and the spoke you buy:
- Available sizes. The calculator does not choose a purchasable length. Compare the estimates with the sizes your spoke supplier offers, and consider how your intended thread engagement and nipple length affect the choice.
- Spoke stretch and rim compression. Tension stretches spokes and compresses the rim slightly, so the built wheel behaves differently from the static geometry.
- Thread engagement. Your ERD is only as accurate as the nipple and thread assumptions behind it, so keep the same convention when you measure ERD and when you build.
- Radial lacing. If either side is radial and the calculation is valid, the calculator shows a "Radial lacing" advisory. A valid number does not establish hub compatibility, so check whether the hub maker permits radial lacing.
The wheel face diagram shows the left and right spoke paths, flange circles and lacing angles. The cross-section shows how flange position and rim offset affect each path. It exaggerates the axial spacing and includes an enlarged hub-hole detail, so use it to understand the geometry rather than as a scale drawing. Measurement tooltips and help text in the interface cover each input.
Limitations
This tool is a wheel-building estimate for a specific, common configuration. It models conventional J-bend spokes, evenly spaced holes on each flange, the same number of spokes per side and a single effective rim plane. It does not cover:
- Straight-pull hubs
- Paired or irregular spoke drilling
- Unequal spoke counts per side
- Rim designs that need separate effective planes for each side
For those builds, use a method or tool designed for them. As with any calculation, confirm your measurements, compare the result with an existing spoke where you have one, and check against the manufacturer's guidance for your rim and hub.
Frequently asked questions
What does the bicycle wheel spoke length calculator need to work? It needs the ERD, total spoke count, cross count, left and right flange PCDs and left and right center-to-flange distances. Advanced mode adds the rim spoke bed offset, the hub hole diameter and a separate left cross count.
Is this a 700c spoke length calculator? It works for 700c wheels if you enter the measured ERD of your particular rim. The 622 mm bead seat diameter is a nominal size, not the ERD, and different rims of that size have different ERDs.
Why are left and right spoke lengths different? Hubs are often dished, so the flanges sit at different distances from the center. That changes each side's axial span. Different lacing or a rim offset changes the lengths further.
Can I use my old spokes to determine spoke length? An intact spoke from the same side of the same wheel is a useful cross-check. If you change the rim, hub or lacing, calculate from the new wheel's measurements.
Why does the calculator reject my inputs? Common causes are an odd spoke count, a flange diameter at or above the ERD, a cross count that exceeds the 90° limit per side (), or an offset that places the spoke bed outside the flanges. The highlighted field shows where to look first.
Does the calculator tell me which spoke to buy? No. It reports the geometric estimate. Choosing a purchasable length depends on available sizes, thread engagement and your build.
Read the formula definitions, supported input ranges, and limitations before using this estimate.