Fluids
Unit 17 – Ideal Gas Law and Kinetic Theory
Last Update: 05/24/2025
ideal gas law
In this section, we explore the behavior of gases. Gases are fluids but unlike liquids, they don’t have a set volume and fill the volume of the container they are in. Unlike liquids, gases are compressible. This property is due to the large separation of atoms and molecules in gases, compared to their size. If the temperature of a gas is not too high and/or its pressure too low, it is safe to assume the separation between molecules is so large that all forces between them except for collision forces can be ignored. In contrast, in liquids and solids, atoms and molecules are closer together and the forces between them are stronger.
An ideal gas is an idealized model of how a gas behaves. In this model, an ideal gas is a gas that consists of molecules with separation distances much larger than their size. Furthermore, according to this model, these molecules interact only when they collide, and the collisions between the molecules and the molecules and the walls of the container are all elastic. The ideal gas model is very useful because it correctly predicts the behavior of all gases in most situations. In this book, we will only discuss the behavior of gases as described by the ideal gas model.
The relationship between pressure, volume, temperature, and the number of molecules of an ideal gas was first found experimentally and is known as the Ideal Gas Law.
Ideal Gas Law
In this equation,
is the absolute pressure (
), and is measured in units of Pascal (Pa). Pa=N/m3
is the volume which is the amount of space the gas occupies and is measured in units of m3
is the number of molecules of gas
is the Boltzmann Constant.
is the absolute temperature of the gas in Kelvin
Example 17.1 – Tire Pressure
Suppose your bicycle tire is fully inflated, with an absolute pressure of 7.00×105Pa, at a temperature of 18.0°C. What is the pressure after its temperature has risen to 35.0°C? Assume that there are no appreciable leaks or changes in volume.
Solution
We know that P1=7.00×105Pa at a temperature of T1=18.0°C. We are trying to find P2 at a temperature of T2=35.0°C. As the gas transitions from state (1) to state (2) its number of molecules and volume stay constant.
For each state, we can relate P, T, V, and N using the ideal gas law.
Since volume and number of molecules don’t change, we don’t need to use a subscript to distinguish their initial and final values. This means
and
Making these substitutions in the ideal gas law equation for each state, and putting all the constants on one side we get
Since the right-hand sides of the two equations are equal, the left-hand sides must also be equal
Before we put numbers in, we must convert all units to standard units for the ideal gas law.
Therefore
In the Ideal Gas Law, , P is the absolute pressure of the gas. But when we use a tool to measure, let’s say, tire pressure, we are measuring the pressure of the air inside the tire relative to the atmospheric pressure, and not its absolute pressure. We call this the gauge pressure. Pressure can be measured in various units. Some common units are pascal (Pa), atmosphere (atm), pound per square inch (psi), and millimeters of mercury (mmHg). The pressure applied by the column of air above us at sea level is 1atm=1.013×105 Pa. The relationship between the absolute pressure, P, and the gauge pressure, Pgauge is:
Example 17.2 – Number Of Air Molecules In a Bicycle Tire
A bicycle tire has a volume of 1.35L and a gauge pressure of 60.0psi at 72.0°F. Find the number of air molecules in this tire.
Solution
We can use the Ideal Gas Law to solve for N, the number of molecules. But first, we have to put all the given parameters in the appropriate units.
Volume must be in m3.
Pressure has to be absolute pressure in Pascal.
The temperature has to be in Kelvin.
|
|
Now we are ready to use the Ideal Gas Law
Discussion
That is a HUGE number of molecules. It is 171,000,000,000,000,000,000,000 molecules!!! That’s roughly 20,000,000,000,000 times the population of Earth.
In the Ideal Gas Law equation, , N is the number of molecules in the gas. For any macroscopic sample of gas, the number of molecules is extremely large. Since doing calculations with very large numbers can be cumbersome, it is more convenient to group molecules into standard bundles, and keep track of the number of bundles instead of the number of molecules. The standard “bundle” to use in this context is called “mole”. One mole contains 6.02×1023 molecules. The number of molecules in one mole is known as Avogadro’s number, NA. In Example 16.3, the number of moles of air in the tire is
. Furthermore, the mass of one mole of an element can be determined using the periodic table. Consider the following elements in the periodic table:

The number 4.002602 for Helium means that 1mol of He has a mass of 4.002602g. In other words, 6.02×1023 atoms of He have a combined mass of 4.002602g. Since He is a monatomic gas, 1 mol of He gas has a mass of 4.002602g.
The number 15.9994 for Oxygen means that 1mol of O has a mass of 15.9994g. In other words, 6.02×1023 atoms of O have a combined mass of 15.9994g. But since O is a diatomic gas, 1 mol of Oxygen gas is really 1 mol of O2. Therefore, 1 mol of Oxygen gas has a mass of 2X(15.9994g)=31.9999g. In summary:
Avogadro’s Number
1 mol contains molecules.
The atomic mass of an element in “gram” Is the mass of 1 mol of the atoms of that element.
To express the Ideal Gas Law in terms of the number of moles instead of the number of molecules, we can divide and multiply the right-hand side by Avogadro’s Number.
Notice that is the number of moles. We represent the number of moles with n. Therefore
. Also
is a constant. We call this constant the Universal Gas Constant, and we represent it with R.
Putting it all together, we get this alternative equation for the Ideal Gas Law.
Ideal Gas Law
In this equation,
is the absolute pressure (
), and is measured in units of Pascal (Pa). Pa=N/m3
is the volume which is the amount of space the gas occupies and is measured in units of m3
is the number of moles of gas
is the Universal Gas Constant.
is the absolute temperature of the gas in Kelvin
kinetic theory
In this section, we relate the macroscopic quantities of pressure and temperature to the motion of molecules in a sample of gas.

The figure shows an expanded view of an elastic collision of a gas molecule with the wall of a container. Calculating the average force exerted by such molecules will lead us to the ideal gas law, and to the connection between temperature and molecular kinetic energy. We assume that a molecule is small compared with the separation of molecules in the gas and that its interaction with other molecules can be ignored. We also assume the wall is rigid and that the molecule’s direction changes, but that its speed remains constant (elastic collision).
If the molecule’s velocity changes in the x-direction, its momentum changes from -mvx to +mvx. Thus, its change in momentum is . Using Newton’s Second Law, The force exerted on the molecule is given by





This force is due to one molecule. We multiply by the number of molecules, N, and use their average squared velocity to find the force
where the bar over a quantity means its average value. We would like to have the force in terms of the speed, v, rather than the x-component of the velocity. We note that the total velocity squared is the sum of the squares of its components, so that

Because the velocities are random, their average components in all directions are the same:
Thus,
or

Substituting into the expression for F gives
The pressure is force per area, , so that we obtain
where we used V=Al for the volume. This gives an important result.
This equation is another expression of the Ideal Gas Law. It also relates the macroscopic quantity of pressure to the motion of molecules.
Since the other form of the Ideal Gas Law is , we can set the right-hand sides equal to get
We can get the average kinetic energy of a molecule, , from the right-hand side of the equation by canceling N and multiplying by 3/2. This calculation produces the result that the average kinetic energy of a molecule is directly related to absolute temperature.
Average Kinetic Energy Per Molecule
The equation above relates the macroscopic quantity of temperature to molecular motion. More specifically it shows that temperature is directly proportional to the average translational kinetic energy per molecule.
We can also rearrange the equation above to solve for, , root-mean-square (rms) speed, vrms.
vrms represents the average speed of molecules.
Section summary
What you need to take away from all these derivations in this section is that temperature is directly proportional to the average translational kinetic energy per molecule.
Average Kinetic Energy Per Molecule & Absolute Temperature
In this equation
is the mass of one molecule in kg
is the root-mean-square speed of a molecule in m/s. You can think of this as the average speed of a molecule.
is the Boltzmann Constant.
is the absolute temperature of the gas in Kelvin
Example 17.3 – Average Speed Of Air Molecules
Air is roughly 80% Nitrogen and 20% Oxygen. Find the average speed (vrms) of N2 molecules in a room at 20.0°C.
Solution for (a)
The average speed of molecules is related to the temperature of the gas according to
We need to find m, the mass of one molecule of N2.
Let’s look up Nitrogen in the periodic table
Mass must be in kg.
The temperature must be in Kelvin.
Now we are ready to calculate vrms for Nitrogen
Attributions
This chapter contains material taken from Openstax College Physics-Temperature, Kinetic Energy, and the Gas Laws, and Openstax University Physics Volume 2, and is used under a CC BY 4.0 license. Download these books for free at Openstax
Information in the Human Body Temperature section is obtained from a Wikipedia entry on Thermoregulation.
To see what was changed, refer to the List of Changes.
questions and Problems
Questions
- [openstax college phys. quest13.11] Under what circumstances would you expect a gas to behave significantly differently than predicted by the ideal gas law?
- [openstax college phys. quest13.10] Is there a mole of people inhabiting Earth?
- [openstax univ. phys. vol2. quest2.17 modifed] An ideal gas is at a temperature of 27°C. To double the average speed of its molecules, what does the temperature need to be changed to?
- [openstax univ. phys. vol2. quest2.15 modifed] One cylinder contains helium gas and another identical cylinder contains krypton gas at the same temperature. Mark each of these statements true, false, or impossible to determine from the information given. Justify all your answers.
- The average speeds (vrms) of atoms in the two gases are the same.
- The average kinetic energies of atoms in the two gases are the same.
- The pressures in the two gases are the same.
problems
- [openstax univ. phys. vol. 2 – 2.18] The gauge pressure in your car tires is 2.50×105 Pa at a temperature of35.0ºC when you drive it onto a ship in Los Angeles to be sent to Alaska. What is their gauge pressure on a night in Alaska when their temperature has dropped to -40.0ºC? Assume the tires have not gained or lost any air.
- [openstax univ. phys. vol. 2 – 2.19] Suppose a gas-filled incandescent light bulb is manufactured so that the gas inside the bulb is at atmospheric pressure when the bulb has a temperature of 20.0ºC. Find the gauge pressure inside such a bulb when it is hot, assuming its average temperature is 60.0ºC (an approximation) and neglecting any change in volume due to thermal expansion or gas leaks.
- A balloon filled with air has a volume of 0.200m3 and a pressure of 20.0psi at a temperature of 92.0°F.
- What is the new volume if the balloon is placed in a refrigerator and cooled to 32.0°F and the pressure is reduced to 14.7psi?
- How many moles of air are there in the balloon?
- [openstax univ. phys. vol. 2 – 2.24] An airplane passenger has 100cm3 of air in his stomach just before the plane takes off from a sea-level airport. What volume will the air have at cruising altitude if cabin pressure drops to 7.50×104 Pa?
- [openstax univ. phys. vol. 2 – 2.27] An expensive vacuum system can achieve a pressure as low as 1.00×10-7Pa at 20.0ºC How many molecules are there in a cubic centimeter at this pressure and temperature?
- [openstax univ. phys. vol. 2 – 2.34] A car tire at a temperature of 25.0ºC contains 3.60 mol of gas in a 30.0-L volume.
- What is the gauge pressure of air in this tire?
- What will the gauge pressure be if you add 1.00 L of gas originally at atmospheric pressure and 25.0ºC? Assume the temperature remains at25.0ºC and the volume remains constant.
- [openstax univ. phys. vol. 2 – 2.38] Some incandescent light bulbs are filled with argon gas. What is the vrms for argon atoms near the filament, assuming their temperature is 2500 K?
- [openstax univ. phys. vol. 2 – 2.42] What is the total translational kinetic energy of the air molecules in a room of volume 23.0m3 if the pressure is 9.50×104Pa, and the temperature is 21.0ºC?
- A nitrogen canister has a volume of 5.00L and contains gas at a pressure of 2200psi at 20.0°C.
- Find the mass of nitrogen gas in the container.
- What is the average kinetic energy per molecule?
- What is the vrms of the nitrogen molecules in this container?
- Determine the density of CO2 at a temperature of 75.0°F and a pressure of 0.950atm.
- What is the molar mass of a gas if 0.0494 g of the gas occupies a volume of 0.100 L at a temperature 26 °C and a pressure of 5.94 psi?
- A 2.00L cylinder contains laughing gas, N2O, at a temperature of 30.0ºC and at atmospheric pressure
- What is the mass of the gas in this container?
- What is the vrms of the N2O molecules?