For an ideal gas,

where:

  • is pressure
  • is volume
  • is the number of moles of molecules present
  • is the ideal gas constant
  • is the temperature (in Kelvins)
  • is the Boltzmann constant
  • is the Avogadro constant