Mars's average distance from the Sun is about 227.9 million kilometers. Astronomers express this orbital scale as a semimajor axis of roughly 1.524 astronomical units, with one astronomical unit defined as Earth's average distance from the Sun.
Mars does not travel in a perfect circle. Its orbit is noticeably elliptical, so its distance changes from about 206.7 million kilometers at perihelion to about 249.2 million kilometers at aphelion. The 227.9-million-kilometer figure is the standard rounded value used for Mars's orbital distance and is the answer expected in general astronomy references.
This figure should not be confused with the distance between Earth and Mars, which varies dramatically as the two planets move around the Sun. At their closest, the planets can be roughly 56 million kilometers apart; at their most distant, the separation can exceed 400 million kilometers.
Mars completes one orbit in about 687 Earth days. Its greater distance from the Sun also contributes to its longer year and colder average environment compared with Earth.