Skip to main content
Chemistry LibreTexts

7.3.1: Ionic Formula Writing

  • Page ID
    209008
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Write formulas for binary ionic compounds
    • Relate the Lewis structure to the chemical formula for binary ionic compounds.
    • Commit bolded polyatomic formulas to memory.
    • Write formulas for ternary (polyatomic) ionic compounds.

    Ionic Formulas

    Chemical formulas for ionic compounds are called ionic formulas. A proper ionic formula has a cation and an anion in it; an ionic compound is never formed between two cations or two anions only. The key to writing proper ionic formulas is simple: the total positive charge must balance the total negative charge. Because the charges on the ions are characteristic, sometimes we have to have more than one cation or an anion to balance the overall positive and negative charges. It is conventional to use the lowest ratio of ions that are needed to balance the charges.

     

     

    ionicbond.jpg

    Figure \(\PageIndex{1}\): Image taken from: upload.wikimedia.org/wikiped...my_Bonding.JPG

    For example, consider the ionic compound between \(\ce{Na^{+}}\) and \(\ce{Cl^{−}}\). Each ion has a single charge, one positive and one negative, so we need only one ion of each to balance the overall charge. When writing the ionic formula, we follow two additional conventions:

    1. write the formula for the cation first and the formula for the anion next, but
    2. cross the charges down diagonally.

    Thus, for the compound between \(\ce{Na^{+}}\) and \(\ce{Cl^{−}}\), we have the ionic formula \(\ce{NaCl}\) (Figure \(\PageIndex{1}\)). The formula \(\ce{Na2Cl2}\) also has balanced charges, but the convention is to use the lowest ratio of ions, which would be one of each. (Remember from our conventions for writing formulas that we do not write a 1 subscript if there is only one atom of a particular element present.) For the ionic compound between magnesium cations (\(\ce{Mg^{2+}}\)) and oxide anions (\(\ce{O^{2−}}\), again we need only one of each ion to balance the charges. By convention, the formula is \(\ce{MgO}\).

    2015-03-07_Pakistanisches,_sogenanntes_Himalaya-Salz_0399.jpg
    Figure \(\PageIndex{2}\): NaCl is the formular for Table Salt. The ionic compound NaCl is very common. Red rock salt from the Khewra Salt Mine in Pakistan. (CC BY-SA 4.0; Hubertl).
    Rules for Writing Ionic Formulas

    Recall ionic compound can be of the following combination: metal/nonmetal or ammonium/nonmetal

    1. Recall the cation charge. Superscript this charge to the right of the cation (Ca2+). If metal is multi charged metal (like most transitions and metals below metalloid staircase), then the charge is indicated by a Roman numeral (Lead IV would translate to Pb4+).
    2. Recall the anion charge. Superscript this charge to the right of the anion (S2-). If polyatomic ion is present, then put poly in parentheses and superscript charge to the right of this species.
    3. Cross charges down diagonally and lose signs. Subscripts that are divisible by the same number must be reduced (ionics are simple compounds). Do not change what is inside a poly. You may keep your parentheses around polyatomic ions.

    * Binary compound names will end with ide (except cyanide and hydroxide). This means the anion will come from the periodic table.

    ** Compounds that contain polyatomic ions will end in ate/ite or the two weird ides (cyanide/hydroxide). You will need to memorize the polyatomic ion table below.**

    Example \(\PageIndex{1}\):

    Write the formulas for the combinations of ions below:

    1. Ca2+ and Cl
    2. Al3+ and F
    3. Li+ and O2−
    Solution
    1. The proper ionic formula is CaCl2.
    2. The formula for this compound is AlF3.
    3. After crossing charges diagonally down, the formula will be Li2O.
    Exercise \(\PageIndex{2}\)

    Write the proper ionic formulas for each of the two given ions.

    1. Fe2+ and S2−
    2. Fe3+ and S2−
    Answer a

    \(\ce{FeS}\), Subscripts must be reduced for ionic compounds. If this is not done, then the answer will be incorrect.

    Answer b

    \(\ce{Fe2S3}\), These subscripts cannot be reduced because they are not divisible by the same number.

    There also exists a group of ions that contain more than one atom. These are called polyatomic ions. Table \(\PageIndex{1}\) lists the formulas, charges, and names of some common polyatomic ions. Only one of them, the ammonium ion, is a cation; the rest are anions. Most of them also contain oxygen atoms, so sometimes they are referred to as oxyanions. Some of them, such as nitrate and nitrite, and sulfate and sulfite, have very similar formulas and names, so care must be taken to get the formulas and names correct. Note that the -ite polyatomic ion has one less oxygen atom in its formula than the -ate ion but with the same ionic charge.

    Table \(\PageIndex{1}\): Common Polyatomic Ions
    Name Formula and Charge   Name Formula and Charge
    ammonium (NH4)+   nitrate (NO3)-
    acetate (C2H3O2)- nitrite (NO2)-
    bicarbonate (hydrogen carbonate) (HCO3)- carbonate (CO3)2-
    hydroxide (OH)- sulfate (SO4)2-
    chlorate (ClO3)- sulfite (SO3)2-
    hypochlorite (ClO)- phosphate (PO4)3-
    cyanide (CN) phosphite (PO3)3-

    You will need to commit Table \(\PageIndex{1}\) to memory for future tests and quizzes. There are more polyatomic ions than the ones listed in the table above. You will be provided with a list of these additional polyatomic ions for use on tests/quizzes. In our class, this list (List O' Polyatomics) will have the ones you are required to memorize in bold print.

    Writing the formulas of ionic compounds has one important difference. If more than one polyatomic ion is needed to balance the overall charge in the formula, enclose the formula of the polyatomic ion in parentheses and write the proper numerical subscript to the right and outside the parentheses. Thus, the formula between calcium ions, Ca2+, and nitrate ions, NO3, is properly written Ca(NO3)2, not CaNO32 or CaN2O6. In our course, I encourage you to keep your polyatomics insides parentheses at all times. Refer back to your rules for writing ionic formulas.

    Example \(\PageIndex{4}\):

    After writing these formulas, watch your instructor teach more examples of this concept by clicking on this link.

    1. ammonium sulfide
    2. aluminum phosphate
    3. iron II phosphite
    Solution
    1. Ammonium is a polyatomic ion (cation). These species will go first in the formula. Take ammonium (NH4)+ and combine it with sulfide S2-(ide = periodic table, except for hydroxide/cyanide). While keeping the polyatomic formula within parentheses, cross the ion charges down and lose signs. The resulting formula will be (NH4)2S.
    2. Aluminum is Al3+ and phosphate is (PO4)3-. While keeping the polyatomic ion inside parentheses, cross charges down and reduce subscripts outside. The final formula for the compound will be Al(PO4). For more advanced chemistry courses, students are encouraged to drop the parentheses if a subscript is not present once charges have been crossed down. I am fine with you always keeping parentheses.
    3. Transition metal charges (except for silver and zinc) will always be noted by a Roman numeral. This charge is always positive for the metal ion. Place this charge to the top right corner of the metal atom, Fe2+. Next, recall that phosphite is the polyatomic, (PO3)3-. Cross the charges down diagonally and keep the polyatomic inside the parentheses. The final result will be Fe3(PO3)2.
    Exercise \(\PageIndex{4}\)

    Write the formulas for the following ionic compounds:

    1. ammonium bicarbonate
    2. cobalt III nitrite
    3. lead IV oxide
    4. potassium hydroxide
    5. silver phosphide
    6. mercury I sulfite
    Answer a

    \(\ce{(NH4)(HCO3)}\), there are no numbers outside the parentheses so you could write \(\ce{NH4HCO3}\) for the answer. Do not combine the hydrogen atoms in the formula.

    Answer b

    \(\ce{Co(NO2)3}\), the parentheses must be kept for this answer.

    Answer c

    \(\ce{PbO2}\), after the charges have been crossed, subscripts must be reduced by the division of common factor

    Answer d

    \(\ce{K(OH)}\), you could drop ()

    Answer e

    \(\ce{Ag3P}\), phosphide is from the periodic table, not the polyatomic table. Know your endings!!

    Answer f

    \(\ce{Hg2(SO3)}\), you could drop ()

    Key Takeaways

    • Ions form when atoms lose or gain electrons.
    • Ionic compounds have positive ions and negative ions.
    • Ionic formulas balance the total positive and negative charges.

    Contributors and Attributions


    This page titled 7.3.1: Ionic Formula Writing is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Elizabeth Gordon.