Moles to Grams Calculator

Convert between moles and grams using accurate molar masses. Select a common compound or enter a custom molar mass.

Select a compound or enter a custom molar mass in g/mol.
? 2 mol H₂O → grams
? 36 g H₂O → moles
? 0.5 mol NaCl → grams
?️ 10 g CO₂ → moles
? 0.25 mol glucose → grams
Privacy first: All calculations are performed locally in your browser. No data is sent to any server.

Understanding the Mole: A Cornerstone of Chemistry

The mole (symbol: mol) is the SI base unit for the amount of substance. It is defined as exactly 6.02214076 × 10²³ elementary entities (atoms, molecules, ions, or other particles). This number, known as Avogadro's constant (NA), was established by the International Union of Pure and Applied Chemistry (IUPAC) in 2019 as a fixed fundamental constant. The mole allows chemists to count particles by weighing them — a practical bridge between the microscopic world of atoms and the macroscopic world of laboratory measurements.

n = mM   or   m = n × M

where n = amount in moles, m = mass in grams, M = molar mass in g/mol

The concept of the mole originated from the work of the Italian scientist Amedeo Avogadro (1776–1856), who proposed that equal volumes of gases at the same temperature and pressure contain the same number of molecules. However, it was not until the 20th century that the mole became a standard unit. Today, the mole is essential in all branches of chemistry — from stoichiometric calculations in synthesis to quantitative analysis in environmental science and pharmaceutical formulation.

The molar mass of a compound is the mass of one mole of that compound, expressed in grams per mole (g/mol). It is calculated by summing the atomic masses of all atoms in the molecular formula. For example, water (H₂O) has a molar mass of 18.015 g/mol: 2 × 1.008 (hydrogen) + 15.999 (oxygen). This value is the key to converting between mass and moles.

How to Use This Calculator

  1. Select a common compound from the dropdown, or enter a custom molar mass in g/mol.
  2. Choose the conversion direction: Moles → Grams or Grams → Moles.
  3. Enter the amount (moles or grams, depending on direction).
  4. Click Convert to see the result, along with step‑by‑step details.
  5. Use the example buttons to quickly test common conversions.

Common Compounds and Their Molar Masses

Molar masses are based on IUPAC standard atomic weights (2021) and are accurate to three decimal places.

Compound Formula Molar Mass (g/mol) Common Use
Water H₂O 18.015 Solvent, coolant
Sodium Chloride NaCl 58.443 Table salt, brine
Carbon Dioxide CO₂ 44.010 Carbonation, greenhouse gas
Sulfuric Acid H₂SO₄ 98.079 Industrial chemical, batteries
Sodium Hydroxide NaOH 39.997 Lye, soap making
Glucose C₆H₁₂O₆ 180.156 Metabolism, food science
Ethanol C₂H₅OH 46.068 Alcohol, fuel
Ammonia NH₃ 17.031 Fertilizer, cleaning
Methane CH₄ 16.043 Natural gas, fuel
Calcium Carbonate CaCO₃ 100.086 Limestone, antacid
Hydrochloric Acid HCl 36.461 Stomach acid, pickling
Acetic Acid CH₃COOH 60.052 Vinegar, solvent

Real‑World Applications of Mole‑Gram Conversions

Case Study: Pharmaceutical Dosage

In drug synthesis and formulation, chemists must precisely measure the amount of active pharmaceutical ingredients (APIs). Suppose a reaction requires 0.15 moles of a compound with a molar mass of 325.4 g/mol. Using the formula m = n × M, the required mass is 48.81 g. This calculation ensures that the correct stoichiometric amount is used, directly impacting the efficacy and safety of the final drug product.

Case Study: Environmental Monitoring

When measuring atmospheric CO₂ concentrations, scientists often express results in parts per million (ppm). To convert ppm to actual mass of CO₂ in a given volume of air, mole‑gram conversions are essential. For example, 400 ppm CO₂ means 400 µmol of CO₂ per mole of air. Using the molar mass of CO₂ (44.010 g/mol), this corresponds to 17.60 mg of CO₂ per mole of air — a critical value for climate modeling.

Why Accurate Molar Mass Matters

  • Stoichiometric precision: In chemical reactions, even small errors in molar mass can lead to incorrect reagent amounts, affecting yield and purity.
  • Quality control: In manufacturing, precise molar mass data ensures consistent product composition.
  • Educational clarity: For students, mastering mole‑gram conversions builds a strong foundation for advanced topics like thermodynamics and kinetics.

Step‑by‑Step Calculation Example

Problem: How many grams are in 2.5 moles of glucose (C₆H₁₂O₆)?

  1. Identify the molar mass of glucose: C₆H₁₂O₆ = 6×12.011 + 12×1.008 + 6×15.999 = 180.156 g/mol
  2. Use the formula: m = n × M = 2.5 mol × 180.156 g/mol
  3. Calculate: m = 450.39 g

Answer: 2.5 moles of glucose weigh 450.39 grams.

Frequently Asked Questions

Moles measure the amount of substance (number of particles), while grams measure mass. The two are connected by molar mass: the mass in grams of one mole of a substance. For example, one mole of water weighs 18.015 g, so 1 mol H₂O = 18.015 g H₂O.

Molar mass is the sum of the atomic masses of all atoms in the molecular formula. Atomic masses are found on the periodic table. For example, CO₂: C = 12.011 g/mol, O = 15.999 g/mol × 2 = 31.998, total = 44.009 g/mol (rounded to 44.010).

Yes. You can either select a common compound from the dropdown or enter any custom molar mass. This makes the tool suitable for any chemical substance — from simple salts to complex organic molecules.

Avogadro's number (6.02214076 × 10²³) is the number of particles in one mole of any substance. It provides the bridge between the atomic scale and the macroscopic scale, allowing chemists to count atoms and molecules by weighing them.

The molar masses are based on the IUPAC standard atomic weights (2021) and are accurate to at least three decimal places. For most educational and practical purposes, this level of precision is more than sufficient.

Recommended resources include the IUPAC website, Khan Academy's stoichiometry section, and standard chemistry textbooks such as "Chemistry: The Central Science" by Brown, LeMay, and Bursten.

Rooted in chemical science – This tool is based on IUPAC standard atomic weights and the fundamental principles of stoichiometry. The underlying formulas are derived from the definition of the mole as established by the International System of Units (SI). Reviewed by the GetZenQuery tech team, last updated June 2026.

References: IUPAC Standard Atomic Weights; NIST Avogadro's Constant; Brown, T.L., LeMay, H.E., & Bursten, B.E. "Chemistry: The Central Science" (15th ed., 2022).