Molecular weight calculator
Type any chemical formula to get its molar mass in g/mol, the mass percent of each element and a quick grams to moles conversion. Brackets, hydrates such as CuSO4路5H2O and complex ions such as K4[Fe(CN)6] are all understood.
Case matters (Co is cobalt, CO is carbon monoxide). Use brackets for groups, a dot or * for hydrates and ^ for charges, such as SO4^2-.
Molar mass
249.677g/mol
Grams and moles
n = m 梅 M. 10 g 梅 249.677 g/mol = 0.040052 mol (40.052 mmol).
Composition by mass
| Element | Atoms | Atomic weight | Mass | Mass % |
|---|---|---|---|---|
| OOxygen | 9 | 143.991 | 57.67 | |
| CuCopper | 1 | 63.546 | 25.45 | |
| SSulfur | 1 | 32.060 | 12.84 | |
| HHydrogen | 10 | 10.080 | 4.04 | |
| Total | 21 | 249.677 | 100.00 |
Read as CuSO4 (159.602 g/mol) + 5 H2O (90.075 g/mol).
How the calculation works
The molar mass of a compound is the sum of the atomic weights of all the atoms in its formula. For each element, multiply its standard atomic weight by the number of atoms of that element, then add the results.
- M
- molar mass of the compound, in g/mol
- ni
- number of atoms of element i in one formula unit
- Ar,i
- standard atomic weight of element i (dimensionless, numerically equal to g/mol)
The calculator reads the formula from left to right. A number after an element or a closing bracket multiplies it, so in Ca3(PO4)2 the phosphate group counts twice: 2 phosphorus and 8 oxygen atoms. Brackets can be nested with ( ), [ ] or { }. A dot, a middle dot or an asterisk starts a new part, and a number at the start of a part multiplies the whole part, which is how hydrates and adducts such as Na2CO3路10H2O are written.
Mass percent tells you how much of the total mass comes from each element: mass % = n 脳 A 梅 M 脳 100. It is the basis of elemental analysis results and of the theoretical metal or water content quoted on many certificates of analysis.
Atomic weights follow the abridged standard atomic weights published by IUPAC (CIAAW). Elements such as hydrogen, carbon and chlorine vary slightly in nature, so IUPAC gives an interval and a conventional value for everyday use, and the calculator uses those conventional values.
Atomic weights of all 118 elementsValues used by this calculator. Bracketed values are mass numbers of long lived isotopes.
- 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[266]
- 104RfRutherfordium[267]
- 105DbDubnium[268]
- 106SgSeaborgium[269]
- 107BhBohrium[270]
- 108HsHassium[269]
- 109MtMeitnerium[277]
- 110DsDarmstadtium[282]
- 111RgRoentgenium[282]
- 112CnCopernicium[286]
- 113NhNihonium[286]
- 114FlFlerovium[290]
- 115McMoscovium[290]
- 116LvLivermorium[293]
- 117TsTennessine[294]
- 118OgOganesson[295]
Worked example
The same steps the calculator follows, done by hand
Copper(II) sulfate pentahydrate, the blue crystals sold for agriculture and electroplating, has the formula CuSO4路5H2O. Count the atoms first: 1 Cu, 1 S, 4 + 5 = 9 O and 5 脳 2 = 10 H.
| Element | Atoms | Atomic weight | Mass (g/mol) |
|---|---|---|---|
| Copper (Cu) | 1 | 63.546 | 63.546 |
| Sulfur (S) | 1 | 32.06 | 32.060 |
| Oxygen (O) | 9 | 15.999 | 143.991 |
| Hydrogen (H) | 10 | 1.008 | 10.080 |
| Total | 21 | 249.677 |
- 1Add the element masses: 63.546 + 32.060 + 143.991 + 10.080 = 249.677 g/mol.
- 2The five waters weigh 5 脳 18.015 = 90.075 g/mol, so the crystals contain 90.075 梅 249.677 脳 100 = 36.1 % water by mass.
- 3To make a solution containing 0.1 mol of copper sulfate you would weigh 0.1 脳 249.677 = 24.97 g of the pentahydrate, not 15.96 g as you would for the anhydrous salt (159.60 g/mol).