Convert mass (grams) to amount of substance (moles) using accurate molar masses. Select from a library of common compounds, or enter a custom molecular formula and molar mass. Includes step‑by‑step stoichiometry and particle count via Avogadro's constant.
In chemistry, the mole (symbol: mol) is the SI base unit for the amount of substance. One mole contains exactly 6.02214076 × 1023 elementary entities (atoms, molecules, ions, or electrons) — a number known as Avogadro's constant (NA). The mole bridges the microscopic world of atoms and molecules with the macroscopic world of grams and kilograms, enabling chemists to count particles by weighing them.
The concept was pioneered by Amedeo Avogadro in 1811, and the modern definition was adopted by the International System of Units (SI) in 2019, fixing NA as an exact constant. This calculator uses the current IUPAC-recommended molar masses derived from the CIAAW (Commission on Isotopic Abundances and Atomic Weights) standard.
n = m / M
where n = amount (mol), m = mass (g), M = molar mass (g/mol)
The conversion from grams to moles rests on the definition of molar mass: the mass of one mole of a substance. For a given compound, the molar mass is the sum of the atomic masses of all atoms in its molecular formula, expressed in grams per mole (g/mol). Atomic masses are determined by high‑precision mass spectrometry and are published by the IUPAC and NIST.
For example, water (H₂O) has a molar mass of 18.015 g/mol. This means that 18.015 grams of water contain 6.022 × 1023 water molecules. If you have 5.0 g of water, the number of moles is:
n = 5.0 g / 18.015 g/mol = 0.2775 mol
The number of molecules is then: N = 0.2775 mol × 6.022 × 1023 mol⁻¹ ≈ 1.67 × 1023 molecules. This fundamental relationship underpins all of stoichiometry, from balancing chemical equations to predicting yields and determining empirical formulas.
Note on isotopic composition: The molar masses provided in this calculator are based on standard terrestrial isotopic abundances, as compiled by the CIAAW. In practice, variations in isotopic ratios (e.g., ¹⁸O/¹⁶O in water) can shift the effective molar mass at the 5th or 6th decimal place. For most general chemistry, educational, and routine analytical applications, the standard values are fully sufficient. For high‑precision isotope work, one would need to measure or account for the specific isotopic composition of the sample.
| Substance | Formula | Molar Mass (g/mol) | Common Use |
|---|---|---|---|
| Water | H₂O | 18.015 | Solvent, coolant |
| Sodium Chloride | NaCl | 58.44 | Table salt, brine |
| Glucose | C₆H₁₂O₆ | 180.156 | Energy source, biochemistry |
| Sulfuric Acid | H₂SO₄ | 98.079 | Industrial acid, batteries |
| Carbon Dioxide | CO₂ | 44.01 | Greenhouse gas, carbonation |
| Sodium Hydroxide | NaOH | 40.00 | Lye, soap making |
| Ethanol | C₂H₅OH | 46.07 | Alcohol, fuel |
| Ammonia | NH₃ | 17.031 | Fertilizer, cleaner |
| Methane | CH₄ | 16.04 | Natural gas, fuel |
| Calcium Carbonate | CaCO₃ | 100.086 | Antacid, cement |
| Hydrochloric Acid | HCl | 36.46 | Acid digestion, cleaning |
| Sodium Bicarbonate | NaHCO₃ | 84.006 | Baking soda, antacid |
| Acetic Acid | CH₃COOH | 60.052 | Vinegar, chemical synthesis |
| Sucrose | C₁₂H₂₂O₁₁ | 342.30 | Table sugar |
| Aspirin | C₉H₈O₄ | 180.157 | Analgesic, anti‑inflammatory |
A biochemistry lab needs 250 mL of a 0.5 M (molar) glucose solution for a cell culture experiment. The molar mass of glucose (C₆H₁₂O₆) is 180.156 g/mol.
Step 1: Calculate the number of moles required: n = C × V = 0.5 mol/L × 0.250 L = 0.125 mol.
Step 2: Convert moles to grams: m = n × M = 0.125 mol × 180.156 g/mol = 22.5195 g.
The researcher weighs out 22.52 g of glucose, dissolves it in deionized water, and brings the total volume to 250 mL. Using this calculator, the reverse check is simple: enter 22.52 g of glucose and verify that it equals 0.125 mol — exactly the required amount.
Practical considerations: In a real laboratory, the analytical balance used has a measurement uncertainty (often ±0.1 mg or better). The calculated molarity will inherit this uncertainty. Additionally, the purity of the reagent (e.g., 98% glucose) should be factored in—the effective mass of pure glucose is mass × (purity/100). This tool provides the core stoichiometric conversion, allowing you to easily adjust for purity and other corrections.
This type of calculation is essential in clinical chemistry, pharmaceutical formulation, and food science.
The mole is inextricably linked to Avogadro's constant (NA = 6.02214076 × 1023 mol⁻¹). This constant represents the number of particles in one mole. When you know the number of moles (n), you can calculate the total number of particles (N) using:
N = n × NA
For example, 0.2775 mol of water contains 0.2775 × 6.022 × 1023 ≈ 1.67 × 1023 water molecules. This concept is crucial in understanding reaction stoichiometry, gas laws (where the mole relates to volume at STP), and colligative properties.
The 2019 redefinition of the mole made NA an exact constant, eliminating uncertainty in the Avogadro constant and ensuring that the mole is now fundamentally tied to a fixed number of entities rather than to the mass of a reference substance.