Since an atomic nucleus consists of a bound state of protons and neutrons, the magnetic moments of the nucleons contribute to the nuclear magnetic moment, or the magnetic moment for the nucleus as a whole. The nuclear magnetic moment also includes contributions from the orbital motion of the charged protons. The deuteron, consisting of a proton and a neutron, has the simplest example of a nuclear magnetic moment. The sum of the proton and neutron magnetic moments gives 0.879 μ N, which is within 3% of the measured value 0.857 μ N. In this calculation, the spins of the nucleons are aligned, but their magnetic moments offset because of the neutron's negative magnetic moment.