What is the charge of magnesium ion in MgCl2?
+2
Magnesium will loose 2 electrons to attain stability and clorine will need an electron to attain stability. Since, we know charge on cholrine is -1 (as it gains electrons) and magnesium can give 2 electrons forming a compund MgCl2. Thus, the charge should be +2.