The inorganic compound formed between calcium Ca and chlorine Cl is calcium chloride CaCl2 . This compound is an ionic compound, as it is formed through the transfer of electrons between a metal calcium and a non-metal chlorine . Calcium loses two electrons to form a Ca2+ ion, while each chlorine atom gains one electron to form two Cl- ions. The resulting compound, CaCl2, is held together by the electrostatic attraction between the positively charged calcium ion and the negatively charged chloride ions.