Every magnetic object has a magnetic moment. From electrons to molecules, to even planets. But my question is, what determines how much of a magnetic moment a quantum object has? I'm not sure if "how much" is the right word for it. What determines the "quantity" of a magnetic moment of a particle? Still not sure if quantity is the right word. But anyway, does the magnetic moment of a quantum particle depend on mass, charge, ect? Or is it just an intrinsic property that a particle has, and is not dependent on anything?