A method for downhole magnetic ranging between a first and second wellbore, the method comprising: deploying one or more magnetic receivers in a second wellbore positioned adjacent a first wellbore, the magnetic receivers being located on a tool body; emitting magnetic fields from the first wellbore; calculating a range between the first and second wellbores using magnetic fields obtained by the magnetic receivers, wherein the range includes at least one of: a distance between the first and second wellbores; or a direction of the first wellbore in relation to the second wellbore; using the magnetic receivers positioned at a first axial position along the second wellbore to obtain a first magnetic field emitted from the first wellbore; using the magnetic receivers positioned at a second axial position along the second wellbore to obtain a second magnetic field emitted from the first wellbore, the second axial position being axially offset from the first axial position, wherein the first and second magnetic fields combine to form a three-dimensional ("3D") magnetic field; and using the 3D magnetic field to correct the range between the first and second wellbores, characterized wherein correcting the range comprises: calculating a three-dimensional ("3D") gradient field across a first and second magnetic receiver, wherein the first magnetic receiver is positioned at the first axial position at a first tool face angle, wherein the second magnetic receiver is positioned at the second axial position at a second tool face angle different from the first tool face angle; determining a component of the 3D gradient field that is sensitive to an interfering source of magnetic radiation; determining a component of the 3D gradient field that is insensitive to the interfering source; and using the sensitive and insensitive components to decouple the interfering source from the range, thereby correcting the range between the first and second wellbores. deploying one or more magnetic receivers in a second wellbore positioned adjacent a first wellbore, the magnetic receivers being located on a tool body; emitting magnetic fields from the first wellbore; calculating a range between the first and second wellbores using magnetic fields obtained by the magnetic receivers, wherein the range includes at least one of: a distance between the first and second wellbores; or a direction of the first wellbore in relation to the second wellbore; a distance between the first and second wellbores; or a direction of the first wellbore in relation to the second wellbore; using the magnetic receivers positioned at a first axial position along the second wellbore to obtain a first magnetic field emitted from the first wellbore; using the magnetic receivers positioned at a second axial position along the second wellbore to obtain a second magnetic field emitted from the first wellbore, the second axial position being axially offset from the first axial position, wherein the first and second magnetic fields combine to form a three-dimensional ("3D") magnetic field; and using the 3D magnetic field to correct the range between the first and second wellbores, characterized wherein correcting the range comprises: calculating a three-dimensional ("3D") gradient field across a first and second magnetic receiver, wherein the first magnetic receiver is positioned at the first axial position at a first tool face angle, wherein the second magnetic receiver is positioned at the second axial position at a second tool face angle different from the first tool face angle; determining a component of the 3D gradient field that is sensitive to an interfering source of magnetic radiation; determining a component of the 3D gradient field that is insensitive to the interfering source; and using the sensitive and insensitive components to decouple the interfering source from the range, thereby correcting the range between the first and second wellbores. calculating a three-dimensional ("3D") gradient field across a first and second magnetic receiver, wherein the first magnetic receiver is positioned at the first axial position at a first tool face angle, wherein the second magnetic receiver is positioned at the second axial position at a second tool face angle different from the first tool face angle; determining a component of the 3D gradient field that is sensitive to an interfering source of magnetic radiation; determining a component of the 3D gradient field that is insensitive to the interfering source; and using the sensitive and insensitive components to decouple the interfering source from the range, thereby correcting the range between the first and second wellbores.