Calcium chloride is an ionic compound usedĀ for the treatment of hypocalcemia and hyperkalemia, and as an antidote to magnesium intoxication due to overdosage of magnesium sulfate. Calcium chloride is an ionic compound of calcium and chlorine. It is highly soluble in water and it is deliquescent.