Molar mass calculator, for chemistry students in Estonia
Type a formula and see the sum set out the way you would write it in an exercise book: element by element, then added up.
Capital letters matter: Co is cobalt, CO is carbon monoxide. Write hydrates with a dot or full stop, as in CuSO4.5H2O.
Grams to moles, and back
n = m ÷ M = 25.0 g ÷ 18.02 g/mol = 1.387 mol
Number of formula units: N = n × NA = 8.355 × 10²³
Results are shown to four significant figures. Give your own answer to the number of significant figures in your data.
Working
| Element | Atoms | Atomic mass | Subtotal | % by mass |
|---|---|---|---|---|
| H hydrogen | 2 | 1.008 | 2.016 | 11.19 |
| O oxygen | 1 | 15.999 | 15.999 | 88.81 |
| Molar mass | 18.015 | 100.00 | ||
M(H2O) = 2(1.008) + 15.999
= 18.02 g/mol
Atomic masses are the standard values printed on most periodic tables. Your course may round them further, for example O = 16.00, which can change the last digit.
What the calculator is doing
The molar mass M is the mass of one mole of a substance, in grams per mole. Its value equals the relative atomic mass from the periodic table for an element, or the sum of the relative atomic masses for a compound.
A subscript multiplies the atom it follows. A subscript after a bracket multiplies everything inside it, so Ca(OH)₂ contains one calcium, two oxygen and two hydrogen atoms. In a hydrate such as CuSO₄·5H₂O, the number after the dot multiplies the whole water molecule.
Molar mass is the conversion factor between weighing and counting: n = m ÷ M gives the amount in moles from a mass in grams, and m = n × M goes back. One mole contains 6.022 × 10²³ particles, the Avogadro number.
How do you calculate molar mass?
Add up the relative atomic masses of all the atoms in the formula, multiplying each by its subscript, and give the result in grams per mole. For water, H2O: (2 × 1.008) + 15.999 = 18.015, which rounds to 18.02 g/mol.
How do you convert grams to moles?
Divide the mass in grams by the molar mass in grams per mole: n = m ÷ M. For 25.0 g of calcium carbonate, with a molar mass of 100.09 g/mol, n = 25.0 ÷ 100.09 = 0.250 mol. To go from moles to grams, multiply instead: m = n × M.
How do brackets and hydrates work in a formula?
A subscript after a bracket multiplies every atom inside the bracket, so Ca(OH)2 has two oxygen and two hydrogen atoms and a molar mass of 74.09 g/mol. In a hydrate, the number after the dot multiplies the whole water molecule: CuSO4·5H2O includes five H2O and has a molar mass of 249.68 g/mol.
Chemistry.ee