how many miles until you are out of the earth's atmosphere
Outer space Earth's gravity reaches out far past the Van Allen radiation belts and keeps the Moon in orbit at an average distance of 384,403 km (238,857 mi). The region outside Earth's atmosphere and extending out to just beyond the Moon's orbit, including the Lagrangian points, is sometimes referred to as cis-lunar space.[106] By consensus, any region beyond cislunar space is referred to as deep space.[107] The region of space where the gravity of the Earth remains dominant against gravitational perturbations from the Sun is called the Hill sphere.[108] This extends well out into translunar space to a distance of roughly 1% of the mean distance from the Earth to the Sun,[109] or 1.5 million km (0.93 million mi).