How Boyle's law explains gas behavior
Boyle’s law states that for a fixed amount of gas at constant temperature, pressure and volume are inversely proportional. As one increases, the other decreases by the same factor. The formula is:
\[P_1 V_1 = P_2 V_2\]Where P₁ and V₁ are the initial pressure and volume, and P₂ and V₂ are the pressure and volume after a change. The units of pressure and volume must be consistent on both sides, but the formula imposes no restriction on which units you use, as long as both pressures share the same unit and both volumes share the same unit.
Robert Boyle published this relationship in 1662 after conducting experiments with a J-shaped tube sealed at one end. By adding mercury to the open end and measuring how the trapped gas compressed, he established that pressure × volume stays constant for a given sample of gas at constant temperature.
Worked example: compressing a gas
A syringe contains 10 L of gas at 1 atm (standard atmospheric pressure). The plunger is pushed in until the volume is 5 L. What is the new pressure?
Rearrange the formula to solve for P₂:
\[P_2 = \frac{P_1 V_1}{V_2} = \frac{1 \, \text{atm} \times 10 \, \text{L}}{5 \, \text{L}} = 2 \, \text{atm}\]Halving the volume doubles the pressure. The product P × V remains 10 atm·L throughout.
Now suppose you push the plunger further to 2 L:
\[P_2 = \frac{1 \times 10}{2} = 5 \, \text{atm}\]And at 1 L:
\[P_2 = \frac{1 \times 10}{1} = 10 \, \text{atm}\]Each time the volume halves, the pressure doubles. This inverse relationship holds as long as temperature remains constant and the gas behaves ideally.
The P-V relationship as a table
For an initial state of 10 L at 1 atm, these pressure-volume pairs all satisfy Boyle’s law (P × V = 10):
| Volume (L) | Pressure (atm) | P × V |
|---|---|---|
| 10.0 | 1.00 | 10 |
| 8.0 | 1.25 | 10 |
| 5.0 | 2.00 | 10 |
| 4.0 | 2.50 | 10 |
| 2.5 | 4.00 | 10 |
| 2.0 | 5.00 | 10 |
| 1.0 | 10.00 | 10 |
| 0.5 | 20.00 | 10 |
The pressure-volume product is constant at 10 atm·L across every row. A graph of P vs. V traces a hyperbola. Doubling pressure halves volume; tripling pressure reduces volume to one-third of the original.
Scuba diving: pressure doubles every 10 meters
Boyle’s law has direct consequences for scuba divers. Water pressure increases by approximately 1 atm for every 10 meters of depth. At the surface, total pressure is 1 atm. At 10 m, it is 2 atm. At 30 m, it is 4 atm.
A diver who takes a breath at the surface (1 atm, roughly 6 L of lung volume) and descends to 30 m without exhaling would have their lung volume compressed to:
\[V_2 = \frac{P_1 V_1}{P_2} = \frac{1 \times 6}{4} = 1.5 \, \text{L}\]That compression does not happen in practice because divers breathe compressed air from their tanks to equalize pressure at depth. But the inverse is dangerous: a diver who holds their breath while ascending from 30 m to the surface causes their lung volume to expand from 1.5 L back toward 6 L. If the expansion is too rapid, it can cause pulmonary barotrauma. This is why the first rule of scuba diving is to breathe continuously and never hold your breath while ascending.
Air spaces in the body, including the sinuses and middle ear, also follow Boyle’s law during descent. Equalization techniques (pinching the nose and gently exhaling) are required to avoid pressure injuries in those cavities.
Syringes and breathing
A syringe works by Boyle’s law. Drawing back the plunger increases the volume inside the barrel, which decreases the pressure below atmospheric pressure. Fluid flows in from high pressure (outside) to low pressure (inside) to equalize. Pushing the plunger in reverses this: volume decreases, pressure rises above atmospheric, and fluid is expelled.
Human breathing follows the same principle. The diaphragm and intercostal muscles expand the chest cavity during inhalation, increasing lung volume and decreasing lung pressure below atmospheric. Air flows in. Exhalation contracts the chest cavity, increasing pressure, and air flows out. The lungs do not pump air; they change volume, and Boyle’s law moves the air.
A typical adult lung capacity is about 6 L total, with a tidal volume (normal breath) of roughly 0.5 L. During a normal breath in, lung pressure drops by only about 1 to 3 mmHg below atmospheric pressure. That small pressure difference is enough to move air because the airway resistance is low.
Limitations of Boyle’s law
Boyle’s law applies to ideal gases: gases in which molecules have no volume themselves and no intermolecular attractions. Real gases deviate from ideal behavior under two conditions: high pressure and low temperature.
At very high pressures, the volume of the gas molecules themselves becomes a significant fraction of the total volume. The assumption that molecules are point-like breaks down, and the actual volume is larger than Boyle’s law predicts.
At low temperatures, intermolecular attractive forces become significant. Molecules slow down and begin to interact with each other, which reduces the pressure below what Boyle’s law would predict. Near the boiling point of a gas (the temperature at which it liquefies), Boyle’s law fails entirely.
Gases like hydrogen, helium, and nitrogen follow Boyle’s law closely at room temperature and moderate pressures. Gases with stronger intermolecular forces, such as carbon dioxide or water vapor, deviate more noticeably. The van der Waals equation of state provides corrections for both molecular volume and intermolecular attractions, but Boyle’s law remains accurate enough for most practical applications at everyday conditions.
Connection to the ideal gas law
Boyle’s law is one component of the ideal gas law, which combines three separate gas laws:
\[PV = nRT\]Where P is pressure, V is volume, n is the number of moles of gas, R is the ideal gas constant (8.314 J mol⁻¹ K⁻¹), and T is temperature in kelvin.
If temperature T and the amount of gas n are both held constant, then nRT is a constant, and the equation reduces to:
\[PV = \text{constant}\]Which is exactly Boyle’s law. Boyle’s law is the ideal gas law applied to a constant-temperature, constant-amount process (called an isothermal process).
Similarly, Charles’s law describes constant-pressure behavior (V ∝ T), and Gay-Lussac’s law describes constant-volume behavior (P ∝ T). The ideal gas law unifies all three. The ideal gas law calculator solves for any one variable when the other three are known, which covers Boyle’s law, Charles’s law, and combined gas law problems.
Solving problems with mixed units
Pressure can be expressed in atmospheres, pascals, millimeters of mercury (mmHg), pounds per square inch (psi), or bar. Volume can be in liters, milliliters, or cubic meters. Boyle’s law works with any consistent unit, but you must not mix units within the same calculation.
If P₁ is in atm and P₂ is in psi, convert one before applying P₁V₁ = P₂V₂. Common conversions: 1 atm = 101,325 Pa = 760 mmHg = 14.696 psi = 1.01325 bar.
For a gas at 2.5 atm and 4 L that expands to 10 L:
\[P_2 = \frac{2.5 \times 4}{10} = 1.0 \, \text{atm}\]If you need the answer in psi: 1.0 atm × 14.696 = 14.7 psi.
The arithmetic is simple once the units are consistent. Most errors in Boyle’s law problems come from mixing pressure units mid-calculation or forgetting to hold temperature constant.
CalculateY