Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Interpreting Chemical Formulas: Elements and Atom Counts

Hello again. In the previous lesson, you learned to identify compounds in particle diagrams: a compound contains different types of atoms chemically bonded in a fixed pattern. A chemical formula is a compact written way to show that same pattern.

In this lesson, you will learn to read simple formulas such as , , and . By the end, you will be able to identify the elements in a formula and state exactly how many atoms of each element it contains.


Chemical formulas are atom inventories

A chemical formula uses element symbols from the periodic table. It tells us which elements are present in a substance and the number of atoms of each element in one particle or formula unit.

For example:

is the formula for water. It says that one water molecule contains:

  • 2 hydrogen atoms,
  • 1 oxygen atom,

A formula is not a drawing of the exact shape of a molecule. It is more like an inventory: it tells you what atoms are present and how many of each.

Methane can be shown as the formula \( \mathrm{CH_4} \), a flat structural drawing, a ball-and-stick model, or a space-filling model. All four representations show one carbon atom and four hydrogen atoms.

In the methane image, the formula

means one carbon atom bonded to four hydrogen atoms. The three-dimensional models make the arrangement visible, while the formula gives the essential count quickly.


Reading element symbols correctly

The first task is to separate a formula into its element symbols.

Every element symbol begins with a capital letter. Some symbols have only one letter; others have two letters. In a two-letter symbol, the first letter is capitalized and the second is lowercase.

Symbol Element Important detail
hydrogen One-letter symbol
oxygen One-letter symbol
carbon One-letter symbol
sodium Both letters make one symbol
chlorine Both letters make one symbol
calcium Both letters make one symbol

Capitalization matters. Compare these:

  • contains carbon and oxygen.
  • contains only cobalt.

The first formula has two capital letters, so it contains two elements. The second has one capital letter followed by a lowercase letter, so it is one element symbol.

A dependable rule is:

Each capital letter begins a new element symbol.

So in , there are two elements:

  • : sodium
  • : chlorine

Do not split these into and , or and . Lowercase letters belong to the capital letter immediately before them.


Subscripts: the small numbers that count atoms

A small number written low after an element symbol is called a subscript. It tells you how many atoms of that element occur in the formula.

Consider carbon dioxide:

  • has no written subscript, so there is 1 carbon atom.
  • means there are 2 oxygen atoms.

Therefore, one molecule of carbon dioxide contains one carbon atom and two oxygen atoms.

When there is no subscript, the number is understood to be 1. You do not usually write the 1:

but chemists write the shorter form, .

Compounds and chemical formulas | Middle school chemistry | Khan Academy

Watch “Compounds and chemical formulas” from Khan Academy to connect formulas with the molecules you saw in particle diagrams. It shows why a subscript records the fixed number of atoms in a compound.

Watch reading formulas. Focus on the contrast between \mathrm{H_2O}, \mathrm{H_2O_2}, and \mathrm{CO_2}: a changed subscript changes the numbers of atoms and can describe a different substance. Notice also how the video reads the larger sucrose formula one element at a time.


A step-by-step method that works

Use the same short procedure every time.

1. Find each element symbol

Scan from left to right. Start a new symbol at every capital letter, including any lowercase letter that follows it.

2. Read the subscript after each symbol

  • A written subscript gives the number of atoms.
  • No subscript means 1 atom.

3. State the result clearly

Name the element and its atom count. A table is often the clearest format.

Let’s apply this to ammonia:

Element symbol Element name Subscript Number of atoms
nitrogen none 1
hydrogen 3 3

So one ammonia molecule contains 1 nitrogen atom and 3 hydrogen atoms.

Notice that the 3 belongs only to hydrogen. It does not mean “three nitrogen atoms and three hydrogen atoms.”

Another example: methane

Element Number of atoms
Carbon, 1
Hydrogen, 4

This matches the methane image: the dark central sphere represents carbon, while the four light spheres represent hydrogen.


Reading formulas with several elements

Some formulas have three or more element symbols. The process remains exactly the same.

Consider glucose:

Read it one symbol at a time:

Part of formula Element Number of atoms
carbon 6
hydrogen 12
oxygen 6

One glucose molecule contains:

  • 6 carbon atoms
  • 12 hydrogen atoms
  • 6 oxygen atoms

The formula contains three elements, not three atoms. It actually represents atoms in total.

That distinction is important:

  • Number of elements means the number of different atom types.
  • Number of atoms means the total number of individual atoms.

For , there are 3 elements and 24 atoms altogether.


A useful comparison: formulas describe fixed ratios

Chemical formulas show a fixed ratio of atoms within a substance.

Formula Elements present Atoms of each element
hydrogen, oxygen 2 H; 1 O
carbon, oxygen 1 C; 2 O
nitrogen, hydrogen 1 N; 3 H
carbon, hydrogen 1 C; 4 H
carbon, hydrogen, oxygen 6 C; 12 H; 6 O

Although and contain the same two elements, they are not the same compound:

  • has 2 hydrogen atoms for every 1 oxygen atom.
  • has 2 hydrogen atoms for every 2 oxygen atoms.

Changing a subscript changes the composition. That is why chemical formulas must be read carefully.


Common mistakes to avoid

Treating a missing subscript as zero

In , the carbon has no subscript. This means one carbon atom, not zero.

Applying a subscript to the whole formula

In , the 2 applies only to oxygen. The formula contains 1 carbon atom and 2 oxygen atoms.

Ignoring lowercase letters

In , is sodium and is chlorine. Each two-letter symbol represents one element.

Confusing an element’s symbol with its name

is the symbol for carbon, not “C atom” as a separate kind of object. The symbol is simply chemistry’s shorthand for the element.

Assuming every formula represents a single molecule

Many familiar compounds, including water and carbon dioxide, consist of separate molecules. Some compounds form extended structures instead. In either case, the formula still tells you the fixed ratio of atoms. For this lesson, read the formula as the composition of one written unit.


A concise formula-reading checklist

When you meet a new simple chemical formula:

  1. Underline each element symbol, remembering that a lowercase letter may belong to the capital letter before it.
  2. Write a 1 beside symbols with no subscript.
  3. Copy each written subscript beside the correct element.
  4. Name the elements and counts in a clear sentence or table.
  5. If needed, add all atom counts to find the total atoms in the unit.

For example, with :

  • is sulfur: 1 atom.
  • is oxygen: 3 atoms.
  • There are 2 elements and atoms in total.

Key takeaways

A chemical formula tells you which elements are present in a substance and how many atoms of each are in one molecule or formula unit.

  • Every capital letter begins a new element symbol.
  • A following lowercase letter is part of the same symbol.
  • A subscript tells you the number of atoms of the element immediately before it.
  • No subscript means 1 atom.
  • Changing a subscript changes the ratio of atoms and can produce a different substance.

You can now translate a simple formula such as into a precise atom inventory: 6 carbon atoms, 12 hydrogen atoms, and 6 oxygen atoms. This completes the module on elements, molecules, and compounds: you can now interpret both visual particle diagrams and the chemical formulas that represent them.

Can't find a good explanation? Sign up and we'll make it for you

Sign up