Ionic compounds are neutral compounds made of positive cations and negative anions. Writing the chemical formula for ionic compounds is fairly easy. 1  Write the cation symbol, then the anion symbol. 2  Write the respective charges for each one. 3  Find the lowest common multiple for the ions to make the compound neutral. 4  An alternative to the third step is the drop and swap method.