Water
- Chemical formula
- H2O
- Molar mass
- 18.015 g/mol
- Mass percent
- H 11.19%, O 88.81%
- Atoms per formula unit
- 3
Checked against: With IUPAC 2021 abridged weights: 2 × 1.0080 + 15.999 = 18.015 (PubChem 18.015)
Molar mass in g/mol and mass percent composition of any chemical formula, with brackets and hydrates such as CuSO4·5H2O, from IUPAC 2021 atomic weights.
By AdminDrafted with AI writing toolsUpdated Checked examples: 6
One mole of C₆H₁₂O₆ weighs 180.156 g; oxygen contributes the most mass (53.28%).
| Element | Atoms | Atomic weight | Mass (g/mol) | Mass % |
|---|---|---|---|---|
| C (Carbon) | 6 | 12.011 | 72.066 | 40.00% |
| H (Hydrogen) | 12 | 1.0080 | 12.096 | 6.71% |
| O (Oxygen) | 6 | 15.999 | 95.994 | 53.28% |
Brackets multiply everything inside; a hydrate's leading number multiplies its whole part. Hill formula: C6H12O6.
Shown to 3 decimals: the IUPAC abridged atomic weights carry about 5 significant figures, and some (Li, S, Cl, Pb…) fewer.
Molar mass is the mass of one mole of a substance, in grams per mole. The calculator reads the formula, counts the atoms of each element (multiplying through brackets and hydrate dots) and adds count × standard atomic weight, using the IUPAC 2021 abridged values. Each element's share of the total is its mass percent.
Chemists need molar mass to convert between grams and moles when weighing reagents. Glucose, C6H12O6, comes to 180.156 g/mol, of which oxygen supplies 53.28 %; a single molecule weighs 2.99 × 10⁻²² g.
Results are shown to three decimals because the abridged atomic weights carry about five significant figures. For elements with no standard atomic weight, such as technetium, the mass number of a long-lived isotope stands in, and the page says so.
Multiply each element's atom count by its standard atomic weight and add the products; the sum, in grams per mole, is the molar mass. Water, H2O, is 2 × 1.008 + 15.999 = 18.015 g/mol, and glucose, C6H12O6, is 180.156 g/mol. The atomic weights are the IUPAC 2021 abridged values.
Glucose, C6H12O6, step by step:
A symbol with no number after it counts once. The same method gives these totals:
| Formula | Atom counts | Total atoms | Molar mass (g/mol) |
|---|---|---|---|
| H | H: 1 | 1 | 1.008 |
| H2 | H: 2 | 2 | 2.016 |
| H2O | H: 2, O: 1 | 3 | 18.015 |
| CO2 | C: 1, O: 2 | 3 | 44.009 |
| NaCl | Na: 1, Cl: 1 | 2 | 58.440 |
| C6H12O6 | C: 6, H: 12, O: 6 | 24 | 180.156 |
| Ca3(PO4)2 | Ca: 3, P: 2, O: 8 | 13 | 310.174 |
| CuSO4·5H2O | Cu: 1, S: 1, O: 9, H: 10 | 21 | 249.677 |
Hydrogen gas is H2, at 2.016 g/mol, while a single hydrogen atom, H, is 1.008 g/mol. Oxygen gas, O2, is likewise 31.998 g/mol, twice the 15.999 of one oxygen atom.
Each element's share is its contribution divided by the molar mass, times 100. In water, hydrogen supplies 2.016 ÷ 18.015 = 11.19% of the mass and oxygen the other 88.81%.
Percentages rounded separately need not total exactly 100: glucose's 40.00% C, 6.71% H and 53.28% O add up to 99.99%.
A number after a bracket multiplies everything inside it. Ca3(PO4)2 holds 3 Ca, 2 × 1 = 2 P and 2 × 4 = 8 O, for 310.174 g/mol. Brackets can nest: K4[Fe(CN)6] holds 4 K, 1 Fe, 6 C and 6 N, for 368.345 g/mol.
A hydrate dot adds whole water molecules. CuSO4·5H2O is CuSO4 (159.602 g/mol) plus 5 × 18.015, for 249.677 g/mol. Using the anhydrous value for the hydrate overstates the moles in a weighed sample by 56%.
The atomic number Z is the number of protons, a whole number that identifies the element: chlorine has 17 protons and iron 26.
The standard atomic weight is the average mass of the element's atoms as found in nature, relative to one twelfth of a carbon-12 atom. It is rarely a whole number; chlorine's 35.45 reflects its mix of chlorine-35 and chlorine-37 atoms.
| Element | Symbol | Atomic number Z | Stored atomic weight |
|---|---|---|---|
| Hydrogen | H | 1 | 1.0080 |
| Helium | He | 2 | 4.0026 |
| Lithium | Li | 3 | 6.94 |
| Carbon | C | 6 | 12.011 |
| Nitrogen | N | 7 | 14.007 |
| Oxygen | O | 8 | 15.999 |
| Fluorine | F | 9 | 18.998 |
| Sodium | Na | 11 | 22.990 |
| Magnesium | Mg | 12 | 24.305 |
| Aluminium | Al | 13 | 26.982 |
| Silicon | Si | 14 | 28.085 |
| Phosphorus | P | 15 | 30.974 |
| Chlorine | Cl | 17 | 35.45 |
| Argon | Ar | 18 | 39.95 |
| Potassium | K | 19 | 39.098 |
| Calcium | Ca | 20 | 40.078 |
| Manganese | Mn | 25 | 54.938 |
| Iron | Fe | 26 | 55.845 |
| Cobalt | Co | 27 | 58.933 |
| Nickel | Ni | 28 | 58.693 |
| Copper | Cu | 29 | 63.546 |
| Zinc | Zn | 30 | 65.38 |
| Bromine | Br | 35 | 79.904 |
| Krypton | Kr | 36 | 83.798 |
| Silver | Ag | 47 | 107.87 |
| Xenon | Xe | 54 | 131.29 |
| Barium | Ba | 56 | 137.33 |
| Platinum | Pt | 78 | 195.08 |
| Gold | Au | 79 | 196.97 |
| Mercury | Hg | 80 | 200.59 |
These are the 2021 abridged values of the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW table). Lithium, chlorine and a few others carry fewer digits because their isotope mix varies between natural sources.
Elements with no standard atomic weight, such as technetium, take the mass number of a long-lived isotope instead, written in brackets as [97].
One molecule's average mass in daltons is the same number as the molar mass: a water molecule averages 18.015 Da. In grams, divide by the Avogadro constant: 18.015 ÷ (6.02214076 × 10²³) = 2.991 × 10⁻²³ g.
Ionic solids such as NaCl contain no separate molecules, so their 58.440 g/mol describes one formula unit. OpenStax explains formula mass and the mole in more detail.
Turn a weighed mass into moles with the grams-to-moles calculator, or a solution's mass and volume into molarity with the molarity calculator.
Checked against: With IUPAC 2021 abridged weights: 2 × 1.0080 + 15.999 = 18.015 (PubChem 18.015)
Checked against: 6 × 12.011 + 12 × 1.0080 + 6 × 15.999 = 180.156 (PubChem 180.16)
Checked against: 63.546 + 32.06 + 9 × 15.999 + 10 × 1.0080 = 249.677 (PubChem 249.69 with older S = 32.065)
Checked against: Same compound as above; '.' is read as the hydrate dot
Numerically, yes. Molar mass carries units of g/mol, while molecular weight (relative molecular mass, Mr) is the same number without units, measured against one twelfth of the mass of a carbon-12 atom. Water has a molar mass of 18.015 g/mol and a relative molecular mass of 18.015. For ionic solids such as NaCl, which have no discrete molecules, the usual term is formula mass.
Multiply each element's atom count by its atomic weight and add the products. For water, H2O: 2 × 1.008 + 15.999 = 18.015 g/mol. Brackets multiply everything inside them, so Ca3(PO4)2 holds 2 phosphorus and 8 oxygen atoms. A hydrate's water counts in full: CuSO4·5H2O adds 10 hydrogen and 5 oxygen atoms to copper sulfate, for 249.677 g/mol.
Atomic weights are revised as isotope measurements improve, and books round them differently. IUPAC's 2021 abridged table gives sulfur as 32.06 where older tables used 32.065, so copper sulfate pentahydrate comes to 249.677 g/mol here and 249.69 g/mol on PubChem. A difference in the second decimal place is normal; use whichever table your course or method specifies.
It is the share of a compound's mass that each element contributes: the element's mass in one formula unit divided by the molar mass, times 100. Glucose is 40.00 % carbon, 6.71 % hydrogen and 53.28 % oxygen. Chemists compare these figures with percentages measured by combustion analysis to confirm a sample's identity or work out an empirical formula.
Every element symbol starts with a capital letter and any second letter is lowercase, so case decides which atoms you mean. Co is cobalt, 58.933 g/mol, while CO is carbon monoxide, one carbon and one oxygen atom, 28.010 g/mol. Likewise NO is nitric oxide but No is nobelium. Type formulas with standard capitalisation to get the compound you intend.
This calculator includes 6 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.