Skip to main content
Chemistry LibreTexts

8.04: Percent Composition

  • Page ID
  • Skills to Develop

    • Compute the percent composition of a compound

    In the previous section, we discussed the relationship between the bulk mass of a substance and the number of atoms or molecules it contains (moles). Given the chemical formula of the substance, we were able to determine the amount of the substance (moles) from its mass, and vice versa. But what if the chemical formula of a substance is unknown? In this section, we will explore how to apply these very same principles in order to derive the chemical formulas of unknown substances from experimental mass measurements.

    Percent Composition

    The elemental makeup of a compound defines its chemical identity, and chemical formulas are the most succinct way of representing this elemental makeup. When a compound’s formula is unknown, measuring the mass of each of its constituent elements is often the first step in the process of determining the formula experimentally. The results of these measurements permit the calculation of the compound’s percent composition, defined as the percentage by mass of each element in the compound. For example, consider a gaseous compound composed solely of carbon and hydrogen. The percent composition of this compound could be represented as follows:

    \[\mathrm{\%H=\dfrac{mass\: H}{mass\: compound}\times100\%}\]

    \[\mathrm{\%C=\dfrac{mass\: C}{mass\: compound}\times100\%}\]

    If analysis of a 10.0-g sample of this gas showed it to contain 2.5 g H and 7.5 g C, the percent composition would be calculated to be 25% H and 75% C:

    \[\mathrm{\%H=\dfrac{2.5\:g\: H}{10.0\:g\: compound}\times100\%=25\%}\]

    \[\mathrm{\%C=\dfrac{7.5\:g\: C}{10.0\:g\: compound}\times100\%=75\%}\]

    Example \(\PageIndex{1}\): Calculation of Percent Composition

    Analysis of a 12.04-g sample of a liquid compound composed of carbon, hydrogen, and nitrogen showed it to contain 7.34 g C, 1.85 g H, and 2.85 g N. What is the percent composition of this compound?


    To calculate percent composition, we divide the experimentally derived mass of each element by the overall mass of the compound, and then convert to a percentage:

    \[\mathrm{\%C=\dfrac{7.34\:g\: C}{12.04\:g\: compound}\times100\%=61.0\%} \nonumber\]

    \[\mathrm{\%H=\dfrac{1.85\:g\: H}{12.04\:g\: compound}\times100\%=15.4\%} \nonumber\]

    \[\mathrm{\%N=\dfrac{2.85\:g\: N}{12.04\:g\: compound}\times100\%=23.7\%} \nonumber\]

    The analysis results indicate that the compound is 61.0% C, 15.4% H, and 23.7% N by mass.

    Exercise \(\PageIndex{1}\)

    A 24.81-g sample of a gaseous compound containing only carbon, oxygen, and chlorine is determined to contain 3.01 g C, 4.00 g O, and 17.81 g Cl. What is this compound’s percent composition?


    12.1% C, 16.1% O, 71.8% Cl

    Determining Percent Composition from Formula Mass

    Percent composition is also useful for evaluating the relative abundance of a given element in different compounds of known formulas. As one example, consider the common nitrogen-containing fertilizers ammonia (NH3), ammonium nitrate (NH4NO3), and urea (CH4N2O). The element nitrogen is the active ingredient for agricultural purposes, so the mass percentage of nitrogen in the compound is a practical and economic concern for consumers choosing among these fertilizers. For these sorts of applications, the percent composition of a compound is easily derived from its formula mass and the atomic masses of its constituent elements. A molecule of NH3 contains one N atom weighing 14.01 amu and three H atoms weighing a total of (3 × 1.008 amu) = 3.024 amu. The formula mass of ammonia is therefore (14.01 amu + 3.024 amu) = 17.03 amu, and its percent composition is:

    \[\mathrm{\%N=\dfrac{14.01\:amu\: N}{17.03\:amu\:NH_3}\times100\%=82.27\%}\]

    \[\mathrm{\%H=\dfrac{3.024\:amu\: N}{17.03\:amu\:NH_3}\times100\%=17.76\%}\]

    This same approach may be taken considering a pair of molecules, a dozen molecules, or a mole of molecules, etc. The latter amount is most convenient and would simply involve the use of molar masses instead of atomic and formula masses, as demonstrated Example \(\PageIndex{2}\). As long as we know the chemical formula of the substance in question, we can easily derive percent composition from the formula mass or molar mass.

    Example \(\PageIndex{2}\): Determining Percent Composition from a Molecular Formula

    Aspirin is a compound with the molecular formula C9H8O4. What is its percent composition?


    To calculate the percent composition, we need to know the masses of C, H, and O in a known mass of C9H8O4. It is convenient to consider 1 mol of C9H8O4 and use its molar mass (180.159 g/mole, determined from the chemical formula) to calculate the percentages of each of its elements:

    \%\ce C&=\mathrm{\dfrac{9\:mol\: C\times molar\: mass\: C}{molar\: mass\:\ce{C9H18O4}}\times100=\dfrac{9\times12.01\:g/mol}{180.159\:g/mol}\times100=\dfrac{108.09\:g/mol}{180.159\:g/mol}\times100} \nonumber\\
    \%\ce C&=\mathrm{60.00\,\%\,C} \nonumber

    \%\ce H&=\mathrm{\dfrac{8\:mol\: H\times molar\: mass\: H}{molar\: mass\:\ce{C9H18O4}}\times 100=\dfrac{8\times 1.008\:g/mol}{180.159\:g/mol}\times 100=\dfrac{8.064\:g/mol}{180.159\:g/mol}\times 100} \nonumber\\
    \%\ce H&=4.476\,\%\,\ce H\nonumber
    \%\ce O&=\mathrm{\dfrac{4\:mol\: O\times molar\: mass\: O}{molar\: mass\: \ce{C9H18O4}}\times 100=\dfrac{4\times 16.00\:g/mol}{180.159\:g/mol}\times 100=\dfrac{64.00\:g/mol}{180.159\:g/mol}\times 100} \nonumber \\
    \%\ce O&=35.52\% \nonumber

    Note that these percentages sum to equal 100.00% when appropriately rounded.

    Exercise \(\PageIndex{2}\)

    To three significant digits, what is the mass percentage of iron in the compound \(Fe_2O_3\)?


    69.9% Fe


    The chemical identity of a substance is defined by the types and relative numbers of atoms composing its fundamental entities (molecules in the case of covalent compounds, ions in the case of ionic compounds). A compound’s percent composition provides the mass percentage of each element in the compound.

    Key Equations

    • \(\mathrm{\%X=\dfrac{mass\: X}{mass\: compound}\times100\%}\)


    percent composition
    percentage by mass of the various elements in a compound