The magnetic moment of a magnet is a quantity that determines the torque it will experience in an external magnetic field. A loop of electric current, a bar magnet, an electron (revolving around a nucleus), a molecule, and a planet all have magnetic moments.