Atomic Mass Calculator

Type any chemical formula (e.g. H2O, C6H12O6, Ca(OH)2) and instantly get its atomic mass using IUPAC standard atomic weights.

Chemical Formula

Supports parentheses and all 118 elements.

Use standard element symbols (H, He, Li …). Subscripts are plain numbers.

Quick Examples

Enter a chemical formula to calculate its atomic mass.

Copied!

Summary

Type any chemical formula (e.g. H2O, C6H12O6, Ca(OH)2) and instantly get its atomic mass using IUPAC standard atomic weights.

How it works

  1. Type a valid chemical formula into the input field (e.g. H2O, NaCl, Ca(OH)2, Al2(SO4)3).
  2. The parser reads element symbols and their subscript counts, respecting nested parentheses.
  3. Each element's atom count is multiplied by its IUPAC standard atomic weight.
  4. The contributions are summed to produce the total molar mass in g/mol.
  5. A breakdown table shows each element, its atom count, atomic weight, total contribution, and mass percent.
  6. Click "Copy" to copy the molar mass value to your clipboard.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-28 · Reviewed by Nham Vu