Converting grams to moles using the molar mass
To convert grams to moles, you divide the number of grams by the molar mass of the substance. The molar mass is the mass of one mole of a substance, measured in grams per mole (g/mol). Every element and compound has its own molar mass, which you can find on the periodic table or in a chemistry reference.
The formula is straightforward: moles = grams ÷ molar mass. For example, if you have 18 grams of water (H₂O) and the molar mass of water is 18 g/mol, you would divide 18 by 18 to get 1 mole. This same method works for any substance — you just need to know its molar mass first.
Key Takeaways
- Molar mass is the mass in grams of one mole of a substance and is found by adding the atomic masses of all atoms in the compound.
- The conversion formula is moles = grams ÷ molar mass, and you perform a straightforward division to get your answer.
- Atomic masses for elements are listed on the periodic table, usually shown as decimal numbers below each element symbol.
- Always include units in your calculation (grams and g/mol) so your answer comes out in moles.
- This conversion is the reverse of converting moles to grams, which uses multiplication instead of division.
Finding the molar mass of an element
For a single element, the molar mass is the atomic mass shown on the periodic table, expressed in grams per mole. For hydrogen, the atomic mass is about 1 g/mol. For carbon, it is about 12 g/mol. For oxygen, it is about 16 g/mol. You can use these values directly in your conversion.
When you look at the periodic table, the atomic mass appears as a decimal number, often below the element's symbol. Round to a reasonable number of decimal places — usually two or three — unless your teacher or lab manual specifies otherwise. For most everyday chemistry problems, rounding to the nearest whole number works fine.
Calculating molar mass for compounds
For a compound made of multiple elements, you add up the atomic masses of all the atoms in the molecule. Start by looking at the chemical formula to count how many atoms of each element are present.
For water (H₂O), you have 2 hydrogen atoms and 1 oxygen atom. Hydrogen has an atomic mass of about 1, and oxygen has an atomic mass of about 16. So the molar mass is (2 × 1) + (1 × 16) = 18 g/mol. For table salt (NaCl), sodium is about 23 and chlorine is about 35.5, giving a molar mass of 23 + 35.5 = 58.5 g/mol. Once you have the molar mass, you can use it to convert any amount of grams to moles.
Working through a complete example
Let's say you have 50 grams of sodium chloride (NaCl) and need to know how many moles that is. First, calculate the molar mass: sodium (23) + chlorine (35.5) = 58.5 g/mol. Then divide the grams by the molar mass: 50 grams ÷ 58.5 g/mol = 0.85 moles.
Notice that the grams unit cancels with the grams in the denominator of g/mol, leaving you with moles. This is why including units matters — it shows your work is set up correctly. If your units do not cancel properly, you have made an error in your setup and should check your formula.
Checking your work and avoiding common mistakes
A common mistake is using the wrong molar mass. Always double-check that you have added up all the atoms in the formula correctly. For glucose (C₆H₁₂O₆), you need to count 6 carbons, 12 hydrogens, and 6 oxygens — not just one of each. Another mistake is forgetting to look up the correct atomic mass from the periodic table instead of guessing.
After you calculate your answer, ask whether it makes sense. If you started with a small number of grams and got a huge number of moles, something is wrong. A mole is a very large number of particles (about 6.02 × 10²³), so a small mass usually gives a small number of moles. If your answer seems backwards, check whether you divided or multiplied by accident.
When you need to convert back from moles to grams
The reverse conversion — from moles to grams — uses the same molar mass but multiplies instead of divides. If you have 2 moles of water and want to know the mass in grams, you multiply: 2 moles × 18 g/mol = 36 grams. This is useful when a lab procedure tells you to measure out a certain number of moles and you need to know what that weighs on a scale.
Both conversions rely on molar mass as the bridge between the counting scale (moles) and the weighing scale (grams). Understanding this relationship makes both directions straightforward.
Frequently Asked Questions
Where do I find the atomic masses for elements?
The periodic table shows atomic masses below each element's symbol. Chemistry textbooks, lab manuals, and online periodic tables all display this information. The values are usually given to two or three decimal places, though you can round them for most calculations.
Do I need to memorize molar masses?
No. You should know how to find and calculate molar mass, but you do not need to memorize specific values. Always look them up from the periodic table or a reference sheet. Your teacher will tell you whether you are allowed to use a periodic table during tests and homework.
What if the problem gives me molar mass instead of asking me to calculate it?
Use the molar mass provided in the problem. straightforward divide the grams by that number to get moles. This saves you a step and is common in chemistry problems where the focus is on the conversion itself, not on building the molar mass from scratch.
Why is the answer sometimes a decimal instead of a whole number?
Moles do not have to be whole numbers. You can have 0.5 moles, 2.3 moles, or any decimal value. A decimal answer is correct as long as your math is right. In real lab work, you often measure out fractional moles of a substance.
Can I use this method for any substance?
Yes, as long as you know the molar mass. This works for elements, compounds, salts, acids, bases, and any other pure substance. The only requirement is that you have the correct chemical formula so you can calculate or look up the molar mass.