In recent years, the effects of global warming has caused significant property damage and loss of life. Studying global warming is important to understand nature and protect ourselves. In order to explore the variation trend of the global warming, this paper collected authoritative data Based on the temperature data, by establishing grey prediction model (GM), we have made a reasonable prediction of the future temperature, calculated the expected time for the global temperature to reach 20 degrees Celsius, and reached the conclusion that the global temperature will continue to grow slowly.