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).