The formula for calcium fluoride is CaF2.
Explanation:
An ionic compound is neutral, which means its overall charge is zero. Therefore, the sum of the charges of each ion in the compound must equal zero.
In calcium fluoride, the calcium ion Ca2+, has a charge of 2+, and the fluoride ion F1− has a charge of 1−. We will need two fluoride ions to make the overall charge zero.
Ca2++2F1−→CaF2
There is a method that makes it fairly easy to determine the formula unit of an ionic compound. It's called the crisscross method. In the crisscross method, the size of the charge of each ion becomes the subscript of the other ion.