Molar Mass Calculator
Compute the molar mass of any chemical formula with per-element breakdown.
Type a chemical formula — parentheses and hydrates are supported, e.g. Ca(OH)2 or CuSO4·5H2O.
Element breakdown
| Element | Atoms | Mass (g/mol) | % of mass |
|---|
About Molar Mass Calculator
The molar mass calculator computes the molecular weight of any chemical formula in grams per mole. Type a formula such as H2O, C6H12O6, or Ca(OH)2 and the tool parses it, multiplies each element’s standard atomic weight by its atom count, and sums the result — with full support for parentheses and hydrates like CuSO4·5H2O.
Beyond the total, you get a per-element breakdown: how many atoms of each element the formula contains, the mass each element contributes, and its percentage of the total mass. That mass-percent column is exactly what you need for percent-composition problems in chemistry homework and stoichiometry calculations.
The calculator uses the IUPAC 2021 standard atomic weights rounded to four significant figures, and every parse happens instantly in your browser as you type — no lookup tables, no waiting, free for students, teachers, and lab work alike.
How to use Molar Mass Calculator
- Type the chemical formula into the input field — element symbols are case-sensitive, so write CO for carbon monoxide and Co for cobalt.
- Use parentheses for groups, e.g. Ca(OH)2, and a dot or middle dot for hydrates, e.g. CuSO4·5H2O.
- Read the molar mass in g/mol at the top of the results.
- Review the element breakdown table for atom counts, per-element mass, and percent of total mass.
- Try one of the example formulas if you want to see how a tricky structure is parsed.