Ideal Gas Law Formula

The ideal gas law relates the pressure, volume, temperature, and amount of an ideal gas in one equation.

The Formula

PV=nRT

Ask yourself: Is the substance a gas, with its pressure, volume, temperature or amount unknown or changing?

Quick example

Pumping air into a bicycle tire adds gas particles to nearly the same volume, so the pressure rises.

Notation

P is pressure, V is volume, n is amount in moles, R is the gas constant, and T is absolute temperature in kelvin.

What this formula means

The ideal gas law relates the pressure, volume, temperature, and amount of an ideal gas in one equation.

A gas behaves like a handful of squash balls flying around a closed court, and pressure is how hard and how often they hit the walls. Add more balls, make them fly faster by heating, or shrink the court, and the walls take more pounding, just as PV=nRT says. Real molecules attract each other slightly, so the picture slips when a gas is close to turning liquid.

Formal view

For an ideal gas, PV=nRT, where R is the universal gas constant. The model assumes particles with negligible volume and no intermolecular forces.

Worked examples

Example 1

medium
A gas at P1=200000 Pa, V1=0.1 m3, T1=400 K is moved to V2=0.05 m3, T2=300 K. Find P2.
Show solution

Answer

P2=300000 Pa

First step

1.
Combined gas law: P1V1T1=P2V2T2.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

medium
A gas does work expanding from 0.02 m3 to 0.05 m3 at constant pressure 150000 Pa. Find W.

Example 3

medium
Why does substituting 25∘C instead of 298 K into PV=nRT give a wrong pressure by what factor (roughly), if everything else is correct?

Common mistakes

  • Substituting Celsius instead of kelvin for temperature.
  • Using inconsistent pressure and volume units with the chosen gas constant.
  • Putting the gas's mass in grams in for n — n counts moles, so divide by the molar mass first: 160 g of helium (4.0 g/mol) is 40 mol.

Why this formula matters

With PV=nRT you can count the moles of air in a room, explain why an aerosol can must not be heated, predict how much a weather balloon swells as it rises, and see how hot gas in an engine pushes a piston. It links pressure and temperature to molecules hitting walls. It also shows why the kelvin scale is needed: in Celsius, a gas at 0 °C would seem to have zero pressure, which is plainly false.

Frequently asked questions

What is the Ideal Gas Law formula?

The ideal gas law relates the pressure, volume, temperature, and amount of an ideal gas in one equation.

How do you use the Ideal Gas Law formula?

Use the ideal gas law when the substance is a gas and the problem gives three of pressure, volume, temperature and moles, or asks how one changes when the others change in a sealed container. For before-and-after problems with a fixed amount of gas, use P1V1T1=P2V2T2. If the substance is a liquid or solid, or the gas is condensing, the law does not apply; if the question asks for heating energy, use specific heat capacity.

What do the symbols mean in the Ideal Gas Law formula?

P is pressure, V is volume, n is amount in moles, R is the gas constant, and T is absolute temperature in kelvin.

Why is the Ideal Gas Law formula important in Physics?

With PV=nRT you can count the moles of air in a room, explain why an aerosol can must not be heated, predict how much a weather balloon swells as it rises, and see how hot gas in an engine pushes a piston. It links pressure and temperature to molecules hitting walls. It also shows why the kelvin scale is needed: in Celsius, a gas at 0 °C would seem to have zero pressure, which is plainly false.

What do students get wrong about Ideal Gas Law?

Students often know a formula related to ideal gas law but skip the recognition step: Is the substance a gas, with its pressure, volume, temperature or amount unknown or changing? That leads to a correct-looking substitution attached to the wrong physical model.

What should I learn before the Ideal Gas Law formula?

Before studying the Ideal Gas Law formula, you should understand: pressure, temperature.