Writing formulas of ionic compounds
1. Write the symbol of the positive ion (cation) first, followed by the symbol of the negative ion (anion).
2. Write the charge of each ion over the symbol of that ion. Usually, for the main group elements, the group number usually gives the charge of the monoatomic ion.
3. Choose a subscript that will make the net charge zero. The simplest procedure is to use the absolute value of the charge of the anion as the subscript for the cation; and the absolute value of the cation charge as the subscript for the anion (CROSS-OVER RULE).
4. For hydrates, follow the same steps, then add a centered dot, followed by the number of water molecules (indicated by the prefix) and the chemical formula of water.