Geothermal gradient is the rate of increasing temperature with respect to increasing depth in Earth's interior. Away from tectonic plate boundaries, it is about 25-30 °C/km (72-87 °F/mi) of depth near the surface in most of the world. Strictly speaking, geo-thermal necessarily refers to Earth but the concept may be applied to other planets.
Earth's internal heat comes from a combination of residual heat from planetary accretion, heat produced through radioactive decay, latent heat from core crystallization, and possibly heat from other sources. The major heat-producing isotopes in Earth are potassium-40, uranium-238, uranium-235, and thorium-232. At the center of the planet, the temperature may be up to 7,000 K (6,730 °C; 12,140 °F) and the pressure could reach 360 GPa (3.6 million atm). Because much of the heat is provided for by radioactive decay, scientists believe that early in Earth history, before isotopes with short half-lives had been depleted, Earth's heat production would have been much higher. Heat production was twice that of present-day at approximately 3 billion years ago, resulting in larger temperature gradients within the Earth, larger rates of mantle convection and plate tectonics, allowing the production of igneous rocks such as komatiites that are no longer formed.
The top of the geothermal gradient is influenced by atmospheric temperature. The uppermost layers of the solid planet are at the temperature produced by the local weather, decaying to approximately the annual mean-average temperature (MATT) at depth (it is this depth which is used for many ground-source heat pumps, often loosely referred to as "geothermal heat pumps" by laypeople). Descending further, warmth increases steadily as interior heat sources begin to dominate.
Temperature within the Earth increases with depth. Highly viscous or partially molten rock at temperatures between 650 to 1,200 °C (1,200 to 2,200 °F) are found at the margins of tectonic plates, increasing the geothermal gradient in the vicinity, but only the outer core is postulated to exist in a molten or fluid state, and the temperature at the Earth's inner core/outer core boundary, around 3,500 kilometres (2,200 mi) deep, is estimated to be 5650 ± 600 Kelvin. The heat content of the Earth is 1031 joules.
In Earth's continental crust, the decay of natural radioactive isotopes makes a significant contribution to geothermal heat production. The continental crust is abundant in lower density minerals but also contains significant concentrations of heavier lithophilic minerals such as uranium. Because of this, it holds the most concentrated global reservoir of radioactive elements found in the Earth. Naturally occurring isotopes are enriched in the granite and basaltic rocks, especially in layers closer to Earth's surface. These high levels of radioactive elements are largely excluded from the Earth's mantle due to their inability to substitute in mantle minerals and consequent enrichment in melts during mantle melting processes. The mantle is mostly made up of high density minerals with higher concentrations of elements that have relatively small atomic radii such as magnesium (Mg), titanium (Ti), and calcium (Ca).
|Mean mantle concentration
[kg isotope/kg mantle]
The geothermal gradient is steeper in the lithosphere than in the mantle because the mantle transports heat primarily by convection, leading to a geothermal gradient that is determined by the mantle adiabat, rather than by the conductive heat transfer processes that predominate in the lithosphere, which acts as a thermal boundary layer of the convecting mantle.
Heat flows constantly from its sources within Earth to the surface. Total heat loss from Earth is estimated at 44.2 TW . Mean heat flow is 65 mW/m2 over continental crust and 101 mW/m2 over oceanic crust. This is 0.087 watt/square metre on average (0.03 percent of solar power absorbed by Earth), but is much more concentrated in areas where the lithosphere is thin, such as along mid-ocean ridges (where new oceanic lithosphere is created) and near mantle plumes.Earth's crust effectively acts as a thick insulating blanket which must be pierced by fluid conduits (of magma, water or other) in order to release the heat underneath. More of the heat in Earth is lost through plate tectonics, by mantle upwelling associated with mid-ocean ridges. Another major mode of heat loss is by conduction through the lithosphere, the majority of which occurs in the oceans due to the crust there being much thinner and younger than under the continents.
The heat of Earth is replenished by radioactive decay at a rate of 30 TW. The global geothermal flow rates are more than twice the rate of human energy consumption from all primary sources. Global data on heat-flow density are collected and compiled by the International Heat Flow Commission (IHFC) of the IASPEI/IUGG. 
Heat from Earth's interior can be used as an energy source, known as geothermal energy. The geothermal gradient has been used for space heating and bathing since ancient Roman times, and more recently for generating electricity. As the human population continues to grow, so does energy use and the correlating environmental impacts that are consistent with global primary sources of energy. This has caused a growing interest in finding sources of energy that are renewable and have reduced greenhouse gas emissions. In areas of high geothermal energy density, current technology allows for the generation of electrical power because of the corresponding high temperatures. Generating electrical power from geothermal resources requires no fuel while providing true baseload energy at a reliability rate that constantly exceeds 90%. In order to extract geothermal energy, it is necessary to efficiently transfer heat from a geothermal reservoir to a power plant, where electrical energy is converted from heat by passing steam through a turbine connected to a generator. On a worldwide scale, the heat stored in Earth's interior provides an energy that is still seen as an exotic source. About 10 GW of geothermal electric capacity is installed around the world as of 2007, generating 0.3% of global electricity demand. An additional 28 GW of direct geothermal heating capacity is installed for district heating, space heating, spas, industrial processes, desalination and agricultural applications.
The geothermal gradient varies with location and is typically measured by determining the bottom open-hole temperature after borehole drilling. Temperature logs obtained immediately after drilling are however affected due to drilling fluid circulation. To obtain accurate bottom hole temperature estimates, it is necessary for the well to reach stable temperature. This is not always achievable for practical reasons.
In stable tectonic areas in the tropics a temperature-depth plot will converge to the annual average surface temperature. However, in areas where deep permafrost developed during the Pleistocene a low temperature anomaly can be observed that persists down to several hundred metres. The Suwa?ki cold anomaly in Poland has led to the recognition that similar thermal disturbances related to Pleistocene-Holocene climatic changes are recorded in boreholes throughout Poland, as well as in Alaska, northern Canada, and Siberia.
In areas of Holocene uplift and erosion (Fig. 1) the shallow gradient will be high until it reaches an inflection point where it reaches the stabilized heat-flow regime. If the gradient of the stabilized regime is projected above the inflection point to its intersect with present-day annual average temperature, the height of this intersect above present-day surface level gives a measure of the extent of Holocene uplift and erosion. In areas of Holocene subsidence and deposition (Fig. 2) the initial gradient will be lower than the average until it reaches an inflection point where it joins the stabilized heat-flow regime.
A variation in surface temperature induced by climate changes and the Milankovitch cycle can penetrate below the Earth's surface and produce an oscillation in the geothermal gradient with periods varying from daily to tens of thousands of years and an amplitude which decreases with depth and having a scale depth of several kilometers. Melt water from the polar ice caps flowing along ocean bottoms tends to maintain a constant geothermal gradient throughout the Earth's surface.
If the rate of temperature increase with depth observed in shallow boreholes were to persist at greater depths, temperatures deep within the Earth would soon reach the point where rocks would melt. We know, however, that the Earth's mantle is solid because of the transmission of S-waves. The temperature gradient dramatically decreases with depth for two reasons. First, the mechanism of thermal transport changes from conduction, as within the rigid tectonic plates, to convection, in the portion of Earth's mantle that convects. Despite its solidity, most of the Earth's mantle behaves over long time-scales as a fluid, and heat is transported by advection, or material transport. Second, radioactive heat production is concentrated within the crust of the Earth, and particularly within the upper part of the crust, as concentrations of uranium, thorium, and potassium are highest there: these three elements are the main producers of radioactive heat within the Earth. Thus, the geothermal gradient within the bulk of Earth's mantle is of the order of 0.5 kelvin per kilometer, and is determined by the adiabatic gradient associated with mantle material (peridotite in the upper mantle).
"Geothermal Resources". DOE/EIA-0603(95) Background Information and 1990 Baseline Data Initially Published in the Renewable Energy Annual 1995. Retrieved 2005.