Molecular Weight Calculator

Type any chemical formula — get its molecular weight, element by element.

Use standard chemical notation — capital letters start each element symbol, numbers indicate counts, and parentheses group repeated units.

Molecular weight
180.156 g/mol
C×6: 72.066H×12: 12.096O×6: 95.994

Molecular weight is the sum of each element's atomic weight, multiplied by how many atoms of it appear in the formula.

A worked example

Glucose, C6H12O6, has a molecular weight of 180.156 g/mol — 6 carbons, 12 hydrogens, and 6 oxygens summed together.

Frequently asked questions

Why do parentheses matter in a formula like Ca(OH)2?

The subscript outside the parentheses multiplies everything inside — Ca(OH)2 means one calcium atom plus two full hydroxide (OH) groups, not just two oxygen atoms. Parsing the parentheses correctly is essential for an accurate molecular weight.

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

In practice, they're used interchangeably and refer to the same number — the mass of one mole of a substance, expressed in grams per mole (g/mol).