Thermal energy is most easily defined in the context of the ideal gas, which is well approximated by a monatomic gas at low pressure. The ideal gas is a gas of particles considered as point objects of perfect spherical symmetry that interact only by elastic collisions and fill a volume such that their mean free path between collisions is much larger than their diameter.
The mechanical kinetic energy of a single particle is