Chemistry word problems have a sneaky way of looking impossible. You get milliliters, a density, a molar mass and a question asking for molecules, and it’s hard to know where to start. One method handles almost all of them. It’s called dimensional analysis, and once it clicks, a lot of gen chem math starts to feel like a puzzle you already know how to solve. How do you use dimensional analysis to work through chemistry problems step by step?
To use dimensional analysis, you start with the number you’re given, then multiply it by conversion factors arranged so the unwanted units cancel and only the unit you want is left. A conversion factor is a fraction where the top and bottom are equal amounts, like 1000 mL over 1 L, so multiplying by it doesn’t change the actual quantity. You line the factors up in a chain, cross out matching units on the top and bottom, and multiply through. If the units come out right, your setup is almost always right too. This same chain is the backbone of molarity problems, density problems and stoichiometry.
What Is Dimensional Analysis, Really?
Dimensional analysis is a way of solving problems by tracking units instead of memorizing formulas. Some textbooks call it the factor-label method or unit conversion. The name doesn’t matter much. The idea is that units behave like algebra variables, so they can cancel.
This next part is my favorite bit of nerdiness. Every conversion factor is secretly equal to 1. Since 1 L and 1000 mL are the same amount, the fraction (1000 mL / 1 L) equals 1. Multiplying by 1 never changes a quantity. It only changes how you describe it. That’s why you can stack as many factors as you need without breaking anything.
A quick warm-up: how many seconds are in 2.5 hours?
2.5 h × (60 min / 1 h) × (60 s / 1 min) = 9000 s, or 9.0 × 103 s
Hours cancel with hours. Minutes cancel with minutes. Seconds are left, which is what you wanted. That’s dimensional analysis in miniature.
How Do You Set Up Conversion Factors?
You set up a conversion factor by writing a known equality as a fraction, then flipping it if needed so the unit you want to cancel is on the bottom. Every equality gives you two factors. For example, 1 L = 1000 mL gives you:
- (1000 mL / 1 L), used when you start with liters and want milliliters
- (1 L / 1000 mL), used when you start with milliliters and want liters
The rule is simple. Look at the unit you’re trying to get rid of. Put that unit on the bottom of the next fraction. If you put it on top by mistake, the units multiply instead of cancel, and you’ll see something like mL2 in your answer. That’s your warning sign.
Where do conversion factors come from? Some are definitions, like 1 L = 1000 mL. Some come from the problem, like a density or a molarity. Molar mass from the periodic table is one, and so is Avogadro’s number. The mole ratio from a balanced equation is another, and that one turns dimensional analysis into stoichiometry.
Worked Examples: Dimensional Analysis Step by Step
The best way to learn this is to watch the units move. Here are four examples that build on each other.
Example 1: Density (mL to grams)
Ethanol has a density of 0.789 g/mL at room temperature. What is the mass of 25.0 mL of ethanol?
25.0 mL × (0.789 g / 1 mL) = 19.7 g
The calculator says 19.725, but the answer should have three significant figures because both 25.0 and 0.789 have three. Density is just a conversion factor between volume and mass, and you can flip it to go the other way.
Example 2: Molarity (mL to L to mol to g)
How many grams of sodium chloride are in 250. mL of a 0.150 M NaCl solution? Molarity means moles per liter, so 0.150 M is the factor (0.150 mol / 1 L). The molar mass of NaCl is 58.44 g/mol.
250. mL × (1 L / 1000 mL) × (0.150 mol NaCl / 1 L) × (58.44 g NaCl / 1 mol NaCl) = 2.19 g NaCl
Walk through the cancellation. mL cancels mL, L cancels L, mol cancels mol. Grams of NaCl is all that’s left. The middle answer, 0.0375 mol, never even needs to be written down, though it’s fine to check it on the way.
Example 3: Working backward (mol to mL)
What volume of 0.500 M HCl contains 0.0200 mol of HCl? Here, flip the molarity so moles are on the bottom.
0.0200 mol HCl × (1 L / 0.500 mol HCl) × (1000 mL / 1 L) = 40.0 mL
This is the step most people skip. Molarity can be written as mol/L or L/mol. Which way you write it depends entirely on which unit you need to cancel.
Example 4: Counting molecules in a water bottle
Here’s a fun one. About how many water molecules are in a 500. mL bottle of water? Use a density of 1.00 g/mL, a molar mass of 18.02 g/mol and Avogadro’s number, 6.022 × 1023 per mole.
500. mL × (1.00 g / 1 mL) × (1 mol / 18.02 g) × (6.022 × 1023 molecules / 1 mol) = 1.67 × 1025 molecules
That’s roughly 16,700,000,000,000,000,000,000,000 molecules in one bottle! The mole exists precisely because atoms and molecules are so tiny. If you want the official background, the free OpenStax chapter on formula mass and the mole concept explains where Avogadro’s number comes from and how it’s used.
How Does Dimensional Analysis Set Up Stoichiometry?
Stoichiometry is dimensional analysis with one extra conversion factor: the mole ratio from a balanced equation. Everything else is the same chain you’ve already practiced.
Take this reaction: 2 H2 + O2 → 2 H2O. How many grams of water can form from 4.00 g of hydrogen gas, assuming plenty of oxygen?
4.00 g H2 × (1 mol H2 / 2.016 g H2) × (2 mol H2O / 2 mol H2) × (18.02 g H2O / 1 mol H2O) = 35.8 g H2O
Notice the pattern: grams to moles, moles to moles, moles to grams. That three-step bridge shows up in nearly every stoichiometry problem. The mole ratio is the only step that requires the balanced equation, and it’s the only place where you switch from one substance to another. Label every unit with its substance (g H2, mol H2O) so you never mix them up.
Where Do Unit Setups Usually Go Wrong?
Most dimensional analysis mistakes come from sloppy units, not hard math. Watch for these:
- Dropping units halfway through. If you stop writing units, you lose the built-in error check. Write them every time, even when it feels slow.
- Flipping a factor the wrong way. If a unit doesn’t cancel, the fraction is upside down.
- Forgetting squared and cubed units. 1 m = 100 cm, but 1 m3 = 1,000,000 cm3. Cube the whole factor, not just the unit.
- Leaving off the substance. “mol” isn’t enough in stoichiometry. Is it mol H2 or mol H2O?
- Rounding too early. Keep extra digits in the calculator and round once at the end.
That last point leads straight into sig figs. Your final answer should match the precision of your measurements, and my guide to the significant figures rules covers exactly how to round answers like the ones above.
Let the Units Do the Thinking
Dimensional analysis works because units never lie. Start with what you’re given. Multiply by conversion factors that cancel what you don’t want. Stop when only the unit you need is left. Density, molarity, moles and stoichiometry all follow that same chain.

To practice, take five problems from your homework and solve them without any formulas, using only conversion factors. Write every unit and cross each one out as it cancels. For mixed unit problems, set a timer and try our Gen Chem 1 ACS practice exam, which follows the ACS final format and keeps your results from each attempt.
Give it a week of steady practice. You may find that the chemistry problems that looked impossible were really just unit puzzles all along.
