MolarMass logo
Accurate molar mass data for homework, exams & labs

Molar Mass Calculator

Enter a chemical formula or a compound name and get the molar mass in g/mol, with a clear element-by-element breakdown.

How to use this calculator

  • Enter a formula (H2O) or a compound name (for example water or oxygen).
  • While typing a name, matching compounds appear in a list under the field (scroll if the list is long). On phones and tablets, close it with the X or by choosing a compound. On desktop, it also closes when you click elsewhere on the page.
  • Press Calculate or choose a quick example.
  • Read the final answer in g/mol and element-by-element breakdown.

Enter a valid formula or compound name (for example H2SO4 or Ca(OH)2).