Gas laws connect the pressure, volume, temperature and amount of a gas. These notes cover the four gas laws, the ideal-gas equation, partial pressures and the reasons real gases depart from ideal behaviour.

The Four Gas Laws
The following relationships describe ideal gases. Each applies only when the stated variables are held constant. Combining them gives the ideal-gas equation, pV = nRT.
| Gas Law | Relationship and Fixed Variables | Graphs |
|---|---|---|
| Avogadro’s Law | V ∝ n at constant pressure and temperature. Equal volumes of ideal gases at the same temperature and pressure contain equal numbers of particles. | ![]() |
| Boyle’s Law | p ∝ 1/V, or pV = constant, at constant temperature and amount. Increasing pressure reduces volume. | ![]() ![]() |
| Charles’s Law | V ∝ T at constant pressure and amount. T is absolute temperature in kelvin. | ![]() ![]() |
| Pressure Law (Gay-Lussac’s Law) | p ∝ T at constant volume and amount. Heating increases pressure when the gas is confined to a fixed volume. | ![]() |
Use kelvin temperature in proportionalities and gas-law calculations. The OpenStax explanation of the gas laws shows how the relationships combine.
The Ideal Gas Equation and Units
pV = nRT
Here, p is pressure, V is volume, n is the amount of gas and T is absolute temperature. R is the molar gas constant. For these worked calculations, use R = 8.31 J mol−1 K−1, a rounded value of the NIST molar gas constant.
| Quantity | SI Unit | Useful Conversions |
|---|---|---|
| Pressure, p | Pascal, Pa | Use absolute pressure. 1 atm = 101 325 Pa; 1 bar = 100 000 Pa; 1 Pa = 1 N m−2. |
| Volume, V | Cubic metre, m3 | 1 dm3 = 10−3 m3; 1 cm3 = 10−6 m3. |
| Amount, n | Mole, mol | Use the amount of gas in moles. |
| Temperature, T | Kelvin, K | T/K = t/°C + 273.15. Adding 273 is a common school-level approximation. Kelvin has no degree symbol. |
Choose units that match R. SI units are convenient with the value above. Other consistent combinations are valid: for example, R = 8.31 kPa dm3 mol−1 K−1 allows pressure in kPa and volume in dm3. Do not mix incompatible units.
The exact Celsius-to-kelvin offset is 273.15, as given in the NIST explanation of temperature units. If a question uses the approximation 273, apply it consistently.
Worked Example 1: Finding Relative Molecular Mass
Question. A gas has a mass of 0.10 g and occupies 83.1 cm3 at a pressure of 1.0 × 105 Pa and a temperature of 27 °C. Calculate its relative molecular mass, Mr.
Convert volume and temperature before substituting into the equation:
V = 83.1 × 10−6 = 8.31 × 10−5 m3
T = 27 + 273.15 = 300.15 K
n = pV/(RT) = (1.0 × 105 × 8.31 × 10−5)/(8.31 × 300.15) ≈ 3.33 × 10−3 mol
M = m/n ≈ 0.10/(3.33 × 10−3) ≈ 30 g mol−1; Mr ≈ 30
Molar mass, M, has units of g mol−1. Relative molecular mass, Mr, has no units.

Dalton’s Law and Partial Pressures
For an ideal mixture of non-reacting gases, the total pressure is the sum of the partial pressures. A gas’s partial pressure is the pressure it would exert alone in the same volume at the same temperature.
ptotal = pA + pB + … = Σpi
xA = nA/ntotal; pA = xAptotal

Worked Example 2: Partial Pressures
Question. A mixture contains 0.5 mol of helium, 2.0 mol of neon and 2.5 mol of argon at a total pressure of 100 kPa. Calculate each gas’s partial pressure.
The total amount is 0.5 + 2.0 + 2.5 = 5.0 mol. Treating the mixture as ideal:
| Gas | Mole Fraction | Partial Pressure |
|---|---|---|
| Helium | 0.5/5.0 = 0.10 | 0.10 × 100 = 10 kPa |
| Neon | 2.0/5.0 = 0.40 | 0.40 × 100 = 40 kPa |
| Argon | 2.5/5.0 = 0.50 | 0.50 × 100 = 50 kPa |
Check: 10 + 40 + 50 = 100 kPa, equal to the total pressure.

Worked Example 3: Connecting Two Flasks
Question. Flask X contains helium at 2 kPa in 1 dm3. Flask Y contains neon at 1 kPa in 2 dm3. Both flasks are at the same temperature. Find the final pressure when they are connected.
Assume ideal gases, no gas loss, unchanged temperature and negligible connecting-tube volume. Each gas fills the combined 3 dm3. Add the initial amounts and use the final total volume:
pfinal = (pXVX + pYVY)/(VX + VY)
pfinal = (2 × 1 + 1 × 2)/(1 + 2) = 4/3 ≈ 1.33 kPa
Consistently using kPa and dm3 is valid in this ratio because the common R and T factors cancel. The final helium and neon partial pressures are each 2/3 kPa.

See OpenStax on gas mixtures and partial pressures for the ideal-mixture relationships.
Ideal and Real Gases
| Feature | Ideal-Gas Model | Real-Gas Behaviour |
|---|---|---|
| Particle Size | Particle volume is negligible compared with the container volume. | Particles occupy finite volume; this becomes important when they are crowded together. |
| Intermolecular Forces | No attractive or repulsive forces act between particles except during collisions. | Intermolecular interactions affect the pressure and volume relationships. |
| Collisions | Collisions are perfectly elastic: total kinetic energy is conserved in a collision. | It is inaccurate to call all real-gas collisions inelastic. Finite size and intermolecular interactions explain the equation-of-state deviations discussed here. |
The kinetic molecular model treats ideal particles as moving randomly and colliding elastically. Real gases are most nearly ideal at low pressure and high temperature.
- High pressure: particles are closer together, so their own volume becomes a more important fraction of the available space.
- Low temperature: particles have less average kinetic energy, making attractive interactions more important relative to their motion. A gas may eventually condense.
Worked Example 4: Comparing Real Gases
Question. Can CH4, Cl2 and HCl be placed in a fixed order of decreasing ideality without stating temperature, pressure or compressibility data?
Answer: the information is insufficient for a universal order. Both molecular size and intermolecular attractions matter, and their effects depend on the conditions.
- CH4 and Cl2 are non-polar. Both have London dispersion interactions. Cl2 has a larger, more polarisable electron cloud than CH4, giving it stronger dispersion interactions.
- HCl is polar. It has dipole–dipole interactions as well as dispersion interactions. Polarity alone does not prove that its total attractions are stronger than those in Cl2.
- Use the same temperature and pressure for a comparison. With compressibility data, the gas whose Z value is closest to 1 is nearest to ideal under those stated conditions.
This corrects the original answer’s fixed ranking. A qualitative discussion of polarity alone cannot establish that order for every temperature and pressure.
Interpreting Real-Gas Deviation Graphs
The compressibility factor, Z, measures departure from the ideal-gas equation:
Z = pV/(nRT) = pVm/(RT)
Vm is molar volume. An ideal gas has Z = 1. At a specified temperature and pressure, compare |Z − 1|: a larger distance from 1 means a larger departure from ideal behaviour.
| Value of Z | Interpretation |
|---|---|
| Z = 1 | The value matches the ideal-gas equation at that condition. In a real gas, different effects can partly cancel. |
| Z < 1 | Negative deviation: attractive interactions often dominate over the finite-volume effect. |
| Z > 1 | Positive deviation: excluded-volume and repulsive effects can dominate, especially at high pressure. |
The Effect of Temperature
At a given pressure, increasing temperature generally reduces the influence of attractive interactions relative to particle motion. The supplied graph illustrates different temperature curves; it does not identify the gas.

The Effect of Intermolecular Forces
Different gases can have different Z values at the same conditions. Attractions can lower the pressure relative to the ideal prediction, while finite-volume and repulsive effects can raise it. The following curves illustrate both signs of deviation.

Exam check: the largest deviation is the largest distance from Z = 1. A curve above the ideal line can deviate just as significantly as one below it. Read the axes and stated conditions before comparing gases. See OpenStax on non-ideal gas behaviour.
Sources and Further Reading
Scientific explanations and units checked on 11 November 2026:
Start Your Chemistry Tuition Journey With Achievers Dream
At Achievers Dream, we offer specialised Primary Science Tuition, O Level Chemistry Tuition, Lower Secondary Science Tuition and JC Chemistry tuition. Our teaching team includes former MOE Heads of Department, NIE-trained teachers and full-time tutors.
As a tuition centre in Singapore, students will be provided with a wide range of information from sources such as exclusive cheat sheets, sec 1 science notes, science revision guides or other supplementary/topic by topic notes.
Join Our Exclusive Telegram Group Here
Click Here for Free Access to our coloured Chemistry notes
We provide structured lessons with personalised support, alongside facilities such as our chemistry laboratory and a student portal. Our team will be there for you to support your learning journey, start now and achieve better results






