Grams to Moles Converter

Convert grams to moles using our free grams to moles calculator above to get instant results.

Simply enter the mass in grams, add the molar mass of the substance, and the tool will calculate the number of moles in seconds.

Grams to Moles Converter

g
Enter mass in grams.
g/mol
Use the dropdown or enter your own value.

How to Convert Grams to Moles

The process of converting grams into moles is straightforward. A mole represents a fixed quantity of particles (6.022 × 10²³ atoms, ions, or molecules), and the conversion is based on the molar mass of the substance.

Steps to follow:

  1. Find the molar mass of the substance (look it up on the periodic table or chemical data).
  2. Measure the mass of your sample in grams.
  3. Use the grams to moles formula to perform the calculation.

Grams to Moles Formula

The standard grams to moles formula is:

The standard formula for converting grams to moles is:

Grams to Moles Formula

Convert grams to moles using mass and molar mass.
moles = mass   (g) molar mass   (g/mol)
mass (g)
Sample mass measured in grams.
molar mass (g/mol)
From periodic table or reference data.
Example: 36 g of H₂O with molar mass 18.015 g/mol → moles = 36 ÷ 18.015 ≈ 2.00 mol.

This equation is based on the relationship below:

  • Mass (g): The amount of substance you have in grams.
  • Molar Mass (g/mol): The mass of one mole of that substance, which can be found from the periodic table or chemical references.
  • Moles: The result that tells you how many moles are present in your sample.

Example:
If you have 36 grams of water (H₂O), and its molar mass is 18 g/mol:

36g÷18g/mol=2moles

Common Grams to Moles Conversion Chart

SubstanceChemical FormulaMolar Mass (g/mol)1 Mole = ___ Grams
WaterH₂O18.01518.015 g
Oxygen GasO₂31.99831.998 g
Carbon DioxideCO₂44.00944.009 g
Sodium Chloride (Salt)NaCl58.44358.443 g
Glucose (Sugar)C₆H₁₂O₆180.156180.156 g
AmmoniaNH₃17.03117.031 g
MethaneCH₄16.04316.043 g
EthanolC₂H₅OH46.06846.068 g
Calcium CarbonateCaCO₃100.086100.086 g
Hydrogen GasH₂2.0162.016 g

Related: Moles to Grams Calculator

Found this tool helpful? Share Mainconverter with your friends!