Molar Mass Calculator
Calculate molecular weight from chemical formulas with element breakdown.
Molar Mass
| Element | Count | Mass | % |
|---|---|---|---|
| H | 2 | 2.016 | 11.2% |
| O | 1 | 15.999 | 88.8% |
Common Compounds:
- H2O (water) = 18.015 g/mol
- NaCl (salt) = 58.44 g/mol
- C6H12O6 (glucose) = 180.16 g/mol
- H2SO4 (sulfuric acid) = 98.08 g/mol
Atomic Mass and the Dalton
The atomic mass of an element (also called atomic weight) is the weighted average mass of all naturally occurring isotopes of that element, expressed in daltons (Da) or unified atomic mass units (u). By definition, one dalton equals exactly 1/12 the mass of a carbon-12 atom. Hydrogen is approximately 1.008 Da, oxygen 15.999 Da, and carbon 12.011 Da (slightly above 12 because of the small abundance of carbon-13). Atomic masses on the periodic table reflect isotopic abundances found in nature, which is why they are rarely whole numbers.
Molar Mass and Avogadro's Number
The molar mass of a compound is the mass of exactly one mole of that substance, numerically equal to its molecular mass but expressed in grams per mole (g/mol). One mole contains exactly 6.02214076 Γ 10Β²Β³ entities (Avogadro's number, Nβ) β atoms, molecules, or formula units depending on context. This number was fixed by definition in 2019 when the SI units were redefined. The equivalence between daltons and grams-per-mole is exact: if a molecule has a molecular mass of 18.015 Da, one mole of those molecules weighs exactly 18.015 g.
HβSOβ: 2(1.008) + 32.065 + 4(15.999) = 2.016 + 32.065 + 63.996 = 98.077 g/mol
Empirical vs Molecular Formula
The empirical formula gives the simplest whole-number ratio of atoms in a compound. The molecular formula gives the actual count. Glucose and fructose both have the molecular formula CβHββOβ but different structures; their empirical formula is CHβO (molar mass 30 g/mol). The molecular formula molar mass is always a whole-number multiple of the empirical formula molar mass. To determine the molecular formula from an empirical formula, divide the measured molar mass (from mass spectrometry) by the empirical formula mass to get the multiplier.
Stoichiometry Applications
Molar mass is the conversion factor that bridges mass (grams, measured on a balance) and amount of substance (moles, used in reaction equations). For a reaction equation like 2Hβ + Oβ β 2HβO, the coefficients are molar ratios. If you start with 10 g of hydrogen: 10 g Γ· 2.016 g/mol = 4.96 mol Hβ. The reaction consumes 4.96/2 = 2.48 mol Oβ (molar mass 31.998 g/mol), so you need 79.3 g of oxygen. Molar mass calculations underpin quantitative chemistry from laboratory synthesis to industrial process design.
Worked Examples
Example 1 β Preparing 0.1 M NaCl solution. NaCl = 22.990 + 35.453 = 58.443 g/mol. For 500 mL of 0.100 M: moles needed = 0.100 Γ 0.500 = 0.0500 mol. Mass = 0.0500 Γ 58.443 = 2.922 g. Weigh out on a balance accurate to Β±0.001 g, dissolve in distilled water, top up to 500 mL in a volumetric flask.
Example 2 β Percent composition of glucose. CβHββOβ: 6(12.011) + 12(1.008) + 6(15.999) = 72.066 + 12.096 + 95.994 = 180.156 g/mol. Carbon: 72.066/180.156 = 40.0%. Hydrogen: 6.7%. Oxygen: 53.3%. Matches every textbook because glucose is the empirical reference sugar.
Example 3 β Gas law with molar mass. 5 g of COβ (44.010 g/mol) = 5/44.010 = 0.1136 mol. At STP (273.15 K, 100 kPa), V = nRT/P = (0.1136 Γ 8.314 Γ 273.15) / 100 000 = 2.580 L Γ 10β»Β³ Γ 10Β³ = 2.58 L. Useful for respiration and combustion stoichiometry.
Example 4 β Limiting reagent. Haber process: Nβ + 3Hβ β 2NHβ. Start with 28 g Nβ (1.00 mol) and 4 g Hβ (2.00 mol). Stoichiometry requires 3 mol Hβ per 1 mol Nβ. Only 2 mol Hβ is available β Hβ is limiting. Max NHβ = 2 Γ (2/3) = 1.33 mol Γ 17.031 g/mol = 22.7 g.
Common Pitfalls
- Confusing mass with moles. Reaction coefficients are mole ratios, not mass ratios. Always convert g β mol first, then scale, then convert back.
- Forgetting hydrate water. CuSOβΒ·5HβO is 249.68 g/mol, not 159.61 (anhydrous). Recipes calling for "copper sulfate" need the right hydration state or results are off by 50%+.
- Mixing empirical and molecular formulas. Benzene (CβHβ, 78.11 g/mol) has the empirical formula CH (13.02 g/mol). Always identify which one you have before multiplying.
- Using atomic number instead of atomic mass. The periodic table shows both. The bigger number under the element symbol is atomic mass; the small integer is atomic number (proton count).
- Not distinguishing molecular mass from formula mass. NaCl in solid is an ionic lattice, not discrete molecules. Chemists still write "molar mass" loosely; "formula mass" is the technically correct term for ionic compounds.
Frequently Asked Questions
Why is chlorine 35.45 and not a whole number? Natural chlorine is 75.77% Β³β΅Cl and 24.23% Β³β·Cl. Weighted average = 0.7577 Γ 34.969 + 0.2423 Γ 36.966 = 35.453. The periodic table lists isotope-abundance-weighted averages.
How precise is molar mass? Typical chemistry work uses 4 significant figures (Β±0.01%). IUPAC publishes standard atomic weights with 5β8 figures. For mass spectrometry, use monoisotopic masses (exact mass of the most abundant isotope), not atomic weights.
Do I use "g/mol" or "u" or "Da"? Numerically identical, usage differs: g/mol for macroscopic chemistry (weighing compounds), u or Da for atomic/molecular physics. "Dalton" is standard in biochemistry and mass spec; "u" in physics literature.
What about charged species (ions)? Ion molar mass is essentially the neutral molar mass β an electron's mass (0.00055 u) is negligible. NaβΊ and Na are both 22.990 g/mol to 4 significant figures.
Is there an easier way for big molecules? Mass spectrometers measure exact molecular mass directly. For sequencing DNA/proteins, online calculators handle polymers (ExPASy ProtParam for proteins, for instance). This calculator handles any formula you can write in condensed notation with parentheses.
Related Calculators
For related chemistry tools, use the Ideal Gas Law Calculator to convert moles to volume, the Half-Life Calculator for decay kinetics, and the Percentage Calculator for yield and purity calculations. Browse the Science category for more.
Disclaimer
This calculator is provided for educational and informational purposes only. While we strive for accuracy, users should verify all calculations independently. We are not responsible for any errors, omissions, or damages arising from the use of this calculator.
Also in Science
- β Decibels Calculator β dB conversions, additions, and distance attenuation
- β Half-Life Calculator β Radioactive decay, remaining quantity, or elapsed time
- β Ideal Gas Law Calculator β Solve PV=nRT for any variable with unit conversions