Molecular Weight Calculator (Molar Mass)
Press Calculate to see the results.
Type a chemical formula, or pick a common chemical, and the molecular weight calculator adds up the standard atomic weights to give the molar mass and elemental composition. Brackets and hydrates are supported.
Term Definitions
Molecular weight, molar mass, molecular mass and atomic weight are closely related and often used loosely as if they were the same thing. In practice the numbers line up: water's molecular weight is about 18.015, its molar mass is 18.015 g/mol, and an average water molecule has a mass of 18.015 daltons. The differences lie in what each term measures and in its units, as the sections below explain. All are based on the unified atomic mass unit (u), also called the dalton (Da), defined as one-twelfth of the mass of a carbon-12 atom, about 1.66054 × 10⁻²⁷ kg.
Atomic Weight
The atomic weight of an element, formally its relative atomic mass, is the average mass of its atoms compared with one-twelfth of the mass of a carbon-12 atom. It is an average because most elements occur naturally as a mixture of isotopes. Chlorine, for example, is about 76% chlorine-35 and 24% chlorine-37, which is why its atomic weight is about 35.45 rather than a whole number.
Isotope proportions vary slightly depending on where a sample comes from, so the International Union of Pure and Applied Chemistry (IUPAC) reviews the values regularly. For elements such as hydrogen, carbon and oxygen it now gives an interval rather than a single number, along with a conventional value for everyday calculations. Elements with no stable isotopes, such as technetium and the transuranium elements, have no standard atomic weight; the mass number of their longest-lived or best-known isotope is used instead.
Molecular Weight (relative molecular mass)
The molecular weight of a compound is the sum of the atomic weights of all the atoms in its formula. Like atomic weight it is a ratio to the carbon-12 standard and so has no units. For water, H₂O, it is 2 × 1.008 + 15.999 = 18.015. For ionic compounds such as sodium chloride, which form crystal lattices rather than discrete molecules, the same sum is called the formula weight.
Molar Mass
Molar mass is the mass of one mole of a substance, expressed in grams per mole. Because the mole and the dalton were defined together, the molar mass in g/mol is numerically equal to the molecular weight; one mole of water has a mass of 18.015 g. Since the 2019 redefinition of the SI the match is no longer exact by definition, but the difference is less than one part in a billion, far below what matters in a laboratory. Molar mass is what you use to convert between grams weighed on a balance and moles in a chemical equation.
Molecular Mass
Molecular mass is the mass of one individual molecule, measured in daltons. Unlike molecular weight it can refer to a specific combination of isotopes: a water molecule made of hydrogen-1 and oxygen-16 has a mass of about 18.011 Da, while one containing deuterium is heavier. Mass spectrometry measures these individual molecular masses.
Calculate Molecular Weight and Molar Mass
To find a molecular weight by hand, count the atoms of each element in the formula, multiply each count by that element's atomic weight, and add the results. Subscripts apply to the symbol directly before them. A subscript after brackets multiplies everything inside: Ca(OH)₂ contains one calcium, two oxygen and two hydrogen atoms. In a hydrate such as CuSO₄·5H₂O, the number in front of the water multiplies the whole water unit.
Example: sulfuric acid, H₂SO₄. Hydrogen 2 × 1.008 = 2.016; sulfur 1 × 32.06 = 32.06; oxygen 4 × 15.999 = 63.996. The total is 98.072, so the molar mass is about 98.07 g/mol. Hydrogen makes up 2.016 ÷ 98.072 = 2.06% of the mass, sulfur 32.69% and oxygen 65.25%.
When entering formulas, capitalize element symbols correctly: Co is cobalt, while CO is carbon monoxide.
Table of abridged standard atomic weights
Atomic weights used by this calculator, based on IUPAC's abridged standard atomic weights. Values in brackets are the mass numbers of a long-lived isotope for elements with no stable isotopes.
| Z | Symbol | Element | Atomic weight |
|---|---|---|---|
| 1 | H | Hydrogen | 1.008 |
| 2 | He | Helium | 4.0026 |
| 3 | Li | Lithium | 6.94 |
| 4 | Be | Beryllium | 9.0122 |
| 5 | B | Boron | 10.81 |
| 6 | C | Carbon | 12.011 |
| 7 | N | Nitrogen | 14.007 |
| 8 | O | Oxygen | 15.999 |
| 9 | F | Fluorine | 18.998 |
| 10 | Ne | Neon | 20.18 |
| 11 | Na | Sodium | 22.99 |
| 12 | Mg | Magnesium | 24.305 |
| 13 | Al | Aluminium | 26.982 |
| 14 | Si | Silicon | 28.085 |
| 15 | P | Phosphorus | 30.974 |
| 16 | S | Sulfur | 32.06 |
| 17 | Cl | Chlorine | 35.45 |
| 18 | Ar | Argon | 39.95 |
| 19 | K | Potassium | 39.098 |
| 20 | Ca | Calcium | 40.078 |
| 21 | Sc | Scandium | 44.956 |
| 22 | Ti | Titanium | 47.867 |
| 23 | V | Vanadium | 50.942 |
| 24 | Cr | Chromium | 51.996 |
| 25 | Mn | Manganese | 54.938 |
| 26 | Fe | Iron | 55.845 |
| 27 | Co | Cobalt | 58.933 |
| 28 | Ni | Nickel | 58.693 |
| 29 | Cu | Copper | 63.546 |
| 30 | Zn | Zinc | 65.38 |
| 31 | Ga | Gallium | 69.723 |
| 32 | Ge | Germanium | 72.63 |
| 33 | As | Arsenic | 74.922 |
| 34 | Se | Selenium | 78.971 |
| 35 | Br | Bromine | 79.904 |
| 36 | Kr | Krypton | 83.798 |
| 37 | Rb | Rubidium | 85.468 |
| 38 | Sr | Strontium | 87.62 |
| 39 | Y | Yttrium | 88.906 |
| 40 | Zr | Zirconium | 91.224 |
| 41 | Nb | Niobium | 92.906 |
| 42 | Mo | Molybdenum | 95.95 |
| 43 | Tc | Technetium | [98] |
| 44 | Ru | Ruthenium | 101.07 |
| 45 | Rh | Rhodium | 102.91 |
| 46 | Pd | Palladium | 106.42 |
| 47 | Ag | Silver | 107.87 |
| 48 | Cd | Cadmium | 112.41 |
| 49 | In | Indium | 114.82 |
| 50 | Sn | Tin | 118.71 |
| 51 | Sb | Antimony | 121.76 |
| 52 | Te | Tellurium | 127.6 |
| 53 | I | Iodine | 126.9 |
| 54 | Xe | Xenon | 131.29 |
| 55 | Cs | Caesium | 132.91 |
| 56 | Ba | Barium | 137.33 |
| 57 | La | Lanthanum | 138.91 |
| 58 | Ce | Cerium | 140.12 |
| 59 | Pr | Praseodymium | 140.91 |
| 60 | Nd | Neodymium | 144.24 |
| 61 | Pm | Promethium | [145] |
| 62 | Sm | Samarium | 150.36 |
| 63 | Eu | Europium | 151.96 |
| 64 | Gd | Gadolinium | 157.25 |
| 65 | Tb | Terbium | 158.93 |
| 66 | Dy | Dysprosium | 162.5 |
| 67 | Ho | Holmium | 164.93 |
| 68 | Er | Erbium | 167.26 |
| 69 | Tm | Thulium | 168.93 |
| 70 | Yb | Ytterbium | 173.05 |
| 71 | Lu | Lutetium | 174.97 |
| 72 | Hf | Hafnium | 178.49 |
| 73 | Ta | Tantalum | 180.95 |
| 74 | W | Tungsten | 183.84 |
| 75 | Re | Rhenium | 186.21 |
| 76 | Os | Osmium | 190.23 |
| 77 | Ir | Iridium | 192.22 |
| 78 | Pt | Platinum | 195.08 |
| 79 | Au | Gold | 196.97 |
| 80 | Hg | Mercury | 200.59 |
| 81 | Tl | Thallium | 204.38 |
| 82 | Pb | Lead | 207.2 |
| 83 | Bi | Bismuth | 208.98 |
| 84 | Po | Polonium | [209] |
| 85 | At | Astatine | [210] |
| 86 | Rn | Radon | [222] |
| 87 | Fr | Francium | [223] |
| 88 | Ra | Radium | [226] |
| 89 | Ac | Actinium | [227] |
| 90 | Th | Thorium | 232.04 |
| 91 | Pa | Protactinium | 231.04 |
| 92 | U | Uranium | 238.03 |
| 93 | Np | Neptunium | [237] |
| 94 | Pu | Plutonium | [244] |
| 95 | Am | Americium | [243] |
| 96 | Cm | Curium | [247] |
| 97 | Bk | Berkelium | [247] |
| 98 | Cf | Californium | [251] |
| 99 | Es | Einsteinium | [252] |
| 100 | Fm | Fermium | [257] |
| 101 | Md | Mendelevium | [258] |
| 102 | No | Nobelium | [259] |
| 103 | Lr | Lawrencium | [262] |
| 104 | Rf | Rutherfordium | [267] |
| 105 | Db | Dubnium | [268] |
| 106 | Sg | Seaborgium | [269] |
| 107 | Bh | Bohrium | [270] |
| 108 | Hs | Hassium | [269] |
| 109 | Mt | Meitnerium | [278] |
| 110 | Ds | Darmstadtium | [281] |
| 111 | Rg | Roentgenium | [282] |
| 112 | Cn | Copernicium | [285] |
| 113 | Nh | Nihonium | [286] |
| 114 | Fl | Flerovium | [289] |
| 115 | Mc | Moscovium | [290] |
| 116 | Lv | Livermorium | [293] |
| 117 | Ts | Tennessine | [294] |
| 118 | Og | Oganesson | [294] |
Frequently asked questions
What is the molar mass of water?
About 18.015 g/mol: two hydrogen atoms at 1.008 each plus one oxygen atom at 15.999.
Is molecular weight the same as molar mass?
They have the same numerical value. Molecular weight is a unitless ratio, while molar mass has units of grams per mole.
How do I enter a hydrate?
Separate the water of crystallization with a period or asterisk, for example CuSO4.5H2O or CuSO4*5H2O.
Why are atomic weights not whole numbers?
They are averages over the natural mix of isotopes, and the masses of protons and neutrons are not exactly 1 u once nuclear binding energy is taken into account.
How do you calculate molecular weight?
Multiply each element's atomic weight by the number of its atoms in the formula and add the results. Carbon dioxide, CO₂, is 12.011 + 2 × 15.999 = 44.009 g/mol. A subscript after brackets multiplies everything inside, so Ca(OH)₂ counts two oxygens and two hydrogens.
Updated by Calculator.hair. How we build and check our calculators