Skip to content

Other

Molecular Weight Calculator

Enter your values and the result updates as you type. The formula and a worked example are below the calculator.

Element symbols start with a capital letter. A number after a symbol or bracket says how many.

Molecular weight (molar mass)

60.056 g/mol

CH4N2O is urea. It has 8 atoms of 4 elements.

Atoms and mass of each element
AtomCountAtomic weight (g/mol)Mass subtotal (g/mol)
C (Carbon)112.01112.011 (20.00%)
H (Hydrogen)41.0084.032 (6.71%)
N (Nitrogen)214.00728.014 (46.65%)
O (Oxygen)115.99915.999 (26.64%)
Total860.056 (100%)

Atomic composition

  • C113%
  • H450%
  • N225%
  • O113%

Mass composition

  • C12.011 g/mol20%
  • H4.032 g/mol7%
  • N28.014 g/mol47%
  • O15.999 g/mol27%

How to use

  1. Type a chemical formula, or pick a common chemical from the list to fill it in for you.
  2. Write each element with a capital letter, then the number of atoms: Ca(OH)2, Al2(SO4)3. Brackets group atoms and a number after the bracket multiplies them. For water of crystallisation add a dot and a number: CuSO4.5H2O.
  3. Read the molecular weight in g/mol, then the table of atoms, atomic weights and the mass each element contributes, with its share of the total.
  4. The two charts show each element's share by number of atoms and by mass. Hover or tap a slice to see the figures.

Formula

Molecular weight (molar mass) = sum over all atoms of count × atomic weight, in g/mol. A number before a formula or bracket multiplies it, and a dot followed by a number multiplies the part after it up to the next dot. Atomic weights are the IUPAC abbreviated standard values; for elements with no standard weight the mass number of the longest-lived isotope is used.

Example

Calcium hydroxide, Ca(OH)2: 1 Ca (40.078) + 2 O (2 × 15.999) + 2 H (2 × 1.008) = 74.092 g/mol. Urea, CH4N2O: 12.011 + 4 × 1.008 + 2 × 14.007 + 15.999 = 60.056 g/mol, of which nitrogen is about 46.6% by mass.

Symbols are read without regard to case, so "co" is cobalt; write CO for carbon monoxide. Charges and isotopes are not supported. The values are for general use; take exact figures from your reagent's label when preparing solutions.