Molar Mass Calculator
Calculate the molar mass of any chemical compound in grams per mole (g/mol) from its molecular formula — fast, accurate, and free.
| Element | Atomic Mass | Atoms | Total | % |
|---|
Quick Examples
Click any compound to calculate its molecular weight instantly.
How to Use the Molar Mass Calculator
To find the molar mass of any compound, enter its chemical formula into the input field above and click "Calculate." The calculator returns the total molar mass in grams per mole along with a breakdown of each element's contribution.
Follow these 4 steps to calculate molar mass using this tool:
- Type the chemical formula of your compound into the input field. Use standard notation: uppercase for the first letter of each element symbol, lowercase for the second (e.g., "Na" for sodium, not "NA").
- Include subscript numbers directly after each element to indicate atom count. For example, enter "H2O" for water or "C6H12O6" for glucose.
- Press "Calculate Molecular Weight" or hit Enter. The calculator parses the formula and looks up each element's standard atomic weight from the IUPAC periodic table data.
- Read the result displayed in g/mol. The breakdown table below the result shows each element's atomic mass, atom count, subtotal mass, and percentage contribution to the compound.
The calculator handles parentheses like Ca(OH)₂ and hydrates like CuSO₄·5H₂O. It multiplies atoms inside parentheses by the subscript that follows and adds the mass of water molecules in hydrated compounds.
How the Molar Mass Calculator Works
The molar mass calculator determines the mass of one mole of a substance by summing the standard atomic weights of every atom specified in the chemical formula. One mole equals exactly 6.02214076 × 10²³ particles (Avogadro's number), making molar mass the bridge between atomic-scale measurements and laboratory-scale quantities.
The calculation follows this formula:
For a compound like sulfuric acid (H₂SO₄), the calculation works as follows: Hydrogen contributes 2 × 1.008 = 2.016 g/mol. Sulfur contributes 1 × 32.06 = 32.06 g/mol. Oxygen contributes 4 × 15.999 = 63.996 g/mol. The total molar mass is 2.016 + 32.06 + 63.996 = 98.072 g/mol.
Molar mass is used directly in stoichiometry calculations, solution preparation, and concentration conversions. Knowing the molar mass of a reactant or product lets chemists convert between grams and moles: moles = mass (g) ÷ molar mass (g/mol).
Common Compound Molecular Weights
Reference table of frequently searched chemical compounds.
| Chemical Formula | Compound Name | Molecular Weight |
|---|---|---|
| H₂O | Water | 18.015 g/mol |
| CO₂ | Carbon Dioxide | 44.009 g/mol |
| NaCl | Sodium Chloride | 58.443 g/mol |
| NH₃ | Ammonia | 17.031 g/mol |
| CH₄ | Methane | 16.043 g/mol |
| H₂SO₄ | Sulfuric Acid | 98.077 g/mol |
| CaCO₃ | Calcium Carbonate | 100.086 g/mol |
| C₆H₁₂O₆ | Glucose | 180.156 g/mol |
| C₂H₅OH | Ethanol | 46.069 g/mol |
| HCl | Hydrochloric Acid | 36.461 g/mol |
| NaOH | Sodium Hydroxide | 39.997 g/mol |
| Ca(OH)₂ | Calcium Hydroxide | 74.092 g/mol |
| HNO₃ | Nitric Acid | 63.012 g/mol |
| KMnO₄ | Potassium Permanganate | 158.032 g/mol |
| CuSO₄ | Copper(II) Sulfate | 159.607 g/mol |
Explore Related Chemistry Calculators
Specialized calculation tools designed for molecular biology, biochemistry, and stoichiometry.
Molar Mass Calculator FAQs and Common Questions
Answers to frequently asked questions about calculating molar mass, units, accuracy, and practical uses.