Worked example: Using the ideal gas law to calculate number of moles | AP Chemistry | Khan Academy
We're told an athlete takes a deep breath, inhaling 1.85 liters of air at 21 degrees Celsius and 754 millimeters of mercury. How many moles of air are in the breath? How many molecules? So pause this video and see if you can figure this out on your own.
All right, now let's work through this together. So let's think about what they are giving us and what we need to figure out. They are giving us a volume right over here. They are also giving us a temperature right over here. They're also giving us—I'm trying to use all my colors here—they're giving us a pressure, and they want us to figure out the number of moles.
We use a green color here, so they want to know. We often use the lowercase letter n to represent the number of moles. Do we know something that connects pressure, temperature, volume, and the number of moles? Well, you might be thinking of the ideal gas law, which tells us that pressure times volume is equal to the number of moles n times the ideal gas constant r times temperature t.
We know everything here except for n, so we can solve for n. I know what some of you are saying: "Wait, do we know r?" Well, r is a constant, and it's going to be dependent on which units we use. We'll figure out which version of r we use, but that's why I gave you this little table here, this little formula that you might see on a formula sheet if you were taking something like an AP exam.
So we actually do know what r is. We just need to solve for n. To solve for n, you just divide both sides by rt, and so you are going to get that n is equal to pressure times the volume over r times t.
This is going to be equal to what? Well, our pressure is 754 millimeters of mercury. Now over here, where they give us the ideal gas or the different versions of the ideal gas constant, you don't see any of them that deal with millimeters of mercury, but they do tell us that each millimeter of mercury is equal to a torr. If you get very, very, very precise, they are slightly different, but for the purposes of a first-year chemistry class, you can view a millimeter of mercury as being a torr.
So you can view the pressure here as 754 torr. So let me write that down—this is 754 torr. Then we're going to multiply that times the volume, and here they give the volume in liters, and several of these, and we're probably going to be using this one, this version of the ideal gas constant that has liters, torr, moles, and kelvin.
So let's multiply times the volume—so times 1.85 liters. Then that is going to be divided by the ideal gas constant. I'll use this version because it's using all of the units that I already have. I know what you're thinking: "Wait, the temperature is given in degrees Celsius," but it's easy to convert from degrees Celsius to Kelvin. You just have to add 273 to whatever you have in degrees Celsius to get to Kelvin, because none of these are given in degrees Celsius.
So I will use this ideal gas constant. This is going to be 62.36 liter torr per mole kelvin. Mole to the negative one is just one over moles, so I could write it like this. Kelvin to the negative one is just one over kelvin, and then I'm going to multiply that times the temperature.
So, times what is 21 degrees Celsius in terms of Kelvin? Well, I add 273 to that, so that's going to be 294 Kelvin. We can validate that the units all work out. This liter cancels out with this liter, this torr cancels out with that torr, this kelvin cancels out with this kelvin, and so we're going to be left with some calculation. It's going to be one over one over moles, or simply going to simplify to just being a certain number of moles.
So let's get our calculator out to figure out the number of moles in that breath. So n—I'm using slightly different colors—n is going to be equal to 754 times 1.85 divided by 62.36, and then also divided by 294.
Let's see how many significant digits we have. We have three here, three here, three here, four here, so when we're multiplying and dividing, we just want to use the fewest amount that I'm dealing with. I want to go to three significant figures.
So 0.0761—this is going to be 0.0761, and I could say approximately because I am rounding, but that's three significant figures there. So that's the number of moles of air in the breath.
Now the next question is: how many molecules is that? Well, we know that each mole has roughly 6.022 times 10 to the 23rd molecules in it, so we just have to multiply this times 6.022 times 10 to the 23rd.
We could write it this way: we could write 0.0761 moles times 6.022 times 10 to the 23rd molecules per mole. Now these are going to cancel out, and I'm just going to be left with molecules. I can just take that number that I had before because it's nice to be able to retain precision until you have to think about your significant figures.
Once again, because we did this whole calculation, we're going to want to round everything to three significant figures. So let's just multiply this times 6.022 times 10 to the 23rd, and if I round to three significant figures—because my whole calculation that was my limiting significant figures—I have 4.58 times 10 to the 22nd.
So this is 4.58 times 10 to the 22nd molecules. Squeeze that in there, and we're done.