While there is no sharp boundary where the atmosphere ends, it gradually thins out until it merges with space at approximately 10,000 km. However, most scientific and school textbooks define the outer limit of the detectable atmosphere (the exosphere) as extending to about 1,000 km above the Earth's surface.