ThisCalculator

Chemistry

Molar Mass Calculation Practice: Step-by-Step

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Molar Mass Calculation Practice: Step-by-Step

Molar mass calculation practice means working out the mass in grams of one mole of a substance by adding up the atomic masses of every atom in its chemical formula. You enter the chemical formula, and the calculator returns the molar mass in g/mol, using standard atomic weights. This page explains the method, gives worked examples, and lists common pitfalls so you can check your own work.

Formula

The molar mass (M) of a compound is the sum of the atomic masses of each element multiplied by the number of atoms of that element in the formula:

M = Σ (ni × Ai)

  • ni = number of atoms of element i in the formula (the subscript)
  • Ai = atomic mass of element i from the periodic table (in g/mol)
  • M = molar mass (g/mol)

For example, water (H2O) has 2 hydrogen atoms and 1 oxygen atom. Using atomic masses H = 1.008 g/mol and O = 16.00 g/mol gives M = 2(1.008) + 1(16.00) = 18.016 g/mol.

Worked Example

Using the default formula H2O:

  1. Identify each element: H and O.
  2. Count atoms: 2 H, 1 O.
  3. Look up atomic masses: H = 1.008 g/mol, O = 16.00 g/mol.
  4. Multiply and add: (2 × 1.008) + (1 × 16.00) = 2.016 + 16.00 = 18.016 g/mol.

The calculator rounds to two decimals, so it shows 18.02 g/mol. This matches the standard textbook value for water.

How to Calculate Molar Mass by Hand

Follow these steps for any chemical formula:

  • Write the correct formula – check subscripts and parentheses.
  • List each element present.
  • For each element, multiply its atomic mass by its subscript. If the element appears in more than one part of the formula (e.g., in a hydrate), add the contributions together.
  • Sum all contributions to get the total molar mass.
  • Round to the appropriate number of significant figures – usually two decimals for practice problems.

For example, calcium nitrate Ca(NO3)2: Ca = 40.08, N = 14.01 × 2 = 28.02, O = 16.00 × 6 = 96.00. Total = 40.08 + 28.02 + 96.00 = 164.10 g/mol.

Common Mistakes and How to Avoid Them

  • Forgetting to multiply by subscripts – especially for polyatomic ions in parentheses. In Ca(NO3)2, the subscript 2 applies to the entire NO3 group, so you have 2 N and 6 O atoms.
  • Using atomic number instead of atomic mass – the atomic number is the number of protons, not the mass. Always use the mass number from the periodic table (e.g., carbon is 12.01 g/mol, not 6).
  • Mixing up units – molar mass is grams per mole (g/mol), not grams or moles alone.
  • Rounding too early – keep at least four significant figures during intermediate steps, then round at the end.
  • Ignoring isotopes – standard atomic weights are weighted averages of naturally occurring isotopes; use the values on the periodic table, not a single isotope mass.

Why Molar Mass Matters in Chemistry

Molar mass is the bridge between the microscopic world of atoms and the macroscopic world of grams. It lets you convert between mass and moles using the formula n = m/M, where n is moles, m is mass in grams, and M is molar mass in g/mol. This conversion is essential for:

  • Stoichiometry – calculating how much reactant is needed or product is formed in a reaction.
  • Preparing solutions – making a 1 M solution requires dissolving the molar mass in grams in 1 liter of solvent.
  • Determining empirical and molecular formulas – comparing the molar mass of a compound to its empirical formula mass.
  • Gas law calculations – using molar mass to find density or molar volume of a gas.

For example, if you need 0.5 moles of sodium chloride (NaCl, molar mass 58.44 g/mol), you weigh out 0.5 × 58.44 = 29.22 g.

Calculating Molar Mass of Hydrates

Hydrates are ionic compounds that include water molecules in their crystal structure. The formula shows a dot and a coefficient, like CuSO4·5H2O. To find the molar mass:

  • Calculate the mass of the anhydrous compound: CuSO4 = 63.55 + 32.07 + 4(16.00) = 159.62 g/mol.
  • Calculate the mass of the water: 5 × (2×1.008 + 16.00) = 5 × 18.016 = 90.08 g/mol.
  • Add them: 159.62 + 90.08 = 249.70 g/mol.

Forgetting the water of hydration is a common error in lab calculations, because the hydrate is what you actually weigh on a balance.

Using Molar Mass in Stoichiometry Problems

Stoichiometry problems often require multiple molar mass calculations. Consider the reaction: 2H2 + O2 → 2H2O. If you start with 10.0 g of hydrogen gas, how many grams of water can you form?

  1. Convert grams of H2 to moles: 10.0 g / (2.016 g/mol) = 4.96 mol H2.
  2. Use the mole ratio: 4.96 mol H2 × (2 mol H2O / 2 mol H2) = 4.96 mol H2O.
  3. Convert moles to grams: 4.96 mol × 18.016 g/mol = 89.4 g H2O.

Notice that the molar mass of water is used in the final step. Without accurate molar masses, the whole calculation fails.

Limits of the Molar Mass Formula

The sum-of-atomic-masses method assumes a pure, neutral compound with a known formula. It does not apply to:

  • Mixtures – air, saltwater, or alloys have no single molar mass.
  • Ionic compounds with variable composition – some minerals have a range of atomic ratios.
  • Polymers – they have a distribution of chain lengths, so they have an average molar mass, not a single one.
  • Isotopically enriched samples – if a sample has an unusual isotope ratio, the molar mass will differ from the standard atomic weight.

Also, the periodic table values are averages, so your calculated molar mass is an average as well. For most lab work, two decimal places are precise enough.

Frequently Asked Questions

How do I find the molar mass of a compound with parentheses? Multiply the subscript outside the parentheses by each subscript inside. For example, in Al2(SO4)3, you have 2 Al, 3 S, and 12 O atoms. Then multiply each atomic mass by its total count and add.

What is the difference between molar mass and molecular weight? The terms are often used interchangeably, but molecular weight technically refers to the mass of a single molecule in atomic mass units (u), while molar mass is the mass of one mole in grams per mole (g/mol). Numerically they are the same for molecular compounds.

Why is the molar mass of an element not a whole number? Because most elements exist as a mixture of isotopes. The atomic mass on the periodic table is a weighted average of all naturally occurring isotopes, so it is not a whole number.

Can I calculate molar mass for an ionic compound like NaCl? Yes. The formula unit is NaCl, so you add the atomic mass of Na (22.99 g/mol) and Cl (35.45 g/mol) to get 58.44 g/mol. The term “molecular weight� is less accurate for ionic compounds, but “molar mass� works fine.

How many significant figures should I use for molar mass? In most chemistry courses, you use the atomic masses as given on the periodic table (usually 4 significant figures) and round your final answer to 2 decimal places. For lab work, match the precision of your measuring equipment.

What if I have a formula like C6H12O6 – do I need to simplify it first? No, you calculate the molar mass of the molecular formula as written. Glucose (C6H12O6) has a molar mass of 180.16 g/mol, while its empirical formula CH2O has a molar mass of 30.03 g/mol. They are different – the molecular formula is what you use for molar mass.

Related

Formula used
in formula | Chemical formula | - | H2O | 0
out molar_mass | Molar mass | g/mol | 0 | 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, rounded as each result states. See how the calculators work or report an error.