1. Home
  2. Chemistry
  3. Mole concept & formulas
  4. Molar Mass & Percentage Composition Calculator

Molar Mass & Percentage Composition Calculator

Type any formula to get its molar mass, the mass percentage of each element and the moles in a sample.

ChemistryGrades 9–10Grades 11–12BeginnerStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. Find the molar mass of calcium hydroxide, Ca(OH)₂, and the percentage of each element.

  2. Find the molar mass of copper sulfate crystals, CuSO₄·5H₂O, and the percentage of water.

  3. How many moles are in 49 g of sulfuric acid, H₂SO₄?

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: Find the molar mass of calcium hydroxide, Ca(OH)₂, and the percentage of each element.

Plan: how this problem is solved
  1. Write the given values
  2. Add up the atomic masses (atoms × mass of each)
  3. Percentage of each element by mass
Answer
Molar mass of Ca(OH)<sub>2</sub>M = 74.09 g/mol
Composition by massCa 54.09%, O 43.19%, H 2.721%
Step-by-step solution
  1. Write the given values
    =Ca(OH)2
  2. Add up the atomic masses (atoms × mass of each)
    Ca=1 × 40.078 = 40.078 g
    O=2 × 15.999 = 31.998 g
    H=2 × 1.008 = 2.016 g
    M=74.092 g/mol
  3. Percentage of each element by mass
    Ca=40.07874.092 × 100 = 54.09%
    O=31.99874.092 × 100 = 43.19%
    H=2.01674.092 × 100 = 2.721%
Key idea: Molar mass in g/mol has the same number as the formula mass in u. One mole of anything contains 6.022 × 10²³ particles.

Terms used on this page

New to a word in the question or the solution? Here it is in simple language.

Powers of ten (6.4 × 10⁶)
A short way to write very big or very small numbers. 6.4 × 10⁶ means 6.4 with the point moved 6 places right: 6,400,000. In the boxes you can type it as 6.4e6.
Mole (mol)
A counting unit for particles: 1 mol = 6.022 × 10²³ particles. Moles = mass in grams ÷ molar mass.
Molar mass
Mass of one mole of a substance in grams. Add the atomic masses: NaOH = 23 + 16 + 1 = 40 g/mol.
Molarity (M)
Moles of solute in one litre of solution, in mol/L (written M). A 1 M NaOH solution has 40 g of NaOH in every litre.

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
Chemical formulatext
mMass of the sample (optional)g (or mg, kg)

Formula & concept

Type any chemical formula to get its molar mass, the percentage of each element and, if you give a mass, the moles and number of particles.

M = Σ (number of atoms × atomic mass),   % element = mass of element in 1 molM × 100

Key idea: Molar mass in g/mol has the same number as the formula mass in u. One mole of anything contains 6.022 × 10²³ particles.

How to use this calculator

  1. Type the known values from your question and pick the unit for each one.
  2. Press Solve step by step.
  3. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  4. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  5. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Molar Mass & Percentage Composition work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula M = Σ (number of atoms × atomic mass), % element = (mass of element in 1 mol)/(M) × 100 and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
Molar mass in g/mol has the same number as the formula mass in u. One mole of anything contains 6.022 × 10²³ particles.
Can I enter values in km, mm, kN or °C?
Yes. Each box has a unit list. The conversion to SI units is shown as the first step of the solution.
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Molar Mass & Percentage Composition free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 9–10 (GCSE · IGCSE · US high school · Class 9–10 (CBSE, ICSE)) and Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.