The Atmosphere is really a thin envelope surrounding the earth:
view from the space shuttle:
99% of atmosphere is in lowest 30 km
earth's radius is about 6400 km