The chemical concept of a â€śmoleâ€ť is very important to be able to perform calculations in chemistry. Remember from your class that an atomâ€™ atomic weight refers to the number of grams in one â€śmoleâ€ť of that material. What exactly is a mole? And how can we use it in calculations while not confusing ourselves with all the different units and conversion factors? Itâ€™s easy to panic when youâ€™re given so many different units to convert, and a complicated reaction to follow. Whatâ€™s the easiest way to keep yourself on track?

Luckily, chemists have developed a system of record-keeping that keeps everything straight. It allows you to take small, easy-to-understand steps towards the final answer. This method is called dimensional analysis. It involves drawing a horizontal line on a piece of paper and then drawing vertical lines parallel to the horizontal line to form a sequence of blocks. It looks something like this:

You can make this line as long as you need to solve a problem. There are a few rules on how to use dimensional analysis correctly, and weâ€™ll show you those rules with some real-world examples.

First, some **definitions**. A â€śmoleâ€ť is a term used by chemists to refer to a set number of molecules. Molecules are extremely tiny, so it takes a lot of them to make one mole. Specifically, it takes 6.022 x 10^{23} molecules to equal one mole of molecules. This number (6.022 x 10^{23}) is called **Avogadroâ€™s number**, and itâ€™s named after the scientist who developed it. The key to understanding moles is that it doesnâ€™t matter what atom or molecule youâ€™re looking at. If you have 6.022 x 10^{23} of those individual particles, you have one mole of those things. You could even apply it to non-chemical objects, like bananas. (For the record, one mole of bananas would weigh approximately 77,002,177,086,885,298,176 tons â€“ now thatâ€™s a lot of fruit!).

Whenever you have multiple chemicals in a chemical reaction and need to calculate weight, moles come into play. Letâ€™s take a look at how we can use moles in **dimensional analysis** to **solve questions**. Hereâ€™s an example.

Magnesium metal reacts with hydrochloric acid to form hydrogen gas and magnesium chloride, a salt. The chemical reaction scheme is: Mg + 2 HCl â†’ MgC1_{2} + H_{2}. If you start with 1.00 ounce of magnesium and the reaction goes to completion, how many grams of MgC1_{2} do you form?

Yikes! There are four different chemicals in the reaction and two different units of weight. Even experienced chemists can become confused when they have to solve these types of questions.

**Donâ€™t panic!** Thankfully, dimensional analysis allows us to break the problem up into small sections. Weâ€™ll use our graphical array of a horizontal line broken into columns by vertical lines. Letâ€™s start out with a simpler question: 1 ounce of magnesium metal weighs how many grams? We know that by definition, an ounce of anything is equal to 28.35 grams. We can put this information into a dimensional analysis array, as shown below.

This is the first rule of dimensional analysis: put the information youâ€™re given (the fact that we have 1 ounce of anything) in the first top block. The second rule of dimensional analysis is: always try to cancel units in top blocks, with units in bottom blocks. The third and final rule of dimensional analysis is: the top and bottom sections of an individual block must have a valid relationship. We couldnâ€™t put â€ś45 grams of anythingâ€ť on the top of a block and â€ś1 ounce of anythingâ€ť on the bottom of that block, because by definition, 1 ounce weighs 28.35 grams.

Those are the only three rules you need to know! Theyâ€™re simple, and they allow you to solve thousands of chemical equation problems. Even very complicated questions are broken down into individual steps which are easy to understand. Looking at our example above: because there is an entry of â€śan ounce of anythingâ€ť listed on both the top and the bottom of this array, those units cancel out. The dimensional analysis array then becomes:

Everything along the top is multiplied together to give a final number for the top row. Everything along the bottom is multiplied together to give a final number for the bottom row. In the final step, we divide the final number for the top row by the final number for the bottom row and assign it the units that are leftover in the last top block. So, letâ€™s go back to our magnesium reaction.

Because thereâ€™s an â€śounce of magnesiumâ€ť on both the top and the bottom, they cancel each other out. We multiply everything along the top (1 x 28.35) and divide that by 1, the number on the bottom row. The only units left are â€śgrams of magnesiumâ€ť, so we can say that 1 ounce of magnesium is equal to 28.35 grams of magnesium.

This type of unit conversion really starts to shine when you set up multiple boxes in the dimensional analysis array. We know the atomic weight of Mg from the Periodic Table: it weighs 24.31 grams per mole.

Did you see what we did there? The goal is to cancel out the top units with the bottom units. In the first step, we have to cancel out â€śan ounce of Mgâ€ť, so we plug in the known value for the number of grams in an ounce (28.35). Now, we need to cancel out â€śgrams of Mgâ€ť. We know weâ€™re going to use moles eventually (because a chemical equation is involved), so we look at the Periodic table and find that 1 mole of Mg weighs 24.31 grams. We put â€śgrams of Mgâ€ť on the bottom to cancel out the top units in the bracket immediately to the left.

Now, just follow the usual directions. Cancel out all of the units that you can. If there is the same unit in a bracket on the top as in a bracket on the bottom, the two will cancel each other out. In this case, we have â€śan ounce of Mgâ€ť on the top and the bottom, so those units cancel each other. We also have â€śgrams of Mgâ€ť on the top and the bottom, so those units cancel each other. This simplifies the array to:

We multiple all the numbers along the top, which equals 28.35. We multiple all the numbers along the bottom, which equals 24.31. We divide the top number by the bottom, which equals 1.166. Since the only units left (which should always be in the last top block) are â€śmole of Mgâ€ť, our answer is 1.166 mole of Mg. We started with 1 ounce of magnesium, and by using dimensional analysis, weâ€™ve determined that 1 ounce of magnesium equals 1.166 moles of Mg.

Itâ€™s not so frightening anymore! We take tiny steps and just focus on cancelling units. Weâ€™re on a roll now, so letâ€™s keep going and see if we can answer our original question:

Magnesium can react with hydrochloric acid to form hydrogen gas and magnesium chloride. The reaction is: Mg + 2 HCl â†’ MgC1_{2} + H_{2}. If you start with 1.00 ounce of magnesium and the reaction goes to completion, how many milligrams of MgC_{2} do you form?

We can see from the chemical equation that one mole of Mg reacts with 2 moles of HCl to form one more of MgC1_{2} and one mole of H_{2}. Since the question asks us to determine the amount of MgCl_{2} formed, we can ignore the HCl and H_{2} and just focus on the Mg and MgC1_{2}. The reaction requires 1 mole of each, so we can use that in our array.

We know that one mole of magnesium weighs 24.31 grams. We can also calculate the molecular weight of MgC1_{2} by adding up the atomic weights from the Periodic Table. MgC1_{2} has one magnesium and two chlorines, so the molecular weight of MgC1_{2} is 24.31 + 35.45 + 35.45 = 95.21 grams per mole. Letâ€™s plug all of this information into the array using dimensional analysis, and see how far we get! Remember, you want to cancel the units on the top with the units on the bottom.

Now comes the fun part â€“ we get to cancel all the units that we can. Each use of a particular unit on the top can be cancelled by one use of the same unit on the bottom. For the array we just wrote, we can cancel: â€śounce Mgâ€ť (top and bottom), â€śg Mgâ€ť (top and bottom), â€śmole Mgâ€ť (top and bottom), and â€śmole MgC1_{2}â€ť (top and bottom). Striking things out is very satisfying because it simplifies the problem and makes it less confusing. If we strike out the matching units we just discussed, our array becomes:

Doesnâ€™t that look so much cleaner? Now, just follow the usual procedure. Multiply all the numbers across the top, which is 1 x 28.35 x 1 x 1 x 95.21 = 2699.20. Multiply all the numbers across the bottom, which is 1 x 24.31 x 1 x 1 = 24.31. Divide the top by the bottom, which is 2699.20 / 24.31 = 111.03. The only units left on the top are â€śg MgC1_{2}â€ť, so the answer becomes â€ś111.03 g MgC1_{2}â€ť.

Weâ€™ve solved the question! If one ounce of magnesium reacts with hydrochloric acid, it produces 95.21 grams of magnesium chloride.

We could have done all of these unit conversions individually, and then combined them all in pairs, and eventually arrived at the same answer. But dimensional analysis is so much easier! We just draw a horizontal line and some vertical lines to make an array. We put our initial value in the upper left box. We try to cancel units that are on the top by putting those same units on the bottom in the next block in the array, and we make sure that any individual column (top/bottom pair) in the array has a correct relationship.

Letâ€™s try another example to really show how powerful dimensional analysis can be.

Sulfuric acid can react with sodium hydroxide to form water and Sodium Sulfate, according to the following equation:

If you start with 130 milligrams of sodium hydroxide, how many grams of sodium sulfate do you form during the reaction?

This is another scary-looking question, but just remember the simple steps of dimensional analysis. Start by writing down what you know in the upper left block of the array.

Hmm. That doesnâ€™t get us very far. We know that calculations regarding chemical reactions usually require moles at some point, and we know that moles of a substance can be related to grams of that substance by using the molecular weight of the material. So, our first step should be to convert the mg of NaOH to g of NaOH. We know that 1000 mg of anything is equal to a gram of that substance, and we need to cancel out the â€śmg NaOHâ€ť as itâ€™s on the top.

So, weâ€™re going to work block by block in the array. First, weâ€™re going to convert our milligrams to grams. Then, we can use grams to convert to moles. We can add up the atomic weights of Na + O + H from the Periodic Table to find the molecular weight of NaOH (the weight of 1 mole of NaOH). We know from the reaction that 2 moles of NaOH produce 1 mole of Na_{2}SO_{4}. We can calculate the molecular weight of Na_{2}SO_{4} by adding up the individual atomic weights of the atoms in Na_{2}SO_{4} (found on the Periodic Table). That sounds like an awful lot, but weâ€™re just doing one step at a time, and working our way forwards towards an answer.

Remember the general principles: put what you know in the first upper block. Try to cancel units on the top by having those same units on the bottom. Each individual column in the array needs to be a correct relation. Once youâ€™ve cancelled all the units except the units in the last upper block, multiply all the values across the top. Multiply all the numbers across the bottom. Divide the top value by the bottom, and attach the only remaining units.

## Here we go, hold on tight!

Now we get to cancel units. We can cancel â€śmg NaOHâ€ť, â€śg NaOHâ€™, â€śmol NaOHâ€ť, and â€śmol Na_{2}SO_{4}â€ť. This simplifies the dimensional analysis array to:

It looks so much cleaner already. Now, multiply everything along the top:

#### Calculation

130 x 1 x 1 x 1 x 142.04 = 18465.2

Then, multiple everything along the bottom:

1000 x 40.00 x 2 x 1 = 80000

Divide the top by the bottom:

18465.2 / 80000 = 0.231

The only units left are â€śg Na_{2}SO_{4}â€ť, so the answer to the question is 0.231 g Na_{2}SO_{4}. If 130 mg of NaOH reacts with sulfuric acid, it will form 0.231 grams of Na_{2}SO_{4}.

Dimensional analysis is a powerful tool for chemists. It can take a very complicated question that would be near-impossible to do in your head and breaks it down into small, manageable parts. You only need to know the handful of general rules and principles we just discussed. Not only can you now convert any unit to any other unit very easily, but you can predict the amounts of chemicals formed when youâ€™re given a specific amount of starting material.

Have fun using this approach to make your chemistry easier!