Magnetic Field of Toroid #8211; The current enclosed by the dashed line is just the number of loops time the current in each loop. Ampere s law, gives the magnetic field by ⇒ [B = μ NI/2 πr]