Distance of a rotating magnetic field