Mercury and Earth can be as close as about 77 million kilometers apart and as far as about 222 million kilometers, depending on where each planet is in its orbit around the Sun. The actual distance at any given moment varies because both planets orbit the Sun with different speeds and orbital shapes. If you’d like, I can give you a current estimate for today based on ephemeris data.
