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
- List each element in the formula once.
- Count its atoms: subscript inside the bracket × subscript outside it, plus any of that element outside the bracket.
- Multiply each count by the element's atomic mass from the periodic table.
- Add the contributions, and round to the decimal places of the atomic masses.
More formulas to practice
| Formula | Atoms | Molar mass |
|---|---|---|
| Ca(OH)₂ | 1 Ca, 2 O, 2 H | 74.092 g/mol |
| Mg(NO₃)₂ | 1 Mg, 2 N, 6 O | 148.313 g/mol |
| (NH₄)₂SO₄ | 2 N, 8 H, 1 S, 4 O | 132.13 g/mol |
| Ca₃(PO₄)₂ | 3 Ca, 2 P, 8 O | 310.174 g/mol |
Worked example: Al2(SO4)3
- Count the atoms: Al = 2; S = 1 × 3 = 3; O = 4 × 3 = 12. That's 17 atoms per formula unit.
- Al: 2 × 26.982 = 53.964 g/mol
- S: 3 × 32.06 = 96.18 g/mol
- O: 12 × 15.999 = 191.988 g/mol
- Total = 53.964 + 96.18 + 191.988 = 342.132, which rounds to 342.13 g/mol (two decimal places, from 32.06 for sulfur).
- 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
- Multiplying only the last atom: the subscript after the bracket multiplies every atom inside it.
- Adding the subscripts instead of multiplying: (SO₄)₃ has 4 × 3 = 12 oxygen atoms, not 4 + 3 = 7.
- Dropping the brackets: Ca(OH)₂ and CaOH₂ are different formulas with different molar masses.
- Forgetting atoms outside the bracket: in (NH₄)₂SO₄ the S and O after the bracket count once.
- Using atomic numbers: use atomic masses (15.999 for O), not atomic numbers (8).
Check yourself
Three questions from the Molar Mass Learning Lab, Stage 2. Work each one out, then open the answer.
How many nitrogen (N) atoms are in one formula unit of (NH₄)₃PO₄?
Show the answer
Answer: 3 atoms atoms
- Nitrogen: 1 × 3 = 3 (1 per NH₄ × 3 NH₄ groups)
Multiply the subscript inside the brackets by the subscript after the brackets.
How many calcium (Ca) atoms are in one formula unit of CaCO₃?
Show the answer
Answer: 1 atom atoms
- Calcium: 1 (no subscript, so 1)
Add up the subscripts for this element everywhere it appears. No subscript means 1.
How many atoms in total are in one formula unit of Fe₂(SO₄)₃?
Show the answer
Answer: 17 atoms atoms
- Iron: 2
- Sulfur: 1 × 3 = 3
- Oxygen: 4 × 3 = 12
- Total: 2 + 3 + 12 = 17 atoms
Multiply the subscript inside the brackets by the subscript after the brackets.
Try it in the lab
- Molar Mass Learning Lab, Stage 2: Counting atoms →
- Molar Mass Learning Lab, Stage 5: Total molar mass →
- Molar Mass Learning Lab, Stage 6: Complex formulas and hydrates →
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
- How to find the molar mass of a hydrate
- How to memorize the periodic table (and what to learn first)
- Polyatomic ions: the list to learn, and tricks to remember them
- Percent composition by mass, step by step
- Molar mass vs. molecular weight vs. formula mass
- Why aren't atomic masses whole numbers?
- How to name ionic compounds, step by step
- Roman numerals in compound names: how to find the charge
- Naming molecular compounds with prefixes
- Element symbols: the list, and the ones from Latin
- Periodic table groups and periods explained
- Organic functional groups: the list, and how to spot each one