Chalk−1

Chemistry · General chemistry I · Concept

The ideal gas law, PV = nRT

The ideal gas law, P⁢V=n⁢R⁢T, relates a gas’s pressure P, volume V, amount n and absolute temperature T through the gas constant R=0.08206 L⋅atm⁢/⁢(mol⋅K). Solve it for the unknown, with the temperature in kelvin and every unit matching R.

Try one — Chalk checks each line

A concrete case

Squeeze it, warm it, add more

A syringe sealed at the tip holds 40.0 mL of air at 1.00 atm. Push the plunger in to 20.0 mL and a gauge on the tip reads 2.00 atm. Half the volume gives twice the pressure.

Now let the plunger slide freely, so the pressure stays at 1.00 atm, and warm the syringe from 300 K to 375 K. The air expands from 40.0 mL to 50.0 mL. The kelvin temperature rose by a quarter, and so did the volume.

At that same temperature and pressure, push in a second 50.0 mL of air and the volume doubles again, to 100.0 mL. Helium, nitrogen and carbon dioxide all do the same. A gas’s volume grows with its amount and its kelvin temperature, and shrinks as the pressure rises, whatever the gas is.

(1.00 atm)⁢(40.0 mL)=(2.00 atm)⁢(20.0 mL)
(1.00 atm)⁢(40.0 mL)=(2.00 atm)⁢(20.0 mL)

The rule

P⁢V=n⁢R⁢T

The ideal gas law joins the three observations in one equation. P is the pressure of the gas, V its volume, n its amount in moles and T its absolute temperature, in kelvin. R is the gas constant, the same number for every gas.

Given any three of P, V, n and T, the law gives the fourth. It describes real gases well at ordinary temperatures and pressures, where the molecules are far apart.

P⁢V=n⁢R⁢T

Units that match R

With R=0.08206 L⋅atm⁢/⁢(mol⋅K), pressure must be in atmospheres, volume in liters, amount in moles and temperature in kelvin. With R=8.314 J⁢/⁢(mol⋅K), use pascals and cubic meters. The two values are one constant in two sets of units, and a Chemistry box reads either as R.

Convert before you substitute. A pressure in mmHg is divided by 760, since 1 atm is exactly 760 mmHg and exactly 101.325 kPa. A volume in milliliters is divided by 1000.

Temperature is measured from absolute zero. Add 273.15 to a Celsius temperature, so 25.0 °⁢C is 298.2 K.

R=0.08206 L⋅atmmol⋅K,T⁢(K)=t⁢(∘C)+273.15
R=0.08206 L⋅atmmol⋅KT⁢(K)=t⁢(∘C)+273.15

Why it works

Why one equation fits every gas

Pressure is the push of molecules striking the walls. Put twice as many molecules in the same box and twice as many strike each second, so the pressure doubles with n. Halve the volume and each molecule reaches a wall twice as often, so the pressure doubles again.

Heat the gas and its molecules move faster. They hit the walls more often and harder. The average kinetic energy of the molecules is proportional to the kelvin temperature, and the pressure rises in the same proportion.

Nothing in this argument depends on what the molecules are. It assumes only that they are tiny compared with the space between them and that they neither attract nor repel one another. That is why R is the same for helium and for carbon dioxide. It is also why equal volumes of different gases at the same temperature and pressure hold the same number of molecules.

The method

Solving P⁢V=n⁢R⁢T

1. List the known values with their units, and name the unknown.

2. Convert. Temperature goes to kelvin, pressure to atmospheres, volume to liters and a mass to moles.

3. Solve P⁢V=n⁢R⁢T for the unknown before putting in any numbers.

4. Substitute with units, and check that they cancel to the unit of the unknown.

5. Compute, and round once, at the end, to the figures of the data.

Two states, or a mixture

When one sample changes conditions, divide P⁢V=n⁢R⁢T by T. P⁢V⁢/⁢T=n⁢R, and for a fixed amount n⁢R does not change, so P⁢V⁢/⁢T is the same before and after. That is the combined gas law.

A quantity held constant cancels from it. At constant temperature it leaves P1V1=P2V2, Boyle’s law. At constant pressure it leaves V1/T1=V2/T2, Charles’s law. In a rigid container it leaves P1/T1=P2/T2. Any pressure and volume units work, as long as both states use the same ones, but temperatures must be in kelvin.

In a mixture each gas pushes as if it were alone, and the partial pressures add up to the total. That is Dalton’s law. A gas’s partial pressure is its mole fraction, χ, its share of the moles, times the total. A gas collected over water shares the bottle with water vapor, so the vapor pressure of water, 23.8 mmHg at 25 °⁢C, is subtracted from the total.

P1V1T1=P2V2T2,PA=χAPtotal
P1V1T1=P2V2T2PA=χAPtotal

Where it breaks

Where it breaks

The law needs kelvin. Doubling a Celsius temperature does not double a volume. Warming a gas from 20 °⁢C to 40 °⁢C at constant pressure raises its volume by only 7 percent, the ratio 313.15⁢/293.15.

It needs absolute pressure. A tire gauge reads the pressure above the air outside, so a gauge reading of 2.20 atm at sea level is an absolute pressure of 3.20 atm.

The molar volume, 22.414 L⁢/⁢mol, holds only at 0 °⁢C and 1 atm. At 25 °⁢C and 1 atm a mole of gas fills 24.47 L. Some texts define standard pressure as 1 bar, 100 kPa, and then the molar volume at 0 °⁢C is 22.71 L⁢/⁢mol.

The combined law assumes the amount of gas is fixed. A leak, a reaction or a gas added between the two states changes n. Then apply P⁢V=n⁢R⁢T to each state separately.

Real gases depart from the law at high pressure and low temperature. There the molecules’ own volume and their attractions matter, and near the point where a gas condenses the law fails badly. Liquids and solids do not follow it at all.

Check your answer

Check your answer

Estimate with the molar volume. A mole of gas near room temperature and 1 atm fills about 24 L. Scale that by the moles and divide by the pressure in atmospheres, and your answer should be close.

Squeeze or heat the gas in your head. More pressure means less volume, and a higher temperature means more volume or more pressure. If a gas you compressed grew, a ratio is upside down.

Let R set the units. With R=0.08206 L⋅atm⁢/⁢(mol⋅K), moles, kelvins and atmospheres must cancel and leave the unit of the unknown.

In a Chemistry box, write P⁢V=n⁢R⁢T on its own row, the rearranged form below it, each known value on its own row, and then the substitution with units. The Checker reads the rearrangement as “Rearranges row 1 correctly (treating every quantity as positive).” It reads the last row as “Substitution matches row 2 with the values defined above.”

A fix for a ✗ rearrangement can go on the row below it. It is compared with P⁢V=n⁢R⁢T, not with the slip, so the right V=n⁢R⁢T⁢/⁢P under the slip V=P⁢T⁢/⁢(n⁢R) reads ✓, “Rearranges row 1 correctly.”

A temperature row such as T=27.0 °⁢C+273.15 =300.2 K reads ✓, and the Checker says “Adding 273.15 converts °C to kelvin: T/K = t/°C + 273.15.”

A value carried with an extra digit, such as 450.3 K, gets a note that the data support three significant figures. The note is right. Keep the digit for the next row and round the final answer.

Two balloons at the same temperature and pressure hold 4.0 g of helium and 4.0 g of carbon dioxide. Are they the same size?

No. The helium balloon is about eleven times larger. P⁢V=n⁢R⁢T has no term for which gas it is, so the volume follows the moles. 4.0 g of helium is 1.0 mol, but 4.0 g of CO2 is only 0.091 mol. Equal masses fill equal volumes only for gases with equal molar masses.

R, one molecule at a time, and real gases

R is Avogadro’s number times the Boltzmann constant, k, the gas constant for a single molecule. Since 2019 both are fixed by definition, so R is exact, 8.314462618⁢… J⁢/⁢(mol⋅K). Written per molecule, the law is P⁢V=N⁢k⁢T, where N counts molecules instead of moles.

For a real gas, the ratio P⁢V⁢/⁢(n⁢R⁢T) is called the compressibility factor, Z. It is exactly 1 for an ideal gas. Attractions between molecules pull Z below 1 at moderate pressures, because they soften the impacts on the walls. At high pressures the molecules’ own volume pushes Z above 1, because less of the container is empty.

The van der Waals equation adds one correction for each effect, with two constants measured for every gas. The ideal gas law is the limit it reaches as the pressure falls to zero.

Common mistakes

  • Putting a Celsius temperature into P⁢V=n⁢R⁢T. 0.250 mol at 25.0 °⁢C and 1.50 atm fills 4.08 L, but using 25.0 for T gives 0.342 L. The law needs kelvin, 298.2 K, a scale that starts at absolute zero.
  • Leaving the pressure in mmHg with R=0.08206 L⋅atm⁢/⁢(mol⋅K). Convert first, so 755 mmHg is 0.993 atm. Left in mmHg, a volume comes out 760 times too small, because R expects atmospheres.
  • Putting a volume in milliliters next to R in liters. 500. mL must go in as 0.500 L. Left as 500, the moles come out 1000 times too large.
  • Using 22.4 L⁢/⁢mol away from 0 °⁢C and 1 atm. At 25 °⁢C and 1 atm a mole fills 24.5 L, so 0.500 mol is 12.2 L, not 11.2 L. The molar volume grows with the temperature.
  • Using a gauge reading as the pressure. A tire gauge reading 2.20 atm at sea level means an absolute pressure of 3.20 atm, because the gauge reads zero at the pressure of the air outside.
  • Using the combined law after the amount of gas has changed. P1V1/T1=P2V2/T2 assumes the same moles in both states. When gas is added, leaks or reacts, apply P⁢V=n⁢R⁢T to each state separately.
  • Using the total pressure for a gas collected over water. Hydrogen at a total of 762.0 mmHg over water at 25 °⁢C has a partial pressure of only 738.2 mmHg. The water vapor’s 23.8 mmHg must be subtracted first.

Key terms

Ideal gas law
P⁢V=n⁢R⁢T, linking a gas’s pressure P, volume V, moles n and kelvin temperature T through the gas constant R. It treats gas particles as having no size and no attractions, so it works best at low pressure and high temperature.
Molar gas constant
R, the constant in the ideal gas law P⁢V=n⁢R⁢T (pressure, volume, moles, kelvin temperature). Use the value that matches your units: 8.314 J⁢/⁢(mol⋅K) with energy, or 0.08206 L⋅atm⁢/⁢(mol⋅K) with liters and atmospheres.
Absolute temperature
Temperature in kelvins, measured from absolute zero. Add 273.15 to a Celsius temperature before using it in gas-law or thermodynamics equations.
Combined gas law
For a fixed amount of gas, P1V1/T1=P2V2/T2, with temperatures in kelvin. It follows from P⁢V=n⁢R⁢T with n constant and contains Boyle’s law (constant temperature) and Charles’s law (constant pressure) as special cases.
Partial pressure
The pressure one gas in a mixture would exert if it filled the container alone: partial pressure of ⁢A =(mole fraction of ⁢A)×(total pressure). By Dalton’s law, the partial pressures add up to the total pressure.
Mole fraction
mole fraction of ⁢A =(moles of ⁢A) ÷(total moles of everything in the mixture). It has no units, and all the mole fractions in a mixture add up to 1.
Standard temperature and pressure
Reference gas conditions of 0 °⁢C (273.15 K) and 1 atm, the convention Tro uses. IUPAC now defines STP with 1 bar, so check which one a source means.
Molar volume
The volume that one mole of a substance takes up: molar volume =volume÷moles. For an ideal gas at 0 °⁢C and 1 atm it is 22.414 L⁢/⁢mol.

Work through an example

What volume does 0.250 mol of nitrogen gas occupy at 25.0 °⁢C and 1.50 atm?

Find a gas volume with P⁢V=n⁢R⁢T →

Use the combined gas law →

Find partial pressures with Dalton’s law →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the calculation in a Chemistry box Check R in both units in a Chemistry box Study the 8 key terms Open worked example on a board Chemistry formulas: gases

Your existing work stays on this device. Examples open as editable copies.