Skip to main content
Science

Molecular Weight Calculator

Calculate the molar mass of any chemical formula, including brackets and hydrates, with an element-by-element mass breakdown.

Chemical formula

Use element symbols, digits, brackets and · for hydrates.

Examples

Supported examples: H2O, Ca(OH)2, [Fe(CN)6], CuSO4·5H2O. Subscripts such as H₂O are also accepted.

Molar mass

Molecular weight

180.156 g/mol

3 elements · 24 atoms per molecule

Molar mass
180.156 g/mol
Mass in mg/mol
180,156 mg/mol
ElementAtomsMass%
O695.99453.28%
C672.06640%
H1212.0966.71%

How to use the Molecular Weight calculator

  1. 1

    Type a chemical formula such as C6H12O6 or CuSO4·5H2O.

  2. 2

    Subscripts, square brackets and hydrate dots are supported.

  3. 3

    Read the molar mass in g/mol with each element’s contribution and percentage.

Frequently asked questions

What is the difference between molecular weight and molar mass?

They are numerically equivalent for most practical purposes. Molecular weight is measured in atomic mass units per molecule, while molar mass is grams per mole. Both use the same atomic weights.

How do you calculate the molar mass of a hydrate?

Add the mass of the anhydrous compound to the mass of the water molecules. For CuSO4·5H2O, add the mass of CuSO4 to five times the mass of H2O.

Are the atomic weights exact?

No. Standard atomic weights are averages that reflect natural isotope abundance, and some elements vary by source. The values here are conventional rounded weights suitable for coursework and general calculations.