Science, Tech, Math › Science Formulas of Ionic Compounds Share Flipboard Email Print dra_schwartz / Getty Images Science Chemistry Basics Chemical Laws Molecules Periodic Table Projects & Experiments Scientific Method Biochemistry Physical Chemistry Medical Chemistry Chemistry In Everyday Life Famous Chemists Activities for Kids Abbreviations & Acronyms Biology Physics Geology Astronomy Weather & Climate By Anne Marie Helmenstine, Ph.D. Chemistry Expert Ph.D., Biomedical Sciences, University of Tennessee at Knoxville B.A., Physics and Mathematics, Hastings College Dr. Helmenstine holds a Ph.D. in biomedical sciences and is a science writer, educator, and consultant. She has taught science courses at the high school, college, and graduate levels. our editorial process Facebook Facebook Twitter Twitter Anne Marie Helmenstine, Ph.D. Updated May 11, 2019 Ionic compounds form when positive and negative ions share electrons and form an ionic bond. The strong attraction between positive and negative ions often produce crystalline solids that have high melting points. Ionic bonds form instead of covalent bonds when there is a large difference in electronegativity between the ions. The positive ion, called a cation, is listed first in an ionic compound formula, followed by the negative ion, called an anion. A balanced formula has a neutral electrical charge or net charge of zero. Determining the Formula of an Ionic Compound A stable ionic compound is electrically neutral, where electrons are shared between cations and anions to complete outer electron shells or octets. You know you have the correct formula for an ionic compound when the positive and negative charges on the ions are the same or "cancel each other out." Here are the steps for writing and balancing the formula: Identify the cation ( the portion with a positive charge). It is the least electronegative (most electropositive) ion. Cations include metals and they are often located on the left-hand side of the periodic table.Identify the anion ( the portion with a negative charge). It is the most electronegative ion. Anions include halogens and nonmetals. Keep in mind, hydrogen can go either way, carrying either a positive or negative charge.Write the cation first, followed by the anion.Adjust the subscripts of the cation and anion so the net charge is 0. Write the formula using the smallest whole number ratio between the cation and anion to balance charge. If the charges of the cation and anion are equal (e.g., +1/-1, +2/-2, +3/-3), then combine the cation and anion in a 1:1 ratio. An example is potassium chloride, KCl. Potassium (K+) has a 1- charge, while chlorine (Cl-) has a 1- charge. Note that you do not ever write a subscript of 1.If the charges on the cation and the anion are not equal, add subscripts as needed to the ions to balance the charge. The total charge for each ion is the subscript multiplied by the charge. Adjust the subscripts to balance charge. An example is sodium carbonate, Na2CO3. The sodium ion has a +1 charge, multiplied by the subscript 2 to get a total charge of 2+. The carbonate anion (CO3-2) has a 2- charge, so there is no additional subscript.If you need to add a subscript to a polyatomic ion, enclose it in parentheses so it is clear the subscript applies to the entire ion and not to an individual atom. An example is aluminum sulfate, Al2(SO4)3. The parenthesis around the sulfate anion indicates three of the 2- sulfate ions are needed to balance 2 of the 3+ charged aluminum cations. Examples of Ionic Compounds Many familiar chemicals are ionic compounds. A metal bonded to a nonmetal is a dead giveaway that you're dealing with an ionic compound. Examples include salts, such as table salt (sodium chloride or NaCl) and copper sulfate (CuSO4). Compound Name Formula Cation Anion lithium fluoride LiF Li+ F- sodium chloride NaCl Na+ Cl- calcium chloride CaCl2 Ca2+ Cl- iron(II) oxide FeO Fe2+ O2- aluminum sulfide Al2S3 Al3+ S2- iron(III) sulfate Fe2(SO3)3 Fe3+ SO32- Ionic Compound Formulas Why the Formation of Ionic Compounds Is Exothermic Practice Predicting Formulas of Compounds with Polyatomic Ions Chemistry Basics: What Is an Anion? Without Ionic Bonds, There Would Be No Table Salt What Is a Balanced Equation in Chemistry? How to Find the Symbol of an Ion Learn What a Dipole Is in Chemistry and Physics Do You Know How to Use Ionic Equations in Chemistry? 5 Steps for Balancing Chemical Equations Know the Difference Between Ionic and Covalent Bonds What Spectator Ions Are and Why They Are Important What Is an Ion? Definition and Examples This Common Kitchen Staple Is a Perfect Example of an Ionic Compound Check Common Cations for Chemistry with This Handy Table How Does Water Work as a Universal Solvent? What Is a Salt, Really?