3.1.2.3 - The Ideal Gas Equation
The ideal gas equation links together four measurable properties of a gas: pressure, volume, temperature, and amount of substance. It turns a gas sample into something you can calculate with, provided each value is written in the correct unit. This lesson focuses on using accurately, with all values in SI units.
What the equation means
The ideal gas equation is a single equation that connects pressure, volume, temperature, and moles for a gas:
Ideal gas equation
The ideal gas equation is , which relates the pressure, volume, temperature, and amount in moles of a gas when the variables are written in SI units.
The symbolic form is short, but each symbol must be interpreted with care.
Ideal Gas Equation
In this equation:
- = pressure in pascals, Pa
- = volume in cubic metres,
- = amount of gas in moles, mol
- = gas constant
- = temperature in kelvin, K
One useful boundary to remember is that you do not need to memorise the value of . If a calculation needs it, the value will be given.
This equation is especially useful because it gives a good model for many gases, especially at low pressure and at temperatures well above condensation, provided you use the correct units and substitute carefully. It is still an idealised model, so you should not treat it as exact for every gas under all conditions.
The SI unit conversions that matter
Most mistakes with the ideal gas equation happen before the calculation even begins. The algebra may be right, but if the values are not in SI units, the final answer will be wrong.
SI units
SI units are the standard scientific units used in calculations. For the ideal gas equation, these are Pa, , mol, and K.
The essential unit conversions are:
- pressure: kPa to Pa by multiplying by 1000
- volume: to by dividing by 1000
- volume: to by multiplying by
- temperature: °C to K by adding 273
These unit choices are not arbitrary. is usually given in , and , so using Pa, , mol, and K keeps the units on both sides of consistent.
Worked example:
A gas has pressure , volume , and temperature .
The diagram below summarises the unit conversions you should check before substituting values into .
[DIAGRAM: asset_name: 1.2.3 - The Ideal Gas Equation - Diagram 1; asset_slug: 1.2.3 - The Ideal Gas Equation - Diagram 1; recommended_method: retained_png; description: Converting pressure, volume and temperature into the SI units required by the ideal gas equation.]

The best habit is to rewrite every value in SI units before rearranging the equation or reaching for a calculator.
Finding the number of moles
A very common use of the equation is to calculate the amount of gas present. To do that, rearrange the equation so that is the subject:
This is a good place to work methodically:
- convert all values into SI units
- write the rearranged equation
- substitute with units
- give the answer to a sensible number of significant figures
Worked example:
Calculate the number of moles of gas in at and .
First convert the units:
Now substitute into the equation:
The step students most often miss is the volume conversion. is not ; it is .
This reflection matters because the chemistry is usually simple here, but one careless unit slip changes the whole answer.
Rearranging for volume or pressure
The same equation can be rearranged for other quantities. For example:
and
This means the ideal gas equation can be used to find:
- the volume occupied by a known amount of gas
- the pressure exerted by a known amount of gas
- the number of moles present in a measured sample
For a fixed amount of gas, if pressure stays the same, increasing temperature increases volume. If volume stays the same, increasing temperature increases pressure. The equation helps you calculate those changes rather than just describing them.
Worked example:
Find the volume of of gas at and .
So the gas occupies , which is .
If pressure is the unknown, rearrange to and check the volume is in before substituting.
Worked example:
Find the pressure of of gas at in .
First convert the volume:
Now substitute into the equation:
So the pressure is , which is about .
In the ideal gas equation, two habits matter most: choose the correct rearrangement and make sure every substituted value is in SI units.
You can treat that as a checklist to run through before pressing .
Using gas measurements to find a molar mass
A known mass of a volatile liquid can be vaporised in a suitable heated gas apparatus. Measure the mass that vaporised, the volume occupied by its vapour, its temperature and pressure. The sample must be fully vaporised, with no leaks or unaccounted air; the apparatus and heating method must suit the substance and its hazards. A hot-water bath may replace a flame for a flammable liquid.
Calculate , then using mass in grams. For example, 0.250 g of vapour occupying at 373 K and 100 kPa gives , using . Its molar mass is . A measured volume that includes trapped air would make the calculated amount too large and the inferred molar mass too small.
For a fixed amount of gas, the equation also gives . The earlier proportional statements about volume or pressure assume this amount stays constant; a leaking container would break that assumption.
These calculations are usually short, but they reward disciplined method. If you choose the correct rearrangement and keep the units visible throughout, the result is usually very dependable.
For a volatile liquid, the gas volume is the increase in the syringe reading, and the mass delivered is the decrease in the delivery syringe's mass. Cap that syringe between measurements to limit evaporation. If the delivered mass is and each balance reading has uncertainty , the mass difference has uncertainty , or 0.25%. For , add percentage uncertainties in the measured factors to estimate the maximum percentage uncertainty in . If these total 1.5% and , the estimated range is , or 78.8–81.2 . An uncertainty already stated for a difference must not be doubled again.