About the Molecular Weight Calculator
Type a formula using standard element symbols and optional brackets and subscripts, like C6H12O6 or Al2(SO4)3. The calculator parses it, lists each element’s count and mass contribution, and gives the total.
Atomic weights come from standard values. Element symbols are case sensitive: Co is cobalt but CO is carbon monoxide.
How to Use the Molecular Weight Calculator
- Type the chemical formula.
- Read the molar mass in g/mol.
- Review the element breakdown and percent composition.
Formula and Method
Molar mass
M = Σ (count × atomic weight)
Over all atoms.
Percent by element
% = count × atomic weight ÷ M × 100
Worked Example
Calcium hydroxide
Input: Ca(OH)2
- Ca: 40.078
- O: 2 × 15.999 = 31.998
- H: 2 × 1.008 = 2.016
- Total = 74.092
Result: 74.092 g/mol.
Frequently Asked Questions
What is the difference between molecular weight and molar mass?
They have the same number. Molecular weight is dimensionless relative mass, molar mass is in g/mol.
How do I handle brackets?
Multiply everything inside by the subscript that follows.
What is a mole?
A mole is 6.022 × 10²³ particles.
Related Calculators
Sources and Further Reading
Accuracy and Scope
Results follow the formulas and scales stated on each page. Institutions, vehicles and circuits differ, so check against your own rules and equipment. See our full disclaimer.