Chemistry

Gas Laws and the Ideal Gas Equation

Understand pressure, volume and temperature in a gas, use Boyle's, Charles's and the pressure law with confidence, and solve problems with PV = nRT, all by thinking about moving particles.

⏱ about 55 min🎯 14 hands-on activities🃏 23 flashcards
pressurekelvinBoyle's lawCharles's lawmolar volumePV = nRTideal gasreal gas
PressureBoyleCharlesAvogadroIdeal gasExam roomCheckFlashcards
Activities 0 of 14Flashcards 0 of 23
🎈

Gas pressure and the Kelvin scaleWhat pressure is, and why chemists measure temperature in kelvin

Learning goal: by the end of this lesson you can explain gas pressure using particles, convert between units and between degrees Celsius and kelvin, use Boyle's law, Charles's law and the pressure law, link gas volume to moles, and solve problems using the ideal gas equation, as WASSCE, Cambridge O Level and IB questions expect.

When Tunde pumps air into a bicycle tyre, the tyre gets harder and harder. When Emily leaves a sealed bottle of air in a hot car, the lid bulges. When Kofi pushes the plunger of a sealed syringe, he feels the air push back. In every case the same three quantities are changing together: the pressure of the gas, its volume and its temperature. In the last two lessons you learned the particle theory and how gases spread. This lesson turns that picture into numbers you can calculate with.

A gas is made of particles that are far apart and moving fast in random directions. As they move, they keep hitting the walls of their container. Each collision pushes on the wall with a tiny force. Billions of collisions every second add up to a steady push on every part of the wall. This push, spread over the area of the wall, is the pressure of the gas.

Gas pressure is the force exerted by the gas particles colliding with the walls of the container, divided by the area of the wall. Pressure = force ÷ area.
Collisions with the walls cause pressureMore collisions per second, or harder ones: higher pressure0 K273 K373 K−273 °C, absolute zero0 °C, ice melts100 °C, water boilsK = °C + 273One kelvin step is the same size as one degree Celsius.

Pressure is measured in pascals (Pa), where 1 Pa is a force of 1 newton on each square metre. Because the pascal is very small, chemists often use the kilopascal (kPa). Normal air pressure at sea level is called standard atmospheric pressure. You will see it written in several ways, and you must be able to move between them.

UnitMeaningLink to others
pascal, Panewton per square metrethe SI unit of pressure
kilopascal, kPa1000 pascals1 kPa = 1000 Pa
atmosphere, atmaverage air pressure at sea level1 atm = 101 325 Pa, about 101.3 kPa
barused in many data tables1 bar = 100 000 Pa = 100 kPa
mmHg (North America)height of a mercury column760 mmHg = 1 atm

Now temperature. In everyday life we use degrees Celsius, where 0 °C is the temperature at which ice melts. But a gas does not know about ice. As a gas is cooled, its particles move more slowly and hit the walls less often, so its pressure and volume drop. The lowest possible temperature, where particles would have the least possible kinetic energy, is absolute zero, which is about −273 °C. The Kelvin scale starts at absolute zero, so 0 K is the coldest possible temperature and there are no negative kelvin values. Temperature in kelvin is directly proportional to the average kinetic energy of the particles, which is exactly why gas laws work so neatly with it.

The conversion. To change °C into K, add 273. To change K into °C, subtract 273. (IB and some North American courses use 273.15 for extra precision, but 273 is accepted for WASSCE and Cambridge O Level.) The symbol for kelvin is K, with no degree sign: you write 300 K, never 300 °K.
Worked example. Charlotte wants to use a gas law for a gas at 27 °C. Step 1, convert: T = 27 + 273 = 300 K. A gas cooled to −73 °C is at −73 + 273 = 200 K. A gas at 500 K is at 500 − 273 = 227 °C. Always convert to kelvin before you put a temperature into a gas law. If you use °C, doubling the temperature from 20 °C to 40 °C would wrongly seem to double the pressure, but in kelvin it is only a rise from 293 K to 313 K.
Activity 1 · Pressure and kelvin check

Choose the best answer.

Activity 2 · Kelvin practice

Type the number only.

🧪

Boyle's law: pressure and volumeSquash a gas and its pressure rises

Push the plunger of a sealed syringe and the air feels harder to squash the more you push. In 1662 Robert Boyle measured this carefully by trapping air in a bent glass tube and adding mercury. He found a simple rule.

Boyle's law: for a fixed mass of gas at constant temperature, the pressure is inversely proportional to the volume. When the volume halves, the pressure doubles. In symbols, pV = constant, so p1V1 = p2V2.
Volume, VPressure, pA curve: p and Vinversely proportional1 ÷ Volume, 1/VPressure, pA straight line through the originp is proportional to 1/V

Why does it happen? The temperature is constant, so the particles keep the same average speed. When the volume is made smaller, the particles are squeezed into less space, so they travel a shorter distance between collisions with the walls. They hit the walls more often, with the same force each time. More collisions per second on each square metre of wall means a higher pressure. Notice the answer is about collision frequency, not about the particles moving faster or getting bigger.

Worked example. Adaeze traps 600 cm3 of air in a syringe at 100 kPa. She pushes the plunger until the volume is 200 cm3, with the temperature unchanged. Step 1, write the law: p1V1 = p2V2. Step 2, substitute: 100 × 600 = p2 × 200. Step 3, solve: p2 = 60 000 ÷ 200 = 300 kPa. Check: the volume became one third of the original, so the pressure became three times as big. Because both volumes use cm3, no conversion is needed; the volume units cancel as long as they match on both sides.
Activity 3 · Boyle's law check

Choose the best answer.

Activity 4 · Pressure up or down?

Tap a situation, then tap the box that says what happens to the pressure. The temperature and the amount of gas stay the same.

⬆️ Pressure rises

gas is squashed

⬇️ Pressure falls

gas has more room
🌡️

Charles's law, the pressure law and the combined gas lawWhat temperature does to volume and pressure

Boyle kept the temperature fixed. What if we change the temperature? A balloon left in the hot sun swells, and a sealed aerosol can left on a car seat can burst. Two more rules describe these effects. In both, the temperature must be in kelvin.

Charles's law

For a fixed mass of gas at constant pressure, the volume is directly proportional to the kelvin temperature.

V ÷ T = constant, so V1 ÷ T1 = V2 ÷ T2.

Double the kelvin temperature and the volume doubles.

The pressure law

For a fixed mass of gas at constant volume, the pressure is directly proportional to the kelvin temperature.

p ÷ T = constant, so p1 ÷ T1 = p2 ÷ T2.

Double the kelvin temperature and the pressure doubles.

273 K373 KTemperature, T (kelvin)Volume, V0 K: absolute zeroDashed: extended backwards (a real gas liquefies first)

Why does a hotter gas take up more volume at constant pressure? At a higher temperature the particles have more kinetic energy and move faster. They hit the walls harder and more often. If the container can expand, such as a balloon or a syringe with a free plunger, the walls move outwards until the collisions are spread over a bigger area and the pressure is back to the outside pressure. So the volume rises. Why does the pressure rise in a sealed rigid container? The walls cannot move, so faster particles hitting the same walls harder and more often means a higher pressure.

Worked example (Charles's law). Oliver has 250 cm3 of gas in a syringe at 27 °C. The syringe is warmed to 77 °C at constant pressure. Step 1, convert: T1 = 27 + 273 = 300 K and T2 = 77 + 273 = 350 K. Step 2, use V1 ÷ T1 = V2 ÷ T2, so V2 = 250 × 350 ÷ 300 = 292 cm3 (to 3 significant figures). The volume rose by a factor of 350 ÷ 300, which is 1.17.
Worked example (pressure law). Ngozi seals a flask of gas at 200 kPa and 27 °C and heats it to 127 °C. T1 = 300 K and T2 = 400 K. p2 = 200 × 400 ÷ 300 = 267 kPa. This is why a sealed can must never be put in a fire.

The three laws combine into one, the combined gas law, for a fixed mass of gas: p1V1 ÷ T1 = p2V2 ÷ T2. Cover up the quantity that stays constant and you get Boyle's, Charles's or the pressure law back. Use it when pressure, volume and temperature all change.

Worked example (combined gas law). A gas has volume 6.0 dm3 at 100 kPa and 300 K. It is changed to 150 kPa and 330 K. Substitute: 100 × 6.0 ÷ 300 = 150 × V2 ÷ 330. The left side is 2.0, so V2 = 2.0 × 330 ÷ 150 = 4.4 dm3. Sense check: more pressure squeezes the gas, and a small rise in temperature expands it a little, so a smaller final volume makes sense.

Try the explorer below. Choose a law, slide the variable and watch the particles, the numbers and the working.

Try it · Gas law explorer

Choose a law, then move the slider. The yellow arrows show how fast the particles move.

Activity 5 · Tap to open: explain the observation

Open every card to complete this activity.

Tap a card

Open every card to complete this activity.

Activity 6 · Charles's and pressure law check

Choose the best answer.

Activity 7 · Charles's law or the pressure law?

Tap a situation, then tap the law that explains it.

🎈 Charles's law

volume can change, pressure constant

🥫 Pressure law

volume fixed, pressure changes
⚖️

Avogadro's law and molar volumeEqual volumes of gases hold equal numbers of molecules

Imagine three identical balloons, one filled with hydrogen, one with oxygen and one with carbon dioxide, all at the same temperature and pressure and all the same size. Which holds the most molecules? Surprisingly, they hold the same number. A tiny hydrogen molecule and a much heavier carbon dioxide molecule take up the same share of the space, because in a gas the particles are very far apart and the space between them is far bigger than the particles themselves. This is the idea behind Avogadro's law.

Avogadro's law: equal volumes of all gases, measured at the same temperature and pressure, contain the same number of molecules. So the volume of a gas at fixed temperature and pressure is proportional to the amount of gas in moles.
Same temperature and pressure: same volume, same number of moleculesHydrogen, H₂1 mol = 2 gOxygen, O₂1 mol = 32 gCarbon dioxide, CO₂1 mol = 44 gEach box: 24 dm³ at room temperature and pressure

The volume taken up by one mole of any gas is called the molar volume. It depends only on the temperature and pressure, not on which gas it is. Two sets of conditions are used, so you must read the question to see which one is meant.

ConditionsTemperature and pressureMolar volume
Room temperature and pressure (rtp)20 °C (293 K) and 1 atm (about 101 kPa)24 dm3 mol−1, which is 24 000 cm3 mol−1
Standard temperature and pressure (stp)0 °C (273 K) and 101.3 kPa (1 atm)22.4 dm3 mol−1
IB data booklet value273 K and 100 kPa22.7 dm3 mol−1
Which value do I use? WASSCE and Cambridge O Level questions usually say rtp and give 24 dm3. Some WASSCE papers and North American courses use stp with 22.4 dm3. IB papers give the value in the data booklet. Always use the value the question gives you. Gas at 0 °C is more compact than gas at 20 °C, which is why the stp value is smaller.

The two working formulas are: amount of gas (mol) = volume in dm3 ÷ 24, and amount of gas (mol) = volume in cm3 ÷ 24 000 (at rtp).

Worked example. Emily collects 4.8 dm3 of carbon dioxide at rtp. Step 1: n = 4.8 ÷ 24 = 0.20 mol. Step 2: the molar mass of CO2 is 12 + 2 × 16 = 44 g mol−1, so the mass is 0.20 × 44 = 8.8 g. In reverse, 0.050 mol of hydrogen at rtp has a volume of 0.050 × 24 000 = 1200 cm3. A full treatment of gas volumes in reactions comes in the Mole and Stoichiometry lessons.
Activity 8 · Avogadro's law check

Choose the best answer.

Activity 9 · Molar volume practice

Type the number only.

🧮

The ideal gas equation, pV = nRTOne equation that joins all four quantities

Boyle's law says V is proportional to 1 ÷ p. Charles's law says V is proportional to T. Avogadro's law says V is proportional to n. Join them and V is proportional to nT ÷ p. Introduce a constant of proportionality, R, called the gas constant, and you get one equation that does everything.

The ideal gas equation: pV = nRT, where p is the pressure, V the volume, n the amount of gas in moles, R the gas constant (8.31 J K−1 mol−1) and T the temperature in kelvin.
pV = nRTp: pressure in Pa1 kPa = 1000 PaV: volume in m³1 dm³ = 0.001 m³, 1 cm³ = 10⁻⁶ m³n: amount in moln = mass ÷ MᵣT: temperature in KK = °C + 273R = 8.31 J K⁻¹ mol⁻¹Convert every quantity to these units first.

The equation only works if the units match the value of R. With R = 8.31 J K−1 mol−1, you must use pressure in pascals, volume in cubic metres, and temperature in kelvin. This is where most marks are lost, so make a habit of converting first.

QuantityGiven asConvert to
PressurekPaPa: multiply by 1000
Volumedm3m3: divide by 1000
Volumecm3m3: divide by 1 000 000
Temperature°CK: add 273
A useful shortcut. If the pressure is in kPa and the volume is in dm3, you can put them straight into the equation with R = 8.31. The factor of 1000 from kPa and the factor of 1 ÷ 1000 from dm3 cancel each other out. Cm3 still needs converting, by dividing by 1000 to get dm3.

Rearranged for each quantity: n = pV ÷ RT, V = nRT ÷ p, p = nRT ÷ V and T = pV ÷ nR. Since n = m ÷ Mr, you can also find the relative molecular mass of a gas: Mr = mRT ÷ pV.

Worked example 1: find the moles. Tunde has 2.0 dm3 of gas at 100 kPa and 27 °C. Convert: p = 100 000 Pa, V = 0.0020 m3, T = 300 K. Then n = pV ÷ RT = (100 000 × 0.0020) ÷ (8.31 × 300) = 200 ÷ 2493 = 0.0802 mol.
Worked example 2: find the molar mass. Charlotte collects 0.80 g of a gas. It occupies 500 cm3 at 100 kPa and 27 °C. Convert: V = 500 ÷ 1 000 000 = 5.00 × 10−4 m3, p = 100 000 Pa, T = 300 K. n = (100 000 × 5.00 × 10−4) ÷ (8.31 × 300) = 50 ÷ 2493 = 0.0201 mol. Then Mr = mass ÷ n = 0.80 ÷ 0.0201 = 39.9, so the gas is argon, Mr = 40.
Worked example 3: find the volume. What is the volume of 0.50 mol of gas at 273 K and 101 325 Pa? V = nRT ÷ p = (0.50 × 8.31 × 273) ÷ 101 325 = 1134.3 ÷ 101 325 = 0.0112 m3 = 11.2 dm3. That is half of the 22.4 dm3 molar volume at stp, as expected for half a mole.

Use the calculator below to check your own working. Choose the quantity to find, type in the other three in the units shown, and read the full working.

Try it · Ideal gas calculator

Pick what to find. The calculator converts the units for you and shows each step.

Activity 10 · Tap to open: spot the unit trap

Open every card to complete this activity.

Tap a card

Open every card to complete this activity.

Real gases and ideal gases. The equation describes an ideal gas, an imaginary gas that follows it exactly. An ideal gas has particles that take up no volume, exert no forces on each other, and collide elastically, meaning with no loss of kinetic energy. Real gases are close to this, but not exactly. Real particles have a small volume, and attractive forces between them become important when the particles are close together. A real gas behaves most like an ideal gas at high temperature and low pressure, when the particles are far apart and moving fast. It deviates most at low temperature and high pressure, near the point where it would turn into a liquid. Small molecules with weak attractions, such as helium and hydrogen, behave most ideally. Gases such as ammonia, with stronger attractions, deviate more.

Activity 11 · Close to ideal or far from ideal?

Tap a condition, then tap the box that says how the real gas behaves.

✅ Close to ideal

particles far apart, weak forces

⚠️ Far from ideal

particles close, strong forces
Activity 12 · Ideal gas equation check

Choose the best answer.

📝

In the exam roomTwo exam-style questions with mark schemes

Answer on paper first, then compare with the mark scheme. Use R = 8.31 J K−1 mol−1 where needed.

Question 1 (6 marks). Kofi traps 80 cm3 of air in a gas syringe at a pressure of 100 kPa. He pushes the plunger in slowly so that the volume becomes 20 cm3, and the temperature stays the same. (a) Calculate the new pressure of the air. [2] (b) Explain, using ideas about particles, why the pressure increases. [3] (c) State one other quantity that must be kept constant for your calculation to be valid. [1]

Mark scheme

(a) Use of p1V1 = p2V2, so 100 × 80 = p2 × 20 [1]. p2 = 400 kPa [1].

(b) The temperature is constant, so the particles keep the same average speed (kinetic energy) [1]. The particles are in a smaller volume, so they are closer to the walls and hit the walls more often [1]. More collisions per second on each unit area of wall means a higher pressure [1].

(c) The mass (amount) of gas, so no air leaks out of the syringe [1].

Why marks are gained: you wrote the law before substituting, kept the units the same on both sides, linked the pressure rise to the frequency of collisions with the walls, and stated that the speed stays the same.

Why marks are lost: saying the particles move faster or get bigger when squashed, writing that the particles collide with each other more instead of with the walls, giving 25 kPa from dividing the wrong way round, or forgetting the units.

Question 2 (7 marks). Adaeze collects 1.42 g of a gas in a gas syringe. At 100 kPa and 20 °C the gas occupies 487 cm3. (a) Convert the pressure, volume and temperature into units suitable for use with R = 8.31 J K−1 mol−1. [3] (b) Calculate the amount of gas in moles. [2] (c) Calculate the relative molecular mass of the gas. [1] (d) The gas is a diatomic element. Suggest its formula. [1]

Mark scheme

(a) T = 20 + 273 = 293 K [1]. V = 487 ÷ 1 000 000 = 4.87 × 10−4 m3 [1]. p = 100 × 1000 = 100 000 Pa [1].

(b) n = pV ÷ RT = (100 000 × 4.87 × 10−4) ÷ (8.31 × 293) [1]. n = 0.0200 mol [1].

(c) Mr = 1.42 ÷ 0.0200 = 71 [1].

(d) Cl2 [1].

Why marks are gained: you converted all three quantities before substituting, rearranged to n = pV ÷ RT, and used mass ÷ moles for the relative molecular mass. A diatomic element with Mr = 71 is chlorine, since 2 × 35.5 = 71.

Why marks are lost: using 20 °C instead of 293 K, dividing the volume by 1000 instead of 1 000 000, leaving the pressure in kPa with the volume in m3, or giving an answer of 71 g without noting that relative molecular mass has no unit.

✅

CheckTest everything from this lesson

Activity 13 · Mixed check

Take your time and read each option.

Activity 14 · Final typing round

Type one word or number.

🃏

Flashcards23 cards that test only today's lesson

Tap the card to turn it over. Choose Got it only if you could have said the answer aloud. Use the arrow keys to move.

🎉 Lesson done?

Back to the top