How to Convert Grams to Molecules

••• flacons image by Philf from
Converting grams to molecules
••• demaerre/iStock/GettyImages

Whenever you convert from one unit to another, you need a conversion factor. For example, when you convert from minutes to seconds, you use the fact that in one minute there are 60 seconds. You need to know the same kind of conversion factors when trying to convert grams of a substance into molecules of that substance.

How Many Molecules Are in a Mole?

In finding the conversion factor to get from grams to molecules, you first need to take a look at molar mass. Molar mass tells you the mass of a substance in one mole (abbreviated mol) of that substance. The key unit here is mol.

Why? Avogadro's number (6.022x1023) tells you how many molecules of a substance are in one mol of that substance. That means the conversion factor between mol and number of molecules is:

Given this information, you have a way to convert from mol to molecules.

But what about from grams to a mole?

As mentioned above, the molar mass is the mass of a substance in one mol of a substance. This means that you can always find how many grams there are in a mol of any substance by finding the molar mass. For example, the molar mass of water (H2O) is 18.02 grams per mol. This means there are 18.02 grams of water in one mol of water.

How Do You Convert From Grams to Molecules?

Given the different conversion factors mentioned above, there is enough information to convert from grams to molecules. You just have to be careful to set it up so that units cancel correctly and that you are left with molecules of the substance at the end.

Say your chemistry lab instructor asks you: How many molecules of methane (CH4) are there in 105 grams of methane?

Where would you begin?

Knowing that the conversion factor to get to molecules involves the number of mols, the first conversion you need to do from grams is to mol. For this, you need to know the molar mass of methane, which is 16.04 g/mol.

Now, you know that in 105 g of methane there are 6.55 mol of methane. Next, you can make use of Avogadro's number to find the number of molecules of methane in 6.55 mol of methane.

This means that in 105 grams of methane, there are 3.94x1024 molecules of methane. It's hard to even comprehend a number that big!

How Do You Convert From Grams to Atoms?

You can take this kind of dimensional analysis one step further by asking how many atoms of a particular element in a compound there are in some mass of that compound. For example, how many atoms of nitrogen are there in imidazole (C3H4N2)?

You'll need another conversion factor! The conversion factor here is how many nitrogen atoms are there per molecule of imidazole? The molecular formula has the answer! There are two nitrogen atoms in one molecule of imidazole.

Say you have 21 grams of imidazole. How many atoms of nitrogen are there in that 21 grams of imidazole? You will need the following conversion factors: molar mass (68.077 g/mol, the number of molecules per mol, and the number of nitrogen atoms in one molecule (2).

Here's how to set it up:

This means that in 21 grams of imidazole there are 3.72x1023 atoms of nitrogen.

Always remember to think about conversion factors and the units you want to end up with!



About the Author

Riti Gupta holds a Honors Bachelors degree in Biochemistry from the University of Oregon and a PhD in biology from Johns Hopkins University. She has an interest in astrobiology and manned spaceflight. She has over 10 years of biology research experience in academia. She currently teaches classes in biochemistry, biology, biophysics, astrobiology, as well as high school AP Biology and Chemistry test prep.

Photo Credits