Access this content offline
Omniguides
Skip to reading

Ideal Gas Law

Original textbook reading.

Enrichment beyond the AP course.

Ideal-gas thermodynamics is extra exploration beyond the supplied AP Physics 1 fluid unit. The AP path focuses on density, pressure, buoyancy and ideal flow.

So far in this course, we’ve only been discussing solid bodies. In most cases, there wasn’t any modification of the shape of these bodies (except for perhaps thermal expansion). This chapter will introduce you to the physics of fluids.

The term fluids is not limited to liquids, in fact, a fluid is simply any mass that will take the shape of its container. This means that fluids include both liquids and gases. This section in particular will deal with gases.

An ideal gas model treats molecules as particles of negligible volume with negligible forces between collisions. Collisions with each other and the walls are elastic. It usually approximates a dilute gas well, far from condensation; real-gas effects can matter at high density or low temperature.

The assumption of a gas as fitting the ideal gas description allows us to use the ideal gas law. This law is defined as:

In PV = nRT, P is absolute pressure, V is volume, n is amount in moles, R is the universal gas constant, and T is absolute temperature in kelvins. Use a value of R consistent with the pressure and volume units.

A mole is an amount containing exactly 6.02214076 × 10²³ specified entities. One mole of oxygen gas contains that many O₂ molecules and twice that many oxygen atoms. The molar mass is the mass per mole of the specified substance; atomic and molecular molar masses must be distinguished.

The m is the mass of the total amount, n is the number of moles, and M is the molar mass of the substance.

The other factor to account for is diatomic gases. These gases don’t exist as a single atom, but are in fact molecules of two atoms. For example, if you had 1 mole of Oxygen gas, you would have 32 grams of the gas.

Scientific calculator

This calculator requires JavaScript. Use the physics formula sheets and show your working manually.

Calculation is unavailable without JavaScript.

+ − * / ^ ! · pi · e · sqrt · sin, cos, tan · asin, acos, atan · atan2(y,x) · ln, log · abs · exp · hypot(x,y). Use * between factors. Keep units in your written working.

The value of R depends on the units you will be using for the other components of the equation. A few of the common values you’ll use are in the following table :

Pause & recall

Pop Quiz 8.1.1 Ideal Gas Laws

Question 1 of 5 · 0 correct

Extra exploration · Read the worked solution

For this problem, use the reference conditions 0 °C and 1 atm. What is the ideal-gas volume of one mole at those conditions?

Select one answer.
Read every full question without answers

Question 1

For this problem, use the reference conditions 0 °C and 1 atm. What is the ideal-gas volume of one mole at those conditions?

  1. 15.000L

  2. 22.414L

  3. 27.514L

  4. 24.221L

Separate worked answer

Question 2

If a gas mixture is made up of 4L of Nitrogen Gas, and 2L of Oxygen gas, and the gas is at 20∘C and 1atm, what is the mass of the gas mixture?

  1. 7.32 g

  2. 8.51g

  3. 4.80g

  4. 12.1g

Separate worked answer

Question 3

How many moles are inside a Helium gas container, if the container has a volume of 5L, is kept at 25∘C, and is pressurized to 20atm?

  1. 2.08mol

  2. 3.84mol

  3. 4.09mol

  4. 5.14mol

Separate worked answer

Question 4

If you have a balloon filled with 0.04mol of air,what will its volume be if you bring it to the top of Mt. Everest, where the pressure is 0.341atm, and the temperature is -20∘C?

  1. 1.05L

  2. 1.88L

  3. 2.14L

  4. 2.44L

Separate worked answer

Question 5

What is the ideal-gas density of air at 0 °C and 1 atm, given a molar mass of 29 g/mol?

  1. 5.81g/L

  2. 4.58g/L

  3. 2.85g/L

  4. 1.29g/L

Separate worked answer

Table 8.1.1: R-Values

Table8.1.1 — details in the accompanying text.

Example Problem 8.1.1

Explore the figure

Example Problem 8.1.1

Example Problem 8.1.1
Read all figure notes

Molar Mass

So how can we use this to relate it to moles?

If a hot air balloon is filled with 80m3 of air (M=29g/mol) at 70∘C, what is the mass of the air? Assume pressure is 1 atmosphere.

Step 1. Write out the ideal gas law

PV=nRT

We know that P=1atm , V=80m3 , and that T=70∘C .

We need to know T in absolute terms, however. This can be solved for simply by adding 273.15.

T=70+273.15​
T=343.15K

We also need to pick a relevant R.

As we are using the units atm, K, and m3, our relevant R is 8.206×10-5.

Step 2. Solve for the unknown

We can now solve for n.

PV=nRT​
1⋅80m3=n⋅(8.205×10-5)⋅343.15K

n=2841mol

Step 3. Solve for mass

As we now have the number of moles, we can use the molar mass to solve for the mass of the air.

m=M⋅n​
m=29g/mol⋅2841mol​
m=82390g

m=82.39kg

The other equations you will be using to work with gases are derived from this ideal gas law.

Let’s assume that we know the temperature, volume, and pressure about a certain parcel of gas, and we change something, and we want to see how that affects the gas.

If we just use the ideal gas law, we would have to use it twice. The first time we’d solve for n and the second time we’d determine the new values.

Why do we need to split it up, though?

If we know that n is constant throughout the change, then we can re-arrange the equation:

PV=nRT

n=P⋅VR⋅T

Now, we can set the first conditions equal to the second conditions using this.

P1⋅V1R1⋅T1=P2⋅V2R2⋅T2

If we can assume that we are working in the same units in both cases, R will be the same, allowing us to cancel it out. This leaves us with:

Explore the figure

Figure 8.1.1 Two States of a Piston

Figure 8.1.1 Two States of a Piston
Read all figure notes

Raised Piston

With the piston raised, the gas is at a certain initial pressure, volume, and temperature.

Lowered Piston

When the piston is lowered, the volume decreases. Therefore the pressure needs to increase and/or the temperature needs to decrease. This is because no gas molecules have escaped, so the number of gas particles is the same.

P1⋅V1T1=P2⋅V2T2 (Equation 8.1.3)

If a balloon is filled with 0.5L of gas, and the gas inside the balloon is at 1atm, what was the volume of the same amount of gas inside a compressed gas cylinder, if that gas was at 50atm?

Explore the figure

Example 8.1.2

Example 8.1.2
Read all figure notes

How do we solve for the new volume?

Which equation is applicable to this scenario?

Step 1. Fill out the equation

P1⋅V1T1=P2⋅V2T2

Let P₁ = 50 atm, P₂ = 1 atm, and V₂ = 0.5 L. Assume the two gas samples are at the same temperature, T₁ = T₂, and contain the same amount of gas. Then P₁V₁ = P₂V₂.

50atm⋅V1=1atm⋅0.5L

Step 2. Solve for the unknown

50atm⋅V1=1atm⋅0.5L​
V1=0.01L

V1=10mL

Pause & recall

Pop Quiz 8.1.2 Ideal Gas Laws Part II

Question 1 of 5 · 0 correct

Extra exploration · Read the worked solution

If a balloon has a volume of 4L at 1atm, and the balloon is taken to the bottom of a pool, where the pressure is 1.3atm, what will its new volume be? Assume no change in temperature.

Select one answer.
Read every full question without answers

Question 1

If a balloon has a volume of 4L at 1atm, and the balloon is taken to the bottom of a pool, where the pressure is 1.3atm, what will its new volume be? Assume no change in temperature.

  1. 3.08L

  2. 4.58L

  3. 8.25L

  4. 8.85L

Separate worked answer

Question 2

A hot air balloon contains 10m3 of air at 80∘C. If the balloon rises from sea level to a height where the pressure is 0.7atm, what is the new volume of the balloon? Assume the fire keeps the temperature constant.

  1. 10.8m3

  2. 11.4m3

  3. 12.8m3

  4. 14.3m3

Separate worked answer

Question 3

A 10 L helium tank is initially at −20 °C and absolute pressure 50 atm. If all of its gas is transferred, how many full 0.4 L balloons can it supply at 1 atm and 20 °C? Assume ideal gas behavior and disregard gas left in the tank.

  1. 1447 balloons

  2. 1527 balloons

  3. 1854 balloons

  4. 2241 balloons

Separate worked answer

Question 4

What pressure will gas have if 10L of gas at STP are forced into a 2L tank at 50∘C?

  1. 4.84atm

  2. 5.92atm

  3. 6.14atm

  4. 7.40atm

Separate worked answer

Question 5

A child blows up a balloon to 0.25L and ties it to his mailbox, before running inside. About an hour later, a hurricane comes through, dropping the pressure from 1atm to 0.888atm, and cooling of the day from 30∘C to 25∘C. What is the new volume of the balloon, assuming it remains steadfastly tied to the mailbox?

  1. 0.235L

  2. 0.242L

  3. 0.258L

  4. 0.277L

Separate worked answer

Scientific calculator

This calculator requires JavaScript. Use the physics formula sheets and show your working manually.

Calculation is unavailable without JavaScript.

+ − * / ^ ! · pi · e · sqrt · sin, cos, tan · asin, acos, atan · atan2(y,x) · ln, log · abs · exp · hypot(x,y). Use * between factors. Keep units in your written working.

IMG 0092 cropped — details in the accompanying text.
103017569c — details in the accompanying text.
Reviewed physics notes (8)

These corrections keep the original lesson’s purpose while fixing errors in the source edition.

  • The source incorrectly says ideal particles do not interact at all and implies real-gas errors are always negligible. — Reference 1
  • R is the universal or molar gas constant, not the “real gas constant”; the pressure and temperature conventions are essential. — Reference 1
  • Corrects 6.002 × 10²³ and the confusion between oxygen molecules and atoms. — Reference 1
  • The isothermal assumption must be stated; omission of a temperature change does not itself prove equal temperatures. — Reference 1
  • Avoids treating one historical STP convention as universal, and makes ideal-gas status explicit. — Reference 1
  • Molar mass needs units of mass per mole. — Reference 1
  • Using 28 g/mol for nitrogen and 32 g/mol for oxygen gives 7.31653 g, which rounds to 7.32 g rather than the source’s 7.30 g. — Reference 1
  • The marked 1447 full balloons uses the entire initial gas inventory; passive transfer would leave residual gas. The assumption is now explicit without changing the data. — Reference 1

About this edition and its source ↗

Glossary and deeper reading · 7 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Thermal expansion

    Thermal expansion is a change in a material’s dimensions as its temperature changes. A simple coefficient model approximates the change over a limited temperature range and depends on the material and geometry. For example, leaving gaps between sections of a metal rail allows space for expansion in warmer conditions.

  • Fluid

    A fluid is a material that flows and continuously deforms under a sustained shear stress. Liquids and gases are both fluids, although their compressibility and other properties can differ greatly. For example, both water in a pipe and air flowing through a duct are fluids.

    Read more: Fluid in detail →

  • Mass density

    Mass density is mass per unit volume of a material or sample. It is commonly measured in kilograms per cubic meter and can vary with temperature or pressure. For example, equal-volume samples of water and oil generally have different masses because their densities differ.

    Read more: Mass density in detail →

  • Temperature

    Temperature is a state quantity that determines the direction of net energy transfer through thermal contact. For a classical ideal gas it is proportional to the average translational kinetic energy per particle, rather than to the total energy of the sample. For example, a small hot metal sample can have a higher temperature but less total internal energy than a large cooler sample.

    Read more: Temperature →

  • Absolute pressure

    Absolute pressure is pressure measured relative to a perfect vacuum. It includes the atmospheric contribution that gauge pressure omits and is required in the ideal gas law. For example, a tire’s absolute pressure is its gauge reading plus the surrounding atmospheric pressure.

    Read more: Absolute pressure in detail →

  • Mole

    A mole is an amount of substance containing Avogadro’s number of specified entities. Those entities must be named, such as atoms, molecules, or ions, and a mole is not itself a mass unit. For example, one mole of helium atoms and one mole of oxygen molecules contain the same number of specified entities but have different masses.

    Read more: Mole in detail →

  • Pressure

    Pressure is the normal force per unit area exerted on a surface. It is a scalar measured in pascals, with one pascal equal to one newton per square meter. For example, a gas exerts pressure throughout its volume through many microscopic collisions, even when its bulk motion is zero.

    Read more: Pressure in detail →

Search lessons, terms and problems