How much does one mole of your substance weigh?
Type a chemical formula and get its molar mass in g/mol, with each element's count, mass and share of the mass.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
For example C6H12O6, Ca(OH)2 or CuSO4·5H2O (CuSO4*5H2O also works).
Molar mass of C₆H₁₂O₆
58.44 g/mol
NaCl has 2 atoms of 2 elements; Cl makes up 60.66% of its mass.
Mass and atoms by element
- Share of mass
- Share of atoms
Mass by element
| Element | Atoms | Mass (g/mol) | Share of mass |
|---|---|---|---|
| C | 6 | 72.066 | 40% |
| H | 12 | 12.096 | 6.71% |
| O | 6 | 95.994 | 53.28% |
Type a chemical formula and get its molar mass in g/mol, with each element's count, mass and share of the mass.
How to use
- Type the chemical formula. Element symbols are case-sensitive: Co is cobalt, CO is carbon monoxide.
- Use brackets for groups (Ca(OH)2), a dot or an asterisk for water of crystallisation (CuSO4·5H2O) and a caret for a charge (SO4^2-).
- Read the molar mass; the bars and the table show how much of it each element brings.
Molar mass of common substances
| Formula | Molar mass (g/mol) |
|---|---|
| H2O | 18.02 |
| CO2 | 44.01 |
| O2 | 32.00 |
| NaCl | 58.44 |
| CH4 | 16.04 |
| NH3 | 17.03 |
| C6H12O6 | 180.16 |
| H2SO4 | 98.07 |
| CaCO3 | 100.09 |
| C2H5OH | 46.07 |
Standard atomic weights; each formula opens in the calculator.
How it works
The molar mass is the mass of one mole of a substance, about 6.022 × 10²³ formula units, in grams per mole. It is the bridge between grams on a balance and the number of particles that take part in a reaction.
Add up the atoms: M = Σ nᵢ × Arᵢ, where nᵢ is how many atoms of element i one formula contains and Arᵢ is that element's standard atomic weight. Glucose, C₆H₁₂O₆, is 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol. Each element's share of the mass is nᵢ × Arᵢ ÷ M: carbon is 72.066 ÷ 180.156 = 40.00 %, although only a quarter of the atoms are carbon.
The atomic weights are the abridged standard values of the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Elements without a stable isotope have none, so the mass number of their longest-lived isotope is used and the result is marked approximate. The method follows OpenStax Chemistry 2e, sections 3.1 and 3.2.
Natural samples vary a little in isotope mix, so the last decimal can differ from another table's. A labelled isotope, such as ¹³C or D (deuterium), uses its own mass from NIST instead of the standard atomic weight.
Sources
- CIAAW: Abridged standard atomic weightsUsed for: reference data
- OpenStax Chemistry 2e, §3.1 Formula Mass and the Mole ConceptUsed for: formula
Frequently asked questions
What is the difference between molar mass and molecular weight?
The numbers are the same. Molecular weight (relative molecular mass) has no unit; molar mass is the same number in grams per mole.
How do I convert grams to moles?
Divide the mass by the molar mass: 90 g of glucose is 90 ÷ 180.16 = 0.50 mol.
How do I enter a hydrate such as copper sulfate pentahydrate?
Write the water after a dot or an asterisk: CuSO4·5H2O or CuSO4*5H2O. Its molar mass is 249.68 g/mol.
Does the charge on an ion change its calculated molar mass?
The calculator ignores the small mass of electrons gained or lost. Write charges after a caret, such as SO4^2-, so they are read as charges rather than atom counts.
Can I enter a mixture or a whole chemical equation?
Enter one chemical formula at a time. A mixture has no single formula-based molar mass unless you also know its composition; a reaction equation needs separate molar masses for its substances.
Next you might need
More in Chemistry
- Cell potential calculator, private, runs on your device
- Chemical equilibrium calculator, private, runs on your device
- Electron configuration, private, runs on your device
- Gas law calculator, private, runs on your device
- Partial pressure calculator, private, runs on your device
- pH calculator, private, runs on your device





