Every element in the periodic table is represented by a unique ... MgCl₂ is the formula for magnesium chloride, which is a compound containing magnesium (Mg) and chlorine (Cl).