MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Student Questions
  4. /
  5. How to Calculate Moles and Chemical Formulae

How to Calculate Moles and Chemical Formulae

Learn how to calculate moles from mass or concentration, find an empirical formula from element masses, and use relative molecular mass for the molecular formula.

Share
Add as a preferred source on Google

To calculate moles, divide a substance’s mass by its molar mass. To find its empirical formula, convert the masses of its elements to moles and simplify the ratio. To find its molecular formula, use the compound’s relative molecular mass to scale up the empirical formula.

Calculate moles

A mole measures an amount of substance. From a mass, use:

n=mM n=\frac{m}{M} n=Mm​

Here, nnn is the amount in moles, mmm is the mass in grams, and MMM is the molar mass in g mol−1\mathrm{g\,mol^{-1}}gmol−1. For a solution, you can instead use n=cVn=cVn=cV, where ccc is concentration in mol dm−3\mathrm{mol\,dm^{-3}}moldm−3 and VVV is volume in dm3\mathrm{dm^3}dm3.

For example, to find the amount in 5.85 g5.85\,\mathrm{g}5.85g of sodium chloride, first calculate its molar mass: M=23.0+35.5=58.5 g mol−1M=23.0+35.5=58.5\,\mathrm{g\,mol^{-1}}M=23.0+35.5=58.5gmol−1. Then:

n=5.8558.5=0.100 mol n=\frac{5.85}{58.5}=0.100\,\mathrm{mol} n=58.55.85​=0.100mol

For solutions, convert the volume before substituting. Since 1000 cm3=1 dm31000\,\mathrm{cm^3}=1\,\mathrm{dm^3}1000cm3=1dm3, a volume of 25.0 cm325.0\,\mathrm{cm^3}25.0cm3 is 0.0250 dm30.0250\,\mathrm{dm^3}0.0250dm3. If its concentration is 0.200 mol dm−30.200\,\mathrm{mol\,dm^{-3}}0.200moldm−3, then:

n=0.200×0.0250=0.00500 mol n=0.200\times0.0250=0.00500\,\mathrm{mol} n=0.200×0.0250=0.00500mol

Keep units consistent and give a suitable number of significant figures.

Find the empirical formula

The empirical formula gives the simplest whole-number ratio of atoms. Suppose a compound contains 12 g12\,\mathrm{g}12g of carbon, 2 g2\,\mathrm{g}2g of hydrogen and 16 g16\,\mathrm{g}16g of oxygen. Divide each mass by its element’s molar mass:

C:1212=1,H:21=2,O:1616=1 \mathrm{C}:\frac{12}{12}=1,\qquad \mathrm{H}:\frac{2}{1}=2,\qquad \mathrm{O}:\frac{16}{16}=1 C:1212​=1,H:12​=2,O:1616​=1

The mole ratio is 1:2:11:2:11:2:1, so the empirical formula is CH2O\mathrm{CH_2O}CH2​O. If you are given percentages instead of masses, assume a 100 g100\,\mathrm{g}100g sample so each percentage becomes a mass in grams.

After dividing by the smallest mole value, the ratio may not immediately be whole numbers. For example, a ratio containing 1.51.51.5 should be multiplied throughout by 222.

Find the molecular formula

The molecular formula shows the actual number of each type of atom in one molecule. The empirical formula CH2O\mathrm{CH_2O}CH2​O has a relative formula mass of 303030. If the compound’s relative molecular mass is 180180180, the multiplier is 180/30=6180/30=6180/30=6. Multiply every subscript by 666 to get C6H12O6\mathrm{C_6H_{12}O_6}C6​H12​O6​.

A common mistake is to use the mass ratio directly as the empirical formula. Divide by molar masses first, then simplify the resulting mole ratio.

Related resources

Keep learning with resources for this subject.

Chemistry

Explore

Chemistry

View subject overview

Question bank

Practice exam-style questions

Revision guides

Review key concepts

Was this answer helpful?

Was this answer helpful?

Add as a preferred source on Google

Related student questions

1 Cell biology

Active Transport vs Diffusion: What Is the Difference?

Learn what active transport is, why it needs energy, and how it differs from diffusion in GCSE Biology, with clear definitions and examples.

Read the answer →

1 Cell biology

How Does Mitosis Work in the Cell Cycle?

Learn how mitosis fits into the cell cycle, from cell growth and DNA replication to chromosome separation and two genetically identical cells.

Read the answer →

1 Cell biology

Eukaryotic vs Prokaryotic Cells

Learn the differences between eukaryotic and prokaryotic cells, including their nuclei, genetic material, plasmids and sub-cellular structures.

Read the answer →

1 Cell biology

What Is Diffusion? GCSE Biology Explained

Learn what diffusion means in GCSE AQA Biology, how concentration affects net movement, examples in living organisms, and common exam mistakes.

Read the answer →

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Contact
  • For educators
  • For parents
  • Download the app
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.