Grams to Moles Calculator – Fast Mole Conversion
Chemistry May 10, 2026 24 views

Grams to Moles Calculator - Fast Mole Conversion

Convert grams to moles instantly with our free calculator. Get accurate mole conversions using molecular weight in seconds.

Calculator Tool

Grams to Moles Calculator
g/mol

Results

Step-by-Step Solution

Formula Reference

m
Mass (g)
n
Moles (mol)
M
Molar Mass (g/mol)
n = m ÷ M  |  m = n × M  |  M = m ÷ n
Avogadro's Number: NA = 6.02214076 × 10²³ particles/mol

Quick-Select Common Compounds

Click any compound to auto-fill molar mass ↓

📘 How to convert grams to moles

The Grams to Moles Formula

n (moles) = m (grams) ÷ M (molar mass in g/mol)

Step-by-step process:

  • Step 1: Find the molar mass of your substance (sum of atomic masses from the periodic table)
  • Step 2: Weigh or note the mass of your sample in grams
  • Step 3: Divide mass by molar mass → you get moles
  • Step 4: Multiply moles × Avogadro's number to find particle count

Example: How many moles in 36g of water (H₂O)?

Molar mass of H₂O = 2(1.008) + 15.999 = 18.015 g/mol
n = 36 ÷ 18.015 = 1.999 mol ≈ 2 mol

Moles to Grams (reverse):

m (grams) = n (moles) × M (molar mass g/mol)

What is a mole?

One mole = 6.02214076 × 10²³ particles (Avogadro's Number). It is the SI base unit for amount of substance. One mole of any element has a mass in grams equal to its atomic weight on the periodic table. For example, one mole of carbon = 12.011 g; one mole of water = 18.015 g.

A grams to moles calculator is a simple chemistry tool that helps you convert the mass of a substance into the number of moles. This conversion is one of the most common calculations in chemistry because laboratory measurements are usually made in grams, while chemical equations are written in moles. Whether you are balancing reactions, preparing a solution, checking stoichiometry, or studying for a chemistry exam, understanding how to move from grams to moles is essential.

The basic idea is straightforward: every substance has a molar mass, which tells you how many grams are present in one mole of that substance. Once you know the mass in grams and the molar mass in grams per mole, you can divide the mass by the molar mass to find moles.

The formula is:

Moles = Grams ÷ Molar Mass

In symbols, this is often written as:

n = m ÷ M

Where n is the number of moles, m is the mass in grams, and M is the molar mass in grams per mole.

Grams to Moles

Grams to moles conversion connects the amount of a substance you can weigh on a scale with the amount of substance used in chemical calculations. In chemistry, a mole is a counting unit. Just like a dozen means 12 items, one mole means a very large number of particles. These particles may be atoms, molecules, ions, or formula units depending on the substance.

For example, if you have water, its chemical formula is H2O. The molar mass of water is about 18.015 g/mol. This means one mole of water has a mass of about 18.015 grams. If you have 36.03 grams of water, you have about 2 moles because 36.03 divided by 18.015 equals 2.

This is why grams to moles conversion is so useful. A chemical equation does not usually tell you how many grams react directly. Instead, it tells you mole ratios. For example, in a balanced equation, 2 moles of hydrogen may react with 1 mole of oxygen. To use those ratios in the laboratory, you first convert grams into moles, use the mole ratio, and then convert back to grams if needed.

A grams to moles calculator saves time by doing the division for you. You only need to enter the mass of the substance and its molar mass. The calculator then gives the number of moles. However, it is still important to understand the method so you can check your answer and avoid common mistakes.

How to Convert Grams to Moles

To convert grams to moles manually, follow three simple steps.

Step 1: Identify the given mass

First, find the mass of the substance in grams. If the mass is already given in grams, you can use it directly. If the mass is given in kilograms, milligrams, or another unit, convert it to grams first.

For example:

0.5 kg = 500 g

250 mg = 0.250 g

Step 2: Find the molar mass

The molar mass is the mass of one mole of a substance. It is measured in grams per mole, written as g/mol. For an element, you can find the molar mass on the periodic table. For a compound, add the atomic masses of all atoms in the formula.

For example, carbon dioxide has the formula CO2. Carbon has an atomic mass of about 12.01 g/mol, and oxygen has an atomic mass of about 16.00 g/mol. Since carbon dioxide has one carbon atom and two oxygen atoms, its molar mass is:

12.01 + 2(16.00) = 44.01 g/mol

Step 3: Divide grams by molar mass

Once you have the mass and molar mass, use the formula:

Moles = Grams ÷ Molar Mass

For example, if you have 88.02 grams of carbon dioxide:

Moles = 88.02 ÷ 44.01

Moles = 2.00 mol

So, 88.02 grams of carbon dioxide is equal to 2.00 moles.

G to Mol

The short form “g to mol” means grams to moles. It is commonly used in chemistry calculators, classroom notes, worksheets, and laboratory reports. The unit “g” stands for grams, and “mol” stands for moles.

The g to mol conversion always depends on the substance. This is because different substances have different molar masses. One gram of hydrogen gas is not the same number of moles as one gram of sodium chloride. Hydrogen has a much smaller molar mass, so one gram of hydrogen contains more moles than one gram of a heavier substance.

Here are a few common examples:

  • Water, H2O: molar mass about 18.015 g/mol
  • Carbon dioxide, CO2: molar mass about 44.01 g/mol
  • Sodium chloride, NaCl: molar mass about 58.44 g/mol
  • Glucose, C6H12O6: molar mass about 180.16 g/mol
  • Oxygen gas, O2: molar mass about 32.00 g/mol

If you want to convert 10 grams of each substance to moles, the answers will be different:

  • 10 g of water = 10 ÷ 18.015 = 0.555 mol
  • 10 g of carbon dioxide = 10 ÷ 44.01 = 0.227 mol
  • 10 g of sodium chloride = 10 ÷ 58.44 = 0.171 mol
  • 10 g of glucose = 10 ÷ 180.16 = 0.0555 mol

This shows why molar mass is necessary. You cannot convert g to mol correctly unless you know what substance you are working with.

Convert Grams to Moles

When you convert grams to moles, you are changing a mass measurement into a chemical amount. This is useful in many real-life chemistry situations. Students use this conversion in homework and exams. Laboratory workers use it to measure reactants. Researchers use it to compare chemical quantities. Pharmacists, engineers, and quality control teams may also use mole calculations depending on the process.

Let’s look at more worked examples.

Example 1: Convert grams of water to moles

Problem: Convert 54.045 grams of water to moles.

Molar mass of water = 18.015 g/mol

Moles = 54.045 ÷ 18.015

Moles = 3.00 mol

Answer: 54.045 grams of water equals 3.00 moles.

Example 2: Convert grams of sodium chloride to moles

Problem: Convert 117 grams of sodium chloride to moles.

Molar mass of NaCl = 58.44 g/mol

Moles = 117 ÷ 58.44

Moles = 2.00 mol approximately

Answer: 117 grams of sodium chloride is about 2.00 moles.

Example 3: Convert grams of glucose to moles

Problem: Convert 90.08 grams of glucose to moles.

Molar mass of glucose = 180.16 g/mol

Moles = 90.08 ÷ 180.16

Moles = 0.500 mol

Answer: 90.08 grams of glucose equals 0.500 moles.

Example 4: Convert grams of oxygen gas to moles

Problem: Convert 64 grams of oxygen gas, O2, to moles.

Molar mass of O2 = 32.00 g/mol

Moles = 64 ÷ 32.00

Moles = 2.00 mol

Answer: 64 grams of oxygen gas equals 2.00 moles.

Why Use a Grams to Moles Calculator?

A grams to moles calculator is helpful because it reduces calculation time and lowers the chance of arithmetic errors. This is especially useful when you are working with several substances or long chemical formulas. Instead of repeatedly dividing by molar mass, you can enter the values and get the answer instantly.

The calculator is also useful for checking homework. If you solve the problem manually, you can use the calculator to confirm your result. If the answers do not match, check whether you used the correct molar mass, entered the correct number of grams, or rounded too early.

Another benefit is consistency. Chemistry often requires careful unit handling. A calculator designed for grams to moles keeps the units clear: grams for mass, grams per mole for molar mass, and moles for the result.

Grams to Moles Formula

The main formula is:

moles = mass in grams ÷ molar mass

You can also rearrange the formula depending on what you need to find.

To find grams:

grams = moles × molar mass

To find molar mass:

molar mass = grams ÷ moles

These three forms are useful because many chemistry problems give you two values and ask for the third. For example, if you know moles and molar mass, you can calculate grams. If you know grams and moles, you can calculate molar mass.

How to Find Molar Mass

Finding molar mass is the most important part of grams to moles conversion. If the molar mass is wrong, the final mole value will also be wrong.

For elements, use the atomic mass from the periodic table. For example, sodium has a molar mass of about 22.99 g/mol, carbon is about 12.01 g/mol, and oxygen is about 16.00 g/mol.

For compounds, multiply each element’s atomic mass by the number of atoms in the formula, then add everything together.

Example: Find the molar mass of calcium hydroxide, Ca(OH)2.

  • Calcium: 1 × 40.08 = 40.08
  • Oxygen: 2 × 16.00 = 32.00
  • Hydrogen: 2 × 1.008 = 2.016

Total molar mass = 40.08 + 32.00 + 2.016 = 74.096 g/mol

So, calcium hydroxide has a molar mass of about 74.10 g/mol.

Common Mistakes When Converting Grams to Moles

Using the wrong molar mass

The most common mistake is using the molar mass of the wrong substance. For example, oxygen atoms are O, but oxygen gas is O2. The molar mass of O is about 16.00 g/mol, while the molar mass of O2 is about 32.00 g/mol.

Forgetting subscripts

Subscripts in chemical formulas matter. In CO2, there are two oxygen atoms. In H2O, there are two hydrogen atoms. Ignoring subscripts gives an incorrect molar mass.

Not converting units to grams

The formula requires mass in grams. If your mass is in kilograms, milligrams, or pounds, convert it to grams before using the formula.

Rounding too early

Rounding before the final step can make your answer less accurate. Keep several decimal places during the calculation and round only at the end.

Quick Reference Table

Substance Formula Approximate Molar Mass 10 Grams in Moles
Water H2O 18.015 g/mol 0.555 mol
Carbon Dioxide CO2 44.01 g/mol 0.227 mol
Sodium Chloride NaCl 58.44 g/mol 0.171 mol
Glucose C6H12O6 180.16 g/mol 0.0555 mol
Oxygen Gas O2 32.00 g/mol 0.313 mol

Frequently Asked Questions

What is a grams to moles calculator?

A grams to moles calculator is a tool that converts the mass of a substance in grams into moles using the substance’s molar mass.

What is the formula for grams to moles?

The formula is moles = grams ÷ molar mass. The molar mass must be in grams per mole.

Can I convert grams to moles without molar mass?

No. You need the molar mass of the substance because each substance has a different mass per mole.

What does g to mol mean?

G to mol means converting grams to moles. It is a shorter way to describe the same chemistry conversion.

Why are moles important in chemistry?

Moles are important because they allow chemists to count particles and use balanced chemical equations. Since atoms and molecules are extremely small, the mole gives a practical way to work with large numbers of particles.

Is grams to moles the same for every substance?

No. The process is the same, but the result depends on the molar mass of the substance. Ten grams of water and ten grams of sodium chloride do not contain the same number of moles.

Conclusion

A grams to moles calculator is a practical tool for students, teachers, and anyone working with chemistry calculations. The conversion is based on one simple formula: moles = grams divided by molar mass. To get an accurate answer, always use the correct chemical formula, calculate the molar mass carefully, and make sure the mass is in grams.

Once you understand how to convert grams to moles, many chemistry topics become easier, including stoichiometry, solution preparation, reaction yields, and laboratory measurements. A calculator can provide fast answers, but knowing the formula helps you understand the result and apply it correctly in real chemistry problems.