Knowing the magnetic moment of an object ( m ) and the distance from its centre ( r ) it is possible to calculate the magnetic flux density experienced on the surface ( B ) using the following approximation: