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. Variations 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 a point (labeled "Inflection point" in the figure) where it reaches the stabilized heat-flow regime. If the gradient of the stabilized regime is projected above this point to its intersection with present-day annual average temperature, the height of this intersection 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 a point where it joins the stabilized heat-flow regime. Variations in surface temperature, whether daily, seasonal, or induced by climate changes and the Milankovitch cycle, penetrate below Earth's surface and produce an oscillation in the geothermal gradient with periods varying from a day to tens of thousands of years, and an amplitude which decreases with depth. The longest-period variations have 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 Earth's surface. If the rate of temperature increase with depth observed in shallow boreholes were to persist at greater depths, temperatures deep within Earth would soon reach the point where rocks would melt. We know, however, that Earth's mantle is solid because of the transmission of S-waves. The temperature gradient dramatically decreases with depth for two reasons. First, the