Gas laws are a set of rules that describe how gases behave when you change their pressure, volume, temperature, or amount. They’re built on a simple idea: gas particles are constantly moving, bouncing off each other and the walls of their container, and the relationships between pressure, volume, and temperature follow predictable mathematical patterns. These laws combine into one master equation, PV = nRT, known as the Ideal Gas Law, which lets you predict what a gas will do under almost any set of conditions.
Why Gases Follow Predictable Rules
Gas laws work because of how gas particles actually behave at the molecular level. A framework called the Kinetic Molecular Theory lays out the key assumptions. Gas particles are tiny compared to the space between them, so most of a gas’s volume is empty space. They move in straight lines at random until they hit another particle or the container wall. Those collisions are perfectly elastic, meaning no energy is lost in the bounce. There’s no attraction or repulsion between particles. And the average speed of those particles depends only on temperature: hotter gas means faster particles.
These assumptions are simplified, but they’re accurate enough to explain why squeezing a gas raises its pressure, why heating it makes it expand, and why the laws described below hold true under most everyday conditions.
The Four Individual Gas Laws
Each law isolates one relationship while holding everything else constant.
Boyle’s Law connects pressure and volume. If you shrink the container (decrease volume), pressure goes up. If you expand it, pressure drops. The relationship is inverse: double the pressure on a gas and its volume cuts in half, as long as temperature and the amount of gas stay the same.
Charles’s Law connects volume and temperature. As temperature rises, gas expands. As it drops, gas contracts. The relationship is directly proportional, but only when temperature is measured on the Kelvin scale (where zero represents the absolute absence of heat energy). At constant pressure, doubling the Kelvin temperature doubles the volume.
Gay-Lussac’s Law connects pressure and temperature. Heat a sealed, rigid container and the pressure inside climbs. This is also a direct proportion on the Kelvin scale: at constant volume, doubling the temperature doubles the pressure.
Avogadro’s Law connects the amount of gas and volume. Add more gas molecules to a flexible container and it expands. Remove some and it shrinks. At constant temperature and pressure, the volume is directly proportional to the number of molecules (measured in moles).
The Ideal Gas Law: One Equation for Everything
Rather than remembering four separate relationships, you can use PV = nRT. Each variable stands for one property of the gas:
- P is pressure (often measured in atmospheres or pascals)
- V is volume (in liters or cubic meters)
- n is the amount of gas in moles
- R is the gas constant, a fixed number that bridges the units (8.314 joules per mole per kelvin in SI units)
- T is temperature in kelvins
If you know any three of the four variables (P, V, n, T), you can solve for the fourth. Every individual gas law is just a simplified version of this equation with one or two variables held constant. Boyle’s Law, for example, is what PV = nRT looks like when n and T don’t change.
At standard temperature and pressure (0 °C and 1 atmosphere, as defined by IUPAC), one mole of an ideal gas occupies about 22.4 liters. That benchmark is useful for quick calculations and unit conversions.
Dalton’s Law: Mixtures of Gases
The laws above describe a single gas, but most real situations involve mixtures. The air you breathe is roughly 78% nitrogen, 21% oxygen, and 1% other gases. Dalton’s Law of Partial Pressures handles this by stating that each gas in a mixture exerts its own pressure independently, as if the other gases weren’t there. The total pressure is simply the sum of those individual (partial) pressures:
P_total = P_gas1 + P_gas2 + P_gas3 …
This matters in practical contexts like scuba diving. At depth, the total pressure on a diver increases, which raises the partial pressure of every gas in the breathing mixture. The large partial pressure of nitrogen at depth is one reason nitrogen accumulates in a diver’s tissues, contributing to nitrogen narcosis.
Graham’s Law: How Fast Gases Move
Lighter gas molecules move faster than heavier ones at the same temperature. Graham’s Law puts a number on this: the rate at which a gas escapes through a tiny opening (effusion) is inversely proportional to the square root of its molar mass. In plain terms, a gas that’s four times heavier escapes half as fast. Helium, being very light, effuses much faster than a heavier molecule like ethylene oxide. This is why a helium balloon deflates faster than one filled with regular air: helium atoms are small and fast enough to slip through the balloon’s pores more quickly.
When Gas Laws Break Down
The Ideal Gas Law assumes particles have no volume and no attraction to each other. Those assumptions hold well at moderate temperatures and low pressures, where particles are spread far apart and moving fast. But at high pressures, gas molecules get crammed close together and their physical size starts to matter. At low temperatures, molecules slow down enough that attractive forces between them become significant. Under those conditions, real gases deviate noticeably from what PV = nRT predicts.
The Van der Waals equation accounts for both problems. It modifies the ideal gas equation with two correction terms: one (called “a”) adds back the effect of intermolecular attraction, and another (called “b”) subtracts the actual volume the molecules occupy from the total container volume. Different gases have different values for a and b depending on how strongly their molecules attract each other and how large they are. At very high pressures, the volume of a real gas approaches b rather than shrinking toward zero as the ideal law would suggest.
Gas Laws in Everyday Life
These relationships show up constantly outside the chemistry classroom. When you pump air into a bicycle tire, you’re compressing gas into a smaller volume, raising pressure exactly as Boyle’s Law predicts. On a hot day, the air inside that tire expands, and the pressure gauge reads higher, following Gay-Lussac’s Law.
In scuba diving, Boyle’s Law governs what happens to the air in your lungs during ascent. As you rise and water pressure decreases, the gas in your lungs expands. If you hold your breath, that expanding air can rupture tissue in the lungs, ears, or sinuses. This is why divers are trained to exhale continuously while ascending.
Charles’s Law explains why inflatable gear like surface floats and buoyancy compensators change size as a diver passes through thermoclines (layers of water at different temperatures). Warmer water increases the gas volume inside, adding buoyancy. Colder water shrinks it.
In aviation, cabin pressurization exists because atmospheric pressure drops rapidly with altitude. At cruising altitude, the outside air pressure is too low for comfortable breathing, so aircraft cabins are pressurized to simulate a much lower altitude. The entire engineering challenge is a direct application of the relationship between pressure, volume, and temperature described by these laws.

