B = k·I / d where: B = magnetic field (teslas) k = magnetic constant I = current (amps) d = distance (meters)