One Calculator Logo One Calculator
Everyday Tools • Formulas shown

Molecular Weight Calculator

Quick Answer

Molecular weight is the sum of the atomic weights of every atom in the formula. For Ca(OH)₂: 40.078 + 2 × (15.999 + 1.008) = 74.092 g/mol. For water, H₂O, it is 2 × 1.008 + 15.999 = 18.015 g/mol.

Use capital letters for each element, numbers for counts and brackets for groups.
Result

Ca(OH)2 has a molar mass of 74.092 g/mol

Atoms in total5
Grams in 1 mole74.092
Composition
ElementAtomsAtomic massMass %
Ca140.07854.09%
O215.99943.19%
H21.0082.72%
Step-by-step calculation
  1. Add up each element’s standard atomic weight multiplied by its atom count.
  2. 1 × Ca (40.078) + 2 × O (15.999) + 2 × H (1.008) = 74.092

Uses abridged standard atomic weights for about 55 common elements.

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

  1. Type the chemical formula.
  2. Read the molar mass in g/mol.
  3. 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

All Everyday & Other 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.