Mercury(II) chloride, also known as mercuric chloride and corrosive sublimate, is a chemical compound. Its chemical formula is HgCl. It has mercury and chloride ions in it. The mercury is in its +2 oxidation state. 