During the bicycle wheel building process, once a rim and hub are purchased the next step is to calculate the spoke length. The length is dependent on both components and the spoke lacing pattern.
As with most problems involving circles, we need to draw some triangles and use a couple basic trigonometric functions in order to calculate the length of two lines, and below. Those lines represent the spoke length of the drive-side and non-drive side of the wheel. In order to calculate the length of those lines we first need to find the distance from the rim to the hub represented by and the distance from the center of the hub, which lies halfway between the two lock nuts, to the center of each flange represented by and .
As depicted in the diagram below, the width of the drive side and non-drive side of the hub will differ because of the space required for the cassette. A hub designed for a fixed or single speed bicycle is symmetric, which means and simplifies the following calculations.
The first step to calculate the length of and is to take some basic measurements of the hub, including the flange width, Over Locknut Distance (OLD) represented by and the width between the lock nut and the outside of flange on each side represented by and .
With and calculated we focus on the other side, , which is the distance from the hub to the correct spoke hole in the rim, which is dependent on the lacing pattern.
The following diagram demonstrates a spoke laced in a 3-cross pattern. With each cross the spoke moves two spoke holes along the rim. That is because every other hole in the rim is laced to the same side of the hub. In contrast, a radial lacing pattern is represented by .
In order to calculate the length of we need to draw another triangle represented by . To calculate the length of we need to find the length of and .
In order to calculate the length of we need to calculate .
Next measure the diameter of the flange between opposite spoke holes. That value divided by two gives us the radius, which is represented above as . That length and provide us with enough information to calculate the length of using the trigonometric sine function.
With the length of still in mind we turn our focus to . I used a couple of spare spokes and a caliper to measure the diameter of the rim between opposite spoke holes. Alternatively, the manufacturer of the rim should list the Effective Rim Diameter (ERD). Either value divided by two gives us the radius, represented above as .
With and $ calculated we can finally calculate the length of $ using the Pythagorean theorem.
Alternatively, can be calculated using and in one of the following ways:
With and the previously calculated and we can finally calculate the length of the drive-side and non-drive side spokes!
In the above diagram the non-drive side spoke length can be calculated using the Pythagorean theorem. Additionally, since manufactures don’t measure the length of a spoke to the center of the spoke holes in the flange you will need to subtract the difference, which can be calculated by dividing the spoke hole diameter by two.1
Similarity, we can calculate the drive-side spoke length as follows.
There are many ways of rewriting these equations. A common one may look like the following:
Given the following two equations derived above.
We simply substitute as follows: