The Earth's atmosphere extends to an altitude of approximately 10,000 kilometers (6,200 miles). However, the majority of its mass is concentrated within the lower 50 kilometers (31 miles), known as the troposphere. Above the troposphere, the atmosphere gradually thins until it merges with the vacuum of space.