Stoichiometry & gases · SL/HL

Ideal gas equation

Solve for pressure, volume, amount or temperature.

Your values

Number formats & units

Use decimal dots in datasets. Single values also accept decimal commas and scientific notation such as 1.2e-3 or 1.2 × 10⁻³.

Ideal Gas Equation Calculator inputs

Calculated locally. No account or input upload.

Result & working

Example

The calculator is loading. The worked example is also shown below.

Copy & export

Formula & example

The relationship

PV=nRTPV=nRT
R=8.314462618 kPa dm3 mol−1 K−1R=8.314462618\,\mathrm{kPa}\,\mathrm{dm}^{3}\,\mathrm{mol}^{-1}\,\mathrm K^{-1}
What the variables mean
SymbolMeaning
PPGas pressure in kPa.
VVGas volume in dm³.
TTAbsolute temperature in K.

Worked example

Solve for
Amount n
Pressure P / kPa
101.3
Volume V / dm³
24.0
Temperature T / K
293.15

0.9974626 mol

Follow the example steps
  1. n = PV/RT = 101.3 × 24 / (8.314463 × 293.15) = 0.9974626 mol

Common mistakes

Use absolute temperature in kelvin.

Incorrect approach

25 °C ⇒ T = 25 K

Correct approach

T = 25 + 273.15 = 298.15 K

More checks before you submit
  • Do not use °C directly.
  • Use a gas constant consistent with the pressure and volume units.
Method notes

The ideal-gas model is most appropriate when intermolecular interactions and molecular volume have small effects. Convert °C to K before using the equation.