Skip to main content
Chemistry LibreTexts

3.3: Composition of Chemical Compounds

  • Page ID
    13788
  • \( \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}}\)

    \[2\times(1.0079\;amu) + 1 \times (15.9994 \;amu) = 18.01528 \;amu\]

    If a substance exists as discrete molecules (as with atoms that are chemically bonded together) then the chemical formula is the molecular formula, and the formula weight is the molecular weight. For example, carbon, hydrogen and oxygen can chemically bond to form a molecule of the sugar glucose with the chemical and molecular formula of C6H12O6. The formula weight and the molecular weight of glucose is thus:

    \[6\times(12\; amu) + 12\times(1.00794\; amu) + 6\times(15.9994\; amu) = 180.0 \;amu\]

    Ionic substances are not chemically bonded and do not exist as discrete molecules. However, they do associate in discrete ratios of ions. Thus, we can describe their formula weights, but not their molecular weights. Table salt (NaCl), for example, has a formula weight of:

    \[23.0\; amu + 35.5 \;amu = 58.5 \;amu\]

    Percentage Composition from Formulas

    In some types of analyses of it is important to know the percentage by mass of each type of element in a compound. The law of definite proportions states that a chemical compound always contains the same proportion of elements by mass; that is, the percent composition—the percentage of each element present in a pure substance—is constant (although there are exceptions to this law). Take for example methane (\(CH_4\)) with a Formula and molecular weight:

    \[1\times (12.011 \;amu) + 4 \times (1.008) = 16.043 \;amu\]

    the relative (mass) percentages of carbon and hydrogen are

    \[\%C = \dfrac{1 \times (12.011\; amu)}{16.043 amu} = 0.749 = 74.9\%\]

    \[\%H = \dfrac{4 \times (1.008 \;amu)}{16.043\; amu} = 0.251 = 25.1\%\]

    A more complex example is sucrose (table sugar) is 42.11% carbon, 6.48% hydrogen, and 51.41% oxygen by mass. This means that 100.00 g of sucrose always contains 42.11 g of carbon, 6.48 g of hydrogen, and 51.41 g of oxygen. First the molecular formula of sucrose (C12H22O11) is used to calculate the mass percentage of the component elements; the mass percentage can then be used to determine an empirical formula.

    According to its molecular formula, each molecule of sucrose contains 12 carbon atoms, 22 hydrogen atoms, and 11 oxygen atoms. A mole of sucrose molecules therefore contains 12 mol of carbon atoms, 22 mol of hydrogen atoms, and 11 mol of oxygen atoms. This information can be used to calculate the mass of each element in 1 mol of sucrose, which gives the molar mass of sucrose. These masses can then be used to calculate the percent composition of sucrose. To three decimal places, the calculations are the following:

    \[ \text {mass of C/mol of sucrose} = 12 \, mol \, C \times {12.011 \, g \, C \over 1 \, mol \, C} = 144.132 \, g \, C \label{3.3.1a}\]

    \[ \text {mass of H/mol of sucrose} = 22 \, mol \, H \times {1.008 \, g \, H \over 1 \, mol \, H} = 22.176 \, g \, C \label{3.3.1b}\]

    \[ \text {mass of O/mol of sucrose} = 11 \, mol \, O \times {15.999 \, g \, O \over 1 \, mol \, O} = 175.989 \, g \, O \label{3.3.1c}\]

    Thus 1 mol of sucrose has a mass of 342.297 g; note that more than half of the mass (175.989 g) is oxygen, and almost half of the mass (144.132 g) is carbon.

    The mass percentage of each element in sucrose is the mass of the element present in 1 mol of sucrose divided by the molar mass of sucrose, multiplied by 100 to give a percentage. The result is shown to two decimal places:

    \[ \text {mass % C in Sucrose} = {\text {mass of C/mol sucrose} \over \text {molar mass of sucrose} } \times100 = {144.132 \, g \, C \over 342.297 \, g/mol } \times 100 = 42.12 \% \]

    \[ \text {mass % H in Sucrose} = {\text {mass of H/mol sucrose} \over \text {molar mass of sucrose} } \times100 = {22.176 \, g \, H \over 342.297 \, g/mol } \times 100 = 6.48 \% \]

    \[ \text {mass % O in Sucrose} = {\text {mass of O/mol sucrose} \over \text {molar mass of sucrose} } \times100 = {175.989 \, g \, O \over 342.297 \, g/mol } \times 100 = 51.41 \% \]

    This can be checked by verifying that the sum of the percentages of all the elements in the compound is 100%:

    \[ 42.12\% + 6.48\% + 51.41\% = 100.01\%\]

    If the sum is not 100%, an error has been made in calculations. (Rounding to the correct number of decimal places can, however, cause the total to be slightly different from 100%.) Thus 100.00 g of sucrose contains 42.12 g of carbon, 6.48 g of hydrogen, and 51.41 g of oxygen; to two decimal places, the percent composition of sucrose is indeed 42.12% carbon, 6.48% hydrogen, and 51.41% oxygen.

    d59e0a50a4d588e2e662c9694ade7155.jpg
    Figure \(\PageIndex{1}\): Percent and absolute composition of sucrose

    It is also possible to calculate mass percentages using atomic masses and molecular masses, with atomic mass units. Because the answer is a ratio, expressed as a percentage, the units of mass cancel whether they are grams (using molar masses) or atomic mass units (using atomic and molecular masses).

    Example \(\PageIndex{1}\)

    Aspartame is the artificial sweetener sold as NutraSweet and Equal. Its molecular formula is C14H18N2O5.

    ddf03d4083033d5552e6dfc4b05c359e.jpg
    1. Calculate the mass percentage of each element in aspartame.
    2. Calculate the mass of carbon in a 1.00 g packet of Equal, assuming it is pure aspartame.

    Given: molecular formula and mass of sample

    Asked for: mass percentage of all elements and mass of one element in sample

    Strategy:

    1. Use atomic masses from the periodic table to calculate the molar mass of aspartame.
    2. Divide the mass of each element by the molar mass of aspartame; then multiply by 100 to obtain percentages.
    3. To find the mass of an element contained in a given mass of aspartame, multiply the mass of aspartame by the mass percentage of that element, expressed as a decimal.

    Solution:

    a.

    A We calculate the mass of each element in 1 mol of aspartame and the molar mass of aspartame, here to three decimal places:

    \[ 14 \,C (14 \, mol \, C)(12.011 \, g/mol \, C) = 168.154 \, g\]

    \[ 18 \,H (18 \, mol \, H)(1.008 \, g/mol \, H) = 18.114 \, g\]

    \[ 2 \,N (2 \, mol \, N)(14.007 \, g/mol \, N) = 28.014 \, g\]

    \[ +5 \,O (5 \, mol \, O)(15.999 \, g/mol \, O) = 79.995 \, g\]

    \[C_{14}H_{18}N_2O_5 \text {molar mass of aspartame} = 294.277 \, g/mol \]

    Thus more than half the mass of 1 mol of aspartame (294.277 g) is carbon (168.154 g).

    B To calculate the mass percentage of each element, we divide the mass of each element in the compound by the molar mass of aspartame and then multiply by 100 to obtain percentages, here reported to two decimal places:

    \[ mass \% \, C = {168.154 \, g \, C \over 294.277 \, g \, aspartame } \times 100 = 57.14 \% C\]

    \[ mass \% \, H = {18.114 \, g \, H \over 294.277 \, g \, aspartame } \times 100 = 6.16 \% H\]

    \[ mass \% \, N = {28.014 \, g \, N \over 294.277 \, g \, aspartame } \times 100 = 9.52 \% \]

    \[ mass \% \, O = {79.995 \, g \, O \over 294.277 \, g \, aspartame } \times 100 = 27.18 \% \]

    As a check, we can add the percentages together:

    \[ 57.14\% + 6.16\% + 9.52\% + 27.18\% = 100.00\% \]

    If you obtain a total that differs from 100% by more than about ±1%, there must be an error somewhere in the calculation.

    b. C The mass of carbon in 1.00 g of aspartame is calculated as follows:

    \[ \text {mass of C} = 1.00 \, g \, aspartame \times {57.14 \, g \, C \over 100 \, g \, aspartame } = 0.571 \, g \, C \]

    Exercise \(\PageIndex{1}\): Aluminum Oxide

    Calculate the mass percentage of each element in aluminum oxide (Al2O3). Then calculate the mass of aluminum in a 3.62 g sample of pure aluminum oxide.

    Answer: 52.93% aluminum; 47.08% oxygen; 1.92 g Al

    Percent Composition: https://youtu.be/HNS6lItns10

    Determining the Empirical Formula of Penicillin

    Just as the empirical formula of a substance can be used to determine its percent composition, the percent composition of a sample can be used to determine its empirical formula, which can then be used to determine its molecular formula. Such a procedure was actually used to determine the empirical and molecular formulas of the first antibiotic to be discovered: penicillin.

    Antibiotics are chemical compounds that selectively kill microorganisms, many of which cause diseases. Although antibiotics are often taken for granted today, penicillin was discovered only about 80 years ago. The subsequent development of a wide array of other antibiotics for treating many common diseases has contributed greatly to the substantial increase in life expectancy over the past 50 years. The discovery of penicillin is a historical detective story in which the use of mass percentages to determine empirical formulas played a key role.

    In 1928, Alexander Fleming, a young microbiologist at the University of London, was working with a common bacterium that causes boils and other infections such as blood poisoning. For laboratory study, bacteria are commonly grown on the surface of a nutrient-containing gel in small, flat culture dishes. One day Fleming noticed that one of his cultures was contaminated by a bluish-green mold similar to the mold found on spoiled bread or fruit. Such accidents are rather common, and most laboratory workers would have simply thrown the cultures away. Fleming noticed, however, that the bacteria were growing everywhere on the gel except near the contaminating mold (part (a) in Figure \(\PageIndex{2}\)), and he hypothesized that the mold must be producing a substance that either killed the bacteria or prevented their growth. To test this hypothesis, he grew the mold in a liquid and then filtered the liquid and added it to various bacteria cultures. The liquid killed not only the bacteria Fleming had originally been studying but also a wide range of other disease-causing bacteria. Because the mold was a member of the Penicillium family (named for their pencil-shaped branches under the microscope) (part (b) in Figure \(\PageIndex{2}\)), Fleming called the active ingredient in the broth penicillin.

    5ab6694188604c7969842f4a14045c42.jpg
    Figure \(\PageIndex{2}\) Penicillium. (a) Penicillium mold is growing in a culture dish; the photo shows its effect on bacterial growth. (b) In this photomicrograph of Penicillium, its rod- and pencil-shaped branches are visible. The name comes from the Latin penicillus, meaning “paintbrush.”

    Although Fleming was unable to isolate penicillin in pure form, the medical importance of his discovery stimulated researchers in other laboratories. Finally, in 1940, two chemists at Oxford University, Howard Florey (1898–1968) and Ernst Chain (1906–1979), were able to isolate an active product, which they called penicillin G. Within three years, penicillin G was in widespread use for treating pneumonia, gangrene, gonorrhea, and other diseases, and its use greatly increased the survival rate of wounded soldiers in World War II. As a result of their work, Fleming, Florey, and Chain shared the Nobel Prize in Medicine in 1945.

    As soon as they had succeeded in isolating pure penicillin G, Florey and Chain subjected the compound to a procedure called combustion analysis (described later in this section) to determine what elements were present and in what quantities. The results of such analyses are usually reported as mass percentages. They discovered that a typical sample of penicillin G contains 53.9% carbon, 4.8% hydrogen, 7.9% nitrogen, 9.0% sulfur, and 6.5% sodium by mass. The sum of these numbers is only 82.1%, rather than 100.0%, which implies that there must be one or more additional elements. A reasonable candidate is oxygen, which is a common component of compounds that contain carbon and hydrogen; do not assume that the “missing” mass is always due to oxygen. It could be any other element. For technical reasons, however, it is difficult to analyze for oxygen directly. Assuming that all the missing mass is due to oxygen, then penicillin G contains (100.0% − 82.1%) = 17.9% oxygen. From these mass percentages, the empirical formula and eventually the molecular formula of the compound can be determined.

    To determine the empirical formula from the mass percentages of the elements in a compound such as penicillin G, the mass percentages must be converted to relative numbers of atoms. For convenience, assume a 100.0 g sample of the compound, even though the sizes of samples used for analyses are generally much smaller, usually in milligrams. This assumption simplifies the arithmetic because a 53.9% mass percentage of carbon corresponds to 53.9 g of carbon in a 100.0 g sample of penicillin G; likewise, 4.8% hydrogen corresponds to 4.8 g of hydrogen in 100.0 g of penicillin G; and so forth for the other elements. Each mass is then divided by the molar mass of the element to determine how many moles of each element are present in the 100.0 g sample:

    \[ { mass \, (g) \over molar \,\, mass \,\, (g/mol)} = (g) \left ({mol \over g } \right ) = mol \label{3.3.2a}\]

    \[ 53.9 \, g \, C \left ({1 \, mol \, C \over 12.011 \, g \, C} \right ) = 4.49 \, mol \, C \label{3.3.2b}\]

    \[ 4.8 \, g \, H \left ({1 \, mol \, H \over 1.008 g \, H} \right ) = 4.8 \, mol \, H \label{3.3.2c}\]

    \[ 7.9 \, g \, N \left ({1 \, mol \, N \over 14.007 \, g \, N} \right ) = 0.56 \, mol \, N \label{3.3.2d}\]

    \[ 9 \, g \, S \left ({1 \, mol \, S \over 32.065 \, g \, S} \right ) = 0.28 \, mol \, S \label{3.3.2e}\]

    \[ 6.5 \, g \, Na \left ({1 \, mol \, Na \over 22.990 \, g \, Na} \right ) = 0.28 \, mol \, Na \label{3.3.2f}\]

    Thus 100.0 g of penicillin G contains 4.49 mol of carbon, 4.8 mol of hydrogen, 0.56 mol of nitrogen, 0.28 mol of sulfur, 0.28 mol of sodium, and 1.12 mol of oxygen (assuming that all the missing mass was oxygen). The number of significant figures in the numbers of moles of elements varies between two and three because some of the analytical data were reported to only two significant figures.

    These results give the ratios of the moles of the various elements in the sample (4.49 mol of carbon to 4.8 mol of hydrogen to 0.56 mol of nitrogen, and so forth), but they are not the whole-number ratios needed for the empirical formula—the empirical formula expresses the relative numbers of atoms in the smallest whole numbers possible. To obtain whole numbers, divide the numbers of moles of all the elements in the sample by the number of moles of the element present in the lowest relative amount, which in this example is sulfur or sodium. The results will be the subscripts of the elements in the empirical formula. To two significant figures, the results are as follows:

    \[C: {4.49 \over 0.28} = 16 \, \, \, \, \, H: {4.8 \over 0.28} = 17 \, \, \, \, \, N: {0.56 \over 0.28} = 2.0 \label{3.3.3a}\]

    \[S: {0.28 \over 0.28 } = 1.0 \, \, \, \, \, Na: {0.28 \over 0.28 } = 1.0 \, \, \, \, \, O: {1.12 \over 0.28} = 4.0 \label{3.3.3b}\]

    The empirical formula of penicillin G is therefore C16H17N2NaO4S. Other experiments have shown that penicillin G is actually an ionic compound that contains Na+ cations and [C16H17N2O4S] anions in a 1:1 ratio. The complex structure of penicillin G (Figure \(\PageIndex{3}\)) was not determined until 1948.

    Slide1.PNG
    Figure \(\PageIndex{3}\) Structural Formula and Ball-and-Stick Model of the Anion of Penicillin G

    In some cases, one or more of the subscripts in a formula calculated using this procedure may not be integers. Does this mean that the compound of interest contains a nonintegral number of atoms? No; rounding errors in the calculations as well as experimental errors in the data can result in nonintegral ratios. When this happens, judgment must be exercised in interpreting the results, as illustrated in Example 6. In particular, ratios of 1.50, 1.33, or 1.25 suggest that you should multiply all subscripts in the formula by 2, 3, or 4, respectively. Only if the ratio is within 5% of an integral value should one consider rounding to the nearest integer.

    Example \(\PageIndex{2}\): Calcium Phosphate in Toothpaste

    Calculate the empirical formula of the ionic compound calcium phosphate, a major component of fertilizer and a polishing agent in toothpastes. Elemental analysis indicates that it contains 38.77% calcium, 19.97% phosphorus, and 41.27% oxygen.

    Given: percent composition

    Asked for: empirical formula

    Strategy:

    1. Assume a 100 g sample and calculate the number of moles of each element in that sample.
    2. Obtain the relative numbers of atoms of each element in the compound by dividing the number of moles of each element in the 100 g sample by the number of moles of the element present in the smallest amount.
    3. If the ratios are not integers, multiply all subscripts by the same number to give integral values.
    4. Because this is an ionic compound, identify the anion and cation and write the formula so that the charges balance.

    Solution:

    A A 100 g sample of calcium phosphate contains 38.77 g of calcium, 19.97 g of phosphorus, and 41.27 g of oxygen. Dividing the mass of each element in the 100 g sample by its molar mass gives the number of moles of each element in the sample:

    \[ \text {moles Ca} = 38.77 \, g \, Ca \times {1 \, mol \, Ca \over 40.078 \, g \, Ca} = 0.9674 \, mol \, Ca\]

    \[ \text {moles P} = 19.97 \, g \, P \times {1 \, mol \, P \over 30.9738 \, g \, P} = 0.6447 \, mol \, Ca\]

    \[ \text {moles O} = 41.27 \, g \, O \times {1 \, mol \, O \over 15.9994 \, g \, O} = 2.5800 \, mol \, O\]

    B To obtain the relative numbers of atoms of each element in the compound, divide the number of moles of each element in the 100-g sample by the number of moles of the element in the smallest amount, in this case phosphorus:

    \[P: {0.6447 \, mol\, P \over 0.6447 \, mol\, P} = 1.000 \, \, \, \, Ca: {0.9674 \over 0.6447} = 1.501\, \, \, \, O: {2.5800\over 0.6447}= 4.002\]

    C We could write the empirical formula of calcium phosphate as Ca1.501P1.000O4.002, but the empirical formula should show the ratios of the elements as small whole numbers. To convert the result to integral form, multiply all the subscripts by 2 to get Ca3.002P2.000O8.004. The deviation from integral atomic ratios is small and can be attributed to minor experimental errors; therefore, the empirical formula is Ca3P2O8.

    D The calcium ion (Ca2+) is a cation, so to maintain electrical neutrality, phosphorus and oxygen must form a polyatomic anion. We know from Chapter 2 that phosphorus and oxygen form the phosphate ion (PO43; see Table 2.4). Because there are two phosphorus atoms in the empirical formula, two phosphate ions must be present. So we write the formula of calcium phosphate as Ca3(PO4)2.

    Exercise \(\PageIndex{2}\): Oklahoma City Bombing

    Calculate the empirical formula of ammonium nitrate, an ionic compound that contains 35.00% nitrogen, 5.04% hydrogen, and 59.96% oxygen by mass. Although ammonium nitrate is widely used as a fertilizer, it can be dangerously explosive. For example, it was a major component of the explosive used in the 1995 Oklahoma City bombing.

    oklahoma-city-bombing.jpg

    The Alfred P. Murrah Federal Building destroyed in the Oklahoma City bombing via chemical explosives (rapid chemical reactions that generate massive quantities of gases).

    Answer

    N2H4O3 is NH4+NO3, written as NH4NO3

    Determining Empirical and Molecular Formulas from % Composition: https://youtu.be/E-MxBYw1TSI

    From Empirical Formula to Molecular Formula

    The empirical formula gives only the relative numbers of atoms in a substance in the smallest possible ratio. For a covalent substance, chemists are usually more interested in the molecular formula, which gives the actual number of atoms of each kind present per molecule. Without additional information, however, it is impossible to know whether the formula of penicillin G, for example, is C16H17N2NaO4S or an integral multiple, such as C32H34N4Na2O8S2, C48H51N6Na3O12S3, or (C16H17N2NaO4S)n, where n is an integer. (The actual structure of penicillin G is shown in Figure \(\PageIndex{3}\)).

    Consider glucose, the sugar that circulates in our blood to provide fuel for the body and brain. Results from combustion analysis of glucose report that glucose contains 39.68% carbon and 6.58% hydrogen. Because combustion occurs in the presence of oxygen, it is impossible to directly determine the percentage of oxygen in a compound by using combustion analysis; other more complex methods are necessary. Assuming that the remaining percentage is due to oxygen, then glucose would contain 53.79% oxygen. A 100.0 g sample of glucose would therefore contain 39.68 g of carbon, 6.58 g of hydrogen, and 53.79 g of oxygen. To calculate the number of moles of each element in the 100.0 g sample, divide the mass of each element by its molar mass:

    \[ moles \, C = 39.68 \, g \, C \times {1 \, mol \, C \over 12.011 \, g \, C } = 3.304 \, mol \, C \label{3.3.4a}\]

    \[ moles \, H = 6.58 \, g \, H \times {1 \, mol \, H \over 1.0079 \, g \, H } = 6.53 \, mol \, H \label{3.3.4b}\]

    \[ moles \, O = 53.79 \, g \, O \times {1 \, mol \, O \over 15.9994 \, g \, O } = 3.362 \, mol \, O \label{3.3.4c} \]

    Once again, the subscripts of the elements in the empirical formula are found by dividing the number of moles of each element by the number of moles of the element present in the smallest amount:

    \[ C: {3.304 \over 3.304} = 1.000 \, \, \, \, H: {6.53 \over 3.304} = 1.98 \, \, \, \, O: {3.362 \over 3.304} = 1.018 \]

    The oxygen:carbon ratio is 1.018, or approximately 1, and the hydrogen:carbon ratio is approximately 2. The empirical formula of glucose is therefore CH2O, but what is its molecular formula?

    Many known compounds have the empirical formula CH2O, including formaldehyde, which is used to preserve biological specimens and has properties that are very different from the sugar circulating in the blood. At this point, it cannot be known whether glucose is CH2O, C2H4O2, or any other (CH2O)n. However, the experimentally determined molar mass of glucose (180 g/mol) can be used to resolve this dilemma.

    First, calculate the formula mass, the molar mass of the formula unit, which is the sum of the atomic masses of the elements in the empirical formula multiplied by their respective subscripts. For glucose,

    \[ \text {formula mass of} CH_2O = \left [ 1 \, mol C \left ( {12.011 \, g \over 1 \, mol \, C} \right ) \right ] + \left [ 2 \, mol \, H \left ({1.0079 \, g \over 1 \, mol \, H }\right )\right ] + \left [ 1 \, mole \, O \left ( {15.5994 \, mol \, O \over 1 \, mol \, O} \right ) \right ] = 30.026 g \label{3.3.5}\]

    This is much smaller than the observed molar mass of 180 g/mol.

    Second, determine the number of formula units per mole. For glucose, calculate the number of (CH2O) units—that is, the n in (CH2O)n—by dividing the molar mass of glucose by the formula mass of CH2O:

    \[n={180 \, g \over 30.026\, g/CH_2O} = 5.99 \approx 6 CH_2O \, \text {formula units} \label{3.3.6}\]

    Each glucose contains six CH2O formula units, which gives a molecular formula for glucose of (CH2O)6, which is more commonly written as C6H12O6. The molecular structures of formaldehyde and glucose, both of which have the empirical formula CH2O, are shown in Figure \(\PageIndex{4}\).

    aac0c9656d3053e560984fee2ea76287.jpg
    Figure \(\PageIndex{4}\) Structural Formulas and Ball-and-Stick Models of (a) Formaldehyde and (b) Glucose
    Example \(\PageIndex{3}\): Caffeine

    Calculate the molecular formula of caffeine, a compound found in coffee, tea, and cola drinks that has a marked stimulatory effect on mammals. The chemical analysis of caffeine shows that it contains 49.18% carbon, 5.39% hydrogen, 28.65% nitrogen, and 16.68% oxygen by mass, and its experimentally determined molar mass is 196 g/mol.

    Given: percent composition and molar mass

    Asked for: molecular formula

    Strategy:

    1. Assume 100 g of caffeine. From the percentages given, use the procedure given in Example 6 to calculate the empirical formula of caffeine.
    2. Calculate the formula mass and then divide the experimentally determined molar mass by the formula mass. This gives the number of formula units present.
    3. Multiply each subscript in the empirical formula by the number of formula units to give the molecular formula.

    Solution:

    A We begin by dividing the mass of each element in 100.0 g of caffeine (49.18 g of carbon, 5.39 g of hydrogen, 28.65 g of nitrogen, 16.68 g of oxygen) by its molar mass. This gives the number of moles of each element in 100 g of caffeine.

    \[ moles \, C = 49.18 \, g \, C \times {1 \, mol \, C \over 12.011 \, g \, C} = 4.095 \, mol \, C \]

    \[ moles \, H = 5.39 \, g \, H \times {1 \, mol \, H \over 1.0079 \, g \, H} = 5.35 \, mol \, H \]

    \[ moles \, N = 28.65 \, g \, N \times {1 \, mol \, N \over 14.0067 \, g \, N} = 2.045 \, mol \, N \]

    \[ moles \, O = 16.68 \, g \, O \times {1 \, mol \, O \over 15.9994 \, g \, O} = 1.043 \, mol \, O \]

    To obtain the relative numbers of atoms of each element present, divide the number of moles of each element by the number of moles of the element present in the least amount:

    \[O: {1.043 \over 1.043} = 1.000 \, \, \, \, C: {4.095 \over 1.043} = 3.926 \, \, \, \, H: {5.35 \over 1.043} = 5.13 \, \, \, \, N: {2.045 \over 1.043} = 1.960 \]

    These results are fairly typical of actual experimental data. None of the atomic ratios is exactly integral but all are within 5% of integral values. Just as in Example 6, it is reasonable to assume that such small deviations from integral values are due to minor experimental errors, so round to the nearest integer. The empirical formula of caffeine is thus C4H5N2O.

    B The molecular formula of caffeine could be C4H5N2O, but it could also be any integral multiple of this. To determine the actual molecular formula, we must divide the experimentally determined molar mass by the formula mass. The formula mass is calculated as follows:

    \[ 4C \, \, \, ( 4 \, atoms \, C) (12.011 \, g/ atom \, C) = 48.044 \, g \]

    \[ 5H \, \, \, ( 5 \, atoms \, H ) (1.0079 \, g/ atom \, H) = 5.0395 \, g \]

    \[ 2N \, \, \, (2 \, atoms \, N) (14.0067 \, g/ atom \, N) = 28.0134 \, g \]

    \[ +1O \, \, \, (1 \, atom \, O) (15.9994 \, g/ atom \, O) = 15.9994 \, g \]

    \[ C_4H_5N_2O \, \, \, \, \text {formula mass of caffeine} = 97.096 \, g \]

    Dividing the measured molar mass of caffeine (196 g/mol) by the calculated formula mass gives

    \[ {196 g/mol \over 97.096 g/C_4H_5N_2O } = 2.02 \approx 2\, C_4H_5N_2O \, \text {empirical formula units} \]

    C There are two C4H5N2O formula units in caffeine, so the molecular formula must be (C4H5N2O)2 = C8H10N4O2. The structure of caffeine is as follows:

    793192366898bcf5349e586062e78614.jpg
    Exercise \(\PageIndex{3}\): Freon-114

    Calculate the molecular formula of Freon-114, which has 13.85% carbon, 41.89% chlorine, and 44.06% fluorine. The experimentally measured molar mass of this compound is 171 g/mol. Like Freon-11, Freon-114 is a commonly used refrigerant that has been implicated in the destruction of the ozone layer.

    DuPont_freon.jpg

    Answer:

    \[C_2Cl_2F_4\]

    Combustion Analysis

    One of the most common ways to determine the elemental composition of an unknown hydrocarbon is an analytical procedure called combustion analysis. A small, carefully weighed sample of an unknown compound that may contain carbon, hydrogen, nitrogen, and/or sulfur is burned in an oxygen atmosphere,Other elements, such as metals, can be determined by other methods. and the quantities of the resulting gaseous products (CO2, H2O, N2, and SO2, respectively) are determined by one of several possible methods. One procedure used in combustion analysis is outlined schematically in Figure \(\PageIndex{5}\) and a typical combustion analysis is illustrated in Example \(\PageIndex{4}\).

    e7a2fd610337d8fac02ee8b74600b372.jpg
    Figure \(\PageIndex{5}\): Steps for Obtaining an Empirical Formula from Combustion Analysis
    Example \(\PageIndex{4}\)

    Naphthalene, the active ingredient in one variety of mothballs, is an organic compound that contains carbon and hydrogen only. Complete combustion of a 20.10 mg sample of naphthalene in oxygen yielded 69.00 mg of CO2 and 11.30 mg of H2O. Determine the empirical formula of naphthalene.

    Given: mass of sample and mass of combustion products

    Asked for: empirical formula

    Strategy:

    1. Use the masses and molar masses of the combustion products, CO2 and H2O, to calculate the masses of carbon and hydrogen present in the original sample of naphthalene.
    2. Use those masses and the molar masses of the elements to calculate the empirical formula of naphthalene.

    Solution:

    A Upon combustion, 1 mol of CO2 is produced for each mole of carbon atoms in the original sample. Similarly, 1 mol of H2O is produced for every 2 mol of hydrogen atoms present in the sample. The masses of carbon and hydrogen in the original sample can be calculated from these ratios, the masses of CO2 and H2O, and their molar masses. Because the units of molar mass are grams per mole, we must first convert the masses from milligrams to grams:

    \[ mass \, of \, C = 69.00 \, mg \, CO_2 \times {1 \, g \over 1000 \, mg } \times {1 \, mol \, CO_2 \over 44.010 \, g \, CO_2} \times {1 \, mol C \over 1 \, mol \, CO_2 } \times {12.011 \,g \over 1 \, mol \, C} \]

    \[ = 1.883 \times 10^{-2} \, g \, C \]

    \[ mass \, of \, H = 11.30 \, mg \, H_2O \times {1 \, g \over 1000 \, mg } \times {1 \, mol \, H_2O \over 18.015 \, g \, H_2O} \times {2 \, mol H \over 1 \, mol \, H_2O } \times {1.0079 \,g \over 1 \, mol \, H} \]

    \[ = 1.264 \times 10^{-3} \, g \, H \]

    B To obtain the relative numbers of atoms of both elements present, we need to calculate the number of moles of each and divide by the number of moles of the element present in the smallest amount:

    \[ moles \, C = 1.883 \times 10^{-2} \,g \, C \times {1 \, mol \, C \over 12.011 \, g \, C} = 1.568 \times 10^{-3} \, mol C \]

    \[ moles \, H = 1.264 \times 10^{-3} \,g \, H \times {1 \, mol \, H \over 1.0079 \, g \, H} = 1.254 \times 10^{-3} \, mol H \]

    Dividing each number by the number of moles of the element present in the smaller amount gives

    \[H: {1.254\times 10^{−3} \over 1.254 \times 10^{−3}} = 1.000 \, \, \, C: {1.568 \times 10^{−3} \over 1.254 \times 10^{−3}}= 1.250\]

    Thus naphthalene contains a 1.25:1 ratio of moles of carbon to moles of hydrogen: C1.25H1.0. Because the ratios of the elements in the empirical formula must be expressed as small whole numbers, multiply both subscripts by 4, which gives C5H4 as the empirical formula of naphthalene. In fact, the molecular formula of naphthalene is C10H8, which is consistent with our results.

    Exercise \(\PageIndex{4}\)
    1. Xylene, an organic compound that is a major component of many gasoline blends, contains carbon and hydrogen only. Complete combustion of a 17.12 mg sample of xylene in oxygen yielded 56.77 mg of CO2 and 14.53 mg of H2O. Determine the empirical formula of xylene.
    2. The empirical formula of benzene is CH (its molecular formula is C6H6). If 10.00 mg of benzene is subjected to combustion analysis, what mass of CO2 and H2O will be produced?

    Answer:

    1. The empirical formula is C4H5. (The molecular formula of xylene is actually C8H10.)
    2. 33.81 mg of CO2; 6.92 mg of H2O

    Summary

    • The empirical formula of a substance can be calculated from its percent composition, and the molecular formula can be determined from the empirical formula and the compound’s molar mass.

    The empirical formula of a substance can be calculated from the experimentally determined percent composition, the percentage of each element present in a pure substance by mass. In many cases, these percentages can be determined by combustion analysis. If the molar mass of the compound is known, the molecular formula can be determined from the empirical formula.

    Contributors and Attributions

    • Anonymous

    Mike Blaber (Florida State University)


    3.3: Composition of Chemical 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?