3.3 Formulas for Ionic Compounds

Learning Objectives

  1. Write the chemical formula for a simple ionic compound.
  2. Recognize polyatomic ions in chemical formulas.

We have already encountered some chemical formulas for simple ionic compounds. A chemical formulaA concise list of the elements in a compound and the ratios of these elements. is a concise list of the elements in a compound and the ratios of these elements. To better understand what a chemical formula means, we must consider how an ionic compound is constructed from its ions.

Ionic compounds exist as alternating positive and negative ions in regular, three-dimensional arrays called crystalsA three-dimensional array of alternating positive and negative ions. (Figure 3.6 "A Sodium Chloride Crystal"). As you can see, there are no individual NaCl “particles” in the array; instead, there is a continuous lattice of alternating sodium and chloride ions. However, we can use the ratio of sodium ions to chloride ions, expressed in the lowest possible whole numbers, as a way of describing the compound. In the case of sodium chloride, the ratio of sodium ions to chloride ions, expressed in lowest whole numbers, is 1:1, so we use NaCl (one Na symbol and one Cl symbol) to represent the compound. Thus, NaCl is the chemical formula for sodium chloride, which is a concise way of describing the relative number of different ions in the compound. A macroscopic sample is composed of myriads of NaCl pairs; each pair called a formula unitA set of oppositely charged ions that compose an ionic compound.. Although it is convenient to think that NaCl crystals are composed of individual NaCl units, Figure 3.6 "A Sodium Chloride Crystal" shows that no single ion is exclusively associated with any other single ion. Each ion is surrounded by ions of opposite charge.

Figure 3.6 A Sodium Chloride Crystal

A crystal contains a three-dimensional array of alternating positive and negative ions. The precise pattern depends on the compound. A crystal of sodium chloride, shown here, is a collection of alternating sodium and chlorine ions.

Note

In Section 3.2 "Ions", we encountered LiBr and MgO, which are formulas for other ionic compounds.

The formula for an ionic compound follows several conventions. First, the cation is written before the anion. Because most metals form cations and most nonmetals form anions, formulas typically list the metal first and then the nonmetal. Second, charges are not written in a formula. Remember that in an ionic compound, the component species are ions, not neutral atoms, even though the formula does not contain charges. Finally, the proper formula for an ionic compound always obeys the following rule: the total positive charge must equal the total negative charge. To determine the proper formula of any combination of ions, determine how many of each ion is needed to balance the total positive and negative charges in the compound.

Note

This rule is ultimately based on the fact that matter is, overall, electrically neutral.

Note

By convention, assume that there is only one atom if a subscript is not present. We do not use 1 as a subscript.

If we look at the ionic compound consisting of lithium ions and bromide ions, we see that the lithium ion has a 1+ charge and the bromide ion has a 1− charge. Only one ion of each is needed to balance these charges. The formula for lithium bromide is LiBr.

When an ionic compound is formed from magnesium and oxygen, the magnesium ion has a 2+ charge, and the oxygen atom has a 2− charge. Although both of these ions have higher charges than the ions in lithium bromide, they still balance each other in a one-to-one ratio. Therefore, the proper formula for this ionic compound is MgO.

Now consider the ionic compound formed by magnesium and chlorine. A magnesium ion has a 2+ charge, while a chlorine ion has a 1− charge:

Mg2+ Cl

Combining one ion of each does not completely balance the positive and negative charges. The easiest way to balance these charges is to assume the presence of two chloride ions for each magnesium ion:

Mg2+ Cl Cl

Now the positive and negative charges are balanced. We could write the chemical formula for this ionic compound as MgClCl, but the convention is to use a numerical subscript when there is more than one ion of a given type—MgCl2. This chemical formula says that there are one magnesium ion and two chloride ions in this formula. (Do not read the “Cl2” part of the formula as a molecule of the diatomic elemental chlorine. Chlorine does not exist as a diatomic element in this compound. Rather, it exists as two individual chloride ions.) By convention, the lowest whole number ratio is used in the formulas of ionic compounds. The formula Mg2Cl4 has balanced charges with the ions in a 1:2 ratio, but it is not the lowest whole number ratio.

Note

By convention, the lowest whole-number ratio of the ions is used in ionic formulas. There are exceptions for certain ions, such as Hg22+.

Example 3

Write the chemical formula for an ionic compound composed of each pair of ions.

  1. the sodium ion and the sulfur ion
  2. the aluminum ion and the fluoride ion
  3. the 3+ iron ion and the oxygen ion

Solution

  1. To obtain a valence shell octet, sodium forms an ion with a 1+ charge, while the sulfur ion has a 2− charge. Two sodium 1+ ions are needed to balance the 2− charge on the sulfur ion. Rather than writing the formula as NaNaS, we shorten it by convention to Na2S.
  2. The aluminum ion has a 3+ charge, while the fluoride ion formed by fluorine has a 1− charge. Three fluorine 1− ions are needed to balance the 3+ charge on the aluminum ion. This combination is written as AlF3.
  3. Iron can form two possible ions, but the ion with a 3+ charge is specified here. The oxygen atom has a 2− charge as an ion. To balance the positive and negative charges, we look to the least common multiple—6: two iron 3+ ions will give 6+, while three 2− oxygen ions will give 6−, thereby balancing the overall positive and negative charges. Thus, the formula for this ionic compound is Fe2O3.

Skill-Building Exercise

    Write the chemical formula for an ionic compound composed of each pair of ions.

  1. the calcium ion and the oxygen ion

  2. the 2+ copper ion and the sulfur ion

  3. the 1+ copper ion and the sulfur ion

Polyatomic Ions

Some ions consist of groups of atoms bonded together and have an overall electric charge. Because these ions contain more than one atom, they are called polyatomic ionsAn ion with more than one atom.. Polyatomic ions have characteristic formulas, names, and charges that should be memorized. For example, NO3 is the nitrate ion; it has one nitrogen atom and three oxygen atoms and an overall 1− charge. Table 3.1 "Some Polyatomic Ions" lists the most common polyatomic ions.

Table 3.1 Some Polyatomic Ions

Name Formula
ammonium ion NH4+
acetate ion C2H3O2 (also written CH3CO2)
carbonate ion CO32−
chromate ion CrO42−
dichromate ion Cr2O72−
hydrogen carbonate ion (bicarbonate ion) HCO3
cyanide ion CN
hydroxide ion OH
nitrate ion NO3
nitrite ion NO2
permanganate ion MnO4
phosphate ion PO43−
hydrogen phosphate ion HPO42−
dihydrogen phosphate ion H2PO4
sulfate ion SO42−
hydrogen sulfate ion (bisulfate ion) HSO4
sulfite ion SO32−

The rule for constructing formulas for ionic compounds containing polyatomic ions is the same as for formulas containing monatomic (single-atom) ions: the positive and negative charges must balance. If more than one of a particular polyatomic ion is needed to balance the charge, the entire formula for the polyatomic ion must be enclosed in parentheses, and the numerical subscript is placed outside the parentheses. This is to show that the subscript applies to the entire polyatomic ion. An example is Ba(NO3)2.

Example 4

Write the chemical formula for an ionic compound composed of each pair of ions.

  1. the potassium ion and the sulfate ion
  2. the calcium ion and the nitrate ion

Solution

  1. Potassium ions have a charge of 1+, while sulfate ions have a charge of 2−. We will need two potassium ions to balance the charge on the sulfate ion, so the proper chemical formula is K2SO4.
  2. Calcium ions have a charge of 2+, while nitrate ions have a charge of 1−. We will need two nitrate ions to balance the charge on each calcium ion. The formula for nitrate must be enclosed in parentheses. Thus, we write Ca(NO3)2 as the formula for this ionic compound.

Skill-Building Exercise

    Write the chemical formula for an ionic compound composed of each pair of ions.

  1. the magnesium ion and the carbonate ion

  2. the aluminum ion and the acetate ion

Recognizing Ionic Compounds

There are two ways to recognize ionic compounds. First, compounds between metal and nonmetal elements are usually ionic. For example, CaBr2 contains a metallic element (calcium, a group 2A metal) and a nonmetallic element (bromine, a group 7A nonmetal). Therefore, it is most likely an ionic compound. (In fact, it is ionic.) In contrast, the compound NO2 contains two elements that are both nonmetals (nitrogen, from group 5A, and oxygen, from group 6A). It is not an ionic compound; it belongs to the category of covalent compounds that we will study in Chapter 4 "Covalent Bonding and Simple Molecular Compounds". Also note that this combination of nitrogen and oxygen has no electric charge specified, so it is not the nitrite ion.

Second, if you recognize the formula of a polyatomic ion in a compound, the compound is ionic. For example, if you see the formula Ba(NO3)2, you may recognize the “NO3” part as the nitrate ion, NO3. (Remember that the convention for writing formulas for ionic compounds is not to include the ionic charge.) This is a clue that the other part of the formula, Ba, is actually the Ba2+ ion, with the 2+ charge balancing the overall 2− charge from the two nitrate ions. Thus, this compound is also ionic.

Example 5

Identify each compound as ionic or not ionic.

  1. Na2O
  2. PCl3
  3. NH4Cl
  4. OF2

Solution

  1. Sodium is a metal, and oxygen is a nonmetal; therefore, Na2O is expected to be ionic.
  2. Both phosphorus and chlorine are nonmetals. Therefore, PCl3 is not ionic.
  3. The NH4 in the formula represents the ammonium ion, NH4+, which indicates that this compound is ionic.
  4. Both oxygen and fluorine are nonmetals. Therefore, OF2 is not ionic.

Skill-Building Exercise

    Identify each compound as ionic or not ionic.

  1. N2O

  2. FeCl3

  3. (NH4)3PO4

  4. SOCl2

Looking Closer: Blood and Seawater

Science has long recognized that blood and seawater have similar compositions. After all, both liquids have ionic compounds dissolved in them. The similarity may be more than mere coincidence; many scientists think that the first forms of life on Earth arose in the oceans.

A closer look, however, shows that blood and seawater are quite different. A 0.9% solution of sodium chloride approximates the salt concentration found in blood. In contrast, seawater is principally a 3% sodium chloride solution, over three times the concentration in blood. Here is a comparison of the amounts of ions in blood and seawater:

Ion Percent in Seawater Percent in Blood
Na+ 2.36 0.322
Cl 1.94 0.366
Mg2+ 0.13 0.002
SO42− 0.09
K+ 0.04 0.016
Ca2+ 0.04 0.0096
HCO3 0.002 0.165
HPO42−, H2PO4 0.01

Most ions are more abundant in seawater than they are in blood, with some important exceptions. There are far more hydrogen carbonate ions (HCO3) in blood than in seawater. This difference is significant because the hydrogen carbonate ion and some related ions have a crucial role in controlling the acid-base properties of blood. (For more information on the acid-base properties of blood, see Chapter 10 "Acids and Bases", Section 10.5 "Buffers".) The amount of hydrogen phosphate ions—HPO42− and H2PO4—in seawater is very low, but they are present in higher amounts in blood, where they also affect acid-base properties. Another notable difference is that blood does not have significant amounts of the sulfate ion (SO42−), but this ion is present in seawater.

Concept Review Exercises

  1. What information is contained in the formula of an ionic compound?

  2. Why do the chemical formulas for some ionic compounds contain subscripts, while others do not?

  3. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Mg2+ and I
    2. Na+ and O2−

Answers

  1. the ratio of each kind of ion in the compound

  2. Sometimes more than one ion is needed to balance the charge on the other ion in an ionic compound.

    1. MgI2
    2. Na2O

Key Takeaways

  • Proper chemical formulas for ionic compounds balance the total positive charge with the total negative charge.
  • Groups of atoms with an overall charge, called polyatomic ions, also exist.

Exercises

  1. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Na+ and Br
    2. Mg2+ and Br
    3. Mg2+ and S2−
  2. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. K+ and Cl
    2. Mg2+ and Cl
    3. Mg2+ and Se2−
  3. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Na+ and N3−
    2. Mg2+ and N3−
    3. Al3+ and S2−
  4. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Li+ and N3−
    2. Mg2+ and P3−
    3. Li+ and P3−
  5. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Fe3+ and Br
    2. Fe2+ and Br
    3. Au3+ and S2−
    4. Au+ and S2−
  6. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Cr3+ and O2−
    2. Cr2+ and O2−
    3. Pb2+ and Cl
    4. Pb4+ and Cl
  7. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. Cr3+ and NO3
    2. Fe2+ and PO43−
    3. Ca2+ and CrO42−
    4. Al3+ and OH
  8. Write the chemical formula for the ionic compound formed by each pair of ions.

    1. NH4+ and NO3
    2. H+ and Cr2O72−
    3. Cu+ and CO32−
    4. Na+ and HCO3
  9. For each pair of elements, determine the charge for their ions and write the proper formula for the resulting ionic compound between them.

    1. Ba and S
    2. Cs and I
  10. For each pair of elements, determine the charge for their ions and write the proper formula for the resulting ionic compound between them.

    1. K and S
    2. Sc and Br
  11. Which compounds would you predict to be ionic?

    1. Li2O
    2. (NH4)2O
    3. CO2
    4. FeSO3
    5. C6H6
    6. C2H6O
  12. Which compounds would you predict to be ionic?

    1. Ba(OH)2
    2. CH2O
    3. NH2CONH2
    4. (NH4)2CrO4
    5. C8H18
    6. NH3

Answers

    1. NaBr
    2. MgBr2
    3. MgS
    1. Na3N
    2. Mg3N2
    3. Al2S3
    1. FeBr3
    2. FeBr2
    3. Au2S3
    4. Au2S
    1. Cr(NO3)3
    2. Fe3 (PO4)2
    3. CaCrO4
    4. Al(OH)3
    1. Ba2+, S2−, BaS
    2. Cs+, I, CsI
    1. ionic
    2. ionic
    3. not ionic
    4. ionic
    5. not ionic
    6. not ionic