The magnetic field at a point due to a current carrying conductor depends on the current through the conductor and the distance of the point from the conductor.
1. The magnitude of the magnetic field produced at a given point is directly proportional to the magnitude of the current passing through the conductor.
2. The magnitude of the magnetic field produced by a given current in the conductor decreases as the distance from the conductor increases.
[Note If the direction of the current is reversed, the direction of the magnetic field is also reversed.]