Molar Mass Calculator

Enter a chemical formula to instantly calculate its molar mass (molecular weight), with a full per-element breakdown.

H2O H2SO4 C6H12O6 NaCl Ca(OH)2 Al2(SO4)3 CO2
0 g/mol
Molar Mass

How to use the molar mass calculator

Type a chemical formula using standard notation โ€” capital letters for elements (e.g. Na, Cl), numbers for subscripts (e.g. H2O), and parentheses for grouped units (e.g. Ca(OH)2). Click Calculate to see the total molar mass and a breakdown of each element's contribution.

About the values used

This calculator uses standard atomic weights (rounded to typically 2-3 decimal places) for all 118 known elements, based on published periodic table values.