Skip to main content

Bike Spoke Length Calculator

Calculate raw left and right spoke geometry from measured ERD, flange dimensions, crossing and rim offset without universal stock-length rounding.

Interested in Advertising?

Tell us more, and we'll get back to you.

Contact Us

About Bike Spoke Length Calculator

Practical context, assumptions, examples, and next steps for using the result well.

Publish raw geometry without implying wheelbuilder approval

This calculator reports mathematical left and right spoke lengths for a narrowly defined conventional wheel geometry. It does not select a stock length, guarantee thread engagement or authorize a wheel build. The larger spoke-ordering task remains behind a professional review and exact-interface evidence gate. An accessible geometric method and independent synthetic cases were checked, but no wheelbuilder sign-off was obtained and no official DT Swiss calculator result was verified.

The method follows John Allen's explanation of cosine-rule projection and axial Pythagoras, with an explicit optional hub-hole correction. Damon Rinard's Spocalc material provides additional measurement context. These sources explain why exact rim and hub measurements matter; they are not endorsements of this implementation. The tool does not copy their component databases or assume that a historical hub/rim listing matches a current part. All physical dimensions and interface references are supplied by the user.

The output is deliberately labeled raw and displayed without universal rounding. A numerical length ending in a fraction does not establish whether to buy the next shorter, nearest or next longer spoke. Nipple design, washer arrangement, spoke threading and the intended endpoint convention affect that decision. If those records or professional review are unavailable, the useful bounded result is a reproducible geometric worksheet with ordering unresolved, not an apparently authoritative shopping recommendation.

Define the rim reference and both hub sides precisely

Effective rim diameter, ERD, must correspond to the intended spoke-end/nipple reference used in the calculation. It is not tire outside diameter, bead-seat diameter or a casual rim outside measurement. Different sources can use subtly different nipple conventions. Record how ERD was measured, which nipples and washers are involved and what endpoint the diameter represents. The tool adds no hidden nipple allowance; an inconsistent reference remains an unresolved measurement problem.

Left and right flange pitch-circle diameters describe the circles through the hub's spoke-hole centers. They can differ. Axial flange distances are measured from the wheel center plane to each flange on its respective side, not half the total flange spacing unless the hub really is symmetric. Over-locknut dimension and flange-to-end measurements can help establish these values, but mixing axle-end and locknut references introduces errors. Follow a credible measurement procedure and verify the actual parts rather than trusting a similar model's listing.

Total spoke count means both sides together. The supported model assumes equal numbers on left and right, evenly spaced holes and conventional correspondence between rim holes and flange positions. It accepts a shared integer crossing count for the two sides. Paired drilling, unequal left/right counts, unusual hole phasing, straight-pull interfaces and special motor-hub arrangements can require different geometry. Passing numeric validation does not establish that a hub permits the selected lacing pattern.

As an Amazon Associate, Calculation Hub earns from qualifying purchases.

For an existing spoke of a supported type, a Park Tool spoke gauge (Amazon affiliate link), opens in a new tab offers a physical length reference using the tool's stated measuring method. That check does not supply rim effective diameter or hub flange geometry. It also does not establish that rounding a raw calculated length will give adequate thread engagement in the intended wheel.

Apply the cosine rule, then the axial distance

Let R be ERD divided by two, r the applicable flange pitch-circle diameter divided by two, N total spoke count and k crossing count. For the supported conventional pattern, angular separation theta is 4πk/N radians, equivalent to 720k/N degrees. The projected in-plane distance C follows the cosine rule: C² = R² + r² − 2Rr cos theta. This isolates the wheel-plane triangle before accounting for the flange's distance away from the rim spoke-bed plane.

If w is axial separation, center-to-reference length is square root of (C² + w²). The optional hub spoke-hole correction subtracts half the entered hole diameter after that square root, following the stated reference method. Thus reported length L = √(R² + r² + w² − 2Rr cos theta) − h/2. If hole diameter is blank, h is zero and the result remains explicitly center-to-reference geometry. It is not silently described as a completed spoke-order specification.

The model requires ERD greater than flange diameter and positive axial separation on both sides. Total spoke count must be a multiple of four within the supported domain, and crossing count must be a nonnegative integer below one quarter of total spokes. These restrictions define this implementation's conventional geometry, not a list of approved builds. The calculator does not evaluate flange stress, nipple articulation, spoke interference, tension balance or whether a particular radial pattern is allowed.

Check known geometry independently of a product database

Use a deliberately synthetic radial example with ERD 640 mm, flange pitch-circle diameter 160 mm, axial separation 70 mm and zero crossing. Then R is 320 mm and r is 80 mm. With theta zero, the projected distance is simply R − r = 240 mm. Axial Pythagoras gives square root of (240² + 70²), which is exactly 250 mm because 57,600 + 4,900 = 62,500. With no hub-hole correction, the raw output must be 250.0000 mm.

If the entered hub-hole diameter is 2.5 mm, the stated correction subtracts 1.25 mm, giving 248.7500 mm. This independent check verifies where the correction occurs: after the root, not inside it. The example is not a real hub/rim recommendation and does not imply that radial lacing is permitted for a particular component. Its dimensions were chosen to create an exact right triangle that can be checked without trusting a second calculator.

A crossed synthetic example can use ERD 600 mm, flange diameter 100 mm, axial separation 100 mm, thirty-two spokes and four crosses. Theta is ninety degrees, so its cosine is zero. Length before hole correction is √(300² + 50² + 100²), or √102,500, approximately 320.1562 mm. This isolates the angular term independently. A real four-cross pattern still needs component and lacing review; satisfying this mathematical case does not approve any physical arrangement.

Apply a signed rim offset without changing the datum

Rim spoke-bed offset is positive toward the right flange in this worksheet. If left and right flange distances from wheel center are wL and wR and offset is o, effective axial separations become wL + o on the left and wR − o on the right. Moving the spoke bed right therefore increases left separation and decreases right separation. The model rejects offsets that place the spoke bed beyond a flange, because that falls outside the intended conventional arrangement.

Do not enter an asymmetric rim's marketing offset with the wrong orientation. Establish which side is actually installed toward the drivetrain and how the manufacturer defines its sign or magnitude. A hub's dishing asymmetry and a rim's spoke-bed offset are different quantities. Combining them twice or measuring flange distance from an already offset reference can produce plausible but wrong lengths. Keep the wheel center plane as the common datum and record the measurement convention.

The required interface note describes the nipple, spoke and ERD endpoint basis. It is a record, not an automatic correction table. Longer nipples do not universally mean a fixed amount should be subtracted from the geometric length, and washers can alter the relevant reference. Thread engagement depends on actual interfaces. This tool deliberately avoids claiming a universal rounding rule, cut instruction, thread margin or purchase choice where those product-specific details and professional build review have not been established.

Separate measurement quality from numerical precision

Evaluate left and right independently even when the hub looks symmetric. Disc mounts, freehub arrangements and other construction details can shift flange locations. A rim offset can partly reduce or increase the difference in axial separation depending on orientation. The equations reflect the dimensions supplied, not a visual assumption about front versus rear wheels. If both raw lengths happen to match, that coincidence does not establish equal spoke tension, equal bracing angles or interchangeability of every spoke position. Tension balance and build specification require additional analysis and component guidance outside this length-only geometric worksheet.

Cross count also has a physical meaning beyond the angle in the equation. Increasing it changes the modeled hole-to-hole angular separation, but the calculator does not inspect whether the spoke path crosses a flange opening, interferes with another spoke head or enters the nipple at an unacceptable angle. A mathematically real square root is only a geometry-domain check. Unusual drilling or lacing should not be forced into the nearest supported integer pattern. When the conventional assumptions do not describe the actual parts, keep the output as an educational example and obtain a model appropriate to the exact wheel rather than treating additional decimal places as evidence of applicability.

Four decimal places expose raw geometry; they do not mean the actual rim and hub were measured to a ten-thousandth of a millimeter. ERD uncertainty, flange measurements and endpoint conventions can dominate the final fraction. Repeat measurements using a credible method and reconcile differences before relying on a number. A manufacturer's dimension and a direct measurement can be useful cross-checks, but disagreement should not be hidden by choosing whichever produces a convenient stock length.

The calculator does not model spoke elastic elongation, seating changes during tensioning, hub-hole shape, bend seating, rim deformation, drilling angles or tension targets. It cannot inspect a wheel or confirm component condition. Those omissions explain why raw mathematical agreement is not a finished build specification. The ordering status remains unresolved even when both sides give the same number. There is no fake professional review, inferred DT Swiss verification or hidden catalog recommendation attached to the output.

The tire/rim setup worksheet addresses another wheel-related task, but bead-seat diameter there must not be substituted for ERD here. The gearing calculator uses measured tire rollout, another distinct diameter-related quantity. Preserve those definitions and the exact model/source notes in any shared record. Inputs are saved in the URL, so avoid private serial numbers. A complete raw geometry worksheet can be useful while the final stock-length choice properly remains with verified interface instructions and competent wheelbuilding review.

Frequently Asked Questions

Can I order the nearest stock spoke length from this result?

The calculator deliberately provides no universal ordering or rounding rule. Raw geometry does not establish nipple engagement, threading or actual build suitability. Use verified interface instructions and competent wheelbuilding review before choosing a stock length.

Is ERD the same as tire bead-seat diameter?

No. ERD refers to an explicitly defined spoke/nipple endpoint diameter, while bead-seat diameter describes tire mounting. Record the nipple and washer convention and measure the actual rim. The calculator adds no hidden nipple allowance.

Which direction is positive rim offset?

Positive offset moves the spoke bed toward the right flange. It adds to left axial separation and subtracts from right axial separation. Establish the installed rim orientation and keep wheel center as the common datum rather than applying the offset twice.

What does the optional hub-hole correction do?

Following the stated geometric reference, it subtracts half the entered hub spoke-hole diameter after the square root. Blank input leaves center-to-reference geometry. This is not a nipple thread-engagement allowance or a universal correction for every spoke interface.

Was this professionally reviewed or verified against DT Swiss?

No wheelbuilder sign-off or official DT Swiss result was obtained. An accessible John Allen geometric explanation and independent synthetic cases were checked. The worksheet is restricted to conventional evenly spaced equal-side-count geometry and keeps ordering and build approval unresolved.