Molecular Weight Calculator
Enter a chemical formula to calculate its molecular weight (molar mass). Supports elements (e.g., C, H, O) and parentheses (e.g., Mg(OH)2).
Result
--- g/mol
How it Works
This calculator parses the chemical formula you enter and sums up the atomic weights of all constituent elements.
Examples
- Water: H2O (2 Hydrogen, 1 Oxygen)
- Glucose: C6H12O6 (6 Carbon, 12 Hydrogen, 6 Oxygen)
- Magnesium Hydroxide: Mg(OH)2 (1 Magnesium, 2 Oxygen, 2 Hydrogen)
Atomic weights are based on the standard IUPAC periodic table values.