Molar Mass Calculator

–molar mass in g/mol - parentheses supported
FormulaNameMolar mass (g/mol)
H2Owater18.015
CO2carbon dioxide44.009
NaCltable salt58.440
C6H12O6glucose180.156
CH4methane16.043
NH3ammonia17.031
H2SO4sulfuric acid98.072
CaCO3calcium carbonate100.086
O2oxygen gas31.998
N2nitrogen gas28.014
Weights are the standard atomic weights from NIST’s atomic weights table - the same values printed on the periodic table list here. The calculator covers the 40 most common elements and parses parentheses: Ca(OH)2 counts two OH groups. The table above is computed from the same weights at page build time, not transcribed, so the numbers cannot drift from the parser. Bottom line: molar mass is the bridge between the recipe and the scale - one mole of water is 18.015 g because two hydrogens (1.008 each) ride one oxygen (15.999), and Avogadro’s exact 6.02214076×10²³ particles ride in every such mole. What happens when those atoms decay: half-life calculator; constants physical constants table; codes ASCII table.

Molar mass is the exchange rate between a chemical recipe and the lab scale: grams per mole, read straight off the formula. This calculator parses formulas - including parentheses like Ca(OH)2 - using the standard atomic weights from NIST, and the reference table of ten common compounds is computed from the same weights at build time.

The parser covers the 21 most common elements; anything rarer (or a typo) comes back as a named error instead of a wrong number, which is the honest failure mode for homework and lab prep alike.

How to use

  1. Type a formula - subscripts as plain digits, parentheses for groups; the chips load water, lime and glucose.
  2. Copy puts the exact g/mol value on the clipboard for a lab worksheet.
  3. Check the reference table for the ten compounds every general-chemistry problem set reuses.

Frequently asked questions

Why is chlorine 35.45 and not a whole number?

Atomic weights on the table are weighted averages over natural isotope mixes: chlorine is about 75% Chlorine-35 and 25% Chlorine-37, landing at 35.45. Only synthetic and single-isotope elements get near-whole numbers - the average is what balances equations and grams in real labs.

How do I compute molar mass of a hydrate like CuSO4·5H2O?

Add the parts: copper sulfate plus five waters - 159.6 plus 5 × 18.015 = 249.7 g/mol. The dot means add, not multiply; this calculator handles each half separately (paste CuSO4, then 5H2O as 5 waters of H2O) if the dot syntax is not accepted.

What exactly is a mole?

Exactly 6.02214076×10²³ particles - a definition fixed by the 2019 SI redefinition, same event that made the speed of light exact. Molar mass in g/mol is numerically the mass of that many formula units: one mole of water molecules weighs 18.015 grams.

Why does my textbook say 98.08 for sulfuric acid but the calculator says 98.072?

Rounding depth on sulfur: NIST lists S as 32.06, older tables used 32.065 or 32.064 - a difference of about 0.008 g/mol. The calculator reports what its NIST weights sum to, which is the reproducible answer; quote your source’s precision in the lab writeup.

Related tools