The magnetic flux density B at a distance r from a long straight wire carrying current varies with distance r as shown in Fig. :
magnetic field due to long current carrying wire is inversely proportional to the distance from the wire