Atomic Mass Calculator
Type any chemical formula (e.g. H2O, C6H12O6, Ca(OH)2) and instantly get its formula mass and molar mass using IUPAC standard atomic weights.
Use the Atomic Mass Calculator
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 formula mass or molar mass.
Formula Mass / Molar Mass
—
g/mol (or u / Da)
Formula:
Element Breakdown
| Element | Count | Atomic Wt. | Contribution | Mass % |
|---|
Copied!
Summary
Type any chemical formula (e.g. H2O, C6H12O6, Ca(OH)2) and instantly get its formula mass and molar mass using IUPAC standard atomic weights.
How it works
- Type a valid chemical formula into the input field (e.g. H2O, NaCl, Ca(OH)2, Al2(SO4)3).
- The parser reads element symbols and their subscript counts, respecting nested parentheses.
- Each element's atom count is multiplied by its IUPAC standard atomic weight.
- The contributions are summed to produce the total molar mass in g/mol.
- A breakdown table shows each element, its atom count, atomic weight, total contribution, and mass percent.
- Click "Copy" to copy the molar mass value to your clipboard.
Use cases
- Calculating molar mass of reagents before preparing lab solutions.
- Verifying molecular weights during stoichiometry homework.
- Checking the formula weight of ionic compounds such as salts and acids.
- Finding mass percentages of each element in a compound.
- Teaching or studying how atomic weights combine in a formula.
- Quick reference during chemistry exams or research.
Frequently Asked Questions
Last updated: 2026-09-13 ·
Reviewed by Nham Vu