Skip to content

How do pressure, volume and temperature of a gas relate?

Solve PV = nRT or the combined gas law for pressure, volume, temperature or amount.

mol

More options
Law

Pressure

101.6 kPa

1 mol of gas in 24 L at 20 °C has a pressure of 101.6 kPa.

Key values as a table
StateVolume (L)Pressure (kPa)
Gas24101.6
Molar volume
24 L per mol
Molecules
6.022 × 10²³

Solve PV = nRT or the combined gas law for pressure, volume, temperature or amount.

How to use

  1. Choose what to find. For one state of a gas the law is PV = nRT; for a gas going from state 1 to state 2, choose the combined law under More options.
  2. Enter the other values in any units: pick kPa, atm, bar, mmHg or psi, litres or millilitres, and °C, K or °F beside the numbers (or under More options for the answer's unit).
  3. Read the answer, and drag the point on the pressure–volume diagram to squeeze or expand the gas.

Volume of 1 mol of gas at 101.325 kPa

Temperature (°C)Volume (L)
022.4
2024.1
2524.5
10030.6

How it works

A gas is mostly empty space with molecules flying about, and its pressure comes from them hitting the walls. Squeeze the same gas into half the volume and the hits come twice as often, so the pressure doubles; heat it and the molecules move faster and hit harder. The ideal gas law puts these together: P × V = n × R × T.

P is the pressure, V the volume, n the amount of gas in moles, T the absolute temperature in kelvins and R = 8.314 J/(mol·K) the gas constant. One mole at 20 °C (293.15 K) in 24 L has P = 1 × 8.314 × 293.15 ÷ 0.024 m³ ≈ 101.6 kPa, about atmospheric pressure. For a fixed amount the law becomes P₁V₁/T₁ = P₂V₂/T₂: at a constant temperature, halving the volume doubles the pressure (Boyle's law), and at a constant pressure the volume grows with the kelvin temperature (Charles's law).

Temperatures must be absolute, which is why °C and °F are converted to kelvins first. Real gases follow the law closely at everyday pressures and temperatures, but deviate when highly compressed or near the point where they liquefy. Sources: OpenStax Chemistry 2e, section 9.2; IUPAC, standard conditions for gases.

Frequently asked questions

Should I enter absolute or gauge pressure?

Use absolute pressure. A gauge measures pressure above the surrounding atmosphere, so add the local atmospheric pressure before entering it.

Why do references give both 22.4 and 22.7 litres per mole?

They use different standard pressures. At 0 °C an ideal gas occupies about 22.4 L per mole at 1 atm, or 22.7 L at 100 kPa.

Can I enter grams instead of moles?

No. Divide the mass in grams by the molar mass in grams per mole first; the moles tool can do this conversion.

Can I use the combined law if gas leaks out?

Not when solving for final pressure, volume or temperature, since those modes assume a fixed amount. If you know both complete states, choose amount change to estimate the ratio of final to initial moles.

Can I use this for a gas mixture?

Yes, as an ideal-gas approximation using the total moles and total pressure. It does not calculate reactions, condensation or separate partial pressures.

Send feedback