Thermal energy is the energy that determines the temperature of matter. The geothermal energy of the earth's crust originates from the original formation of the planet (20%) and from radioactive decay of minerals (80%). The geothermal gradient, which is the difference in the temperature of the core of the planet and its surface, drives a continuous conduction of thermal energy in the form of heat from the core to the surface.