Formula Mass Calculator

Enter a chemical formula like H2O or C6H12O6 and instantly get the formula mass in g/mol with a per-element breakdown.

Chemical Formula

Supports parentheses: Ca(OH)2, [Co(NH3)6]Cl3

Quick examples

Enter a formula to calculate its mass

Summary

Enter a chemical formula like H2O or C6H12O6 and instantly get the formula mass in g/mol with a per-element breakdown.

How it works

  1. Type the chemical formula into the input field using standard notation (e.g. H2O, C6H12O6).
  2. The tool parses the formula, expanding parentheses and applying subscripts correctly.
  3. Each element symbol is matched against a built-in table of IUPAC standard atomic masses.
  4. The total formula mass is the sum of each element's atomic mass multiplied by its count.
  5. A breakdown table shows each element, its atom count, atomic mass, and subtotal.

Use cases

  • Calculate molar mass for stoichiometry problems in general chemistry.
  • Verify formula weights before preparing solutions in a lab.
  • Help students check their manual formula-mass calculations.
  • Convert between grams and moles using the calculated molar mass.
  • Quickly look up molecular weights for organic and inorganic compounds.
  • Double-check formula masses when reading spectroscopy data.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu