You can use Inches or Millimeters in the form.
In the front hub, all spokes are the same length, but in the drive hub, the drive side spokes are calculated separately from the non-drive side spokes.
This calculator assumes the rim is to be centered between the hub nuts. Some manufacturers (like Vision) use offset rear rims.
Thanks to Bill Patterson for providing the equations for this calculator.