Similarly, the magnetic moment of a bar magnet is the sum of the contributing magnetic moments, which include the intrinsic and orbital magnetic moments of the unpaired electrons of the magnet's material and the nuclear magnetic moments.