molecalculator

Moles & Molar Mass

Grams to Grams per Mole? Conversion Explained

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

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 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.

Grams and grams per mole (g/mol) are two different things: grams measure mass, while grams per mole is molar mass—the mass of one mole of a substance. To convert grams to grams per mole, you divide the mass in grams by the amount in moles (g ÷ mol = g/mol). This article explains the relationship, how to calculate molar mass from a chemical formula, and how to use it in everyday lab conversions.

Formula

The core relationship is: molar mass (M) = mass (m) ÷ amount of substance (n), where M is in grams per mole (g/mol), m is in grams (g), and n is in moles (mol). Rearranged, mass = moles × molar mass, and moles = mass ÷ molar mass.

For a compound, molar mass is the sum of the atomic weights (in g/mol) of each element multiplied by its subscript in the formula. For example, sodium chloride (NaCl) has a molar mass of 22.990 g/mol (Na) + 35.45 g/mol (Cl) = 58.44 g/mol.

Worked Example

Using the calculator defaults: you have 2.922 g of NaCl (molar mass 58.44 g/mol) and you dissolve it in water to a final volume of 250 mL. What is the molarity?

  1. Convert volume to liters: 250 mL ÷ 1000 = 0.250 L.
  2. Calculate moles of NaCl: 2.922 g ÷ 58.44 g/mol = 0.05000 mol.
  3. Calculate molarity: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L (0.2000 M).
  4. In millimolar: 0.2000 mol/L × 1000 = 200.0 mM.

The calculator gives the same result: 0.2000 M and 200.0 mM.

Assumptions

  • The solute is pure and fully dissolves.
  • The final volume (not the solvent volume) is used—you add solute first, then bring the solution to the mark.
  • Temperature is assumed to be near 25 °C; molarity does not change with temperature for a fixed mass and volume, but the volume of the solution may expand or contract.

Why Grams per Mole Matters

Molar mass is the bridge between the macroscopic world (grams you weigh on a balance) and the microscopic world (moles, which count particles). Without it, you cannot prepare solutions of known concentration, convert between mass and moles in stoichiometry, or interpret gas law calculations. In the lab, you almost never measure moles directly—you measure grams and then use molar mass to find moles.

How to Find Molar Mass from a Formula

To get g/mol from a chemical formula, follow these steps:

  • Write the formula, e.g., glucose C6H12O6.
  • Look up the atomic weight of each element (IUPAC standard): C = 12.011, H = 1.008, O = 15.999 g/mol.
  • Multiply each by its subscript: C: 6 × 12.011 = 72.066; H: 12 × 1.008 = 12.096; O: 6 × 15.999 = 95.994.
  • Add them: 72.066 + 12.096 + 95.994 = 180.156 g/mol.

For hydrates (e.g., CuSO4·5H2O), add the water molecules’ mass to the anhydrous salt’s mass.

Common Mistakes and Misconceptions

  • Confusing grams with g/mol: A substance’s molar mass is a fixed number (e.g., 58.44 g/mol for NaCl), but the mass you weigh can be any number of grams. They are not interchangeable.
  • Using the wrong atomic weight: Always use the standard atomic weight for the element, not the mass number of a specific isotope (unless you’re working with isotopically labeled compounds).
  • Forgetting to convert mL to L: Molarity is moles per liter, so volume must be in liters. A common error is dividing by milliliters directly.
  • Rounding too early: Round only at the final step to avoid accumulating error. Keep at least 4–5 significant figures in intermediate steps.

Converting Grams to Moles and Back

Once you know the molar mass, conversion is straightforward:

  • Grams to moles: divide mass by molar mass. Example: 10.0 g of NaCl ÷ 58.44 g/mol = 0.171 mol.
  • Moles to grams: multiply moles by molar mass. Example: 0.500 mol of NaCl × 58.44 g/mol = 29.22 g.

This is used in stoichiometry to relate reactants and products. For a balanced equation, the mole ratio tells you how many moles of one substance react with another; convert each mass to moles, apply the ratio, then convert back to grams if needed.

Real-World Context: Solution Preparation

In the lab, you often need to make a solution of a specific molarity. The steps are: calculate the required mass (mass = molarity × volume in liters × molar mass), weigh that mass, dissolve in a portion of solvent, then add solvent to the final volume. For example, to make 500 mL of 0.100 M NaCl: 0.100 mol/L × 0.500 L × 58.44 g/mol = 2.922 g. Weigh 2.922 g, dissolve, and dilute to 500 mL. This is exactly the default in the calculator above.

Always follow your lab method, the safety data sheet (SDS) and your supervisor when handling chemicals.

Frequently Asked Questions

Is grams per mole the same as molecular weight?

Yes, in practice. Molecular weight (or molecular mass) is often expressed in atomic mass units (u), but numerically it is the same as molar mass in g/mol. For example, the molecular weight of water is 18.015 u, and its molar mass is 18.015 g/mol.

How do I convert grams to moles without a calculator?

You need the molar mass. Divide the mass in grams by the molar mass (g/mol). For instance, 36 g of water (molar mass 18 g/mol) is 2 moles. You can compute this by hand using the periodic table.

What is the difference between molar mass and atomic mass?

Atomic mass is the mass of a single atom (in u), while molar mass is the mass of one mole of atoms (in g/mol). Numerically they are identical for an element (e.g., carbon-12 has an atomic mass of 12 u and a molar mass of 12 g/mol). For compounds, molar mass is the sum of atomic masses of all atoms in the formula.

Why is the molar mass of NaCl 58.44 and not 58.5?

58.44 comes from using the standard atomic weights (Na 22.990, Cl 35.45). 58.5 is a rounded value often used for quick calculations. The exact value depends on the isotopic composition, but for lab work, 58.44 g/mol is the accepted standard.

Can I use grams per mole for gases?

Yes. For gases, molar mass is used in the ideal gas law (PV = nRT) to convert between mass and moles. For example, the molar mass of oxygen gas (O2) is 31.998 g/mol, so 32.0 g of O2 is about 1 mole.

Related

Formula used
in m | Mass of solute | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in v | Final solution volume | mL | 250 | 0.001
out c | Molarity | mol/L | m / mm / (v / 1000) | 4
out cmm | Concentration in millimolar | mM | c * 1000 | 2

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 →