Skip to content
Calculator.hair

Molecular Weight Calculator (Molar Mass)

Choosing one overrides the formula box.

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.

ZSymbolElementAtomic weight
1HHydrogen1.008
2HeHelium4.0026
3LiLithium6.94
4BeBeryllium9.0122
5BBoron10.81
6CCarbon12.011
7NNitrogen14.007
8OOxygen15.999
9FFluorine18.998
10NeNeon20.18
11NaSodium22.99
12MgMagnesium24.305
13AlAluminium26.982
14SiSilicon28.085
15PPhosphorus30.974
16SSulfur32.06
17ClChlorine35.45
18ArArgon39.95
19KPotassium39.098
20CaCalcium40.078
21ScScandium44.956
22TiTitanium47.867
23VVanadium50.942
24CrChromium51.996
25MnManganese54.938
26FeIron55.845
27CoCobalt58.933
28NiNickel58.693
29CuCopper63.546
30ZnZinc65.38
31GaGallium69.723
32GeGermanium72.63
33AsArsenic74.922
34SeSelenium78.971
35BrBromine79.904
36KrKrypton83.798
37RbRubidium85.468
38SrStrontium87.62
39YYttrium88.906
40ZrZirconium91.224
41NbNiobium92.906
42MoMolybdenum95.95
43TcTechnetium[98]
44RuRuthenium101.07
45RhRhodium102.91
46PdPalladium106.42
47AgSilver107.87
48CdCadmium112.41
49InIndium114.82
50SnTin118.71
51SbAntimony121.76
52TeTellurium127.6
53IIodine126.9
54XeXenon131.29
55CsCaesium132.91
56BaBarium137.33
57LaLanthanum138.91
58CeCerium140.12
59PrPraseodymium140.91
60NdNeodymium144.24
61PmPromethium[145]
62SmSamarium150.36
63EuEuropium151.96
64GdGadolinium157.25
65TbTerbium158.93
66DyDysprosium162.5
67HoHolmium164.93
68ErErbium167.26
69TmThulium168.93
70YbYtterbium173.05
71LuLutetium174.97
72HfHafnium178.49
73TaTantalum180.95
74WTungsten183.84
75ReRhenium186.21
76OsOsmium190.23
77IrIridium192.22
78PtPlatinum195.08
79AuGold196.97
80HgMercury200.59
81TlThallium204.38
82PbLead207.2
83BiBismuth208.98
84PoPolonium[209]
85AtAstatine[210]
86RnRadon[222]
87FrFrancium[223]
88RaRadium[226]
89AcActinium[227]
90ThThorium232.04
91PaProtactinium231.04
92UUranium238.03
93NpNeptunium[237]
94PuPlutonium[244]
95AmAmericium[243]
96CmCurium[247]
97BkBerkelium[247]
98CfCalifornium[251]
99EsEinsteinium[252]
100FmFermium[257]
101MdMendelevium[258]
102NoNobelium[259]
103LrLawrencium[262]
104RfRutherfordium[267]
105DbDubnium[268]
106SgSeaborgium[269]
107BhBohrium[270]
108HsHassium[269]
109MtMeitnerium[278]
110DsDarmstadtium[281]
111RgRoentgenium[282]
112CnCopernicium[285]
113NhNihonium[286]
114FlFlerovium[289]
115McMoscovium[290]
116LvLivermorium[293]
117TsTennessine[294]
118OgOganesson[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