ES EN FR PT DE IT

Molar Mass Calculator

Molar Mass Calculator. Free online calculator with formula, examples and step-by-step guide.

The Molar Mass Calculator is a free chemistry calculator. Molar Mass Calculator. Free online calculator with formula, examples and step-by-step guide. Solve chemical calculations accurately using scientifically validated formulas.
Inputs
Result
Enter values and press Calculate

Molar Mass Calculator: Find Molecular Weight of Any Compound

The Molar Mass calculator computes the mass of one mole of any chemical compound based on its molecular formula. By summing the atomic weights of every element multiplied by its subscript, this tool gives students, chemists, and researchers the molar mass in grams per mole for stoichiometry, solution preparation, and laboratory calculations.

Molar Mass Formula

M = Σ (Atomic Mass × Number of Atoms) for Each Element

Molar mass is the mass of one mole of a substance, where one mole contains exactly 6.022 × 10²³ elementary entities (Avogadro's number). To calculate molar mass, you take the atomic mass of each element from the periodic table, multiply it by the number of atoms of that element in the compound, and sum all the results.

For example, in glucose (C₆H₁₂O₆), the calculation is: (6 × 12.01) + (12 × 1.008) + (6 × 16.00) = 72.06 + 12.096 + 96.00 = 180.156 g/mol. This value is essential for converting between mass and moles in chemical reactions.

Worked Examples

Example 1: Sulfuric Acid (H₂SO₄)

Sulfuric acid is one of the most widely produced industrial chemicals. To calculate its molar mass, identify each element and count the atoms: Hydrogen (H) = 2 atoms, Sulfur (S) = 1 atom, Oxygen (O) = 4 atoms.

Calculation: (2 × 1.008) + (1 × 32.07) + (4 × 16.00) = 2.016 + 32.07 + 64.00 = 98.086 g/mol

A 98.086 g sample of H₂SO₄ contains exactly one mole of sulfuric acid molecules. If you need to prepare a 1 M solution, you would dissolve 98.086 g in enough water to make 1 liter of solution.

Example 2: Calcium Carbonate (CaCO₃)

Calcium carbonate is the main component of limestone, chalk, and marble. The formula contains Calcium (Ca) = 1 atom, Carbon (C) = 1 atom, Oxygen (O) = 3 atoms.

Calculation: (1 × 40.08) + (1 × 12.01) + (3 × 16.00) = 40.08 + 12.01 + 48.00 = 100.09 g/mol

This means 100.09 grams of calcium carbonate contains 1 mole of CaCO₃ formula units. In geological context, a 10 kg sample of pure limestone contains approximately 99.9 moles of CaCO₃, which would release 99.9 moles of CO₂ if fully decomposed by heating.

Common Uses

  • Converting between mass and moles for stoichiometric calculations in chemical reactions
  • Preparing solutions of known molarity by weighing the exact mass of solute needed
  • Determining the empirical and molecular formulas of unknown compounds from experimental data
  • Calculating the percentage composition by mass of each element within a compound
  • Balancing chemical equations and determining limiting reagents in reaction calculations
  • Estimating the yield of chemical reactions by converting product mass to moles and vice versa

Common Mistakes

  • Forgetting to multiply the atomic mass by the subscript for each element — each subscript indicates the number of atoms, not just a label
  • Misinterpreting parentheses in formulas like Al₂(SO₄)₃ — the subscript 3 outside the parentheses applies to both sulfur and oxygen, giving 3 sulfur and 12 oxygen atoms
  • Using incorrect atomic masses from outdated sources — IUPAC updates atomic weights periodically, and some elements like chlorine (35.45) have non-integer atomic masses due to isotopic abundance
  • Confusing molar mass with atomic mass — atomic mass is the mass of a single atom in amu, while molar mass is the mass of 6.022 × 10²³ atoms in grams per mole

Pro Tip

For hydrated compounds like CuSO₄·5H₂O (copper II sulfate pentahydrate), remember to include the water molecules in your calculation. The dot does not mean multiplication; it means the crystal structure includes water molecules. Count the 5 H₂O groups as 10 hydrogen atoms and 5 oxygen atoms in addition to the base compound. The molar mass of CuSO₄·5H₂O is (63.55 + 32.07 + 4 × 16.00) + 5 × (2 × 1.008 + 16.00) = 159.62 + 90.08 = 249.70 g/mol.

Frequently Asked Questions

Molar mass and molecular weight are often used interchangeably but have subtle differences. Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). Molecular weight is the sum of the atomic weights of all atoms in a molecule, expressed in atomic mass units (amu). Numerically they are the same value.

Parentheses indicate that the subscript applies to the entire group of atoms inside. In Ca(OH)2, the subscript 2 applies to both oxygen and hydrogen, meaning the compound contains 1 calcium, 2 oxygen, and 2 hydrogen atoms. Without parentheses, CaOH2 would mean 1 calcium, 1 oxygen, and 2 hydrogen, which is incorrect.

Our calculator uses standard atomic weights from IUPAC. These values represent the average relative atomic masses of elements as found in nature, accounting for their natural isotopic abundances. For most calculations, the standard values to two decimal places are sufficient.

Yes, the molar mass of ionic compounds like NaCl, CaCO3, and Fe2O3 is calculated the same way as molecular compounds. The formula unit represents the ratio of ions, and you sum the atomic masses of all atoms in the formula. For NaCl, the molar mass is 22.99 + 35.45 = 58.44 g/mol.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-04-29.

Frequently Asked Questions

A mole contains 6.022 × 10²³ particles (Avogadro's number). It is the SI unit of amount of substance.
Add the atomic masses of each element in the molecule multiplied by its subscript. Example: H₂O = 2(1.008) + 16.00 = 18.016 g/mol.
Concentration expressed as moles of solute per litre of solution (mol/L or M). M = n / V.
PV = nRT, where R = 8.314 J/(mol·K) in SI units, or 0.0821 L·atm/(mol·K).