Grams to Moles Calculator Convert a mass in grams to an amount in moles. Enter the mass and the molar mass of the substance — or type a chemical formula to look the molar mass up automatically — and the calculator divides one by the other to give the number of moles.
Compound
— select a compound — Water (H2O) Sodium chloride (table salt) (NaCl) Glucose (C6H12O6) Sucrose (C12H22O11) Ethanol (C2H6O) Methanol (CH4O) Acetic acid (C2H4O2) Sulfuric acid (H2SO4) Hydrochloric acid (HCl) Nitric acid (HNO3) Phosphoric acid (H3PO4) Sodium hydroxide (NaOH) Potassium hydroxide (KOH) Ammonia (NH3) Carbon dioxide (CO2) Carbon monoxide (CO) Calcium carbonate (CaCO3) Calcium hydroxide (Ca(OH)2) Calcium chloride (CaCl2) Sodium bicarbonate (NaHCO3) Sodium carbonate (Na2CO3) Magnesium sulfate (MgSO4) Copper(II) sulfate (CuSO4) Copper sulfate pentahydrate (CuSO4·5H2O) Iron(III) oxide (Fe2O3) Aluminum oxide (Al2O3) Silicon dioxide (SiO2) Hydrogen peroxide (H2O2) Acetone (C3H6O) Benzene (C6H6) Methane (CH4) Ethane (C2H6) Propane (C3H8) Butane (C4H10) Glycerol (C3H8O3) Urea (CH4N2O) Ammonium nitrate (NH4NO3) Ammonium chloride (NH4Cl) Ammonium sulfate ((NH4)2SO4) Potassium nitrate (KNO3) Potassium chloride (KCl) Potassium permanganate (KMnO4) Sodium sulfate (Na2SO4) Sodium nitrate (NaNO3) Silver nitrate (AgNO3) Zinc sulfate (ZnSO4) Magnesium chloride (MgCl2) Magnesium hydroxide (Mg(OH)2) Barium sulfate (BaSO4) Lead(II) nitrate (Pb(NO3)2) Citric acid (C6H8O7) Lactic acid (C3H6O3) Formaldehyde (CH2O) Toluene (C7H8) Sodium phosphate (Na3PO4) Potassium carbonate (K2CO3) Calcium phosphate (Ca3(PO4)2) Iron(II) sulfate (FeSO4) Sodium nitrite (NaNO2) Hydrofluoric acid (HF) Hydrobromic acid (HBr)
Element
— select an element — Hydrogen (H) Helium (He) Lithium (Li) Beryllium (Be) Boron (B) Carbon (C) Nitrogen (N) Oxygen (O) Fluorine (F) Neon (Ne) Sodium (Na) Magnesium (Mg) Aluminium (Al) Silicon (Si) Phosphorus (P) Sulfur (S) Chlorine (Cl) Argon (Ar) Potassium (K) Calcium (Ca) Scandium (Sc) Titanium (Ti) Vanadium (V) Chromium (Cr) Manganese (Mn) Iron (Fe) Cobalt (Co) Nickel (Ni) Copper (Cu) Zinc (Zn) Gallium (Ga) Germanium (Ge) Arsenic (As) Selenium (Se) Bromine (Br) Krypton (Kr) Rubidium (Rb) Strontium (Sr) Yttrium (Y) Zirconium (Zr) Niobium (Nb) Molybdenum (Mo) Technetium (Tc) Ruthenium (Ru) Rhodium (Rh) Palladium (Pd) Silver (Ag) Cadmium (Cd) Indium (In) Tin (Sn) Antimony (Sb) Tellurium (Te) Iodine (I) Xenon (Xe) Cesium (Cs) Barium (Ba) Lanthanum (La) Cerium (Ce) Praseodymium (Pr) Neodymium (Nd) Promethium (Pm) Samarium (Sm) Europium (Eu) Gadolinium (Gd) Terbium (Tb) Dysprosium (Dy) Holmium (Ho) Erbium (Er) Thulium (Tm) Ytterbium (Yb) Lutetium (Lu) Hafnium (Hf) Tantalum (Ta) Tungsten (W) Rhenium (Re) Osmium (Os) Iridium (Ir) Platinum (Pt) Gold (Au) Mercury (Hg) Thallium (Tl) Lead (Pb) Bismuth (Bi) Polonium (Po) Astatine (At) Radon (Rn) Francium (Fr) Radium (Ra) Actinium (Ac) Thorium (Th) Protactinium (Pa) Uranium (U) Neptunium (Np) Plutonium (Pu) Americium (Am) Curium (Cm) Berkelium (Bk) Californium (Cf) Einsteinium (Es) Fermium (Fm) Mendelevium (Md) Nobelium (No) Lawrencium (Lr) Rutherfordium (Rf) Dubnium (Db) Seaborgium (Sg) Bohrium (Bh) Hassium (Hs) Meitnerium (Mt) Darmstadtium (Ds) Roentgenium (Rg) Copernicium (Cn) Nihonium (Nh) Flerovium (Fl) Moscovium (Mc) Livermorium (Lv) Tennessine (Ts) Oganesson (Og)
Convert to Moles ⇅ Swap
How to Convert Grams to Moles Divide the mass of the sample in grams by the molar mass of the substance in grams per mole. The grams cancel and you are left with moles.
You need the molar mass first — find it by adding the atomic weights of every atom in the formula, or use the molar mass calculator.
moles = mass (g) ÷ molar mass (g/mol)
See also