Ideal gas equation
Squeeze a bicycle pump shut and the air inside pushes back harder. Heat a sealed can and it may burst. Both are the same physics: pressure, volume, and temperature of a gas are locked together by one compact equation. The ideal gas equation, , is the single relation that lets you predict any one of pressure, volume, amount, or temperature once the other three are known — for a gas that behaves "ideally," with molecules so small and so weakly interacting that only their collisions with the walls matter. This equation is not a theorem proved from first principles; it is an experimental law, built by combining three separately-discovered proportionalities — Boyle's, Charles's, and Avogadro's laws. Kinetic theory later shows that molecular collisions are consistent with it, but itself stands on measurement. Here we build it from its three ingredients, work two numerical problems exactly like the ones you will face in exams, and flag the traps that cost the most marks.
For an ideal gas, pressure times volume equals the amount of gas times the universal gas constant times the absolute temperature, , an experimental law obtained by combining Boyle's, Charles's, and Avogadro's laws, never a result derived from kinetic theory.
The core idea
An ideal gas is an idealised model: point-like molecules with negligible volume, no forces between them except during instantaneous elastic collisions. Real gases such as hydrogen or helium approach this behaviour closely at low pressure and moderate-to-high temperature. Three separate experimental laws describe how such a gas behaves when one variable is held fixed.
Boyle's law (constant temperature, constant amount): pressure and volume are inversely proportional,
Charles's law (constant pressure, constant amount): volume is directly proportional to absolute temperature,
Avogadro's law (same , , ): equal volumes of any gas contain equal numbers of molecules, so at fixed and , volume is proportional to the amount of gas, . Multiplying these three proportionalities together gives the ideal gas equation, also called the equation of state of a perfect gas:
where: is the pressure (Pa), is the volume (), is the number of moles of gas, is the absolute temperature in kelvin, and is the universal gas constant, the same value for every ideal gas regardless of its identity.
Why absolute temperature. The Kelvin scale is built so that is the point at which an ideal gas would, in principle, reach zero pressure and volume. Boyle's and Charles's laws only hold as clean proportionalities when temperature is measured on this absolute scale, so Celsius values must always be converted first:
Substituting Celsius directly into silently breaks the proportionality and gives a wrong answer, even though the arithmetic looks fine.
For a fixed amount of gas ( constant) taken from one state to another , the quantity stays constant, so a very useful combined form follows directly from :
This combined gas law is the workhorse for "before and after" problems where the amount of gas does not change.
Building the equation of state
The goal is to combine Boyle's law, Charles's law, and Avogadro's law into the single relation , using only the rule that if a quantity is separately proportional to several variables, it is jointly proportional to their product, and then fixing the proportionality constant by naming it .
Step 1. State the three laws as proportionalities with everything else held fixed. Boyle: (at fixed , ). Charles: (at fixed , ). Avogadro: (at fixed , ). Each law isolates how responds to one variable while the other two are frozen.
Step 2. Combine the three proportionalities into one joint statement. Since is separately proportional to , to , and to , it must be jointly proportional to their product:
This step is the entire physical content of the combination — no new experiment is needed once you accept that independent proportionalities multiply.
Step 3. Turn the proportionality into an equation by inserting a constant of proportionality, call it :
Experiments (comparing gases at known , , , ) show that has the same numerical value, , for every gas that behaves ideally — this universality is itself an experimental fact, not something the algebra above guarantees on its own.
Step 4. Note what this derivation does not do: it never appeals to molecular collisions, forces, or velocities. Kinetic theory (studied later, in Unit 9) separately derives an expression for pressure from molecular motion, , and that expression can be shown to be consistent with — but itself was established here purely by combining three experimental gas laws.
Worked example
A cylinder contains of an ideal gas at a pressure of and a temperature of . Find the volume of the gas, then find the new pressure if the gas is compressed to half this volume while its temperature is raised to .
Step 1. Convert temperature to kelvin: .
Step 2. Apply the ideal gas equation to find the initial volume:
That is litres, using litres.
Step 3. Now compress the same amount of gas to and heat it to . Since is unchanged, use the combined gas law:
Step 4. Substitute, noting :
Final answer: the initial volume is , and after halving the volume and heating to the pressure rises to — more than double, because compression and heating both push pressure up together.
Competitive stretch
If instead the gas were allowed to expand until pressure returned to its original while temperature stayed at , the new volume follows from directly: , about larger than the original litres — consistent with Charles's law, since only temperature rose at constant pressure.
Common traps
- Forgetting to convert to kelvin. Plugging Celsius values directly into or the combined gas law is the single most common numerical error — always add first.
- Mixing pressure and volume units. With , pressure must be in pascals and volume in . Litres are fine only in the combined form, where volumes appear as a ratio and cancel.
- Treating as derived from kinetic theory. It is the reverse: the equation is experimental, built from Boyle's, Charles's, and Avogadro's laws; kinetic theory is later shown to be consistent with it.
- Confusing moles with mass. If a problem gives mass and molar mass, convert to moles, , before substituting.
Ask the tutor: Want to practice picking between and the combined gas law across a mix of problems, or see how this equation connects to the kinetic theory of gases covered next?
Why is the ideal gas equation called "experimental" if it can be written as a neat formula?
Because the formula itself was assembled from three separately measured relationships — Boyle's, Charles's, and Avogadro's laws — each discovered by doing experiments on real gases, not by starting from a theoretical model of molecules. The algebra that combines them into is straightforward, but the physical content, that really is proportional to , to , and to , comes from measurement. Kinetic theory later gives a molecular picture consistent with the equation, but that came afterward, as a explanation, not as the origin of the law.
Why can't I just use Celsius temperatures if I am careful with signs?
Because the proportionalities in Boyle's and Charles's laws are proportionalities to absolute temperature, not to whatever number the Celsius scale happens to assign. Doubling the Celsius reading from to does not double the gas's volume at constant pressure, but doubling the kelvin temperature from, say, to does. Kelvin is the scale on which "zero" genuinely means the gas laws' zero, so it is the only scale that makes literally true.
When should I use pV equals nRT directly versus the combined gas law?
Use whenever you know, or need to find, the actual amount of gas — for instance, finding volume given moles, pressure, and temperature. Use the combined form whenever the amount of gas is fixed and you are comparing two states of the same sample, because and cancel out and you never need to know at all. Reading the question for "the same gas is compressed/heated" versus "how much gas is present" tells you which form to reach for.