Molecular Weight Calculator

Calculated on this device
Enter a case-sensitive chemical formula up to 32 characters
Select a common chemical compound to populate the formula
MOLAR MASS (MOLECULAR WEIGHT)
180.156 g/mol

Formula: C6H12O6 · 24 atoms per unit

Uses IUPAC CIAAW standard atomic weights (g/mol). Element symbols are case-sensitive.

ElementSymbolAtomsAtomic Weight (g/mol)Subtotal (g/mol)Mass %
CarbonC612.011072.066040.00%
HydrogenH121.008012.09606.71%
OxygenO615.999095.994053.28%

HOW IT WORKS

IUPAC atomic weights & formula parsing

Enter any valid chemical formula—including parentheses, brackets, and hydrate dots (e.g., Ca(OH)2 or CuSO4.5H2O)—to compute total molar mass and elemental mass percent.

01

Elemental Summation

Multiplies each element's IUPAC standard atomic weight by its atom count:

M_w = Σ (count_i × atomic_weight_i)
02

Parentheses & Hydrates

Nested groups multiply inner atom counts, and hydrate separators add water or adduct units:

Ca(OH)2 → 1 Ca + 2 O + 2 H = 74.093 g/mol

MOLAR MASS GUIDE

Using molar mass in solution stoichiometry

Related chemistry calculators

Once you have your compound's molar mass, plug it directly into our Molarity Calculator to compute solution concentrations or required solute masses.

Frequently asked questions

Why are element symbols case-sensitive?

In chemical notation, capitalization distinguishes elements from compounds:Co is Cobalt (58.933 g/mol), whereas CO is Carbon Monoxide (28.010 g/mol).

How do I enter a hydrate like copper sulfate pentahydrate?

Use a period, middle dot, or asterisk before the hydrate coefficient, such as CuSO4.5H2O or CuSO4·5H2O.

What is the difference between molecular weight and molar mass?

Numerically they are identical for standard chemical formulas: molecular weight is expressed in unified atomic mass units (u or Da), while molar mass is expressed in grams per mole (g/mol).

Is any formula data sent to a server?

No. The formula parser runs 100% locally in your browser.