Molar Mass Calculator
Enter a molecular formula like H2O or C6H12O6 and get the molar mass in g/mol with a full element breakdown.
Molecular Formula
Use element symbols with numeric subscripts. Parentheses supported: Ca(OH)2.
Quick examples:
Enter a molecular formula and click Calculate
Molar Mass
—
g/mol
Formula (parsed)
—Element Breakdown
| Element | Count | Atomic Mass | Contribution |
|---|
Mass Percent Composition
Copied!
Summary
Enter a molecular formula like H2O or C6H12O6 and get the molar mass in g/mol with a full element breakdown.
How it works
- Type a molecular formula into the input field (e.g., H2O, NaCl, Fe2O3).
- The tool parses every element symbol and its subscript count.
- Parenthesized groups like Ca(OH)2 are expanded before parsing.
- Atomic masses from the standard periodic table are multiplied by each element count.
- The individual contributions are summed to give the total molar mass in g/mol.
- An element breakdown table shows each atom's contribution to the total mass.
Use cases
- Stoichiometry calculations in chemistry homework and lab work.
- Converting between grams and moles for a reagent.
- Verifying the molecular weight of a synthesized compound.
- Preparing solutions of a known molarity.
- Quick periodic-table lookups for atomic masses during an exam.
- Teaching balancing chemical equations and mole concepts.
Frequently Asked Questions
Last updated: 2026-07-01 ·
Reviewed by Nham Vu