The analytical expression of the on-axis field for an infinitely long helical undulator, derived in terms of undulator period length, uniform current density, inner radius and dimensions of the coils, was compared with numerical analyses of model undulators based on the Biot-Savart law. The two calculations agreed within 110. The expression also showed that the on-axis field has the first harm...