Artigos

Master stoichiometry, molar conversions, and solution chemistry with detailed guides and examples.

How to Convert Grams to Moles: Complete Guide

Converting between grams and moles is one of the most fundamental skills in chemistry. Whether you're in high school, college, or preparing for standardized tests, this conversion appears in virtually every stoichiometry problem. It bridges the gap between what you can physically weigh on a balance (mass in grams) and the actual count of molecules reacting in a beaker (moles).

What is a Mole?

A mole is a standardized SI unit of measurement used to count tiny particles like atoms, molecules, or ions. One mole of any substance contains exactly 6.02214076 × 10²³ particles. This massive number is known as Avogadro's Number. Just as a "dozen" always refers to 12 items, a "mole" always refers to 6.022 × 10²³ items. The mole allows chemists to scale up microscopic chemical formulas into weightable quantities that can be measured in a lab.

The Conversion Formula

To convert from grams to moles, you use the following formula:

n = m ÷ M

Where:

  • n = amount of substance (in moles, mol)
  • m = mass of the sample (in grams, g)
  • M = molar mass of the substance (in grams per mole, g/mol)

Step-by-Step Worked Examples

Worked Example 1: Water (H₂O)

Find the number of moles in 45.0 grams of water. The molar mass of water is 18.015 g/mol.

  1. Identify variables: Mass (m) = 45.0 g, Molar Mass (M) = 18.015 g/mol.
  2. Apply formula: n = 45.0 g ÷ 18.015 g/mol = 2.498 moles.

Result: 45.0 grams of water corresponds to approximately 2.50 moles of H₂O.

Worked Example 2: Carbon Dioxide (CO₂)

Calculate the moles in 150.0 grams of carbon dioxide gas. The molar mass of CO₂ is 44.009 g/mol.

  1. Identify variables: Mass (m) = 150.0 g, Molar Mass (M) = 44.009 g/mol.
  2. Apply formula: n = 150.0 g ÷ 44.009 g/mol = 3.408 moles.

Result: 150.0 grams of CO₂ gas corresponds to 3.41 moles of CO₂.

Use the Grams to Moles Calculator →

Understanding Molar Mass and How to Calculate It

Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). It represents the bridge between the chemical formula and the weight of a chemical. Calculating molar mass is the essential first step in solving grams-to-moles conversions.

How to Read the Periodic Table

The molar mass of an individual element is numerically equivalent to its atomic weight listed on the periodic table. For example, Carbon (C) has an atomic weight of 12.011, which translates to a molar mass of 12.011 g/mol. Oxygen (O) is 15.999 g/mol.

Rules for Calculating Compound Molar Mass

  1. Identify every element present in the chemical formula.
  2. Find the atomic mass of each element on the periodic table.
  3. Multiply each element's atomic mass by the subscript count showing how many of those atoms are in the formula. If there is no subscript, count it as 1.
  4. For formulas with parentheses (e.g., Ca(OH)₂), multiply the subscripts inside the parentheses by the multiplier outside.
  5. For hydrated crystals (notated with a dot like CuSO₄*5H₂O), calculate the mass of the anhydrous salt and add the mass of the water molecules (5 × 18.015 g/mol).
  6. Sum all the values to find the final molar mass of the compound.

Calculation Example: Glucose (C₆H₁₂O₆)

Element Atomic Mass (g/mol) Count Total Mass Contribution
Carbon (C) 12.011 6 72.066 g/mol
Hydrogen (H) 1.008 12 12.096 g/mol
Oxygen (O) 15.999 6 95.994 g/mol
Total Molar Mass 180.156 g/mol

Calculate Molar Mass Instantly →

Stoichiometry: Connecting Moles to Chemical Reactions

Stoichiometry is the quantitative study of reactants and products in chemical reactions. It is based on the law of conservation of mass, which states that mass cannot be created or destroyed. Therefore, a chemical equation must always be balanced before you perform stoichiometry calculations.

The 4-Step Stoichiometric Workflow

Most stoichiometry problems follow a standard path to find how much product forms from a given reactant:

  1. Convert given mass to moles: Divide the given grams of reactant by its molar mass.
  2. Identify the mole ratio: Look at the coefficients in the balanced equation (e.g., 2A + B → 3C has a ratio of 2 moles of A to 3 moles of C).
  3. Convert reactant moles to product moles: Multiply reactant moles by the mole ratio (moles of product ÷ moles of reactant).
  4. Convert product moles back to mass: Multiply the product moles by the product's molar mass.

Worked Example: Haber Process (Synthesis of Ammonia)

Balanced equation: N₂ + 3H₂ → 2NH₃

Question: If you react 50.0 grams of Hydrogen gas (H₂), how many grams of Ammonia (NH₃) will be produced?

  1. Convert H₂ mass to moles: Molar mass of H₂ = 2.016 g/mol.
    Moles H₂ = 50.0 g ÷ 2.016 g/mol = 24.80 mol.
  2. Find mole ratio: The ratio is 2 moles of NH₃ produced for every 3 moles of H₂ reacted (2/3).
  3. Calculate moles of NH₃: Moles NH₃ = 24.80 mol H₂ × (2 mol NH₃ / 3 mol H₂) = 16.53 mol.
  4. Convert NH₃ moles to grams: Molar mass of NH₃ = 17.031 g/mol.
    Mass NH₃ = 16.53 mol × 17.031 g/mol = 281.5 grams.

Result: Reacting 50.0 grams of Hydrogen gas yields 281.5 grams of Ammonia.

Convert Your Results to Grams →

Molarity and Solution Chemistry Explained

Solutions are homogeneous mixtures composed of a solute (the substance being dissolved) and a solvent (the liquid doing the dissolving, usually water). Molarity is the standard unit of concentration used in laboratories to express the concentration of a chemical solution.

Molarity Formula

Molarity (M) is defined as the number of moles of solute dissolved per liter of solution:

M = n ÷ V

Where:

  • M = Molarity (mol/L)
  • n = moles of solute (mol)
  • V = total volume of the solution (in liters, L)

How to Prepare a Target Solution

To prepare 1.0 Liter of a 0.5 M Sodium Chloride (NaCl) solution:

  1. Calculate the moles of NaCl required: n = M × V = 0.5 mol/L × 1.0 L = 0.5 moles.
  2. Calculate mass of NaCl: Molar mass of NaCl = 58.44 g/mol.
    Mass = 0.5 mol × 58.44 g/mol = 29.22 grams.
  3. Weigh 29.22 grams of NaCl on a scale.
  4. Dissolve the solid in a beaker with about 800 mL of water, then transfer the mixture to a 1.0 L volumetric flask and add solvent up to the graduation mark.

Diluting Solutions (M₁V₁ = M₂V₂)

When you dilute a concentrated stock solution, the total moles of solute stay the same. Therefore: M₁V₁ = M₂V₂, where index 1 represents stock concentration/volume, and index 2 represents final diluted concentration/volume. If you dilute 50 mL of a 2.0 M solution to a final volume of 500 mL, the final concentration is: M₂ = (2.0 M × 50 mL) ÷ 500 mL = 0.2 M.

Calculate Molarity Instantly →

Limiting Reagents: Finding the Reaction Bottleneck

In a laboratory reaction, reactants are rarely present in perfect stoichiometric ratios. One reactant will run out first, bringing the reaction to a halt. The reactant that is completely consumed is called the limiting reagent. The other reactants, which have leftovers, are called excess reagents.

Analogy: The Sandwich Principle

Suppose you want to make sandwiches. The recipe requires: 2 slices of bread + 1 slice of cheese → 1 sandwich.
If you have 10 slices of bread and 4 slices of cheese:

  • 10 slices of bread can make 5 sandwiches.
  • 4 slices of cheese can make 4 sandwiches.
  • The cheese runs out first, so cheese is the limiting reagent and you can only make 4 sandwiches. You will have 2 slices of excess bread left over.

How to Find the Limiting Reagent in a Chemical Reaction

  1. Calculate the moles of each reactant starting from their given mass.
  2. Divide the moles of each reactant by its stoichiometric coefficient in the balanced equation.
  3. Compare the resulting values. The reactant with the smallest value is the limiting reagent.

Worked Example

For the reaction: 2H₂ + O₂ → 2H₂O

If you start with 8.0 grams of H₂ and 32.0 grams of O₂:

  1. Moles of H₂ = 8.0 g ÷ 2.016 g/mol = 3.97 mol.
    Moles of O₂ = 32.0 g ÷ 31.998 g/mol = 1.00 mol.
  2. Divide by coefficients:
    • H₂: 3.97 mol ÷ 2 = 1.98 reaction units.
    • O₂: 1.00 mol ÷ 1 = 1.00 reaction units.
  3. Compare: 1.00 (O₂) is smaller than 1.98 (H₂). Therefore, Oxygen (O₂) is the limiting reagent, and Hydrogen is in excess. The maximum amount of water that can form is determined by O₂ (2.0 moles of H₂O).

Find Your Limiting Reagent →

Percent Yield: Measuring Reaction Efficiency

In chemical manufacturing and laboratory chemistry, the amount of product you collect at the end of a reaction is almost always less than the amount you calculated on paper. Percent yield measures the efficiency of a chemical reaction.

Definitions

  • Theoretical Yield: The maximum amount of product that can form, calculated using stoichiometry from the limiting reactant.
  • Actual Yield: The actual mass of product you weigh, filter, and isolate at the end of the experiment in the lab.

The Percent Yield Formula

Percent Yield = (Actual Yield ÷ Theoretical Yield) × 100%

Why Yield is Rarely 100%

Several real-world factors limit reaction efficiency:

  • Incomplete reaction: Reactants might not have enough time or energy to fully react.
  • Competing side reactions: Reactants might combine in unexpected ways, forming waste products.
  • Loss during recovery: Product is lost when transferring liquids, filtering solids, or recrystallizing crystals.
  • Impure starting materials: Contaminants in the reactants reduce the active mass available to react.

Worked Example

A chemist calculates that a synthesis reaction should theoretically produce 25.0 grams of aspirin. After completing the filtration and drying process in the laboratory, the chemist weighs the collected aspirin crystals and finds the actual mass is 18.5 grams.

Calculation:

Percent Yield = (18.5 g ÷ 25.0 g) × 100% = 74.0%

Result: The reaction was completed with a 74.0% chemical efficiency.

Calculate Percent Yield →