Home Calculators Categories Category: Automotive & Travel

Bicycle Spoke Length Calculator

This bicycle spoke length calculator estimates the left and right spoke lengths for a conventional J-bend wheel from five kinds of input: the rim's effective diameter, the total spoke count, the lacing pattern, the hub flange diameters and the distance from the hub center to each flange. Advanced mode adds independent lacing per side, a rim spoke bed offset and the hub spoke hole diameter. Enter dimensions in millimetres. The results are geometric estimates you can compare with available spoke sizes.

Input

Uses a centered spoke bed, the same crosses on both sides, and 2.5 mm hub spoke holes.

Load a worked example to explore the controls. Use your own measurements to size your wheel.
Measure across the rim between the intended ends of two opposite spokes, using the nipples you plan to fit.
mm
Enter the total for the wheel. This model uses the same number of spokes on each side.
Count how many same-side spokes a spoke crosses. Choose Radial for zero crosses.
Use the left spoke-hole pitch circle diameter from the hub maker, or measure across opposite hole centers. If the flange has an odd number of holes, use the chord method in the measurement guide below.
mm
Use the right spoke-hole pitch circle diameter from the hub maker, or measure across opposite hole centers. If the flange has an odd number of holes, use the chord method in the measurement guide below.
mm
Measure from the midpoint between the hub's end-cap seating faces to the left flange hole center plane.
mm
Measure from the midpoint between the hub's end-cap seating faces to the right flange hole center plane.
mm
Visual
Bicycle wheel and hub geometry Wheel face and exaggerated cross-section of the left and right spokes. Wheel face Cross-section Spacing exaggerated
Output
Left spoke length
—
Right spoke length
—

Check available lengths and nipple thread engagement before ordering.

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.

  1. Effective rim diameter (ERD). Enter the value in millimetres, from 160 to 900 mm.
  2. 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.
  3. 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.
  4. Flange diameters. Enter the left and right values. Each must be between 10 and 240 mm and strictly smaller than the ERD.
  5. Center-to-flange distances. Enter the left and right values, each from 1 to 100 mm.
  6. 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:

  1. Use the nipples you intend to build with, plus any specified washers.
  2. Seat the nipples in two opposite rim holes.
  3. Thread each spoke to the intended depth. For slotted nipples this is commonly the bottom of the screwdriver slot.
  4. Pull the spokes inward and measure the gap between the inside faces of the two bends.
  5. Add that gap to the two known spoke lengths. The sum is the ERD.
  6. 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 mm of evenly spaced holes on a flange, measure the longest center-to-center chord and divide by cos⁡(90∘/m)\cos(90^\circ/m). Here mm 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 EE be the ERD, NN the total spoke count, PsP_s the flange PCD on side ss, csc_s the cross count on that side, dLd_L and dRd_R the left and right center-to-flange distances, oo the signed rim spoke bed offset, and hh the shared hub spoke hole diameter.

Each flange has N/2N/2 holes. The angular separation between a flange hole and its rim endpoint is

θs=2πcsN/2\theta_s=\frac{2\pi c_s}{N/2}

in radians, which is the same as 360∘cs/(N/2)360^\circ c_s/(N/2) in degrees. The effective axial spans, which include the rim offset, are

zL=dL+o,zR=dR−o.z_L=d_L+o,\qquad z_R=d_R-o.

The length on each side is

Ls=(E−Ps2)2+EPssin⁡2(θs2)+zs2−h2.L_s=\sqrt{\left(\frac{E-P_s}{2}\right)^2 +E P_s\sin^2\left(\frac{\theta_s}{2}\right) +z_s^2}-\frac{h}{2}.

This is the half-angle form of the law of cosines. With R=E/2R=E/2 and rs=Ps/2r_s=P_s/2, the squared distance from the flange-hole center to the rim endpoint is

R2+rs2−2Rrscos⁡θs+zs2.R^2+r_s^2-2Rr_s\cos\theta_s+z_s^2.

For radial lacing, θs=0\theta_s=0, so the in-plane distance reduces to R−rsR-r_s. 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 8cs≤N8c_s\le N, which keeps the angle at or below 90° per side. The offset must satisfy −dL<o<dR-d_L<o<d_R. 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 Ls≤4ϵEL_s\le4\epsilon E, where ϵ=2−52\epsilon=2^{-52} 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 θs=360∘×3/16=67.5∘\theta_s = 360^\circ\times 3/16 = 67.5^\circ on both sides.
  • The difference between the rim and flange radii is (600−60)/2=270(600-60)/2 = 270 mm.
  • The squared in-plane distance adds the square of that difference to the lacing term EPssin⁡2(33.75∘)E P_s \sin^2(33.75^\circ), which is about 11,111.7 mm².
  • The hub-hole correction is h/2=1.25h/2 = 1.25 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 (8cs≤N8c_s\le N), 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.

Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.