ExamSaathi learning library · School · CBSE Class 9 Science 2026-27; teacher review pending · Science / Atoms and molecules

Atoms and molecules: laws of chemical combination, formulae and molecular mass

Use the laws of conservation of mass and constant proportions, see how Dalton's atomic theory explains them, write formulae of compounds by balancing valencies, and add atomic masses to find molecular mass and formula unit mass in u.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

An element is made of one kind of atom, and a compound forms when atoms of different elements join in a fixed way. You should know common symbols such as H, C, N, O, Na, Mg, Al, S, Cl, K and Ca, and that atoms can lose, gain or share electrons to become stable. Masses of atoms are given in the unified atomic mass unit, u, which is one-twelfth of the mass of a carbon-12 atom. The rounded atomic masses used in this lesson are H = 1 u, C = 12 u, N = 14 u, O = 16 u, Na = 23 u, Mg = 24 u, Al = 27 u, S = 32 u, Cl = 35.5 u, K = 39 u and Ca = 40 u.

Two laws of chemical combination

The law of conservation of mass says that in a chemical reaction the products together weigh exactly as much as the reactants did; matter is neither created nor destroyed, only rearranged. Antoine Lavoisier stated it in the late eighteenth century. To see it in a laboratory the reaction must take place in a closed container, because a gas that escapes takes its mass with it. The law of constant proportions, linked with Joseph Proust, says that a pure compound always contains the same elements in the same ratio by mass, whatever its source. Purified water from a well, a river or the sea always has hydrogen and oxygen in the mass ratio 1 : 8, so 27 g of water holds 3 g of hydrogen and 24 g of oxygen. Mixtures do not follow this law, because their make-up can change from sample to sample.

Dalton's atomic theory explains the laws

In the early 1800s John Dalton explained both laws with a few ideas about atoms. All matter is made of extremely small particles called atoms. Atoms are not created or destroyed in a chemical reaction; they are only rearranged, and that is why mass is conserved. Atoms of one element are alike in mass and properties, and atoms of different elements differ. Atoms join in small whole-number ratios, and a given compound always has the same kinds and numbers of atoms, which is why its mass ratio never changes. Later discoveries corrected parts of this picture: atoms are built from still smaller particles (electrons, protons and neutrons), and atoms of the same element can have different masses (isotopes). The idea that atoms are rearranged, not lost, in chemical reactions still stands.

Writing formulae from valencies

A molecule is a neutral group of atoms joined together that can exist on its own: O2, O3 (ozone), P4 and S8 are molecules of elements, while H2O and CO2 are molecules of compounds. Ionic compounds are built from ions: cations such as Na+, Mg2+ and Al3+, and anions such as Cl-, O2- and S2-. Some ions contain several atoms; these polyatomic ions include hydroxide OH- and nitrate NO3- (valency 1), carbonate CO3 2- and sulfate SO4 2- (valency 2), and ammonium NH4+ (valency 1). To write an ionic formula, write the symbols with the cation first, write each valency underneath, cross the numbers over as subscripts and divide by any common factor. Aluminium (valency 3) and sulfur (valency 2) give Al2S3. Put brackets round a polyatomic ion when more than one is needed, as in Ca(NO3)2, and never write a subscript of 1. For a simple covalent compound, choose the numbers of atoms so that the total valency is used up on both sides: one nitrogen (valency 3) joins three hydrogen atoms (valency 1 each) to give NH3, and one carbon (valency 4) joins two oxygen atoms (valency 2 each) to give CO2. This valency shortcut suits only simple molecules. Molecular formulae are fixed by experiment and are not cut down to the simplest ratio, so hydrogen peroxide stays H2O2.

Molecular mass and formula unit mass

The molecular mass of a covalent substance is the sum of the atomic masses of all the atoms in one molecule. For ammonia, NH3, it is 14 + (3 x 1) = 17 u, and for sulfuric acid, H2SO4, it is (2 x 1) + 32 + (4 x 16) = 98 u. Ionic compounds such as sodium chloride do not form separate molecules; they form crystals in which the ions stay in a fixed ratio. The simplest whole-number group of ions is called a formula unit, and its mass, the formula unit mass, is found in the same way. For calcium chloride, CaCl2, it is 40 + (2 x 35.5) = 111 u. A bracket multiplies everything inside it: Ca(OH)2 has two oxygen atoms and two hydrogen atoms, so its formula unit mass is 40 + 2 x (16 + 1) = 74 u.

Common mistakes

Weighing a reaction that gives off a gas in an open flask and deciding that mass was destroyed; the gas simply escaped. Reading the 1 : 8 ratio for water as a ratio of atoms; it is a ratio of masses, while the ratio of hydrogen atoms to oxygen atoms is 2 : 1. Writing the charges inside a formula instead of balancing them, or leaving out brackets so that Ca(NO3)2 turns into the meaningless CaNO32. Forgetting to reduce an ionic formula, so that Mg2O2 is written instead of MgO. Multiplying only the last atom by the number outside a bracket, which makes Ca(OH)2 come out as 40 + 16 + 2 = 58 u instead of 74 u. Calling the mass of NaCl a molecular mass when it is a formula unit mass.

A six-step routine

1. For a mass question, decide which law applies: total mass is conserved, or a compound has a fixed mass ratio. 2. For a ratio question, find the total number of parts, then scale to the given mass. 3. To write an ionic formula, write the symbols, write the valencies, cross them over, reduce, and bracket any repeated polyatomic ion; for a simple covalent compound, match the valencies without reducing. 4. For an ionic formula, check that the total positive charge equals the total negative charge. 5. For a mass in u, list each kind of atom with how many times it appears, multiply by its atomic mass and add. 6. Call the answer a molecular mass for a molecule and a formula unit mass for an ionic compound.

Worked examples

  1. In a sealed tube, 7 g of iron powder is heated with 4 g of sulfur, and both are used up completely to form iron sulfide. What mass of iron sulfide is formed?

    1. The tube is sealed, so nothing can enter or leave.
    2. By the law of conservation of mass, mass of products = mass of reactants.
    3. Mass of reactants = 7 + 4 = 11 g.

    Answer: 11 g of iron sulfide is formed.

  2. Pure magnesium oxide always contains magnesium and oxygen in the mass ratio 3 : 2. How much oxygen combines with 18 g of magnesium, and what mass of magnesium oxide forms?

    1. The ratio says 3 g of magnesium combines with 2 g of oxygen.
    2. 18 g of magnesium is 18 / 3 = 6 times as much, so oxygen = 6 x 2 = 12 g.
    3. Mass of magnesium oxide = 18 + 12 = 30 g, using conservation of mass.

    Answer: 12 g of oxygen combines with the magnesium, and 30 g of magnesium oxide forms.

  3. Ammonium sulfate is used as a fertiliser. Write its formula and find its formula unit mass (N = 14 u, H = 1 u, S = 32 u, O = 16 u).

    1. The ions are ammonium NH4+ (valency 1) and sulfate SO4 2- (valency 2).
    2. Crossing over gives 2 ammonium ions for 1 sulfate ion, and the polyatomic ion that repeats goes in brackets: (NH4)2SO4.
    3. Mass of NH4 = 14 + (4 x 1) = 18 u; two of them = 2 x 18 = 36 u.
    4. Mass of SO4 = 32 + (4 x 16) = 96 u.
    5. Formula unit mass = 36 + 96 = 132 u.

    Answer: The formula is (NH4)2SO4 and its formula unit mass is 132 u.

Practice checks

  1. In a closed bottle, 10 g of substance A reacts completely with 6 g of substance B. Two products form, and one of them has a mass of 9 g. What is the mass of the other product?
  2. Pure water always contains hydrogen and oxygen in the mass ratio 1 : 8. How much oxygen is present in 45 g of pure water?
  3. Magnesium ions have valency 2 and nitrate ions (NO3) have valency 1. What is the formula of magnesium nitrate?
  4. What is the molecular mass of glucose, C6H12O6? (C = 12 u, H = 1 u, O = 16 u)
  5. Which statement about sodium chloride, NaCl, is correct?

Sources checked