How far is Mercury from Earth?

Mercury is the first planet from Sun and Earth is the third planet from the Sun. Mercury is an average distance of 48 million miles (77 million km) from Earth. The precise distance between the two planets depends on where they are in their respective orbits.