The internal kinetic energy of a gas (in the reference frame of the center of mass of the gas) is the total kinetic energy of the particles. This is equal to the pressure of the gas times its volume, and is also equal to the number of molecules times Boltzmann's constant times the absolute temperature.