Molar Mass Calculator

Molar mass connects a measurable, everyday quantity (grams on a scale) to a chemistry-scale quantity (moles) — this finds it directly from a known mass and mole count, useful for identifying an unknown substance or checking a calculation.

Inputs

Result

18 g/mol

How it works

M = m ÷ n

How the molar mass calculator works

M = m ÷ n, where m is mass in grams and n is the number of moles, giving molar mass in g/mol.

Worked example: 18 g sample containing exactly 1 mole

  1. M = 18 ÷ 1 = 18 g/mol.
  2. This molar mass matches water (H₂O), a useful cross-check if identifying an unknown sample from a measured mass and mole count.

Common mistakes to avoid

Confusing molar mass with molecular weight units

Molar mass (g/mol) and molecular weight (often expressed in atomic mass units, u or Da, for a single molecule) represent the same underlying value numerically for most practical purposes, but are conceptually distinct — one describes a bulk per-mole quantity, the other a single-particle mass.

Using an inaccurate or rounded mole count

Since molar mass is calculated by dividing mass by moles, an imprecise mole count (from an earlier calculation or measurement) propagates its own error directly into the molar mass result — precision in the mole figure matters for a precise molar mass.

Frequently asked questions

Why is molar mass useful for identifying an unknown substance?

Every distinct chemical compound has a specific, known molar mass — measuring a sample's mass and independently determining its mole count (often via another property like gas volume or reaction stoichiometry) lets the resulting molar mass be compared against known reference values to help identify the substance.

How is this related to the Mole Calculator?

They're mathematical inverses of each other — this tool finds molar mass from mass and moles; the Mole Calculator finds moles from mass and a known molar mass.

Why does molar mass use grams specifically, not kilograms?

It's simply the conventional unit chemists use (g/mol) since it produces convenient, human-scaled numbers for common laboratory quantities — using kilograms would just shift the numbers by a factor of 1,000 without adding meaning.

Does temperature or pressure affect molar mass?

No — molar mass is a fixed property of a substance's chemical identity (based on its atomic composition), unlike properties such as gas volume or density, which do depend on temperature and pressure.

Related calculators