This calculator allows you to convert from Earth's distance from sun to Megaparsec and in a reverse direction. To convert from Earth's distance from sun to Megaparsec, enter the amount of Earth's distance from sun into the first input and to convert from Megaparsec to Earth's distance from sun, enter the amount of Megaparsec into the second input.