Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Chemistry: Atoms First

6.2 Determining Empirical and Molecular Formulas

Chemistry: Atoms First6.2 Determining Empirical and Molecular Formulas

Learning Objectives

By the end of this section, you will be able to:
  • Compute the percent composition of a compound
  • Determine the empirical formula of a compound
  • Determine the molecular formula 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:

%H=mass Hmass compoundĂ—100%%H=mass Hmass compoundĂ—100%
6.1
%C=mass Cmass compoundĂ—100%%C=mass Cmass compoundĂ—100%
6.2

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:

%H=2.5g H10.0g compoundĂ—100%=25%%H=2.5g H10.0g compoundĂ—100%=25%
6.3
%C=7.5g C10.0g compoundĂ—100%=75%%C=7.5g C10.0g compoundĂ—100%=75%
6.4

Example 6.3

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?

Solution

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:
%C=7.34g C12.04g compoundĂ—100%=61.0%%H=1.85g H12.04g compoundĂ—100%=15.4%%N=2.85g N12.04g compoundĂ—100%=23.7%%C=7.34g C12.04g compoundĂ—100%=61.0%%H=1.85g H12.04g compoundĂ—100%=15.4%%N=2.85g N12.04g compoundĂ—100%=23.7%
6.5

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

Check Your Learning

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?

Answer:

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:

%N=14.01amu N17.03amuNH3Ă—100%=82.27%%H=3.024amu N17.03amuNH3Ă—100%=17.76%%N=14.01amu N17.03amuNH3Ă—100%=82.27%%H=3.024amu N17.03amuNH3Ă—100%=17.76%
6.6

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 6.4. 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 6.4

Determining Percent Composition from a Molecular Formula

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

Solution

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:
%C=9mol CĂ—molar mass Cmolar massC9H8O4Ă—100=9Ă—12.01g/mol180.159g/molĂ—100=108.09g/mol180.159g/molĂ—100%C=60.00%C%C=9mol CĂ—molar mass Cmolar massC9H8O4Ă—100=9Ă—12.01g/mol180.159g/molĂ—100=108.09g/mol180.159g/molĂ—100%C=60.00%C
6.7
%H=8mol HĂ—molar mass Hmolar massC9H8O4Ă—100=8Ă—1.008g/mol180.159g/molĂ—100=8.064g/mol180.159g/molĂ—100%H=4.476%H%H=8mol HĂ—molar mass Hmolar massC9H8O4Ă—100=8Ă—1.008g/mol180.159g/molĂ—100=8.064g/mol180.159g/molĂ—100%H=4.476%H
6.8
%O=4mol OĂ—molar mass Omolar massC9H8O4Ă—100=4Ă—16.00g/mol180.159g/molĂ—100=64.00g/mol180.159g/molĂ—100%O=35.52%%O=4mol OĂ—molar mass Omolar massC9H8O4Ă—100=4Ă—16.00g/mol180.159g/molĂ—100=64.00g/mol180.159g/molĂ—100%O=35.52%
6.9

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

Check Your Learning

To three significant digits, what is the mass percentage of iron in the compound Fe2O3?

Answer:

69.9% Fe

Determination of Empirical Formulas

As previously mentioned, the most common approach to determining a compound’s chemical formula is to first measure the masses of its constituent elements. However, we must keep in mind that chemical formulas represent the relative numbers, not masses, of atoms in the substance. Therefore, any experimentally derived data involving mass must be used to derive the corresponding numbers of atoms in the compound. To accomplish this, we can use molar masses to convert the mass of each element to a number of moles. We then consider the moles of each element relative to each other, converting these numbers into a whole-number ratio that can be used to derive the empirical formula of the substance. Consider a sample of compound determined to contain 1.71 g C and 0.287 g H. The corresponding numbers of atoms (in moles) are:

1.17g CĂ—1mol C12.01g C=0.142mol C0.287g HĂ—1mol H1.008g H=0.284mol H1.17g CĂ—1mol C12.01g C=0.142mol C0.287g HĂ—1mol H1.008g H=0.284mol H
6.10

Thus, we can accurately represent this compound with the formula C0.142H0.248. Of course, per accepted convention, formulas contain whole-number subscripts, which can be achieved by dividing each subscript by the smaller subscript:

C0.1420.142H0.2480.142orCH2C0.1420.142H0.2480.142orCH2
6.11

(Recall that subscripts of “1” are not written but rather assumed if no other number is present.)

The empirical formula for this compound is thus CH2. This may or not be the compound’s molecular formula as well; however, we would need additional information to make that determination (as discussed later in this section).

Consider as another example a sample of compound determined to contain 5.31 g Cl and 8.40 g O. Following the same approach yields a tentative empirical formula of:

C10.150O0.525=Cl0.1500.150O0.5250.150=ClO3.5C10.150O0.525=Cl0.1500.150O0.5250.150=ClO3.5
6.12

In this case, dividing by the smallest subscript still leaves us with a decimal subscript in the empirical formula. To convert this into a whole number, we must multiply each of the subscripts by two, retaining the same atom ratio and yielding Cl2O7 as the final empirical formula.

In summary, empirical formulas are derived from experimentally measured element masses by:

  1. Deriving the number of moles of each element from its mass
  2. Dividing each element’s molar amount by the smallest molar amount to yield subscripts for a tentative empirical formula
  3. Multiplying all coefficients by an integer, if necessary, to ensure that the smallest whole-number ratio of subscripts is obtained

Figure 6.5 outlines this procedure in flow chart fashion for a substance containing elements A and X.

A flow chart is shown that is composed of six boxes, two of which are connected together by a right facing arrow and located above two more that are also connected by a right-facing arrow. These two rows of boxes are connected vertically by a line that leads to a right-facing arrow and the last two boxes, connected by a final right facing arrow. The first two upper boxes have the phrases, “Mass of A atoms” and “Moles of A atoms” respectively, while the arrow that connects them has the phrase, “Divide by molar mass,” written below it. The second two bottom boxes have the phrases, “Mass of X atoms” and “Moles of X atoms” respectively, while the arrow that connects them has the phrase, “Divide by molar mass” written below it. The arrow that connects the upper and lower boxes to the last two boxes has the phrase “Divide by lowest number of moles” written below it. The last two boxes have the phrases, “A to X mole ratio” and “Empirical formula” respectively, while the arrow that connects them has the phrase, “Convert ratio to lowest whole numbers” written below it.
Figure 6.5 The empirical formula of a compound can be derived from the masses of all elements in the sample.

Example 6.5

Determining a Compound’s Empirical Formula from the Masses of Its Elements

A sample of the black mineral hematite (Figure 6.6), an oxide of iron found in many iron ores, contains 34.97 g of iron and 15.03 g of oxygen. What is the empirical formula of hematite?
Two rounded, smooth black stones are shown.
Figure 6.6 Hematite is an iron oxide that is used in jewelry. (credit: Mauro Cateb)

Solution

For this problem, we are given the mass in grams of each element. Begin by finding the moles of each:
34.97g Fe(mol Fe55.85g)=0.6261mol Fe15.03g O(mol O16.00g)=0.9394mol O34.97g Fe(mol Fe55.85g)=0.6261mol Fe15.03g O(mol O16.00g)=0.9394mol O
6.13

Next, derive the iron-to-oxygen molar ratio by dividing by the lesser number of moles:

0.62610.6261=1.000mol Fe0.93940.6261=1.500mol O0.62610.6261=1.000mol Fe0.93940.6261=1.500mol O
6.14

The ratio is 1.000 mol of iron to 1.500 mol of oxygen (Fe1O1.5). Finally, multiply the ratio by two to get the smallest possible whole number subscripts while still maintaining the correct iron-to-oxygen ratio:

2(Fe1O1.5)=Fe2O32(Fe1O1.5)=Fe2O3
6.15

The empirical formula is Fe2O3.

Check Your Learning

What is the empirical formula of a compound if a sample contains 0.130 g of nitrogen and 0.370 g of oxygen?

Answer:

N2O5

Deriving Empirical Formulas from Percent Composition

Finally, with regard to deriving empirical formulas, consider instances in which a compound’s percent composition is available rather than the absolute masses of the compound’s constituent elements. In such cases, the percent composition can be used to calculate the masses of elements present in any convenient mass of compound; these masses can then be used to derive the empirical formula in the usual fashion.

Example 6.6

Determining an Empirical Formula from Percent Composition

The bacterial fermentation of grain to produce ethanol forms a gas with a percent composition of 27.29% C and 72.71% O (Figure 6.7). What is the empirical formula for this gas?
A picture is shown of four copper-colored industrial containers with a large pipe connecting to the top of each one.
Figure 6.7 An oxide of carbon is removed from these fermentation tanks through the large copper pipes at the top. (credit: “Dual Freq”/Wikimedia Commons)

Solution

Since the scale for percentages is 100, it is most convenient to calculate the mass of elements present in a sample weighing 100 g. The calculation is “most convenient” because, per the definition for percent composition, the mass of a given element in grams is numerically equivalent to the element’s mass percentage. This numerical equivalence results from the definition of the “percentage” unit, whose name is derived from the Latin phrase per centum meaning “by the hundred.” Considering this definition, the mass percentages provided may be more conveniently expressed as fractions:
27.29%C=27.29g C100g compound72.71%O=72.71g O100g compound27.29%C=27.29g C100g compound72.71%O=72.71g O100g compound
6.16

The molar amounts of carbon and hydrogen in a 100-g sample are calculated by dividing each element’s mass by its molar mass:

27.29g C(mol C12.01g)=2.272mol C72.71g O(mol O16.00g)=4.544mol O27.29g C(mol C12.01g)=2.272mol C72.71g O(mol O16.00g)=4.544mol O
6.17

Coefficients for the tentative empirical formula are derived by dividing each molar amount by the lesser of the two:

2.272mol C2.272=14.544mol O2.272=22.272mol C2.272=14.544mol O2.272=2
6.18

Since the resulting ratio is one carbon to two oxygen atoms, the empirical formula is CO2.

Check Your Learning

What is the empirical formula of a compound containing 40.0% C, 6.71% H, and 53.28% O?

Answer:

CH2O

Derivation of Molecular Formulas

Recall that empirical formulas are symbols representing the relative numbers of a compound’s elements. Determining the absolute numbers of atoms that compose a single molecule of a covalent compound requires knowledge of both its empirical formula and its molecular mass or molar mass. These quantities may be determined experimentally by various measurement techniques. Molecular mass, for example, is often derived from the mass spectrum of the compound (see discussion of this technique in a previous chapter on atoms and molecules). Molar mass can be measured by a number of experimental methods, many of which will be introduced in later chapters of this text.

Molecular formulas are derived by comparing the compound’s molecular or molar mass to its empirical formula mass. As the name suggests, an empirical formula mass is the sum of the average atomic masses of all the atoms represented in an empirical formula. If we know the molecular (or molar) mass of the substance, we can divide this by the empirical formula mass in order to identify the number of empirical formula units per molecule, which we designate as n:

molecular or molar mass(amu orgmol)empirical formula mass(amu orgmol)=nformula units/moleculemolecular or molar mass(amu orgmol)empirical formula mass(amu orgmol)=nformula units/molecule
6.19

The molecular formula is then obtained by multiplying each subscript in the empirical formula by n, as shown by the generic empirical formula AxBy:

(AxBy)n=AnxBny(AxBy)n=AnxBny
6.20

For example, consider a covalent compound whose empirical formula is determined to be CH2O. The empirical formula mass for this compound is approximately 30 amu (the sum of 12 amu for one C atom, 2 amu for two H atoms, and 16 amu for one O atom). If the compound’s molecular mass is determined to be 180 amu, this indicates that molecules of this compound contain six times the number of atoms represented in the empirical formula:

180amu/molecule30amuformula unit=6formula units/molecule180amu/molecule30amuformula unit=6formula units/molecule
6.21

Molecules of this compound are then represented by molecular formulas whose subscripts are six times greater than those in the empirical formula:

(CH2O)6=C6H12O6(CH2O)6=C6H12O6
6.22

Note that this same approach may be used when the molar mass (g/mol) instead of the molecular mass (amu) is used. In this case, we are merely considering one mole of empirical formula units and molecules, as opposed to single units and molecules.

Example 6.7

Determination of the Molecular Formula for Nicotine

Nicotine, an alkaloid in the nightshade family of plants that is mainly responsible for the addictive nature of cigarettes, contains 74.02% C, 8.710% H, and 17.27% N. If 40.57 g of nicotine contains 0.2500 mol nicotine, what is the molecular formula?

Solution

Determining the molecular formula from the provided data will require comparison of the compound’s empirical formula mass to its molar mass. As the first step, use the percent composition to derive the compound’s empirical formula. Assuming a convenient, a 100-g sample of nicotine yields the following molar amounts of its elements:
(74.02g C)(1mol C12.01g C)=6.163mol C(8.710g H)(1mol H1.01g H)=8.624mol H(17.27g N)(1mol N14.01g N)=1.233mol N(74.02g C)(1mol C12.01g C)=6.163mol C(8.710g H)(1mol H1.01g H)=8.624mol H(17.27g N)(1mol N14.01g N)=1.233mol N
6.23

Next, we calculate the molar ratios of these elements relative to the least abundant element, N.

6.163mol C/1.233 mol N=5 6.163mol C/1.233 mol N=5
6.24
8.264mol H/1.233 mol N=7 8.264mol H/1.233 mol N=7
6.25
1.233mol N/1.233 mol N=11.233mol N/1.233 mol N=1
6.26
1.2331.233 =1.000mol N 6.1631.233 =4.998mol C 8.6241.233=6.994mol H 1.2331.233 =1.000mol N 6.1631.233 =4.998mol C 8.6241.233=6.994mol H
6.27

The C-to-N and H-to-N molar ratios are adequately close to whole numbers, and so the empirical formula is C5H7N. The empirical formula mass for this compound is therefore 81.13 amu/formula unit, or 81.13 g/mol formula unit.

We calculate the molar mass for nicotine from the given mass and molar amount of compound:

40.57g nicotine0.2500mol nicotine=162.3gmol40.57g nicotine0.2500mol nicotine=162.3gmol
6.28

Comparing the molar mass and empirical formula mass indicates that each nicotine molecule contains two formula units:

162.3g/mol81.13gformula unit=2formula units/molecule162.3g/mol81.13gformula unit=2formula units/molecule
6.29

Thus, we can derive the molecular formula for nicotine from the empirical formula by multiplying each subscript by two:

(C5H7N)2=C10H14N2(C5H7N)2=C10H14N2
6.30

Check Your Learning

What is the molecular formula of a compound with a percent composition of 49.47% C, 5.201% H, 28.84% N, and 16.48% O, and a molecular mass of 194.2 amu?

Answer:

C8H10N4O2

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/chemistry-atoms-first/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/chemistry-atoms-first/pages/1-introduction
Citation information

© Feb 15, 2022 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.