How far away is earth from neptune?

The Earth is about 2.7 billion miles from Neptune. This distance increases when the planets are on either side of the sun during their orbits.