Spoke Length Calculator - set up your wheel measurements above -

  Rim diameter (measure to the heads of the nipples)
2.5   Spoke hole diameter
   Diameter of the circle of spokeholes on the hub flange (to the centres)
   Hub half-width (flange to wheel-centre accounting for dish)
   No. of spokes
All standard cross variants from radial to 4x will be calculated

This calculator uses the formula published by Jobst Brandt