Molar Mass Calculator (Grams to Moles)

Updated 5 Dec 2026 · By , HisaabHub · How we check

Quick answer: Molar mass is the mass of one mole of a substance in g/mol. Water is 18.015 g/mol, so 36 g of water is 2 moles. Add the atomic masses of every atom in the formula, then use moles = grams / molar mass.

Advertisement
Molar mass of common compounds (g/mol, rounded)
CompoundFormulaMolar mass (g/mol)
WaterH2O18.015
Carbon dioxideCO244.009
Oxygen gasO231.998
Sodium chloride (salt)NaCl58.44
GlucoseC6H12O6180.156
MethaneCH416.043
AmmoniaNH317.031
Sulphuric acidH2SO498.079
Hydrochloric acidHCl36.458
Sodium hydroxideNaOH39.997
Calcium carbonateCaCO3100.087
EthanolC2H5OH46.069

Based on standard atomic weights: H 1.008, C 12.011, N 14.007, O 15.999, Na 22.990, S 32.06, Cl 35.45, Ca 40.078.

How to find the molar mass of a compound

Write the formula, count each atom and multiply by its atomic mass from the periodic table. For H2SO4: 2 x 1.008 + 32.06 + 4 x 15.999 = 98.079 g/mol. Add all the parts to get the molecular mass of the compound.

Grams to moles and moles to grams

Moles = mass / molar mass. Grams = moles x molar mass. Use the calculator above for the first one and rearrange for the second. For a solution, divide moles by litres to get molarity; try the percentage calculator for concentration percentages.

Advertisement

Molar mass, molecular mass and formula mass

Molecular mass is in atomic mass units for one molecule. Molar mass has the same number but in g/mol for a mole of molecules. Ionic compounds like NaCl use formula mass, the same method. Isotope-specific work uses the monoisotopic mass instead of the average.

Roman Urdu

Molar mass kisi compound ke aik mole ka wazan (g/mol) hota hai. Formula ke har atom ka atomic mass jama karein, phir moles = gram / molar mass se hisaab lagayein. Ye talba ke chemistry ke liye madadgar hai.

Official sources

Questions people ask

What is a molar mass calculator?
A tool that turns the mass of a sample and its molar mass into moles and the number of molecules.
How do I calculate molar mass?
Add the atomic masses of all atoms in the formula. Water is 2 x 1.008 + 15.999 = 18.015 g/mol.
What is the molecular mass of water?
About 18.015 atomic mass units, which is 18.015 g/mol as molar mass.
How do I convert grams to moles?
Divide the grams by the molar mass. 58.44 g of NaCl is 1 mole.
What is the difference between molar mass and molecular mass?
They have the same number. Molecular mass is per molecule in atomic mass units; molar mass is per mole in g/mol.
What is monoisotopic mass?
The mass of a molecule using the most abundant isotope of each element, used mainly in mass spectrometry.
Advertisement