How to use it
- Choose what to find (molar mass / grams to moles / moles to grams).
- Enter the formula. Element symbols start with a capital, and plain digits work (H2O).
- Enter grams or moles only when converting.
What this calculates
Molar mass is the mass of 1 mol (about 6.022×10²³ particles). Multiply each element's atomic weight by its count in the formula and add them up. Brackets multiply what is inside by the outer number, and water after the hydrate dot (·) is multiplied by its count. With the molar mass you can convert grams and moles, the first step in balancing amounts in a reaction. This calculator uses IUPAC's abridged standard atomic weights. Elements with no stable isotope (technetium, plutonium and so on) have no standard atomic weight, so the calculator tells you instead of guessing.
The formulas
- Molar mass M = Σ (atomic weight × number of atoms) (g/mol)
- n = m ÷ M (n: amount in mol, m: mass in g)
- m = n × M
Reference table
| No. | Symbol | Name | 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.222 |
| 41 | Nb | niobium | 92.906 |
| 42 | Mo | molybdenum | 95.95 |
| 43 | Tc | technetium | — |
| 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 | — |
| 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 | — |
| 85 | At | astatine | — |
| 86 | Rn | radon | — |
| 87 | Fr | francium | — |
| 88 | Ra | radium | — |
| 89 | Ac | actinium | — |
| 90 | Th | thorium | 232.04 |
| 91 | Pa | protactinium | 231.04 |
| 92 | U | uranium | 238.03 |
| 93 | Np | neptunium | — |
| 94 | Pu | plutonium | — |
| 95 | Am | americium | — |
| 96 | Cm | curium | — |
| 97 | Bk | berkelium | — |
| 98 | Cf | californium | — |
| 99 | Es | einsteinium | — |
| 100 | Fm | fermium | — |
| 101 | Md | mendelevium | — |
| 102 | No | nobelium | — |
| 103 | Lr | lawrencium | — |
| 104 | Rf | rutherfordium | — |
| 105 | Db | dubnium | — |
| 106 | Sg | seaborgium | — |
| 107 | Bh | bohrium | — |
| 108 | Hs | hassium | — |
| 109 | Mt | meitnerium | — |
| 110 | Ds | darmstadtium | — |
| 111 | Rg | roentgenium | — |
| 112 | Cn | copernicium | — |
| 113 | Nh | nihonium | — |
| 114 | Fl | flerovium | — |
| 115 | Mc | moscovium | — |
| 116 | Lv | livermorium | — |
| 117 | Ts | tennessine | — |
| 118 | Og | oganesson | — |
Worked examples
- Glucose C6H12O6 → 180.156 g/mol (24 atoms, 3 elements)
- Salt NaCl 5.85 g → about 0.1001 mol (molar mass 58.44 g/mol)
- Calcium carbonate CaCO3 1.5 mol → about 150.129 g
Frequently asked questions
How should I write a formula?
Start element symbols with a capital and use a lowercase second letter (Na, Cl, Fe). Write counts as plain digits (H2O). Brackets work, and hydrates use a dot (·) or period (CuSO4·5H2O).
What if I get the case wrong?
CO (carbon monoxide) and Co (cobalt) differ. Case is read strictly, so check the symbols.
Why can some elements not be calculated?
Elements with no stable isotope (technetium, plutonium, radon and so on) have no standard atomic weight. The calculator reports an error instead of using a made-up value.
Are molecular weight and molar mass the same?
The number is the same; the unit differs. Molecular weight is a unitless relative value, molar mass is in g/mol. The result here is in g/mol.
Does it work for ionic compounds?
Yes, it gives the molar mass of the formula unit, such as NaCl. Do not enter charges (+, −).
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Good to know
- Continue with the Mole Calculator for particle counts and the Molarity Calculator for solutions.
- Compare the real amount obtained with the Percent Yield Calculator.
Sources
- IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW) — Abridged Standard Atomic Weights
- NIST constants table — Avogadro constant (the particle count that defines the mole)
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.