Moles to Grams Calculator Formula
Understand the math behind the moles to grams calculator. Each variable explained with a worked example.
Formulas Used
Mass
grams = moles * molar_massMass
kilograms = (moles * molar_mass) / 1000Variables
| Variable | Description | Default |
|---|---|---|
moles | Number of Moles(mol) | 2 |
molar_mass | Molar Mass(g/mol) | 18.015 |
How It Works
How to Convert Moles to Grams
Formula
mass (g) = moles × molar mass (g/mol)
Multiply the number of moles by the molar mass to get grams.
Worked Example
Convert 2 moles of water (Mw = 18.015 g/mol) to grams.
- 01mass = moles × Mw
- 02mass = 2 × 18.015
- 03mass = 36.03 g
When to Use This Formula
- Weighing out a specific number of moles of a reagent for a chemistry experiment — you need the mass in grams to use a balance.
- Converting a reaction's stoichiometric requirements from moles to grams so you know exactly how much of each reactant to measure.
- Checking whether you have enough of a chemical in stock by converting the required moles to grams and comparing to the bottle label.
- Preparing solutions of a specific molarity — first calculate the moles of solute needed, then convert to grams for weighing.
- Interpreting nutritional or pharmaceutical dosages that are specified in millimoles by converting to milligrams for practical measurement.
Common Mistakes to Avoid
- Using the atomic mass of a single element instead of the molecular (formula) mass of the compound — for example, using 23 g/mol (sodium) instead of 58.44 g/mol (NaCl) gives a result that is off by more than half.
- Confusing grams with moles in the multiplication direction — to go from moles to grams you multiply by molar mass (m = n × M), but to go from grams to moles you divide. Reversing the operation is the most common error.
- Using an outdated or rounded molar mass — rounding 18.015 g/mol for water to 18 is usually fine, but rounding larger molecules aggressively can introduce meaningful errors in precise work.
- Forgetting to account for hydration in hydrated salts — CuSO4·5H2O has a molar mass of 249.69 g/mol, not 159.61 g/mol (anhydrous CuSO4). Using the wrong form wastes reagent or under-delivers solute.
Frequently Asked Questions
Why do we need molar mass to convert?
Moles count particles while grams measure mass. Molar mass is the bridge: grams per mole.
Is molar mass the same as molecular weight?
Numerically yes. Molar mass has units of g/mol; molecular weight is in atomic mass units (amu).
How do I find molar mass of a compound?
Sum the atomic masses of all atoms in the molecular formula using values from the periodic table.
Learn More
Guide
Understanding Molarity
Learn what molarity is, how to calculate it, and why it matters in chemistry. Covers moles, liters, dilution, and step-by-step examples for preparing solutions.
Ready to run the numbers?
Open Moles to Grams Calculator