Boyle's law: pressure and volume of gases

Boyle's law: at constant temperature, gas pressure and volume are inversely proportional. Syringes, pumps, and P1V1 = P2V2 worked examples.

Quick answer

Boyle's law says that at constant temperature, the pressure and volume of a fixed amount of gas are inversely proportional: squeeze the volume down and the pressure climbs by the same factor.

P1V1=P2V2P_1V_1 = P_2V_2

Example: Push a syringe plunger from the 10 mL mark to the 5 mL mark with the tip sealed, and the trapped air's pressure doubles, from 1.0 atm to 2.0 atm.

What you will learn

  • State Boyle's law and the condition under which it holds.
  • Use P1V1 = P2V2 to solve pressure-volume problems.
  • Explain the inverse relationship using particle collisions.
  • Recognize when a changing temperature forces you beyond Boyle's law.

The syringe experiment: pressure times volume is constant

The cleanest way to meet Boyle's law is a syringe with its tip sealed. The trapped air cannot escape and, if you push slowly, it stays at room temperature. Push the plunger in and the volume shrinks; the pressure gauge climbs. Pull the plunger out and the volume grows; the pressure falls. Every push-pull pair obeys one rule:

P1V1=P2V2P_1V_1 = P_2V_2

Pressure times volume is constant for a fixed amount of gas at fixed temperature. This is an inverse proportion: multiply the pressure by some factor and the volume divides by that same factor.

A worked example: the sealed syringe holds 10.0 mL of air at 1.00 atm. Push the plunger to the 4.0 mL mark. Then P2=P1V1/V2=(1.00×10.0)/4.0=2.50P_2 = P_1V_1/V_2 = (1.00 \times 10.0)/4.0 = 2.50 atm. Halving the volume would exactly double the pressure; cutting it to 40 percent multiplies the pressure by 2.5. The arithmetic is simple because the relationship is simple.

Why it works: particles hitting walls more often

Kinetic molecular theory explains why the product stays constant. Gas pressure is the rate of particle collisions with the walls. Shrink the container and each particle reaches a wall sooner, so collisions per second rise. Shrink the volume by half and the collision rate doubles, so the pressure doubles. Nothing about the particles' speed changed, which is exactly what 'constant temperature' guarantees.

This particle picture also warns you about the law's limit. Slam the plunger down fast and the gas heats up: the work of compression becomes extra particle speed. The simple P1V1=P2V2P_1V_1 = P_2V_2 relation then fails until the gas cools back to its starting temperature. Boyle's law is an isothermal law, a constant-temperature law, and fast real-world compressions are not isothermal.

A worked example with a trap: a pump compresses 500 mL of air at 1.00 atm down to 100 mL, and a student computes P2=(1.00×500)/100=5.00P_2 = (1.00 \times 500)/100 = 5.00 atm. That answer is correct only if the air returns to room temperature. Measured immediately after a fast squeeze, the pressure reads noticeably higher because the gas is hotter, a preview of the combined gas law.

Solving P1V1 = P2V2 problems

Boyle's-law problems follow a four-step routine that never changes:

  1. List the knowns: P1P_1, V1V_1, and whichever of P2P_2 or V2V_2 is given.
  2. Check units: the two pressures must match each other and the two volumes must match each other, but pressure and volume need not share units.
  3. Solve the equation for the unknown: P2=P1V1/V2P_2 = P_1V_1/V_2 or V2=P1V1/P2V_2 = P_1V_1/P_2.
  4. Sanity-check with the inverse relationship: if pressure went up, volume must have gone down.

A worked example: a scuba tank holds 12.0 L of air at 200 atm. The diver breathes it down until the tank pressure reads 50 atm, at roughly constant temperature. The air consumed, measured at surface pressure (1.00 atm), is V2=P1V1/P2=(200×12.0)/1.00=2400V_2 = P_1V_1/P_2 = (200 \times 12.0)/1.00 = 2400 L at the start and (50×12.0)/1.00=600(50 \times 12.0)/1.00 = 600 L at the end. The diver used 2400−600=18002400 - 600 = 1800 L of surface-equivalent air. Dive computers run exactly this arithmetic to estimate remaining air time.

Compression in the real world

The inverse curve appears wherever gases are squeezed at steady temperature. Syringes and suction devices meter doses by Boyle's law: drawing the plunger back expands the barrel volume and drops the pressure, pulling liquid in. Pneumatic tools store energy in compressed air tanks, releasing it through valves to drive nails and wrenches.

Weather gives a gentler example. A bubble of air rising through the atmosphere meets lower and lower surrounding pressure, so it expands and its internal pressure falls, following Boyle's law as long as the temperature change stays small.

A worked example from everyday life: a sealed 250 mL bag of chips at sea level (1.00 atm) rides to a mountain cabin where the outside pressure is 0.85 atm. The bag's internal air expands until its pressure matches outside: V2=P1V1/P2=(1.00×250)/0.85≈294V_2 = P_1V_1/P_2 = (1.00 \times 250)/0.85 \approx 294 mL. The bag puffs up by about 44 mL, nearly a fifth larger, which is why chip bags look ready to burst at altitude.

Limits and the gauge-pressure trap

Boyle's law has sharp edges. It assumes constant temperature, a fixed amount of gas (no leaks, no added gas), and pressures low enough that the gas behaves ideally.

Real deviations show up at the extremes. Near condensation, attractions between particles make the pressure lower than Boyle predicts. At very high pressure, the particles' own volume eats a noticeable share of the container, making the pressure higher than predicted. These are the failures that the van der Waals equation later corrects.

The most common student error is subtler: using gauge pressure instead of absolute pressure. A tire gauge reading 0 psi does not mean zero pressure; it means the tire matches the atmosphere. Boyle's-law ratios need absolute pressures, so add 1 atm (14.7 psi) to every gauge reading first. A worked check: doubling a gauge reading from 15 psi to 30 psi is not a doubling of absolute pressure, which goes from about 29.7 to 44.7 psia, a factor of only 1.5.

Common mistakes

✗ Doubling the pressure doubles the volume.

Pressure and volume move in opposite directions. Doubling the pressure halves the volume, because their product, not their ratio, stays constant.

✗ Boyle's law works at any temperature change.

The law holds only at constant temperature. Compressing a gas usually warms it, so real compressions need the combined gas law unless the gas is allowed to cool back down.

✗ The law applies to liquids too.

Liquids barely compress, so pressure changes produce almost no volume change. Boyle's law is a gas-only relationship, rooted in the empty space between gas particles.

Real-world applications

  • Designing syringes and medical suction devices

  • Sizing scuba tanks for a planned dive depth

  • Predicting how a sealed bag of chips behaves on a flight

  • Engineering pneumatic cylinders in factory automation

Frequently asked questions

What does a graph of Boyle's law look like?

Plot pressure against volume and you get a hyperbola; plot pressure against 1/V and you get a straight line through the origin. That straight line is the classic experimental fingerprint of Boyle's law.

Why do sealed snack bags puff up on airplanes?

The sealed air warms and expands during the climb as cabin pressure falls, so the bag puffs up. On descent it shrinks again. It is Boyle's law plus a temperature change, exactly the kind of problem the combined gas law handles.

If pressure doesn't change, what happens to volume?

At constant temperature the product PV stays fixed, so if the pressure is the same before and after, the volume must be too. Nothing about the amount or temperature changed, so there is nothing to drive a volume change.

Why does a bicycle pump get hot when I compress air quickly?

Because the temperature was not constant: pushing the plunger fast compresses the gas adiabatically and heats it. Let the pump cool back to room temperature and the pressure settles at the Boyle's-law value.