To calculate what the magnetic field near a conductor is like, you can use Ampère's Law. The visual will help you to understand it.

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte