Molar Mass Calculator
Calculate the molar mass of a chemical formula, with each element's contribution and percentage by mass.
Each substitution is shown so you can check the arithmetic.
Enter values to see the step-by-step working.
Molar Mass formula
The live calculator applies this equation with full precision and rounds only for display.
What the variables mean
nᵢ = number of atoms of element i; Aᵢ = its standard atomic mass in g/mol.
Worked example
Glucose, C₆H₁₂O₆, has a molar mass of 180.156 g/mol: 72.064 g of carbon, 12.096 g of hydrogen and 96.00 g of oxygen.
How to interpret the result
Molar mass converts between grams and moles. It is the sum of standard atomic masses, so it is an average value that reflects natural isotopic abundance.
Common mistakes
- Convert volume to litres and temperature to kelvin before using gas or concentration formulas. Molar mass is grams per mole, not a dimensionless number. For pH, hydrogen-ion concentration must be in mol/L.
Frequently asked questions
Does the calculator handle parentheses?
What formula does this calculator use?
Are the results rounded?
Is this calculator free to use?
The formula, classification ranges and assumptions on this page follow the definitions and guidance of the bodies below.
- NIST Chemistry WebBookThermochemical, spectroscopic and physical property data for chemical species.
- PubChem (NIH)Compound identifiers, molar masses and property records.
- IUPAC Gold BookAuthoritative definitions of chemical terms and units.
How these are used: sources and standards.
Reviewed November 2026 · This tool is for education and estimation. See the disclaimer and methodology.
Need the theory behind molar mass?
Read the formula entry for the derivation, units and related equations.