The energy of the ideal gas is given by (Hill Eq. 4-16)

where
is the molar gas constant.
This energy is all kinetic energy,
per degree of freedom, by equipartition. This is because there are no intermolecular forces, thus no potential energy.
References
- Terrell L. Hill "An Introduction to Statistical Thermodynamics" 2nd Ed. Dover (1962)