The distance between Earth and Mars when Curiosity took the photo was about 99 million miles (160 million kilometers).
NASA’s Mars Science Laboratory Project is using Curiosity to assess ancient habitable environments and major changes in Martian environmental conditions. JPL, a division of the California Institute of Technology in Pasadena, built the rover and manages the project for NASA’s Science Mission Directorate in Washington.