Molar Mass Calculator
Calculate the molar mass of a compound by summing the atomic masses of its constituent elements.
Atomic mass of the first element (e.g., C = 12.011).
Number of atoms of element 1 in the formula.
Atomic mass of the second element (e.g., H = 1.008).
Optional third element (e.g., O = 15.999). Enter 0 if not needed.
Results
Molar Mass
84.162 g/mol
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Molar Mass Calculator. Follow the units and input format printed next to each field. Where a unit selector is available, choose the units that match your data.
Review your inputs
Double-check that all values are correct and match the units or format shown for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Molar Mass Calculator computes the output in your browser and displays the results, with units clearly labeled, as soon as they are ready — no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
When to Use This Calculator
- •Use the Molar Mass Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
- •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
- •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
- •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.
Related Calculators
Grams to Moles Calculator
Convert between grams and moles using the molar mass of any substance.
Mass Percent Calculator
Calculate the mass percent of a component in a mixture or compound. Essential for chemistry labs, solution preparation, and formulation.
Mole Calculator
Calculate moles from mass using molar mass, or convert between moles, mass, and number of particles. Essential for stoichiometry.
Beer-Lambert Law Calculator
Calculate absorbance, concentration, path length, or molar absorptivity using the Beer-Lambert law.
Concentration Calculator
Calculate mass concentration (g/L or mg/mL) from the mass of solute and the volume of solution.
Molality Calculator
Calculate the molality of a solution from moles of solute and the mass of solvent in kilograms.
About Molar Mass Calculator
The molar mass calculator computes the molecular weight of a chemical compound by summing the atomic masses of each element multiplied by the number of atoms of that element in the molecular formula. Molar mass is expressed in grams per mole (g/mol) and is essential for converting between mass and moles in virtually every chemistry calculation. This calculator supports up to three elements, covering a wide range of common molecules. For more complex compounds, simply break the calculation into groups.
The Math Behind It
Formula Reference
Molar Mass Calculation
MW = Σ (atomic mass × count)
Variables: MW = molar mass (g/mol); sum over all elements in the molecular formula
Worked Examples
Example 1: Glucose (C₆H₁₂O₆)
C: 12.011 g/mol × 6; H: 1.008 × 12; O: 15.999 × 6.
The molar mass of glucose is 180.156 g/mol.
Common Mistakes & Tips
- !Using the mass number of a single isotope instead of the standard atomic weight.
- !Miscounting atoms, especially in formulas with parentheses like Ca(OH)₂.
- !Confusing molar mass (g/mol) with density (g/mL).
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
Where do I find atomic masses?
Standard atomic weights are published by IUPAC and listed on every periodic table. For precise work, use the most recent IUPAC values.
What about hydrated salts?
Include the water of crystallization. For CuSO₄·5H₂O, add the molar mass of CuSO₄ (159.6) plus 5 × 18.015 (90.1) = 249.7 g/mol.
Add the live Molar Mass Calculator to your site. Free to embed, with a link back to MegaCalc.