Four dials, one sentence
Stitch Boyle, Charles and Avogadro together and you get a single line that governs all four gas dials at once. It is the ideal gas law, and it is short enough to tattoo on a finger: PV = nRT. Pressure times volume equals the amount of gas times a constant times the temperature. Memorise this one sentence and you carry the behaviour of every ideal gas in your pocket.
Let's name the players. P is pressure, V is volume, n is the number of moles, T is the absolute temperature in kelvin, and R is the gas constant — a fixed number, the same for every gas, that we'll meet properly in a moment. An equation like this, which ties together the state of a substance, is called an equation of state; PV = nRT is the simplest and most famous of them all.
Where R comes from
The gas constant R isn't a fundamental law of nature so much as a conversion factor — the price of measuring pressure, volume, amount and temperature in our chosen human units. It stitches them together so the equation balances. Its value is 8.314 joules per mole per kelvin when you use pascals, cubic metres, moles and kelvin. Other unit choices give R a different-looking number, but the same physics.
Where did 8.314 come from? Experiment. People measured P, V, n and T for real, dilute gases, plugged them into PV/(nT), and found the same number popping out every time, for every gas. That universality — helium, oxygen, methane, all giving the identical R — is the real evidence that the ideal gas picture is onto something deep.
Using it: a worked example
Suppose you have 2.0 moles of an ideal gas in a 10-litre container at 300 K, and you want its pressure. The recipe is always the same: list what you know, pick R in matching units, rearrange the equation, and substitute.
- Write down what you have: n = 2.0 mol, V = 10 L, T = 300 K (already in kelvin — good).
- Choose R to match the units. Litres and (soon) atmospheres → R = 0.0821 L·atm/(mol·K).
- Rearrange PV = nRT to solve for pressure: P = nRT / V.
- Substitute: P = (2.0 × 0.0821 × 300) / 10 ≈ 4.9 atm.
That's it — about five atmospheres. The same four steps solve any single-state problem: you can ask for the volume, the temperature, or how many moles are present, just by rearranging the same equation to isolate the unknown.
Before and after: the combined trick
Many real questions don't ask for one snapshot — they ask how a gas changes. A weather balloon rises; the pressure and temperature both drop; what happens to its volume? For these, you don't even need R. Because PV/(nRT) = 1 always, the quantity PV/(nT) is the same before and after any change, so you can write P₁V₁ / (n₁T₁) = P₂V₂ / (n₂T₂).
If the amount of gas doesn't change (no leaks), n cancels from both sides, leaving the handy P₁V₁/T₁ = P₂V₂/T₂. Cross out whatever is held constant and you instantly recover Boyle, Charles, or Avogadro. One equation, endless puzzles.
Honest limits
Because PV = nRT was built on the ideal gas cartoon, it inherits the cartoon's assumptions: particles with no size, no attractions. So it works best when a gas is hot and dilute — particles far apart, moving fast, barely noticing each other. It starts to slip when a gas is cold or highly compressed, exactly when the particles are crowded enough to feel their own size and their mutual pulls. That's a real effect, and the later guide on real gases is devoted to it.