text: To compare gas volume between two conditions of different temperature or pressure (1 and 2), assuming nR are the same, the following equation uses humidity exclusion in addition to the ideal gas law:
  Where, in addition to terms used in the ideal gas law:
  * p is the partial pressure of gaseous water during condition 1 and 2, respectively
  For example, calculating how much 1 liter of air (a) at 0 °C, 100 kPa, p = 0 kPa (known as STPD, see below) would fill when breathed into the lungs where it is mixed with water vapor (l), where it quickly becomes , 100 kPa, p = 6.2 kPa (BTPS):