Geothermal gradient is the rate of change in temperature with respect to increasing depth in Earth's interior. As a general rule, the crust temperature rises with depth due to the heat flow from the much hotter mantle; away from tectonic plate boundaries, temperature rises in about 25–30 °C/km (72–87 °F/mi) of depth near the surface in the continental crust. However, in some cases the temperature may drop with increasing depth, especially near the surface, a phenomenon known as inverse or negative geothermal gradient. The effects of weather, the Sun, and season only reach a depth of roughly 10–20 m (33–66 ft).
Geothermal drill machine in Wisconsin, USA
Earth's internal heat budget
Earth's internal heat budget is fundamental to the thermal history of the Earth. The flow of heat from Earth's interior to the surface is estimated at 47±2 terawatts (TW) and comes from two main sources in roughly equal amounts: the radiogenic heat produced by the radioactive decay of isotopes in the mantle and crust, and the primordial heat left over from the formation of Earth.
Cross section of the Earth showing its main divisions and their approximate contributions to Earth's total internal heat flow to the surface, and the dominant heat transport mechanisms within Earth
Earth's tectonic evolution over time from a molten state at 4.5 Ga, to a single-plate lithosphere, to modern plate tectonics sometime between 3.2 Ga and 1.0 Ga