Molar mass with parentheses: Ca(OH)₂ and Al₂(SO₄)₃

A subscript after a closing parenthesis multiplies every atom inside the parentheses. In Ca(OH)2 there are 2 O and 2 H, so the molar mass is 40.078 + 2 × 15.999 + 2 × 1.008 = 74.092 g/mol.

Count the atoms first, then multiply each element's count by its atomic mass and add. In Al2(SO4)3, the 3 multiplies the S and all four O: 2 Al, 3 S and 12 O, for 342.13 g/mol.

What the parentheses mean

Parentheses group a polyatomic ion, such as hydroxide (OH⁻), sulfate (SO₄²⁻) or nitrate (NO₃⁻), that appears more than once in the formula. The subscript after the bracket says how many of that whole group there are.

Subscripts inside the bracket still count first. In (SO₄)₃ each sulfate has 4 oxygen atoms, and there are 3 sulfates, so there are 4 × 3 = 12 oxygen atoms.

The steps

More formulas to practice

FormulaAtomsMolar mass
Ca(OH)₂1 Ca, 2 O, 2 H74.092 g/mol
Mg(NO₃)₂1 Mg, 2 N, 6 O148.313 g/mol
(NH₄)₂SO₄2 N, 8 H, 1 S, 4 O132.13 g/mol
Ca₃(PO₄)₂3 Ca, 2 P, 8 O310.174 g/mol

Worked example: Al2(SO4)3

  1. Count the atoms: Al = 2; S = 1 × 3 = 3; O = 4 × 3 = 12. That's 17 atoms per formula unit.
  2. Al: 2 × 26.982 = 53.964 g/mol
  3. S: 3 × 32.06 = 96.18 g/mol
  4. O: 12 × 15.999 = 191.988 g/mol
  5. Total = 53.964 + 96.18 + 191.988 = 342.132, which rounds to 342.13 g/mol (two decimal places, from 32.06 for sulfur).
  6. Ignoring the brackets would give a very different answer: Ca(OH)2 read as CaOH₂ has only one O, and comes to 58.093 g/mol instead of 74.092.

Common mistakes

Check yourself

Three questions from the Molar Mass Learning Lab, Stage 2. Work each one out, then open the answer.

  1. How many nitrogen (N) atoms are in one formula unit of (NH₄)₃PO₄?

    Show the answer

    Answer: 3 atoms atoms

    1. Nitrogen: 1 × 3 = 3 (1 per NH₄ × 3 NH₄ groups)

    Multiply the subscript inside the brackets by the subscript after the brackets.

  2. How many calcium (Ca) atoms are in one formula unit of CaCO₃?

    Show the answer

    Answer: 1 atom atoms

    1. Calcium: 1 (no subscript, so 1)

    Add up the subscripts for this element everywhere it appears. No subscript means 1.

  3. How many atoms in total are in one formula unit of Fe₂(SO₄)₃?

    Show the answer

    Answer: 17 atoms atoms

    1. Iron: 2
    2. Sulfur: 1 × 3 = 3
    3. Oxygen: 4 × 3 = 12
    4. Total: 2 + 3 + 12 = 17 atoms

    Multiply the subscript inside the brackets by the subscript after the brackets.

Try it in the lab

Questions students ask

What does the 2 in Ca(OH)₂ multiply?

Both the O and the H inside the bracket, so the formula has 2 oxygen and 2 hydrogen atoms.

What if there's no number after the bracket?

Then there's one of that group, and the brackets don't change anything. Chemists usually leave them out, writing NaOH rather than Na(OH).

How many atoms are in Al₂(SO₄)₃?

17: 2 aluminum, 3 sulfur and 12 oxygen.

Can the calculator handle brackets inside brackets?

Yes. Type the formula as written, with ( ) or [ ], and the lab counts every atom and shows each element's contribution.

Related calculators

More guides on this topic

Teaching molar mass? Poll your class on it

A live poll shows you in seconds who has the idea and who doesn't. Every student answers the same question on their phone, the big screen shows the spread of answers without any names, and you see where the class is before you explain.

Ready-made questions: the three checks in each stage of the Molar Mass Learning Lab work well as poll questions. They're built around the slips students make most with molar mass: ignoring a subscript, not multiplying through brackets and using the atomic number instead of the atomic mass. Stage 2: Counting atoms is a good place to start.

How Classroom Polls work →

Students join at pollwithali.com with the code on the screen; no account needed. Presenter accounts are by invitation during the pilot.