Molar Mass Calculator
Our general chemistry calculator computes molar mass accurately. Enter measurements for results with formulas and error analysis.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Molar Mass Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Molar Mass = Σ (Number of Atoms × Atomic Mass) for each element
Worked example — Molar mass: 18.015 g/mol | H: 11.19% | O: 88.81%
Formula
Molar Mass = Σ (Number of Atoms × Atomic Mass) for each element
Sum the products of each element's atomic mass (from the periodic table in g/mol) and the number of atoms of that element in the chemical formula. Mass percentage for each element is calculated as (element contribution / total molar mass) × 100.
Worked Examples
Example 1: Molar Mass of Water (H₂O)
Problem:Calculate the molar mass and percent composition of water (H₂O).
Solution:Hydrogen: 2 × 1.008 = 2.016 g/mol Oxygen: 1 × 15.999 = 15.999 g/mol Total molar mass = 2.016 + 15.999 = 18.015 g/mol %H = (2.016/18.015) × 100 = 11.19% %O = (15.999/18.015) × 100 = 88.81%
Result:Molar mass: 18.015 g/mol | H: 11.19% | O: 88.81%
Example 2: Molar Mass of Glucose (C₆H₁₂O₆)
Problem:Calculate the molar mass of glucose, a key biological molecule.
Solution:Carbon: 6 × 12.011 = 72.066 g/mol Hydrogen: 12 × 1.008 = 12.096 g/mol Oxygen: 6 × 15.999 = 95.994 g/mol Total = 72.066 + 12.096 + 95.994 = 180.156 g/mol
Result:Molar mass: 180.156 g/mol | C: 40.00% | H: 6.71% | O: 53.29%
Frequently Asked Questions
What is molar mass and why is it important in chemistry?
Molar mass is the mass of one mole (6.022 × 10²³ particles) of a substance, expressed in grams per mole (g/mol). It serves as a bridge between the atomic scale and the macroscopic world, allowing chemists to weigh out precise amounts of substances for reactions. For example, the molar mass of water (H₂O) is approximately 18.015 g/mol, meaning 18.015 grams of water contains exactly one mole of water molecules. Molar mass is essential for stoichiometric calculations, preparing solutions of known concentration, and determining empirical and molecular formulas from experimental data.
How do you calculate molar mass from a chemical formula?
To calculate molar mass, identify each element in the chemical formula and its subscript (number of atoms). Multiply each element's atomic mass (from the periodic table) by the number of atoms of that element in the formula, then sum all the contributions. For example, for glucose (C₆H₁₂O₆): carbon contributes 6 × 12.011 = 72.066 g/mol, hydrogen contributes 12 × 1.008 = 12.096 g/mol, and oxygen contributes 6 × 15.999 = 95.994 g/mol. The total molar mass is 72.066 + 12.096 + 95.994 = 180.156 g/mol. Always use the most current atomic mass values for precise results.
What is the difference between molecular mass and molar mass?
Molecular mass (or molecular weight) refers to the mass of a single molecule measured in atomic mass units (amu or u), while molar mass refers to the mass of one mole of molecules measured in grams per mole (g/mol). Numerically, they are equivalent — water has a molecular mass of 18.015 amu and a molar mass of 18.015 g/mol. The distinction is in scale and units: molecular mass describes individual molecules at the atomic level, while molar mass relates to bulk quantities that can be measured on a laboratory balance. Both are calculated the same way from the chemical formula.
Why do mass percentages matter in chemical analysis?
Mass percentages (also called percent composition) tell you what fraction of a compound's total mass comes from each element. This information is crucial for several applications: determining empirical formulas from combustion analysis data, verifying the purity of synthesized compounds, understanding nutritional content of foods, and assessing environmental pollutant compositions. For instance, knowing that iron(III) oxide (Fe₂O₃) is 69.94% iron by mass helps metallurgists calculate how much pure iron can be extracted from a given amount of ore. Mass percentages also help identify unknown compounds in forensic and analytical chemistry.
How does molar mass relate to environmental science and green chemistry?
Molar mass plays a vital role in environmental science and green chemistry. Environmental scientists use molar mass to calculate pollutant concentrations in water and air, determine reaction rates for atmospheric chemistry processes, and assess the environmental impact of chemical spills. In green chemistry, understanding molar mass helps optimize atom economy — the fraction of reactant atoms incorporated into the desired product. Higher atom economy means less waste. Molar mass calculations are also essential for carbon footprint assessments, as converting between moles of CO₂ and grams requires knowing that CO₂ has a molar mass of 44.01 g/mol.
How do pharmacists and lab technicians use molar mass in practice?
Pharmacists use molar mass to convert a prescribed dose in millimoles to the milligrams that actually get weighed on a balance, and to calculate osmolarity for IV fluids. A lab technician preparing 250 mL of 0.1 M NaOH needs to know that NaOH's molar mass is 39.997 g/mol, so 0.025 mol requires 0.9999 g of solid NaOH dissolved to volume. Getting the molar mass wrong by even one atomic mass unit compounds into a measurably wrong concentration, which is why molar mass calculations are double-checked before any titration or dosing step.
Why do hydrates and impure samples need adjusted molar mass calculations?
Hydrated salts like CuSO4·5H2O include water of crystallization in their formula mass — you must add 5 × 18.015 g/mol (90.075 g/mol) to anhydrous CuSO4's 159.61 g/mol for a hydrate molar mass of 249.68 g/mol, or a stoichiometry calculation will be off by nearly 36%. Similarly, an impure reagent's labeled molar mass only applies to the pure compound; chemists correct for percent purity separately (see the Percent Purity Calculator) before using molar mass to weigh out reagents for a reaction.
References
Background & Theory
History
Reviewed for accuracy by Manoj Kumar, Mathematics Educator · Editorial policy
Related Calculators
🧮Atomic Mass Calculator
Calculate atomic mass with inputs, formulas, and instant results.
🧮Average Atomic Mass Calculator
Calculate average atomic mass with inputs, formulas, and instant results.
🧮Mass Percent Calculator
Calculate mass percent with inputs, formulas, and instant results.
🧮Mass Defect Calculator
Calculate mass defect with inputs, formulas, and instant results.
🧮Chemical Equation Balancer
Balance chemical equations by adjusting coefficients to satisfy the law of conservation of mass.
⚛️Molecular Weight
Calculate molecular weight of compounds
🧮Molar Ratio Calculator
Calculate molar ratio with inputs, formulas, and instant results.
🧮Green Chemistry Atom Economy Calculator
Calculate green chemistry atom economy with inputs, formulas, and instant results.