Skip to content
AllCalcHub

Ideal Gas Law Calculator

Solve PV = nRT for pressure, volume, amount of gas or temperature.

About the Ideal Gas Law Calculator

Choose what to solve for (pressure, volume, amount or temperature) and enter the other three, with pressure in kPa, volume in litres and temperature in kelvin. The result also shows the temperature in °C and the pressure in atmospheres.

The ideal gas law relates pressure, volume, amount and absolute temperature. With pressure in kPa and volume in litres, R = 8.314462618 L·kPa/(mol·K). At 0 °C and 1 atm (101.325 kPa), one mole occupies 22.414 L.

The formula

P V = n R T

P
pressure, kPa (1 atm = 101.325 kPa)
V
volume, L
n
amount, mol
R
8.314462618 L·kPa/(mol·K)
T
temperature, K (°C + 273.15)

Worked example

Volume of 1 mol of gas at 25 °C and 1 atm

  1. T = 25 + 273.15 = 298.15 K
  2. V = 1 × 8.3145 × 298.15 ÷ 101.325
  3. = 24.47 L

Questions people ask

When does it fail?

At high pressure or low temperature, where molecular volume and attractions matter.

Why kelvin?

The law needs absolute temperature, which starts at absolute zero.