Chemistry · Thermodynamics / Gases

Ideal Gas Law

The ideal gas law relates the pressure, volume, amount of substance and temperature of an ideal gas.

BasicExam-relevant

Free · no credit card · in your study plan in 2 minutes

Formula

LaTeX: p \cdot V = n \cdot R \cdot T
p in Pa · V in m³ · n in mol · R = 8.314 J/(mol·K) · T in K

Variables & units – Ideal Gas Law

SymbolMeaningUnit
pPressurePa (Pascal)
VVolumem³ or L
nAmount of substancemol
RUniversal gas constant (8.314)J/(mol·K)
TTemperature (in kelvin!)K

Derivation & background – Ideal Gas Law

A synthesis of the Boyle-Mariotte law (pV = const.), the Gay-Lussac law (V/T = const.) and Avogadro's law (V ∝ n). It holds exactly only for ideal gases (no interactions, point-like particles).

Exam blueprint

Validity range

Valid as an approximation for dilute gases at not too high pressure and not too low temperature.

Derivation steps

The equation combines Boyle-Mariotte, Gay-Lussac and Avogadro in one equation of state.

  1. 1For ideal particles, pV is proportional to particle number and absolute temperature.
  2. 2With n as amount of substance and R as the constant, pV = nRT.

Rearrangements

Volume from state variables

Always use temperature in kelvin.

Task variant

What happens to V at constant p and n when T doubles?

V doubles because V is proportional to T.

Common mistakes

Using Celsius instead of kelvin.

Gas laws always require absolute temperature.

Exam context

  • Often used with density, amount of substance, reaction gases or pressure changes.

These mistakes cost points in real exams. The set drills them until they stick.

Formula cluster

Thermodynamics and amount of substance

Connects macroscopic state variables with chemical calculations.

Worked example

5 mol of N₂ at T = 300 K and p = 1 atm = 101,325 Pa: V = nRT/p = 5 × 8.314 × 300 / 101,325 ≈ 0.123 m³ = 123 L.

Applications

Aviation (pressurised cabins), diving (pressure equalisation), chemical reactors, breathing-gas mixtures

Quanta exam set

Curated exam set for "Ideal Gas Law":

Question (front)

Which formula describes Ideal Gas Law?

Answer in your set

Question (front)

How do you rearrange pV = nRT for Volume from state variables?

Answer in your set

Question (front)

Which common mistake happens with Ideal Gas Law?

Answer in your set

+ 8 more cards: units, variables, derivation, example, exam task

These 11 cards are ready. One click and they sit in your deck, FSRS schedules the reviews until exam day.

Scientific sources

Common notations & search queries

pV=nRTpv=nrtp*V=n*R*Tp·V=n·R·Tpv nrtp mal V gleich n mal R mal TpV nRT Formelpv nt formelideale GasgleichungZustandsgleichung ideales Gasideal gas law

Related formulas

More Chemistry formulas

Frequently asked questions about Ideal Gas Law

How do you calculate the volume of an ideal gas?+

Rearrange pV = nRT for the volume: V = nRT/p. Insert the amount of substance n in mol, the universal gas constant R = 8.314 J/(mol·K), the absolute temperature T in kelvin and the pressure p in pascals, then the volume comes out in cubic metres. Example: 5 mol of nitrogen at 300 K and 1 atm = 101 325 Pa give V = 5·8.314·300/101 325 ≈ 0.123 m³, that is 123 litres. Make sure to give the pressure in pascals and the temperature in kelvin; atm, bar or Celsius must be converted first. One cubic metre equals 1000 litres.

Why must the temperature in the gas law be in kelvin?+

Because in the ideal gas law volume and pressure are directly proportional to the absolute temperature. This proportionality holds only from absolute zero, which the Kelvin scale sets at 0 K. Doubling the absolute temperature at constant pressure doubles the volume. On the Celsius scale this would be nonsensical, because a change from 10 °C to 20 °C is by no means a doubling of the particle energy. If you accidentally insert Celsius, you get grossly wrong and, for negative values, even unphysical results. Therefore always convert first: T in kelvin equals T in Celsius plus 273.15.

What happens to the pressure when you heat a gas at constant volume?+

At constant volume and constant amount of substance, pV = nRT implies that the pressure is directly proportional to the absolute temperature: p ∝ T. Doubling the temperature in kelvin doubles the pressure. This is the law of Amontons or Gay-Lussac. Intuitively, at higher temperature the gas particles collide with the walls faster and more often, which raises the pressure. That is why the pressure in a closed container, such as a spray can, rises when heated and can become dangerous. For the calculation p₁/T₁ = p₂/T₂ holds, each with temperatures in kelvin.

When does the ideal gas law fail?+

The ideal gas law is an approximation that makes two assumptions: the gas particles have no volume of their own and exert no attractive forces on each other. These assumptions break down at high pressure and low temperature. At high pressure the particles own volume becomes relevant, at low temperature the attractive forces become noticeable, until the gas finally condenses. Near the boiling point or for very dense gases the law shows clear deviations. For real gases one then uses more accurate models such as the van der Waals equation. For dilute gases at room conditions, however, the ideal approximation is very good.

What is the difference between the amount of substance n and the number of particles?+

The amount of substance n is given in moles and counts portions of particles. One mole contains exactly the Avogadro number of particles, that is about 6.022×10²³. The number of particles N is the actual count of individual atoms or molecules and is linked to the amount of substance through N = n·N_A. In the ideal gas law pV = nRT you work with the amount of substance and the gas constant R. Alternatively there is the form pV = N·k_B·T with the number of particles and the Boltzmann constant k_B = R/N_A. Both forms are equivalent; you choose, depending on the task, whether moles or the particle number is given.

Retain Ideal Gas Law for exams

Create a curated FSRS exam set for pV = nRT: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.

Free · curated formula set · LaTeX · FSRS spaced repetition

How do you calculate with Ideal Gas Law?

Here is how to work through a typical Ideal Gas Law (pV = nRT) task step by step:

  1. 1

    Task

    What happens to V at constant p and n when T doubles?

    Solution path

    V doubles because V is proportional to T.