1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. Ideal Gas Equation

Ideal Gas Equation

Double the number of molecules, the temperature or the volume of a gas and watch the pressure change, until PV = nRT appears. Then add two gases' pressures together, and see where real gases stop obeying the law.

Interactive 3DPhysicsIntermediate9 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In Where PV = nRT comes from, why does doubling the temperature double the pressure?
    • In Dalton's law, why do the two pressures simply add?
    • In Real gases, why does PV/nRT fall below 1 at first?

    Pressure, number, temperature, volume

    In the 3D model, choose Where PV = nRT comes from. Start with 10 molecules at 300 K in a box, and call its pressure 1.0 × 10⁵ Pa.

    Change Why Pressure
    twice as many molecules twice as many hits each second doubles: P ∝ N
    twice the kelvin temperature each molecule has twice the KE, hits harder and more often doubles: P ∝ T
    twice the volume each molecule takes twice as long to come back to a wall halves: P ∝ 1/V

    So P ∝ NT/V. The kinetic theory gives the constant exactly. From P=13NVmv2‾P = \dfrac{1}{3}\dfrac{N}{V}m\overline{v^{2}} and 12mv2‾=32kBT\dfrac{1}{2}m\overline{v^{2}} = \dfrac{3}{2}k_{B}T:

    PV=NkBTPV = Nk_{B}T

    Counting in moles, N=nNAN = nN_{A}, and NAkB=R=8.314 J mol−1 K−1N_{A}k_{B} = R = 8.314\ \text{J mol}^{-1}\,\text{K}^{-1}, the universal gas constant:

    PV=nRTPV = nRT

    This is the ideal gas equation (the equation of state of an ideal gas). It contains Boyle’s, Charles’s and Avogadro’s laws, and works for any gas whose molecules fit the ideal model. Since n=mMn = \dfrac{m}{M}, it also gives the density of a gas: ρ=PMRT\rho = \dfrac{PM}{RT}.

    Dalton’s law of partial pressures

    Choose Dalton’s law of partial pressures. 8 helium molecules alone in a box give 0.4 × 10⁵ Pa; 12 nitrogen molecules alone in the same box at the same temperature give 0.6 × 10⁵ Pa. Put both in one box and the pressure is 1.0 × 10⁵ Pa. Each gas hits the walls just as it did alone, so

    P=P1+P2+⋯P = P_{1} + P_{2} + \cdots

    where each partial pressure is the pressure that gas would have on its own. Air at 1 atm is about 0.78 atm of nitrogen + 0.21 atm of oxygen + 0.01 atm of argon.

    Real gases

    Choose Real gases (the curves are schematic). For an ideal gas PV/nRT = 1 at every pressure. For a real gas:

    • at low pressure it is 1: the molecules are far apart, as the model assumes;
    • at moderate pressure it falls below 1: the weak attraction between molecules softens their hits, much more for gases that are easy to liquefy;
    • at very high pressure it rises above 1: the molecules’ own volume takes up space.

    Real gases obey PV = nRT closely at low pressure and high temperature.

    Worked example

    A 50 L cylinder holds oxygen (M = 32 g/mol) at 27 °C and 2.0 × 10⁶ Pa. Find the mass of oxygen.

    1. n=PVRT=2.0×106×0.0508.314×300=40 moln = \dfrac{PV}{RT} = \dfrac{2.0 \times 10^{6} \times 0.050}{8.314 \times 300} = 40\ \text{mol}.
    2. m=nM=40×0.032=m = nM = 40 \times 0.032 = 1.28 kg.

    Remember: PV = nRT = NkBT, with T in kelvin; R = NAkB. In a mixture the partial pressures add (Dalton).

    Formulas and where to use them

    Ideal gas equation

    PV=nRT=NkBTPV = nRT = Nk_{B}T
    where
    nn
    amount of gas (mol)
    RR
    gas constant, 8.314 J mol⁻¹ K⁻¹
    NN
    number of molecules
    kBk_{B}
    Boltzmann's constant, 1.38 × 10⁻²³ J/K

    Use it when: Any ideal gas in equilibrium; real gases at low pressure and high temperature.

    Using the molar mass

    PV=mMRT,ρ=PMRTPV = \dfrac{m}{M}RT,\qquad \rho = \dfrac{PM}{RT}
    where
    mm
    mass of the gas (kg)
    MM
    molar mass (kg/mol)
    ρ\rho
    density of the gas (kg/m³)

    Use it when: Finding the mass or density of a gas from P, V and T.

    Dalton's law of partial pressures

    P=P1+P2+P3+⋯P = P_{1} + P_{2} + P_{3} + \cdots
    where
    P1, P2, …P_{1},\ P_{2},\ \ldots
    pressure each gas would exert if it alone filled the container

    Use it when: Mixtures of gases that do not react, such as air.

    Common mistakes

    • Using °C, litres or atm with R = 8.314. With R = 8.314 J mol⁻¹ K⁻¹ use pascals, cubic metres and kelvin.
    • Mixing up n and N. n counts moles (use R); N counts molecules (use kB).
    • Using the ideal gas equation at very high pressure. There the molecules' size and attraction matter.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. In PV = nRT, n is the…

    2. The volume of 1 mol of an ideal gas at 0 °C and 1.013 × 10⁵ Pa is about…

    3. A sealed gas is heated from 300 K to 600 K and its volume is doubled. Its pressure…

    4. A mixture has 0.6 atm of nitrogen and 0.3 atm of oxygen. Its total pressure is…

    5. Real gases behave most like ideal gases at…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Ideal Gas Equation. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.