molecalculator

Moles & Molar Mass

Moles to Grams Conversion: Formula & Examples

Calculator No. 01-10530 · Updated · Formula and assumptions shown below

Mass 146.1000 g
Amount
2.5000 mol
= Amount of substance
Amount of substance
2.5 mol
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Amount of substance (mol), Molar mass (g/mol)
You get
Mass (g), Amount (mol)
Rounding
4 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

To convert between moles and grams, multiply the number of moles by the substance’s molar mass (in g/mol) to get grams, or divide the mass in grams by the molar mass to get moles. This page provides a calculator that does exactly that for any substance once you enter its molar mass.

Formula

The conversion rests on one definition: the molar mass (M) of a substance is the mass in grams of exactly one mole of that substance. Therefore:

  • Mass (g) = moles × molar mass (g/mol)
  • Moles = mass (g) ÷ molar mass (g/mol)

In the calculator above, the first output (mass) is the product of the amount in moles and the molar mass you enter. The second output simply echoes the input amount, showing that the calculator always works in both directions. The molar mass is a property of the specific substance—for sodium chloride (NaCl), it is 58.44 g/mol; for water (H₂O), it is 18.015 g/mol.

Worked Example

Using the default values from the calculator: amount = 2.5 mol, molar mass = 58.44 g/mol (NaCl).

  1. Write the formula: mass = moles × molar mass
  2. Plug in the numbers: mass = 2.5 mol × 58.44 g/mol
  3. Multiply: 2.5 × 58.44 = 146.1 g

The calculator gives 146.1 g (rounded to 4 decimal places). This means 2.5 moles of sodium chloride weigh 146.1 grams.

Assumptions

  • The molar mass is that of the pure substance, not a mixture or solution.
  • The substance is in a form where the molar mass applies directly (e.g., anhydrous salt, not a hydrate unless you include water of hydration).
  • No chemical reaction is occurring; you are simply converting a quantity between two units.

Why Molar Mass Is the Key

The mole is a counting unit—6.022 × 1023 particles (Avogadro’s number). Because atoms and molecules have different masses, a mole of one substance does not weigh the same as a mole of another. The molar mass bridges the microscopic world (particles) and the macroscopic world (grams you can weigh on a balance). For example:

  • 1 mol of carbon (C) = 12.011 g
  • 1 mol of oxygen gas (O₂) = 31.998 g
  • 1 mol of sodium chloride (NaCl) = 58.44 g

To find the molar mass of a compound, add the atomic masses of its constituent atoms (using the periodic table). For NaCl: 22.99 (Na) + 35.45 (Cl) = 58.44 g/mol.

How to Choose the Correct Molar Mass

Always use the molar mass of the specific substance you have. Common mistakes include:

  • Using the atomic mass for a diatomic element (e.g., using 16.00 for oxygen instead of 31.998 for O₂).
  • Forgetting water of hydration in salts like CuSO₄·5H₂O (the molar mass includes 5 water molecules).
  • Using a rounded molar mass when precision matters (e.g., 58.5 vs. 58.44 for NaCl).

When in doubt, calculate from the periodic table using the most accurate atomic weights available.

Common Mistakes and How to Avoid Them

  • Unit mix-ups: Molar mass must be in g/mol, not g or kg/mol. If you have molar mass in kg/mol, convert to g/mol by multiplying by 1000.
  • Reversing the operation: To go from moles to grams, multiply; to go from grams to moles, divide. A quick sanity check: a mole of a typical substance is tens of grams, so 0.1 mol should be a few grams, not hundreds.
  • Rounding too early: Keep intermediate values with enough significant figures to avoid rounding errors in the final answer.
  • Ignoring significant figures: The final answer should have the same number of significant figures as the least precise input. For example, 2.5 mol (2 sig figs) × 58.44 g/mol (4 sig figs) = 146.1 g, but reported as 1.5 × 10² g if following strict sig-fig rules.

Real-World Context: Why This Conversion Matters

In chemistry labs, you often need to weigh out a specific number of moles of a reagent. For instance, to prepare 250 mL of a 0.1 M NaCl solution, you first calculate the moles needed (0.025 mol) and then convert to grams (0.025 × 58.44 = 1.461 g). That mass is what you actually weigh on the balance. Similarly, in stoichiometry, you convert grams of a reactant to moles to use the balanced equation, then convert the resulting moles back to grams for the product. Without a reliable moles-to-grams conversion, quantitative chemistry would be impossible.

Frequently Asked Questions

How do I convert grams to moles?

Divide the mass in grams by the molar mass (g/mol). For example, 10 g of water (molar mass 18.015 g/mol) is 10 ÷ 18.015 = 0.555 mol.

What is molar mass in simple terms?

Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). It is numerically equal to the atomic or molecular weight found on the periodic table (for elements) or calculated by adding atomic weights (for compounds).

Can I convert moles to grams for any substance?

Yes, as long as you know the substance’s molar mass. The conversion formula is universal—it works for elements, compounds, ions, and even mixtures if you treat them as a single entity with an average molar mass (e.g., air).

Why do we use moles instead of just grams?

Moles allow chemists to count particles indirectly. Because atoms and molecules are incredibly small, weighing them individually is impossible. The mole links the mass you can measure on a balance to the number of particles involved in a chemical reaction, enabling stoichiometric calculations.

What is the difference between molar mass and molecular weight?

In practice, they are the same number, but the units differ. Molecular weight is a dimensionless ratio (relative to 1/12 of carbon-12), while molar mass has units of g/mol. For example, water has a molecular weight of 18.015 and a molar mass of 18.015 g/mol.

How do I calculate molar mass of a compound?

Write the chemical formula, find the atomic mass of each element from the periodic table, multiply each by the number of atoms of that element in the formula, and sum them. For example, H₂SO₄: (2 × 1.008) + 32.06 + (4 × 15.999) = 98.078 g/mol.

Related

Formula used
in m | Amount of substance | mol | 2.5 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
out mass | Mass | g | m * mm | 4
out moles | Amount | mol | m | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →