Molar Mass Calculator
Type a chemical formula such as C6H12O6 or Ca(OH)2 and get its molar mass with the mass percent of each element.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
molar mass = sum of (atomic mass x number of atoms) for each element
Frequently asked questions
Can it handle brackets and hydrates?
Yes. Ca(OH)2 and CuSO4.5H2O both work. Use a dot or the middle dot for the water of crystallisation.
Which atomic masses are used?
Standard atomic weights rounded to about 5 significant figures, as printed on most periodic tables.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Mole Calculator
Convert between grams, moles and number of particles for any substance using its molar mass and Avogadro's number.
Molarity Calculator
Find the molarity of a solution from the mass of solute, its molar mass and the volume, or find the mass needed for a chosen molarity.
Empirical Formula Calculator
Find the simplest whole number formula of a compound from the mass or mass percent of each element.