Online Molar Mass Calculator
Calculate the molar mass of any chemical formula. Elemental composition analysis, IUPAC atomic masses. 100% free.
What is the Molar Mass Calculator?
Our free molar mass calculator instantly computes the molar mass (molecular weight) of any chemical formula. Using IUPAC standard atomic masses, it also provides detailed elemental composition analysis showing the percentage of each element. Perfect for chemistry students, teachers, and professionals.
Features
IUPAC Precision
Uses 2021 IUPAC standard atomic masses for accurate and reliable results.
Universal Values
Atomic masses are identical worldwide - same result wherever you are.
Instant Calculation
Immediate results as soon as you enter your chemical formula.
Composition Analysis
Get details for each element: atom count, mass, and percentage.
Complex Formulas
Supports parentheses, brackets, and hydrates (e.g., CuSO4ยท5H2O).
100% Private
Calculations performed in your browser. No data sent to any server.
How to Use
Enter the Formula
Type your chemical formula in the input field (e.g., H2O, NaCl, C6H12O6).
Run the Calculation
Click "Calculate" or press Enter to get the results.
View the Results
The molar mass is displayed along with the detailed composition of each element.
Copy or Share
Use the copy button or open a popup window to use the tool side by side.
Formula Syntax
Elements
H, O, Na, Ca, Fe...
Use standard symbols with initial capital letter.
Subscripts
H2O, CO2, C6H12O6
Numbers after an element indicate the number of atoms.
Parentheses
Ca(OH)2, Mg(NO3)2
Group atoms with parentheses and a subscript.
Hydrates
CuSO4.5H2O
Use a dot for water molecules of crystallization.
Frequently Asked Questions
What is molar mass?
Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). It equals the sum of the atomic masses of all atoms in the chemical formula. For example, H2O has a molar mass of 18.015 g/mol (2ร1.008 + 15.999).
Are the calculations the same in all countries?
Yes! Atomic masses are defined by IUPAC (International Union of Pure and Applied Chemistry) and are identical worldwide. A molar mass calculation will give the same result in the USA, France, or Japan.
How do I enter a formula with parentheses?
Use standard parentheses followed by the number. For example: Ca(OH)2 for calcium hydroxide, Mg(NO3)2 for magnesium nitrate. Square brackets [] are also supported.
How do I write hydrates?
Use a period (.) followed by the number of water molecules. For example: CuSO4.5H2O for copper sulfate pentahydrate. You can also use the middle dot (ยท).
How accurate are the results?
We use 2021 IUPAC standard atomic masses, which are the international reference values. Results are displayed with 4 decimal places for molar mass and 2 decimal places for percentages.