📘 CodingMarble Learn

Atoms and Molecules

In a chemical reaction mass is neither created nor destroyed (conservation of mass), and a compound always has its elements in the same ratio by mass (constant proportions). Dalton explained both: matter is made of tiny atoms that join in small whole numbers. Atoms join to form molecules; charged atoms or groups are ions. Formulae are written by crossing valencies. Molecular mass (or formula unit mass for ionic compounds) is the sum of the atomic masses in the formula, in u.

🎬 Step-by-step story

  1. A sealed flask sits on a balance. Two solutions mix and a new white solid forms. The balance still reads 150.0 g. Mass is not made or lost in a reaction.
  2. Break water into its elements. Move the slider: whatever the mass of water, hydrogen and oxygen always come in the ratio 1 : 8 by mass.
  3. Dalton's idea: matter is made of tiny balls called atoms. Two H atoms and one O atom join whole to make one water molecule. Never half an atom.
  4. Atoms join to form molecules: O₂ is a molecule of an element, H₂O of a compound. Na⁺ and Cl⁻ are ions: atoms with a charge.
  5. Writing a formula: Al has valency 3 and O has valency 2. Cross the numbers over: Al₂O₃. The charges +6 and −6 cancel.
  6. Free play: pick a substance. Count its atoms, then watch its molecular mass add up line by line.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

When wood burns, the ash is lighter. Does that break the law of conservation of mass?

No. Gases (carbon dioxide, water vapour) escape into the air. In a sealed flask nothing escapes and the balance reading stays the same.

If I take more water, won't the ratio change?

No. Double the water and both hydrogen and oxygen double, so the ratio stays 1 : 8. Move the slider and watch both bars grow together.

Why can't atoms join in fractions, like 1.5 O?

An atom is the smallest piece that takes part in a reaction; there is no half atom to share. So formulae always have whole numbers.

Is NaCl a molecule?

No. Sodium chloride is made of Na⁺ and Cl⁻ ions packed together. There is no separate NaCl molecule, so we call NaCl a formula unit.

Why do we cross over the valencies?

So the total positive charge equals the total negative charge. Two Al³⁺ give +6 and three O²⁻ give −6: the compound is neutral.

Why is the unit 'u' and not grams?

One atom is far too light to weigh in grams, so we compare with 1/12 of a carbon-12 atom and call that 1 u.

Laws of chemical combination

Law of conservation of mass

In a chemical reaction, mass can neither be created nor destroyed. Total mass of reactants = total mass of products. Antoine Lavoisier showed this. If a gas can escape, the balance seems to drop, so the test is done in a sealed flask.

Example: 5.3 g of sodium carbonate reacts with 6.0 g of ethanoic acid to give 2.2 g of carbon dioxide, 0.9 g of water and 8.2 g of sodium ethanoate. Reactants: 5.3 + 6.0 = 11.3 g. Products: 2.2 + 0.9 + 8.2 = 11.3 g. Equal.

Law of constant proportions (definite proportions)

In a pure compound, the elements are always present in the same proportion by mass, whatever its source or the way it is made. Joseph Proust stated it.

Water: hydrogen : oxygen = 1 : 8 by mass. 9 g of water has 1 g H and 8 g O; 36 g has 4 g H and 32 g O. Ammonia: nitrogen : hydrogen = 14 : 3. Carbon dioxide: carbon : oxygen = 3 : 8.

Dalton's atomic theory

John Dalton (1808) explained both laws with these points:

  1. All matter is made of very tiny particles called atoms.
  2. Atoms cannot be created or destroyed in a chemical reaction. (This explains conservation of mass.)
  3. Atoms of one element are the same in mass and properties; atoms of different elements differ.
  4. Atoms combine in small whole-number ratios to form compounds. (This explains constant proportions.)
  5. In a given compound, the kinds and numbers of atoms are fixed.
  6. Atoms were thought to be indivisible.

Limits we know today: atoms can be divided into electrons, protons and neutrons; atoms of the same element can have different masses (isotopes); atoms of different elements can have the same mass (isobars).

Atoms, symbols and atomic mass

An atom is the smallest particle of an element that takes part in a reaction. Atoms are about 10⁻¹⁰ m across. Each element has a symbol: H, O, C, N, Na (from Latin natrium), Fe (ferrum), K (kalium), Cu (cuprum). The atomic mass unit (u) is 1/12 of the mass of one carbon-12 atom. So H ≈ 1 u, C = 12 u, O = 16 u.

Molecules, ions, ionic and covalent compounds

A molecule is a group of two or more atoms joined together; it is the smallest particle of a substance that can exist on its own and shows its properties.

Atomicity = number of atoms in one molecule.

An ion is an atom or a group of atoms with a charge. A positive ion is a cation (Na⁺, Mg²⁺, NH₄⁺); a negative ion is an anion (Cl⁻, O²⁻, SO₄²⁻). A group of atoms with a charge is a polyatomic ion.

Ionic compounds (usually a metal + a non-metal) are made of ions held by attraction: NaCl, MgO, CaCl₂. They do not have molecules; we speak of a formula unit. Covalent (molecular) compounds (non-metals only) are made of molecules in which atoms share electrons: H₂O, CO₂, CH₄.

Writing chemical formulae

Valency is the combining power of an atom or ion: how many electrons it gives, takes or shares. H = 1, Na = 1, Cl = 1, O = 2, Mg = 2, Ca = 2, Al = 3, N = 3 (in NH₃), C = 4.

Rules:

  1. Write the symbols, metal / positive ion first.
  2. Write the valency under each symbol.
  3. Cross over the valencies; they become subscripts.
  4. Cut down to the simplest ratio; do not write 1.
  5. For a polyatomic ion used more than once, put it in brackets: Ca(OH)₂, (NH₄)₂SO₄.

Examples: H (1) + Cl (1) → HCl. Mg (2) + Cl (1) → MgCl₂. Al (3) + O (2) → Al₂O₃. Ca (2) + O (2) → Ca₂O₂ → CaO. Al (3) + SO₄ (2) → Al₂(SO₄)₃. The total positive charge always equals the total negative charge.

Common polyatomic ionsFormula
AmmoniumNH₄⁺
HydroxideOH⁻
NitrateNO₃⁻
CarbonateCO₃²⁻
SulphateSO₄²⁻
PhosphatePO₄³⁻

Molecular mass and formula unit mass

Molecular mass = sum of the atomic masses of all atoms in one molecule, in u.

H₂O = 2 × 1 + 16 = 18 u. CO₂ = 12 + 2 × 16 = 44 u. H₂SO₄ = 2 × 1 + 32 + 4 × 16 = 98 u.

For ionic compounds we use formula unit mass, found the same way from the formula: NaCl = 23 + 35.5 = 58.5 u. CaCO₃ = 40 + 12 + 3 × 16 = 100 u.

Method: list each element, multiply its atomic mass by how many atoms there are, then add. Use the free-play step in the 3D to watch it line by line.

Next step (higher classes): 1 mole of any substance has 6.022 × 10²³ particles, and its mass in grams equals its molecular mass (18 g of water is 1 mole).

Try it

  1. Balance test at home (with an adult): put a spoon of baking soda in a small bottle and some vinegar in a balloon. Fit the balloon on the bottle and weigh it on a kitchen scale. Tip the vinegar in. The balloon fills with gas, but the reading does not change.
  2. Formula game: write valency cards (Na 1, Mg 2, Al 3, Cl 1, O 2, SO₄ 2). Pick one positive and one negative card and cross them. Check your answer by making the charges add to zero.
  3. Predict then check: before choosing H₂SO₄ in the 3D, work out its molecular mass on paper. Then compare with the line-by-line sum.

Key formulas and definitions

Worked examples

1. 3 g of carbon burns in 8 g of oxygen. What mass of carbon dioxide forms? Which law is used?

Mass of product = 3 + 8 = 11 g of CO₂. Law of conservation of mass.

2. Hydrogen and oxygen combine in the ratio 1 : 8 by mass. How much oxygen is needed to react fully with 3 g of hydrogen?

Oxygen = 8 × 3 = 24 g (and 27 g of water forms).

3. Write the formula of magnesium chloride.

Mg valency 2, Cl valency 1. Cross over: Mg₁Cl₂ → MgCl₂. Check: +2 and 2 × (−1) = −2.

4. Write the formula of aluminium sulphate.

Al valency 3, SO₄ valency 2. Cross over: Al₂(SO₄)₃. Check: 2 × (+3) = +6 and 3 × (−2) = −6.

5. Find the molecular mass of ammonia, NH₃.

N: 1 × 14 = 14 u. H: 3 × 1 = 3 u. Total = 17 u.

6. Find the formula unit mass of calcium carbonate, CaCO₃.

Ca: 1 × 40 = 40 u. C: 1 × 12 = 12 u. O: 3 × 16 = 48 u. Total = 100 u.

7. Find the molecular mass of glucose, C₆H₁₂O₆.

C: 6 × 12 = 72 u. H: 12 × 1 = 12 u. O: 6 × 16 = 96 u. Total = 180 u.

Common mistakes

Practice quiz

1. Who gave the law of constant proportions?
2. The ratio of H : O by mass in water is:
3. Formula of aluminium oxide is:
4. Molecular mass of CO₂ (C = 12, O = 16) is:
5. Which is a polyatomic ion?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the difference between an atom and a molecule?

An atom is the smallest particle of an element. A molecule is two or more atoms joined together, the smallest part of a substance that can exist alone. O is an atom; O₂ is a molecule.

Which postulate of Dalton's theory explains the law of conservation of mass?

Atoms can neither be created nor destroyed in a chemical reaction. They only rearrange, so the total mass stays the same.

What is formula unit mass?

The sum of atomic masses of all atoms in the formula of an ionic compound, like NaCl = 58.5 u. It is used because ionic compounds are made of ions, not molecules.

Where this is taught

Ukraine8 класQuantitative laws of chemistry
CBSE (India)Class 9Matter – Its Nature and Behaviour
England (GCSE, A level)Year 9Chemistry
England (GCSE, A level)Year 104.3 Quantitative chemistry
England (GCSE, A level)Year 105.3 Quantitative chemistry
USA (Common Core, NGSS, AP)Grade 8MS-PS1 Matter and its interactions
USA (Common Core, NGSS, AP)Grade 11Atomic Structure and Properties
USA (Common Core, NGSS, AP)Grade 11Compound Structure and Properties
USA (Common Core, NGSS, AP)Grade 11Acids and Bases
Japan中学2年Field 1 (4): Chemical change, atoms and molecules
Japan高校(専門学科)1〜3年Industrial Chemistry
South Korea중학교 2학년Composition of matter
Germany (Bavaria)Jahrgangsstufe 8Chemical reactions and Dalton's atomic model
Germany (Bavaria)Jahrgangsstufe 8Chemical reactions and Dalton's atomic model
Germany (Bavaria)Jahrgangsstufe 9Chemical reactions and Dalton's atomic model
FranceQuatrièmeMatter and its changes
Russia8 классFirst chemical concepts
Russia8 классFirst chemical concepts
China九年级(初三)U3 Composition of matter
China九年级(初三)U4 Water in nature
China九年级(初三)U5 Quantitative relations in reactions

Learn first

Learn next

Related lessons

All Chemistry lessons