The center of the Earth is about 6,371 kilometers (3,959 miles) deep. This distance is measured from the surface of the Earth to the center of the innermost solid layer of the Earth, known as the inner core. The inner core is composed primarily of iron and nickel and is extremely hot, with temperatures reaching approximately 5,700 degrees Celsius (10,232 degrees Fahrenheit).