Skip to main content
Chemistry LibreTexts

2.7: Composition of Compounds

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


    Learning Objectives
    • To understand the definition and difference between empirical formulas and chemical formulas
    • To understand how combustion analysis can be used to identify chemical formulas

    Chemical formulas tell you how many atoms of each element are in a compound, and empirical formulas tell you the simplest or most reduced ratio of elements in a compound. If a compound's chemical formula cannot be reduced any more, then the empirical formula is the same as the chemical formula. Combustion analysis can determine the empirical formula of a compound, but cannot determine the chemical formula (other techniques can though). Once known, the chemical formula can be calculated from the empirical formula.

    Empirical Formulas

    An empirical formula tells us the relative ratios of different atoms in a compound. The ratios hold true on the molar level as well. Thus, H2O is composed of two atoms of hydrogen and 1 atom of oxygen. Likewise, 1.0 mole of H2O is composed of 2.0 moles of hydrogen and 1.0 mole of oxygen. We can also work backwards from molar ratios since if we know the molar amounts of each element in a compound we can determine the empirical formula.

    Example \(\PageIndex{1}\): Mercury Chloride

    Mercury forms a compound with chlorine that is 73.9% mercury and 26.1% chlorine by mass. What is the empirical formula?


    Let's say we had a 100 gram sample of this compound. The sample would therefore contain 73.9 grams of mercury and 26.1 grams of chlorine. How many moles of each atom do the individual masses represent?

    For Mercury:

    \[(73.9 \;g) \times \left(\dfrac{1\; mol}{200.59\; g}\right) = 0.368 \;moles \nonumber \]

    For Chlorine:

    \[(26.1\; g) \times \left(\dfrac{1\; mol}{35.45\; g}\right) = 0.736\; mol \nonumber \]

    What is the molar ratio between the two elements?

    \[\dfrac{0.736 \;mol \;Cl}{0.368\; mol\; Hg} = 2.0 \nonumber \]

    Thus, we have twice as many moles (i.e. atoms) of \(\ce{Cl}\) as \(\ce{Hg}\). The empirical formula would thus be (remember to list cation first, anion last):

    \[\ce{HgCl2} \nonumber \]

    Chemical Formula from Empirical Formula

    The chemical formula for a compound obtained by composition analysis is always the empirical formula. We can obtain the chemical formula from the empirical formula if we know the molecular weight of the compound. The chemical formula will always be some integer multiple of the empirical formula (i.e. integer multiples of the subscripts of the empirical formula). The general flow for this approach is shown in Figure \(\PageIndex{1}\) and demonstrated in Example \(\PageIndex{2}\).

    Figure \(\PageIndex{1}\): The general flow chart for solving empirical formulas from known mass percentages.
    Flowchart. From mass % elements, calculate the grams of each element. Then, use atomic weights to calculate the moles of each element. Then, assign empirical formula by calculating the molar ratio for each element.
    Example \(\PageIndex{2}\): Ascorbic Acid

    Vitamin C (ascorbic acid) contains 40.92 % C, 4.58 % H, and 54.50 % O, by mass. The experimentally determined molecular mass is 176 amu. What is the empirical and chemical formula for ascorbic acid?


    Consider an arbitrary amount of 100 grams of ascorbic acid, so we would have:

    • 40.92 grams C
    • 4.58 grams H
    • 54.50 grams O

    This would give us how many moles of each element?

    • Carbon

    \[ (40.92\; \cancel{g\; C}) \times \left( \dfrac{1\; mol\; C}{12.011\; \cancel{g\; C}} \right) = 3.407\; mol \; C \nonumber \]

    • Hydrogen

    \[ (4.58\; \cancel{g\; H}) \times \left( \dfrac{1\; mol\; H}{1.008\; \cancel{g\; H}} \right) = 4.544\; mol \;H \nonumber \]

    • Oxygen

    \[ (54.50\; \cancel{g\; O}) \times \left( \dfrac{1\; mol\; O}{15.999\; \cancel{g\; O}} \right) = 3.406\; mol \; O \nonumber \]

    Determine the simplest whole number ratio by dividing by the smallest molar amount (3.406 moles in this case - see oxygen):

    • Carbon

    \[ C= \dfrac{3.407\; mol}{3.406\; mol} \approx 1.0 \nonumber \]

    • Hydrogen

    \[ C= \dfrac{4.544\; mol}{3.406\; mol} = 1.333 \nonumber \]

    • Oxygen

    \[ C= \dfrac{3.406\; mol}{3.406\; mol} = 1.0 \nonumber \]

    The relative molar amounts of carbon and oxygen appear to be equal, but the relative molar amount of hydrogen is higher. Since we cannot have "fractional" atoms in a compound, we need to normalize the relative amount of hydrogen to be equal to an integer. 1.333 would appear to be 1 and 1/3, so if we multiply the relative amounts of each atom by '3', we should be able to get integer values for each atom.

    C = (1.0)*3 = 3

    H = (1.333)*3 = 4

    O = (1.0)*3 = 3


    \[\ce{C3H4O3} \nonumber \]

    This is our empirical formula for ascorbic acid.

    What about the chemical formula? We are told that the experimentally determined molecular mass is 176 amu. What is the molecular mass of our empirical formula?

    (3*12.011) + (4*1.008) + (3*15.999) = 88.062 amu

    The molecular mass from our empirical formula is significantly lower than the experimentally determined value. What is the ratio between the two values?

    (176 amu/88.062 amu) = 2.0

    Thus, it would appear that our empirical formula is essentially one half the mass of the actual molecular mass. If we multiplied our empirical formula by '2', then the molecular mass would be correct. Thus, the actual chemical formula is:

    2* C3H4O3 = C6H8O6

    Empirical Formulas: Empirical Formulas, YouTube(opens in new window) []

    Combustion Analysis

    When a compound containing carbon and hydrogen is subject to combustion with oxygen in a special combustion apparatus all the carbon is converted to CO2 and the hydrogen to H2O (Figure \(\PageIndex{2}\)). The amount of carbon produced can be determined by measuring the amount of CO2 produced. This is trapped by the sodium hydroxide, and thus we can monitor the mass of CO2 produced by determining the increase in mass of the CO2 trap. Likewise, we can determine the amount of H produced by the amount of H2O trapped by the magnesium perchlorate.

    Figure \(\PageIndex{2}\): Combustion analysis apparatus
    Diagram of a combustion chamber. O 2 enters the furnace and combusts the sample. All carbon is converted to C O 2 and all hydrogen is converted to H 2 O in the presence of C u O in the next chamber. The next chamber is an H 2 O trap with M g (C l O 4) 2 inside. The next chamber is a C O 2 trap with N a O H inside.

    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{3}\) and a typical combustion analysis is illustrated in Examples \(\PageIndex{3}\) and \(\PageIndex{4}\).

    Flowchart of steps to determine the empirical formula of a substance via combustion analysis. Determine the mass of the sample. Burn the sample in oxygen. Determine the masses of the combustion products. Determine the number of moles of each combustion product and then use the atomic masses of elements to calculate the masses of elements other than oxygen in the original sample. Find the mass of oxygen by finding the difference between the total mass of the sample and the masses of all other elements. Use element percentages to calculate moles of C, H, N, S in a 100g sample. Divide the moles of each element by the moles of element present in the smallest amount. Multiply by nonintegral ratios as necessary to give small while numbers.
    Figure \(\PageIndex{3}\): Steps for Obtaining an Empirical Formula from Combustion Analysis. (CC BY-NC-SA; anonymous)
    Example \(\PageIndex{3}\): Combustion of Isopropyl Alcohol

    What is the empirical formulate for isopropyl alcohol (which contains only C, H and O) if the combustion of a 0.255 grams isopropyl alcohol sample produces 0.561 grams of CO2 and 0.306 grams of H2O?


    From this information quantitate the amount of C and H in the sample.

    \[ (0.561\; \cancel{g\; CO_2}) \left( \dfrac{1 \;mol\; CO_2}{44.0\; \cancel{g\;CO_2}}\right)=0.0128\; mol \; CO_2 \nonumber \]

    Since one mole of CO2 is made up of one mole of C and two moles of O, if we have 0.0128 moles of CO2 in our sample, then we know we have 0.0128 moles of C in the sample. How many grams of C is this?

    \[ (0.0128 \; \cancel{mol\; C}) \left( \dfrac{12.011\; g \; C}{1\; \cancel{mol\;C}}\right)=0.154\; g \; C \nonumber \]

    How about the hydrogen?

    \[ (0.306 \; \cancel{g\; H_2O}) \left( \dfrac{1\; mol \; H_2O}{18.0\; \cancel{g \;H_2O}}\right)=0.017\; mol \; H_2O \nonumber \]

    Since one mole of H2O is made up of one mole of oxygen and two moles of hydrogen, if we have 0.017 moles of H2O, then we have 2*(0.017) = 0.034 moles of hydrogen. Since hydrogen is about 1 gram/mole, we must have 0.034 grams of hydrogen in our original sample.

    When we add our carbon and hydrogen together we get:

    0.154 grams (C) + 0.034 grams (H) = 0.188 grams

    But we know we combusted 0.255 grams of isopropyl alcohol. The 'missing' mass must be from the oxygen atoms in the isopropyl alcohol:

    0.255 grams - 0.188 grams = 0.067 grams oxygen

    This much oxygen is how many moles?

    \[ (0.067 \; \cancel{g\; O}) \left( \dfrac{1\; mol \; O}{15.994\; \cancel{g \;O}}\right)=0.0042\; mol \; O \nonumber \]

    Overall therefore, we have:

    • 0.0128 moles Carbon
    • 0.0340 moles Hydrogen
    • 0.0042 moles Oxygen

    Divide by the smallest molar amount to normalize:

    • C = 3.05 atoms
    • H = 8.1 atoms
    • O = 1 atom

    Within experimental error, the most likely empirical formula for propanol would be \(C_3H_8O\)

    Example \(\PageIndex{4}\): Combustion of Naphalene

    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


    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.


    A Upon combustion, 1 mol of \(\ce{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} \nonumber \]

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

    \[ 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} \nonumber \]

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

    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 \nonumber \]

    \[ 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 \nonumber \]

    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 \nonumber \]

    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 chemical 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 chemical formula is C6H6). If 10.00 mg of benzene is subjected to combustion analysis, what mass of CO2 and H2O will be produced?
    Answer a

    The empirical formula is C4H5. (The chemical formula of xylene is actually C8H10.)

    Answer b

    33.81 mg of CO2; 6.92 mg of H2O

    Combustion Analysis: Combustion Analysis, YouTube(opens in new window) []

    2.7: Composition of Compounds is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?