The magnetic lines of force due to current in the straight conductor XY are shown in figure given alongside. The arrows on the magnetic lines of force shows the direction of magnetic field.
The magnitude of magnetic field at a point depends on:
(i) The strength of current in the conductor, and
(ii) The distance of point from the conductor.