Molar Mass Calculator

Enter a chemical formula and get the molar mass in g/mol with a full element-by-element breakdown.

Chemical Formula

Quick examples:

Result

Molar Mass
Formula:
Element Symbol Count Atomic Mass Contribution
Total Molar Mass

How to Write Chemical Formulas

Subscripts (numbers)

Write the count right after the element symbol: H2O = 2 hydrogen + 1 oxygen

Parentheses

Use parentheses for groups: Ca(OH)2 = Ca + 2×(O+H)

Case-sensitive

Co = Cobalt (one element). CO = Carbon + Oxygen (two elements)

No spaces or special chars

Enter the formula without spaces, dots, or Unicode subscripts. Use plain numbers: C6H12O6

Common Compounds

Frequently Asked Questions

What is molar mass?

Molar mass is the mass of one mole (6.022 × 10²³ particles) of a substance, expressed in grams per mole (g/mol). It equals the sum of the atomic masses of all atoms in the formula.

Where do the atomic masses come from?

Atomic masses used are standard atomic weights from the IUPAC 2021 table, expressed in unified atomic mass units (u), which are numerically equal to g/mol when calculating molar mass.

What's the difference between molecular mass and molar mass?

Molecular mass is the mass of a single molecule in atomic mass units (u or Da). Molar mass is the mass of one mole of molecules in g/mol. They are numerically equal but have different units.

How do I use molar mass in calculations?

Molar mass is used to convert between grams and moles: moles = mass (g) ÷ molar mass (g/mol). It's essential for stoichiometry calculations in chemistry.