Skip to main content

Molar Mass Calculator

Type a chemical formula to get molar mass in g/mol. The page parses element symbols and parentheses, then sums IUPAC typical atomic weights. Also called molecular weight for covalent compounds.

Rated 4.9 out of 5 based on 412 reviews

Results

How to compute molar mass from a formula

  1. Type the formula with standard element symbols and optional parentheses for groups.
  2. Use digits after a symbol or group for counts, such as H2O or Ca(OH)2.
  3. Read molar mass in g/mol, the parsed composition, and each element's contribution.
  4. Carry that molar mass into moles-to-grams or concentration work. Expand hydrate dots before pasting.

Molar mass

Mass per mole of a chemical formula

Unitg/mol
Atomic weightIUPAC typical relative atomic mass for each element
Molecular weightSame numeric value for a covalent molecule
Formula weightSame approach for ionic formula units
ParenthesesMultiply a group, as in Ca(OH)2
CompositionElement counts after parsing

What molar mass reports

Molar mass is the mass of one mole of formula units. Glucose C6H12O6 is about 180.16 g/mol with the atomic weights on this page. Water H2O is about 18.015 g/mol.

Elements, groups, and formula units

Each capital letter starts an element symbol. Digits multiply that element. Parentheses wrap a group that a following digit multiplies. The formula unit is whatever the formula writes, molecule or ionic empirical unit.

How parsing works on this page

The engine walks the formula left to right, expands one level of parentheses, looks up each element in a standard atomic-weight table, and sums mass × count. Unknown symbols and mismatched parentheses throw clear errors.

Limits

Hydrates written with a middle dot are not accepted as one string. Expand them (for example CuSO4 plus five H2O) or type a known molar mass on the moles page. Atomic weights are typical IUPAC values, not a certificate of analysis. See the disclaimer.

Molar mass questions

Is molecular weight the same as molar mass here?
For a covalent formula the number matches. This page always reports g/mol for the formula you typed.
Does Al2(SO4)3 parse correctly?
Yes. The sulfate group multiplies by three, so you get two Al, three S, and twelve O.
Why is glucose the default?
C6H12O6 is a familiar organic formula that exercises multi-digit counts on carbon, hydrogen, and oxygen.
Can I enter lowercase-only formulas?
No. Element symbols must use a capital letter, with an optional lowercase second letter, such as Na or Cl.
Where do the atomic weights come from?
IUPAC typical atomic weights stored in the page engine. They are standard study values, not a lab assay.