DoubleCheckCalc

All tools

Molecular weight calculator

Molar mass in g/mol from a chemical formula, with the working

Type a formula. Capital letters matter: Co is cobalt, CO is carbon monoxide. The example is glucose.

Such as H2SO4, Ca(OH)2 or CuSO4·5H2O. For the hydrate dot you can type * or a full stop.

To turn grams into moles.

–

Mass of each element in the formula
ElementAtomsAtomic weightMass% by mass

How molar mass is worked out

Molar mass, often called molecular weight, is the mass of one mole of a substance in grams. For each element in the formula, multiply its standard atomic weight by the number of atoms, then add the results. For water, H2O: 2 × 1.0080 + 15.999 = 18.015 g/mol. The table under the answer shows each element's share, so you can check every line.

Writing the formula

Start each element with a capital letter, then at most one small letter: Cl, not CL. This matters because Co is cobalt but CO is carbon and oxygen. A number after an element or a bracket multiplies it: Ca(OH)2 has two O and two H. Round, square and curly brackets all work and can be nested, as in K4[Fe(CN)6].

For a hydrate, put a dot before the water: CuSO4·5H2O. You can type the dot as *, a full stop or ·. A number at the start of a part multiplies that part.

The atomic weights

The page uses the abridged standard atomic weights published by IUPAC's Commission on Isotopic Abundances and Atomic Weights (CIAAW), 2024 edition, listed in full below. Results are shown to three decimal places. Elements with no stable isotopes, such as technetium and plutonium, have no standard atomic weight, so the page will not guess one.

Charges, states such as (aq) and isotope labels are not read.

Atomic weights used

CIAAW (IUPAC) Abridged Standard Atomic Weights 2024, from ciaaw.org, checked 15 Nov 2026. "none" means the element has no standard atomic weight.

Standard atomic weights used by this calculator
ZSymbolElementAtomic weight
1Hhydrogen1.0080
2Hehelium4.0026
3Lilithium6.94
4Beberyllium9.0122
5Bboron10.81
6Ccarbon12.011
7Nnitrogen14.007
8Ooxygen15.999
9Ffluorine18.998
10Neneon20.180
11Nasodium22.990
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.630
33Asarsenic74.922
34Seselenium78.971
35Brbromine79.904
36Krkrypton83.798
37Rbrubidium85.468
38Srstrontium87.62
39Yyttrium88.906
40Zrzirconium91.222
41Nbniobium92.906
42Momolybdenum95.95
43Tctechnetiumnone
44Ruruthenium101.07
45Rhrhodium102.91
46Pdpalladium106.42
47Agsilver107.87
48Cdcadmium112.41
49Inindium114.82
50Sntin118.71
51Sbantimony121.76
52Tetellurium127.60
53Iiodine126.90
54Xexenon131.29
55Cscaesium132.91
56Babarium137.33
57Lalanthanum138.91
58Cecerium140.12
59Prpraseodymium140.91
60Ndneodymium144.24
61Pmpromethiumnone
62Smsamarium150.36
63Eueuropium151.96
64Gdgadolinium157.25
65Tbterbium158.93
66Dydysprosium162.50
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
84Popoloniumnone
85Atastatinenone
86Rnradonnone
87Frfranciumnone
88Raradiumnone
89Acactiniumnone
90Ththorium232.04
91Paprotactinium231.04
92Uuranium238.03
93Npneptuniumnone
94Puplutoniumnone
95Amamericiumnone
96Cmcuriumnone
97Bkberkeliumnone
98Cfcaliforniumnone
99Eseinsteiniumnone
100Fmfermiumnone
101Mdmendeleviumnone
102Nonobeliumnone
103Lrlawrenciumnone
104Rfrutherfordiumnone
105Dbdubniumnone
106Sgseaborgiumnone
107Bhbohriumnone
108Hshassiumnone
109Mtmeitneriumnone
110Dsdarmstadtiumnone
111Rgroentgeniumnone
112Cncoperniciumnone
113Nhnihoniumnone
114Flfleroviumnone
115Mcmoscoviumnone
116Lvlivermoriumnone
117Tstennessinenone
118Ogoganessonnone

Related tools