Online Grams To Moles Calculator

Use this Online Grams To Moles Calculator to work through the same calculation as the main calculator page with clear steps, examples, and result context.

--

Run the calculator.

Quick Answer: Online Grams To Moles Calculator uses the same formula and workflow as the canonical calculator page.

What This Online Grams To Moles Calculator Helps You Do

This page puts the full mass-moles-molar-mass triangle in one place instead of limiting the tool to a single conversion direction. That makes it useful for stoichiometry, lab prep, and quick substance checks on the same page.

The result text keeps the relevant units visible so it is easier to catch a wrong molar mass before it affects later calculations.

How to Calculate Online Grams To Moles Calculator

  1. Choose the conversion: Use the appropriate mode to solve for moles, grams, or molar mass.
  2. Enter the known values: Provide the mass, amount in moles, or molar mass that belongs to the selected conversion.
  3. Apply the mass-mole relation: The calculator rearranges m = nM for the quantity you want and reports the result in standard chemistry units.
  4. Use the result in context: Check that the molar mass matches the actual substance formula before using the answer in stoichiometry or concentration work.

Online Grams To Moles Calculator Formula

m = nM; n = m / M; M = m / n
Variable Meaning Unit
m Mass of the substance g
n Amount of substance mol
M Molar mass g/mol

Use the worked examples below to check how the formula behaves with real values. If the result looks unexpected, verify the unit assumptions and the meaning of each variable before interpreting the answer.

Worked Examples

Mass to moles - Water sample
  • Mass: 18.0 g
  • Molar mass: 18.015 g/mol

Result: Amount is about 0.999 mol.

A molar mass close to 18 g/mol means 18 g of water is about 1 mole.

Mass to moles - Sodium chloride
  • Mass: 58.44 g
  • Molar mass: 58.44 g/mol

Result: Amount is 1.000 mol.

The mass equals the molar mass, so the sample contains one mole.

Moles to mass - Carbon dioxide amount
  • Moles: 0.50 mol
  • Molar mass: 44.01 g/mol

Result: Mass is 22.01 g.

Half a mole has half the mass of one mole for the same compound.

Find molar mass - Unknown substance sample
  • Mass: 45 g
  • Moles: 0.60 mol

Result: Molar mass is 75.0 g/mol.

Dividing mass by moles gives the molar mass needed to identify or compare the substance.

How to Interpret Your Results

Range Meaning Action
Mass equals molar mass The sample contains one mole. Use the result as a quick sanity check.
Moles below 1 The sample contains less than one molar amount. Expect the mass to be below the molar mass for that compound.
Large molar mass result The substance is relatively heavy on a per-mole basis. Verify the molecular formula or composition before using the result elsewhere.

Frequently Asked Questions

Divide the mass in grams by the molar mass in grams per mole.

Molar mass is the mass of one mole of a substance, usually expressed in g/mol.

Using water molar mass 18.015 g/mol, 100 g corresponds to about 5.55 mol.

Divide the mass by the number of moles to obtain molar mass in g/mol.
Note: This calculator assumes the molar mass entered matches the actual chemical substance and hydration state you want to analyze.

References

Last reviewed: March 2026