Lesson 9

Formulas, Moles, and Chemical Composition

Understand the mole concept, molar mass, percent composition, empirical formulas, and molecular formulas.

12 learning objectivesquantitative

The Mole and Avogadro's Number

Atoms and molecules are far too small to count individually, so chemists use a counting unit called the mole (mol). One mole of anything contains exactly 6.022 × 1023 items — this is Avogadro's number (NA).

To put that in perspective, one mole of pennies stacked up would reach the sun and back more than a billion times. Yet one mole of water molecules is just 18 grams — roughly a tablespoon.

The mole bridges the gap between the atomic scale (where mass is measured in amu) and the laboratory scale (grams). This makes it the chemist's most essential conversion unit: every quantitative calculation in chemistry passes through moles at some point.

Calculating Molar Mass

The molar mass of a substance is the mass of one mole of that substance, expressed in grams per mole (g/mol). Numerically, it equals the formula mass in amu.

To calculate the molar mass of a compound, sum the atomic masses of every atom in the formula:

  1. Write the chemical formula (e.g., H2O)
  2. Multiply each element's atomic mass by its subscript
  3. Add the contributions: H2O = 2(1.008) + 1(16.00) = 18.02 g/mol

For ionic compounds, the same procedure applies using the formula unit. For example, NaCl has a molar mass of 22.99 + 35.45 = 58.44 g/mol. The molar mass serves as the critical conversion factor between grams and moles.

Converting Between Moles, Mass, and Particles

Three quantities sit at the heart of chemical calculations: mass (grams), moles, and number of particles. Two conversion factors connect them:

  • Molar mass (g/mol) converts between grams and moles
  • Avogadro's number (6.022 × 1023/mol) converts between moles and particles

The conversion map looks like this:

Mass (g)÷ or × molar massMoles÷ or × NAParticles

For example, to find how many molecules are in 36.0 g of water: 36.0 g ÷ 18.02 g/mol = 2.00 mol, then 2.00 mol × 6.022 × 1023 = 1.20 × 1024 molecules. Always pass through moles as the central hub when converting between mass and particle counts.

Percent Composition

Percent composition tells you the mass percentage of each element in a compound. It answers the question: what fraction of the compound's total mass comes from each element?

To calculate from a formula:

% element = (atoms of element × atomic mass) / molar mass of compound × 100%

For example, in water (H2O, molar mass 18.02 g/mol):

  • % H = (2 × 1.008) / 18.02 × 100% = 11.19%
  • % O = 16.00 / 18.02 × 100% = 88.81%

Percent composition is useful for comparing how much of an active element different compounds provide. Farmers choose nitrogen fertilizers partly based on the mass percent of nitrogen: NH3 (82.2% N) is much richer in nitrogen than NH4NO3 (35.0% N).

Empirical Formulas from Percent Composition

The empirical formula gives the simplest whole-number ratio of atoms in a compound. Determining it from experimental data follows a consistent procedure:

  1. Start with percent composition (or mass data). If given percentages, assume a 100-g sample so that percentages become grams directly.
  2. Convert grams of each element to moles by dividing by atomic mass.
  3. Divide every mole value by the smallest mole value to get mole ratios.
  4. If the ratios are not whole numbers, multiply all by the smallest integer that makes them whole (e.g., multiply by 2 if you see a 0.5, by 3 if you see a 0.33).

For example, a compound that is 40.0% C, 6.7% H, and 53.3% O yields a mole ratio of C : H : O = 1 : 2 : 1, giving the empirical formula CH2O.

Molecular Formulas from Empirical Formulas

The molecular formula shows the actual number of atoms per molecule. It is always a whole-number multiple of the empirical formula.

To determine the molecular formula, you need two things:

  1. The empirical formula (and its mass)
  2. The compound's molar mass (from experiment — often measured via gas density, mass spectrometry, or other techniques)

Calculate the multiplier:

n = molar mass / empirical formula mass

Then multiply every subscript in the empirical formula by n. For example, if the empirical formula is CH2O (mass 30.03 g/mol) and the molar mass is 180.18 g/mol, then n = 180.18 / 30.03 = 6, and the molecular formula is C6H12O6 (glucose).

Mole-to-Mole Conversions

In balanced chemical equations, coefficients represent mole ratios between reactants and products. These ratios are the stoichiometric factors you use to convert between moles of different substances.

For the reaction:

N2 + 3 H2 → 2 NH3

The coefficients tell us that 1 mol N2 reacts with 3 mol H2 to produce 2 mol NH3. So the stoichiometric factors are:

  • 3 mol H2 / 1 mol N2 (or its inverse)
  • 2 mol NH3 / 3 mol H2 (or its inverse)
  • 2 mol NH3 / 1 mol N2 (or its inverse)

To convert moles of one substance to moles of another, simply multiply by the appropriate ratio. For instance, 4.5 mol H2 × (2 mol NH3 / 3 mol H2) = 3.0 mol NH3.

Mass-Mole Conversions Using Molar Mass

Molar mass is the two-way bridge between grams and moles. Every mass-to-mole problem uses the same pattern:

moles = mass (g) / molar mass (g/mol)
mass (g) = moles × molar mass (g/mol)

When solving stoichiometry problems that start and end with mass, the workflow is:

  1. Grams → moles (divide by molar mass of given substance)
  2. Moles → moles (use stoichiometric ratio from balanced equation)
  3. Moles → grams (multiply by molar mass of desired substance)

This three-step pattern — grams in, mole ratio, grams out — is the backbone of virtually every quantitative chemistry problem.

Using Avogadro's Number in Calculations

Avogadro's number (6.022 × 1023 mol−1) converts between moles and individual particles — atoms, molecules, ions, or formula units, depending on the substance.

Common calculation patterns:

  • Moles → particles: Multiply by NA. Example: 0.50 mol O2 × 6.022 × 1023 = 3.01 × 1023 molecules of O2.
  • Particles → moles: Divide by NA. Example: 1.81 × 1024 atoms Fe ÷ 6.022 × 1023 = 3.00 mol Fe.

Remember that Avogadro's number always relates moles to whatever particle is specified by the formula. One mole of H2O gives 6.022 × 1023 molecules, but since each molecule contains 3 atoms, it contains 3 × 6.022 × 1023 = 1.81 × 1024 total atoms.

Empirical Formulas from Combustion Analysis

Combustion analysis is a common experimental technique for determining the empirical formula of organic compounds containing C, H, and sometimes O, N, or S.

In a combustion analysis:

  1. A known mass of the compound is burned completely in excess O2
  2. All carbon is converted to CO2 (collected and weighed)
  3. All hydrogen is converted to H2O (collected and weighed)
  4. Oxygen (if present) is found by difference: mass O = sample mass − mass C − mass H

From the masses of CO2 and H2O produced, you can calculate grams of C and H, convert to moles, and determine the empirical formula using the standard procedure. For example, if burning 1.000 g of a compound yields 1.500 g CO2 and 0.409 g H2O, then the mass of C = 0.4096 g, mass of H = 0.0458 g, and mass of O (by difference) = 0.545 g, leading to the empirical formula.

Counting Atoms in a Given Mass

To determine how many atoms are in a sample of a substance, chain together two conversions: mass → moles → atoms.

  1. Convert mass to moles: divide by the molar mass
  2. Convert moles to atoms: multiply by Avogadro's number
  3. If the substance is molecular, account for how many atoms of the target element exist per molecule

For example, how many oxygen atoms are in 50.0 g of CaCO3 (molar mass 100.09 g/mol)?

  • 50.0 g ÷ 100.09 g/mol = 0.4996 mol CaCO3
  • Each formula unit has 3 oxygen atoms
  • 0.4996 mol × 3 × 6.022 × 1023 = 9.02 × 1023 oxygen atoms

The key is to always identify how many atoms of the element of interest appear in each formula unit or molecule.

Formula Subscripts as Mole Ratios

The subscripts in a chemical formula do double duty: they tell you both the number of atoms per molecule and the number of moles of each element per mole of compound.

For example, in glucose (C6H12O6):

  • One molecule contains 6 C atoms, 12 H atoms, and 6 O atoms
  • One mole contains 6 mol C, 12 mol H, and 6 mol O

This equivalence makes molar-level calculations straightforward. Need the moles of hydrogen in 3.0 mol of glucose? Simply multiply: 3.0 mol C6H12O6 × 12 mol H / 1 mol C6H12O6 = 36 mol H.

Subscript ratios also directly define the empirical formula. If analysis shows a compound contains elements in a 1:2:1 mole ratio, the empirical formula is XY2Z (where X, Y, Z are the elements). The subscripts are the mole ratio.

A Practical Problem Map for Mole and Formula Calculations

Most quantitative composition problems become simple once you identify the target and route:

  1. Target = particles? Use moles → particles with Avogadro’s number.
  2. Target = mass? Use moles → mass with molar mass.
  3. Target = empirical formula? Convert each element to moles, divide by the smallest, then scale to whole numbers.
  4. Target = molecular formula? Find empirical-formula mass, compute multiplier = (molar mass)/(empirical mass), then multiply subscripts.

Common pitfalls: rounding subscripts too early, skipping unit tracking, and forgetting that subscripts represent mole ratios. Keep at least one guardrail in every solution: each conversion factor must cancel units cleanly before moving to the next step.

Learning Objectives

After studying this topic, you should be able to:

  1. Define the mole and Avogadro's number
  2. Calculate molar mass of compounds
  3. Convert between moles, mass, and number of particles
  4. Calculate percent composition from a formula
  5. Determine empirical formula from percent composition
  6. Determine molecular formula from empirical formula and molar mass
  7. Perform mole-to-mole conversions
  8. Convert between mass and moles using molar mass
  9. Use Avogadro's number in calculations
  10. Determine empirical formula from combustion analysis data
  11. Calculate the number of atoms in a given mass
  12. Relate formula subscripts to mole ratios

Worked Example

Determining Molecular Formula from Percent Composition and Molar Mass

Problem

A compound is 40.00% carbon, 6.71% hydrogen, and 53.29% oxygen by mass. Its molar mass is 180.16 g/mol. Determine the empirical and molecular formulas.

Solution
  1. Assume a 100.00 g sample: 40.00 g C, 6.71 g H, 53.29 g O
  2. Convert to moles: C = 40.00 / 12.01 = 3.331 mol; H = 6.71 / 1.008 = 6.657 mol; O = 53.29 / 16.00 = 3.331 mol
  3. Divide by the smallest (3.331): C = 1.000, H = 1.998 ≈ 2, O = 1.000
  4. Empirical formula = CH2O with empirical formula mass = 12.01 + 2(1.008) + 16.00 = 30.03 g/mol
  5. Find the multiplier: n = 180.16 / 30.03 = 6.00
  6. Multiply all subscripts by 6: molecular formula = C6H12O6
Answer

Empirical formula: CH2O. Molecular formula: C6H12O6 (glucose).

Self-Study Questions

What is the mole and what is Avogadro’s number?

What is molar mass and how does it relate to the periodic table?

How do you convert between grams, moles, and number of particles?

Hint: Two conversion factors are involved — one uses molar mass, the other uses Avogadro’s number.

What is percent composition by mass and how is it calculated from a formula?

What is the difference between an empirical formula and a molecular formula?

How do you determine an empirical formula from percent composition data?

How do you find a molecular formula from an empirical formula?

What is combustion analysis and what information does it provide?

How are mole ratios used as conversion factors?

Why is the mole concept central to all quantitative chemistry?

Content Sources

Concept sections adapted from open educational resources under Creative Commons licensing:

  • OpenStax Chemistry 2e, Ch 3.1: Formula Mass and the Mole Concept (CC BY 4.0)
  • OpenStax Chemistry 2e, Ch 3.2: Determining Empirical and Molecular Formulas (CC BY 4.0)