molecular mass calculator

Supports parentheses (), brackets [], braces {}, and hydrate dots (· or .).

What is molecular mass?

Molecular mass (often used interchangeably with molar mass in classroom settings) is the sum of the atomic masses of all atoms in a chemical formula. If you know the molecular mass, you can convert between grams, moles, and number of particles in stoichiometry problems.

Example: water is H2O. Its mass is approximately: (2 × H) + (1 × O) = (2 × 1.008) + 15.999 = 18.015 g/mol.

How to use this molecular mass calculator

  • Type a valid chemical formula in the input field.
  • Use element symbols exactly as written on the periodic table (Na, Cl, Fe, etc.).
  • Include subscripts as numbers directly after symbols (C6H12O6).
  • Use parentheses for grouped ions or repeated units (Ca(OH)2, Al2(SO4)3).
  • For hydrates, use a dot: CuSO4·5H2O (or CuSO4.5H2O).
  • Click Calculate to get total mass and an element-by-element breakdown.

Formula syntax rules supported

1) Element symbols

Symbols begin with a capital letter and may include lowercase letters: H, He, Li, Na, Cl, Fe, Mg, etc.

2) Atom counts

A number after an element or group indicates how many are present. If no number is shown, the count is assumed to be 1.

3) Grouping with brackets

The calculator supports (), [] and {} for nested grouping: K4[Fe(CN)6] and similar structures are accepted.

4) Hydrates

Dot notation is supported for water of crystallization and related adducts: MgSO4·7H2O, CuSO4·5H2O, etc.

Why this matters in chemistry

Molecular mass is foundational in analytical chemistry, general chemistry, biochemistry, and chemical engineering. You use it to:

  • Prepare solutions with exact molarity
  • Balance reaction quantities in stoichiometry
  • Estimate percent composition by mass
  • Interpret lab measurements and yields

Common mistakes to avoid

  • Typing element symbols incorrectly (e.g., co instead of Co).
  • Forgetting parentheses multipliers, such as in Al2(SO4)3.
  • Using an incorrect hydrate count (e.g., CuSO4·H2O instead of CuSO4·5H2O).
  • Confusing atomic mass units with grams per mole in calculations.

Quick FAQ

Is molecular mass the same as molar mass?

In many practical contexts, yes. Strictly speaking, molecular mass is often given in atomic mass units (u), while molar mass is the same numeric value in g/mol.

Does this tool handle ions?

It handles ionic formulas by composition (e.g., NH4NO3), but it does not calculate charge-related properties.

Are isotopes included?

The calculator uses standard average atomic weights, which are appropriate for most lab and classroom work.

🔗 Related Calculators