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.022x10^{23}) 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 (H_{2}O) 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 (CH_{4}) 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.94x10^{24} 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 (C_{3}H_{4}N_{2})?

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.72x10^{23} atoms of nitrogen.

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

#### Resources

#### Photo Credits

- flacons image by Philf from Fotolia.com