Molar Mass Calculator
Calculate the molar mass of a compound by summing the atomic masses of its constituent elements.
This free online molar mass calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
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. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units 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 instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and 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
Theoretical Yield Calculator
Calculate the theoretical yield of a reaction product from the limiting reagent mass, molar masses, and stoichiometric ratio.
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.
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.
Embed this calculator on your site
Paste this snippet into your blog, course page, or documentation to drop a live, interactive Molar Mass Calculator into your page.
Free to embed — includes a link back to MegaCalc.