Molar Mass Calculator

Molar Mass Calculator parses the chemical formula you enter (e.g. Ca(OH)2, C6H12O6, Fe2(SO4)3) and uses each element's standard atomic weight to calculate the total molar mass in g/mol; nested parenthetical groups and multipliers are supported.

This tool is for educational and preliminary-estimate purposes only; laboratory and chemical work carries health and safety risk, don't act on the result without having it verified by a chemical engineer/chemist against the current Safety Data Sheet (SDS) and lab safety procedures.
Molar mass18.015 g/mol
ElementCountMass (g/mol)
H22.016
O115.999

How it works

  1. 1Enter the chemical formula, case-sensitively (e.g. NaCl).
  2. 2Read the molar mass and the per-element breakdown.

Frequently asked questions

Why is the formula case-sensitive?+

Element symbols mean different things depending on capitalization, e.g. "Co" is cobalt, while "CO" is carbon + oxygen.

Are nested parenthetical groups supported?+

Yes, groups and multipliers like Ca(OH)2 or Fe2(SO4)3 are parsed correctly.

Which elements are supported?+

Standard atomic weights (IUPAC) for all known periodic-table elements are used.

What precision is the result shown at?+

Molar mass is rounded to 3 decimal places; the per-element breakdown uses the same precision.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/chemical-engineering/molar-mass-calculator/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Molar Mass Calculator · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Lab Calculations Guide →

Command Palette

Search for a command to run…