The law of equipartition of energy states that, "for any dynamical system in a thermal equilibrium, the total energy is equally divided among each degree of freedom." The energy-related with a molecule for one degree of freedom is 1/2KB T where kB is Boltzmann’s constant and T is absolute temperature.