Molar Mass Calculator
Calculate the molar mass (molecular weight) of any chemical compound by entering its formula. Used in stoichiometry, solution preparation, and quantitative chemistry.
As an Amazon Associate and CJ Affiliate publisher we earn from qualifying purchases. Prices and availability may vary.
Molar Mass Guide
What Is Molar Mass?
Molar mass is the mass of one mole (6.022 × 10²³ particles) of a substance, expressed in grams per mole (g/mol). It equals the sum of the atomic masses of all atoms in the formula: H₂O = 2(1.008) + 15.999 = 18.015 g/mol. Molar mass is numerically equal to the relative molecular mass (Mr) but has units of g/mol. It bridges the macroscopic world (grams you can weigh) and the molecular world (atoms and molecules you cannot see).
What do I need to know about Calculating Molar Mass from a Formula?
Find each element's atomic mass from the periodic table, multiply by the number of that atom in the formula, and sum. Example: H₂SO₄ — H: 2 × 1.008 = 2.016; S: 1 × 32.06 = 32.06; O: 4 × 15.999 = 63.996. Total = 2.016 + 32.06 + 63.996 = 98.072 g/mol. Brackets mean multiply: Ca(OH)₂ = Ca + 2(O + H) = 40.078 + 2(15.999 + 1.008) = 74.093 g/mol. Always use the relative atomic mass from your periodic table — values differ slightly between exam boards.
What do I need to know about Moles, Mass, and the Molar Mass Triangle?
The fundamental relationship: moles = mass (g) ÷ molar mass (g/mol). Rearrangements: mass = moles × molar mass. Molar mass = mass ÷ moles. Example: how many moles in 49g of H₂SO₄? Moles = 49 ÷ 98.08 = 0.5 mol. This triangle is the most-used calculation in quantitative chemistry — every stoichiometry problem involves it. At A-level, you also need n = cV (moles = concentration × volume) for solutions, linking mass-based and volume-based mole calculations.
What's the key thing to understand about Real-World Applications?
Molar mass calculations appear in: pharmaceutical chemistry (precise drug dosing — active ingredient mass must be exact). Food science (calculating nutritional content per serving, sugar analysis). Industrial chemistry (scaling reactions from lab to industrial quantities — a reaction needs a precise molar ratio of reactants). Environmental monitoring (converting pollutant concentrations between ppm by mass and mol/L). Every quantitative chemistry experiment — titrations, yield calculations, empirical and molecular formula determination from combustion analysis data. Pharmaceutical dosing (converting a prescribed dose in milligrams to the number of moles of active ingredient, which relates directly to biological effect). Molar mass calculations sit behind almost every quantitative step in chemistry, from a school titration to industrial-scale reactor design.
What should I know about Isotopes and Relative Atomic Mass?
The atomic mass values used in molar mass calculations (e.g. Cl = 35.45) are relative atomic masses — weighted averages across all naturally occurring isotopes of that element, weighted by natural abundance, not the mass of any single atom. Chlorine exists as two stable isotopes, Cl-35 (about 75.8% abundant) and Cl-37 (about 24.2% abundant); the weighted average, (0.758 x 35) + (0.242 x 37) = 35.48, rounds to the tabulated 35.45. This is why chlorine's relative atomic mass is not a whole number, unlike the mass number of any individual isotope. Carbon's standard value of 12.01 similarly reflects a small natural abundance (about 1.1%) of carbon-13 alongside the dominant carbon-12. For molar mass calculations in ordinary chemistry, the tabulated relative atomic mass is always correct since it accounts for the natural isotopic mixture present in any real sample; mass spectrometry measures individual isotopic masses and abundances directly when that level of detail is needed.
What do I need to know about Molar Mass of Ionic Compounds and Hydrates?
For ionic compounds, molar mass is calculated from the formula exactly as for molecular compounds, summing relative atomic masses of every ion, multiplied by its subscript. For polyatomic ions, treat the whole ion as a unit when brackets apply: Al2(SO4)3 contains 2 Al, 3 S, and 12 O — molar mass = 2(26.98) + 3(32.06) + 12(15.999) = 53.96 + 96.18 + 192.0 = 342.14 g/mol. For hydrated salts, water of crystallisation must be included: CuSO4.5H2O has molar mass = CuSO4 (159.6) plus 5 x H2O (5 x 18.02 = 90.08), giving 249.68 g/mol — using only the anhydrous CuSO4 mass (159.6) when the compound is actually hydrated is a common error, since most laboratory copper(II) sulfate is supplied as the pentahydrate rather than the anhydrous form.
What should I know about the Average Molar Mass of Gas Mixtures?
A mixture of gases doesn't have a single molar mass belonging to one substance — instead it has an average, weighted by each component's mole fraction: M_avg = Σ(xᵢ × Mᵢ). Air, for example, is roughly 78% N₂ (28.01 g/mol), 21% O₂ (32.00 g/mol), and 1% other gases, giving an average molar mass of about 28.97 g/mol — the figure used whenever air's density or behaviour under the ideal gas law is calculated as if it were a single 'substance,' even though it's really a blend.
What should I know about Molar Volume of Gases?
At standard temperature and pressure (STP, defined by IUPAC as 0°C and 100 kPa), one mole of any ideal gas occupies 22.7 litres, regardless of its identity — this follows directly from Avogadro's law, which states that equal volumes of gases at the same temperature and pressure contain equal numbers of molecules, so molar mass doesn't affect the volume a mole occupies, only its mass. Many UK textbooks and exam boards also quote molar volume at RTP, room temperature and pressure (25°C and 100 kPa), as 24 litres per mole, which is the figure most commonly used in school-level calculations. This relationship turns the molar mass triangle into a practical tool for gases specifically: measuring the volume of a gas sample at RTP, dividing by 24 to find moles, and then dividing the sample's mass by that number of moles gives the gas's molar mass directly — a standard experimental method for identifying an unknown gas or confirming a gas's formula without weighing individual molecules. Real gases deviate slightly from these ideal values, more so at high pressure or low temperature, but the approximation holds well under normal laboratory conditions.
Worked Example: Molar Volume of a Gas at Different Conditions
At standard temperature and pressure (STP, defined by IUPAC as 0°C / 273.15K and 100 kPa), one mole of any ideal gas occupies 22.7 litres. At the older but still widely taught 'standard conditions' of 0°C and 1 atm (101.325 kPa), the figure is 22.4 litres — the difference comes purely from the small change in reference pressure, not a different physical law, so it's worth checking which convention a given exam board or textbook is using before quoting 22.4 vs 22.7. Worked example: how many litres does 11g of CO2 gas occupy at STP (using 22.4 L/mol for standard conditions)? First find moles: molar mass of CO2 = 12.01 + (2 × 16.00) = 44.01 g/mol. Moles = 11 ÷ 44.01 = 0.25 mol. Volume = 0.25 × 22.4 = 5.6 litres. This molar-volume relationship is what allows gas volumes to be converted directly to and from moles and mass without needing the full ideal gas law, provided the gas is at standard conditions — for any other temperature or pressure, the ideal gas law (PV = nRT) is needed instead.
Common Mistakes When Calculating Molar Mass
The most frequent error is forgetting to multiply an element's atomic mass by its subscript within a formula — for example, calculating water (H2O) as 1.008 + 16.00 = 17.01 instead of the correct (2 × 1.008) + 16.00 = 18.02, by missing the subscript 2 on hydrogen. A second common error is mishandling brackets in formulas like Ca(OH)2, where the bracket subscript multiplies everything inside it: this means 2 oxygens and 2 hydrogens, not just 2 of one element, giving 40.08 + 2×(16.00 + 1.008) = 40.08 + 34.02 = 74.10 g/mol for calcium hydroxide.
Molar Mass and Percentage Yield Calculations
Molar mass is also the essential link for percentage yield calculations in practical chemistry: theoretical yield (the maximum possible product mass predicted by stoichiometry) is calculated by converting the limiting reactant's mass to moles using its molar mass, applying the mole ratio from the balanced equation, then converting back to mass using the product's molar mass — percentage yield then compares this theoretical figure to the mass actually obtained in the lab, a calculation that depends entirely on having correct molar masses for both the reactant and product.
A Quick Check: Does Your Answer Make Physical Sense?
A useful sanity check after any molar mass calculation is asking whether the number is roughly the right order of magnitude for the molecule in question — small molecules like water (18 g/mol) or carbon dioxide (44 g/mol) should give small answers, while a protein or large organic polymer should give a number in the thousands or far higher; an answer wildly inconsistent with the apparent size of the molecule usually signals a subscript or bracket-multiplication error worth re-checking before trusting the result.