* Magnesium (Mg) has 2 valence electrons in its neutral state. These are the electrons in its outermost shell.
* Mg2+ indicates that magnesium has lost two electrons. This loss occurs from its outermost shell, leaving it with no valence electrons.