Molar Mass Calculator

Enter any chemical formula — simple (H2O), with parentheses (Ca(OH)2, Fe2(SO4)3), or a hydrate (CuSO4·5H2O) — to get its molar mass and a per-element mass breakdown, calculated from current standard atomic weights.

Try:

Molar mass: 249.691 g/mol

Swipe to see every column →

ElementCountAtomic massSubtotalMass %
O Oxygen915.999143.991
57.67%
Cu Copper163.5563.550
25.45%
S Sulfur132.0732.070
12.84%
H Hydrogen101.00810.080
4.04%

How it works

The calculator parses your formula into atom counts per element — handling nested parentheses/brackets and hydrate notation (separated by ·, * or .) — then multiplies each element's atom count by its standard atomic weight and sums the results. Mass percent shows how much each element contributes to the compound's total mass, which is the basis for empirical formula and percent composition calculations.