Earth–Mars Distance Explorer
How Far Is Mars From Earth Right Now?
Earth and Mars are both moving around the Sun, so the gap between them changes every day. See their current separation, then move through time to discover why a trip to Mars never has one fixed distance.
Updated October 28, 2026 · Local astronomical calculation · UTC dates and times
Current Distance Between Earth and Mars
Calculating the current time…Mars distance from Earth
— km
- Distance in miles
- —
- Astronomical units
- —
- One-way light travel time
- —
Calculated for . The current-time view refreshes once a minute while this tab is visible. Calculated on your device, not a live NASA data feed.
Geometric distance between the centers of Earth and Mars, rounded to the nearest 100,000 km. The diagram is a projection; the number comes from full three-dimensional positions.
Explore the Distance Between Earth and Mars
Use UTC for both fields, regardless of your device’s time zone. Supported dates: 2000–2050. Your browser may display the date in your local format.
Projected orbit distances use one linear scale. Body sizes are enlarged, and height above the orbital plane is flattened. The orbit curves are sampled tracks around the selected year, not spacecraft routes.
No autoplay. Animation runs at 30 simulated days per real second.
Earth–Mars Distance Over Time
A deep dip means a close encounter; a crest means the planets are far apart. Changing the date also moves the gold selection marker. Longer periods reveal that the dips are not equally deep.
Enable JavaScript to explore the calculated chart.
Earth–Mars distance varies as Earth overtakes Mars. Close approaches occur roughly every 26 months, with different distances on different cycles.
Hover for values, or tap/click to select a date. Keyboard: focus the graph and use Left/Right for one-day steps, Home/End for the period boundaries. The date fields and slider offer the same calculation without using the graph.
Dashed blue: today. Solid gold: selected time.
Why Does the Distance Between Mars and Earth Change?
Imagine two runners on different tracks. Earth completes its smaller orbit in about one year; Mars takes about 687 Earth days. Their separation depends on where both runners are, not just on the difference between the lengths of their tracks. Sometimes the planets are on the same side of the Sun, and sometimes the Sun lies between them.
This is why subtracting Mars’s solar distance from Earth’s solar distance does not give the general answer. The calculator subtracts the planets’ three-dimensional position vectors, then measures the length of that relative vector: d = √[(xMars − xEarth)² + (yMars − yEarth)² + (zMars − zEarth)²].
An astronomical unit, or AU, is exactly 149,597,870.7 km. It is a convenient ruler for the solar system, rather than a claim that Earth is always exactly that far from the Sun. For the broader layout, open the interactive solar system map or explore where the planets are right now.
Opposition and conjunction
At opposition, Mars appears opposite the Sun in Earth’s sky. Earth is passing Mars on the inside, and the planets are near a close approach. Opposition and minimum distance need not occur at the same instant because both orbits are elliptical and slightly tilted.
At solar conjunction, Mars is close to the Sun’s direction as seen from Earth and is usually far away. A large distance does not by itself explain every communication problem: the solar environment can also interfere with radio links. Distance alone also cannot tell you whether Mars is above your horizon. Use the local planet visibility checker for that question.
How Close Can Mars Get to Earth?
There is no single distance repeated at every close approach. Mars’s elliptical orbit makes some encounters much closer than others. Earth’s own changing solar distance and the geometry of each encounter matter too.
A useful historical example is August 27, 2003, when Earth and Mars were about 55.8 million km apart. NASA’s Hubble observations document that unusually close encounter. It is a historical example, not a fixed minimum that every opposition reaches. NASA’s 2003 observation.
All three bars share a zero-based linear scale to 450 million km. The far-distance bar is a rounded reference, not a record event or a universal upper limit.
How Far Apart Can Earth and Mars Be?
When the planets occupy opposite parts of the solar system, their separation can approach 400 million km. NASA’s Mars Relay Network uses approximately 54.6–400.2 million km as broad reference bounds. Those describe a useful overall scale; they are not a forecast that the next near and far encounters will reach both endpoints. NASA’s communication-distance overview.
The apparent size of Mars changes with distance as well. A close Mars looks larger through a telescope, but it still does not become a second Moon in the sky. For this page, compare the numerical range and the connecting line, rather than the deliberately enlarged planet disks.
How Long Does Light Take to Travel From Mars to Earth?
A radio command travels at the speed of light in a vacuum: 299,792.458 km/s. Divide the selected distance by that speed to estimate a one-way signal delay.
- One-way light / radio delay
- —
- Immediate round-trip estimate
- —
Illustration only: the selected light delay is compressed into a three-second animation. It is not played at real speed.
The displayed delay is geometric distance ÷ light speed at one shared epoch. It is not a full retarded-time radio-link solution. Real spacecraft are not at Mars’s center, the planets move during transmission, processing takes time, and relay or visibility constraints can add delays. The round-trip number simply doubles this geometric estimate; it assumes an immediate reply.
Across the broad distance range, one-way delays are roughly 3–22 minutes. That is why driving a rover is not like controlling a remote toy with an instant response. Compare this Earth–Mars delay with sunlight’s journey from the Sun to each planet: they start from different places and must not be confused.
When Will Mars Be Closest to Earth Again?
With JavaScript enabled, this tool searches up to four years after the selected date for the next local minimum in Earth–Mars distance, within 2000–2050. Otherwise, use the chart to understand the roughly 26-month cycle.
The search refines a minimum in the same local model used for the distance display. The resulting date is an estimate, not a precision JPL event prediction. Choosing a historical date searches forward from that historical date; press Today to ask about the next encounter from now.
Successive encounters are separated by approximately 780 days, or 26 months. The pattern comes from Earth repeatedly catching up with Mars, rather than from a calendar rule. Over longer sequences the close distances vary as the orbital alignment changes.
Selected-date distance trend: calculated when the tool is enabled.
How Long Would It Take to Travel to Mars?
A spacecraft does not travel along today’s straight connection between the planets. It follows a solar orbit designed to meet Mars at a future location. Departure timing, available energy, launch vehicle, arrival strategy and mission goals all affect the journey.
As a practical comparison, NASA describes a typical Mars cruise phase as about 200 days; Perseverance’s cruise lasted about seven months. That does not make seven months a universal travel time, and dividing the distance above by an imagined constant spacecraft speed would not produce a reliable mission estimate. NASA’s Mars mission timeline.
Frequently Asked Questions
How far is Mars from Earth today?
There is no fixed daily distance. Enable the calculator for the current UTC time; the broad Earth–Mars range is about 55–400 million km. Press Today after exploring another date.
What is the closest Mars can get to Earth?
About 55 million km is a useful scale for an exceptionally close encounter. The historical 2003 approach was about 55.8 million km. The exact attainable distance depends on orbital geometry; it is not the same at every opposition.
What is the farthest Mars can be from Earth?
The separation can approach 400 million km when the planets are on opposite sides of the Sun. Treat that as a rounded reference scale, not a fixed distance for every conjunction.
How many light-minutes away is Mars?
For the selected time, the geometric one-way delay is calculated above. Across the broad range of possible separations, it is roughly 3–22 minutes.
Is Mars getting closer to Earth right now?
The answer depends on the date. The tool compares modeled distances one day on either side of the selection to identify whether the gap is widening or narrowing. Use Today for the current trend.
How often is Mars closest to Earth?
Close approaches occur roughly every 26 months. Their distances vary, and closest approach is not necessarily at the precise instant of opposition.
How long would it take to travel to Mars?
A typical robotic cruise takes several months; NASA gives about 200 days as a general mission-phase example. The actual travel time depends on the trajectory and mission, not just today’s distance.
Why does the distance between Mars and Earth change?
Earth and Mars follow different elliptical orbits at different speeds. Earth repeatedly catches up with and passes Mars, changing both the length and direction of the separation vector.
How This Calculator Works
This page uses a locally hosted copy of Astronomy Engine 2.1.19, which uses truncated VSOP87 planetary series. It evaluates Earth-center and Mars-center heliocentric vectors at the same instant in the J2000 equatorial frame, then subtracts them in three dimensions. Unlike the simplified orbit explorer, the Earth here is the planet’s center, not the Earth–Moon barycenter.
Your UTC selection is converted to the library’s astronomical time representation, including its modeled terrestrial-time offset. No observer location is used. These are simultaneous geometric positions, without light-time correction, stellar aberration or topocentric surface corrections. The diagram rotates the same vectors into the J2000 ecliptic for a top-down projection.
We compared twelve dates between January 2000 and December 2050 against JPL Horizons geometric vectors, using Mars center 499 relative to Earth center 399, ICRF coordinates and UTC epochs. The largest absolute distance difference in that sample was approximately 4,930 km. This is a result for the tested dates, not a guaranteed error bound for every date. The public time selector is deliberately limited to 2000–2050.
The main kilometer and mile readings are rounded to 100,000 units; AU is shown to three decimal places, and signal times to the nearest second. The chart samples up to 640 epochs, then refines local extrema. These educational calculations are unsuitable for spacecraft navigation or precision event timing.
Sources and calculation references
Keep Exploring the Earth–Mars Connection
Is Mars closer than every other planet at this time? Compare which planet is closest to Earth using the same shared distance engine.
Use the solar system map for the wider orbital layout, compare planet positions on a selected date, or find out whether Mars is visible from your location.
Travel to a Moving Mars
A geometric distance is only a snapshot. Explore how long a journey to Mars takes to follow an orbital transfer and see why spacecraft aim for a future meeting point.