Skip to main content
Chemistry LibreTexts

5.3: Chemical Formulas- How to Represent Compounds

  • Page ID
    48590
  • \( \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
    • Determine the number of different atoms in a formula.
    • Define chemical formula, molecular formula, and empirical formula.

    A chemical formula is an expression that shows the elements in a compound and the relative proportions of those elements. Water is composed of hydrogen and oxygen in a 2:1 ratio. The chemical formula for water is \(\ce{H_2O}\). Sulfuric acid is one of the most widely produced chemicals in the United States and is composed of the elements hydrogen, sulfur, and oxygen. The chemical formula for sulfuric acid is \(\ce{H_2SO_4}\).

    Certain groups of atoms are bonded together to form what is called a polyatomic ion that acts as a single unit. Polyatomic ions are discussed in more detail in Section 5.5. Polyatomic ions are enclosed in parenthesis followed by a subscript if more than one of the same ion exist in a chemical formula. The formula \(\ce{Ca3(PO4)2}\) represents a compound with the following:

    3 Ca atoms + 2 PO43- ions

    To count the total number of atoms for formulas with polyatomic ions enclosed in parenthesis, use the subscript as a multiplier for each atom or number of atoms.

    Ca3(PO4)2

    3 Ca + 2 x1 P + 2 x 4 O = 3 Ca atoms + 2 P atoms + 8 O atoms

    Molecular Formula

    A molecular formula is a chemical formula of a molecular compound that shows the kinds and numbers of atoms present in a molecule of the compound. Ammonia is a compound of nitrogen and hydrogen as shown below:

    CK12 Screenshot 7-1-1.png
    Figure \(\PageIndex{1}\): The molecular formula for ammonia. NH3. There is one atom of nitrogen and 3 atoms of hydrogen in a molecule of ammonia.

    Note from the example that there are some standard rules to follow in writing molecular formulas. The arrangements of the elements depend on the particular structure, which is not of concern at this point. The number of atoms of each kind is indicated by a subscript following the atom. If there is only one atom, no number is written. If there is more than one atom of a specific kind, the number is written as a subscript following the atom. We would not write \(\ce{N_3H}\) for ammonia, because that would mean that there are three nitrogen atoms and one hydrogen atom in the molecule, which is incorrect.

    Empirical Formula

    An empirical formula is a formula that shows the elements in a compound in their lowest whole-number ratio. Glucose is an important simple sugar that cells use as their primary source of energy. Its molecular formula is \(\ce{C_6H_{12}O_6}\). Since each of the subscripts is divisible by 6, the empirical formula for glucose is \(\ce{CH_2O}\). When chemists analyze an unknown compound, often the first step is to determine its empirical formula.

    • molecular formula: \(\ce{C_6H_{12}O_6}\)
    • empirical formula: \(\ce{CH_2O}\)

    There are a great many compounds whose molecular and empirical formulas are the same. If the molecular formula cannot be simplified into a smaller whole-number ratio, as in the case of \(\ce{H_2O}\) or \(\ce{P_2O_5}\), then the empirical formula is also the molecular formula.

    Summary

    • A chemical formula is an expression that shows the elements in a compound and the relative proportions of those elements.
    • If only one atom of a specific type is present, no subscript is used.
    • For atoms that have two or more of a specific type of atom present, a subscript is written after the symbol for that atom.
    • Polyatomic ions in chemical formulas are enclosed in parentheses followed by a subscript if more than one of the same type of polyatomic ion exist.
    • Molecular formulas do not indicate how the atoms are arranged in the molecule.
    • The empirical formula tells the lowest whole-number ratio of elements in a compound. The empirical formula does not show the actual number of atoms.

    5.3: Chemical Formulas- How to Represent Compounds is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?