Orbit Simulator: Mars, Retrograde & Kepler's Laws
Plot Mars night by night. Why does it loop backward, and what shape is its orbit?
Planets orbit the Sun along ellipses obeying Kepler's laws, yet from a moving Earth an outer planet like Mars periodically appears to loop backward against the stars. In this interactive 3D orbit simulator, students triangulate Mars's orbit from paired sightings, verify equal areas in equal times, test the period-distance law across worlds, and connect retrograde motion to orbital overtaking.
- 11 languages
- Laptop · tablet · phone
- Members
Create a free account to get 2 lifetime Free Lab Passes for any labs in the library. The course guide on this page stays free.

Inside this lab
- 1
Preview
- Driving question
- What you will predict
- Equipment and safety
- 2
Lab
- Lock in prediction
- Run the experiment, measure and replay
- Your notebook fills in as you go
- 3
Check
- Did the lab agree with you?
- Claim, evidence, reasoning
- Check questions and a printable lab report
How this orbit simulator reconstructs Mars and Kepler's laws
Rather than showing a finished diagram as proof, this orbit simulator lets you rebuild planetary motion from evidence: switch between an observer's nightly sky view and an overhead heliocentric solar-system view, triangulate Mars's path from paired sightings separated by one Martian year, and test Kepler's three laws alongside gravitational force, energy, and angular momentum.
Apparatus, safety notes, and step-by-step procedure
- Apparatus: 3D heliocentric solar-system and ground sky-track simulator, frozen-epoch Mars sighting triangulator, variable-eccentricity test orbit with equal-time swept-area sectors, speed/energy/angular-momentum gauges, and multi-planet
Tvs.aplotter. - Safety note (for astronomy data practice): Keep reference frames (
heliocentricvs.geocentric) and time epochs explicitly labeled in every data table so apparent sky reversals are never confused with physical orbital velocity vectors.
- Open the Earth–Mars sky and space station, start several months before opposition, and advance time in steady steps while recording both Mars's heliocentric angle and its apparent right ascension against background stars.
- Identify the exact dates of retrograde onset, opposition, closest approach, and retrograde end, confirming from the overhead view that Mars never reverses around the Sun and noting that opposition and closest approach need not coincide on an elliptical orbit.
- Measure the elapsed interval between two consecutive oppositions and compare it with the course reference synodic period (
779.94 days). - Switch to the paired-sighting triangulation tool using pairs separated by one Martian sidereal period (
686.98 days), plot where Earth's two lines of sight intersect, and verify that Mars's reconstructed path forms an ellipse with the Sun at one focus (Kepler's First Law). - Move to the extended test-orbit station, raise orbital eccentricity, and turn on equal-time swept-area sectors near perihelion and aphelion.
- Compare sector area, orbital distance
r, and instantaneous speedvat perihelion vs. aphelion to verify Kepler's Second Law (equal areas in equal times, conserving angular momentum). - Collect semimajor axis
a(AU) and sidereal periodT(yr) for at least four planets or test orbits, computeT^2anda^3, and verify whetherT^2 / a^3 ≈ 1.00around a 1-solar-mass star (Kepler's Third Law). - Change the central star mass in the test-orbit panel (holding
afixed) and record how orbital period responds to stronger or weaker central gravity.
Recording table and model reference data
Model reference data — run your own trials in the 3D lab. Values below reflect the course frozen-element orbital reference (
1 yr = 365.256 dsidereal; two-body Keplerian model around1 M_sun).
| Trial | Independent Variable (Body / Orbit Parameter) | Dependent Variable (Period & Ratio) | Units | Observation |
|---|---|---|---|---|
| Ref 1 | Mars semimajor axis a = 1.5237 AU | Sidereal T = 686.98 d (1.8808 yr), T^2/a^3 = 1.000 | AU, days, yr^2/AU^3 | Confirms Kepler's Third Law with a, not instantaneous distance |
| Ref 2 | Earth–Mars overtaking cycle | Synodic interval = 779.94 d | days | Longer than Mars's orbital period because Earth laps Mars |
| Ref 3 | High-eccentricity test orbit (perihelion vs. aphelion) | Equal swept area per delta t; higher v at smaller r | AU^2, km/s | Conserves angular momentum (r * v_perp = const) |
| Your Trial | Record planet/test a, e, and central mass | Record T, T^2/a^3, and retrograde window dates | AU, yr, days | Keep heliocentric frame and epoch attached to every measurement |
Lab report outline (blank template)
- Title: Identify the Mars retrograde, triangulation, or Kepler's laws investigation performed.
- Purpose: State how paired sightings, swept-area sectors, and
Tvs.adata test Kepler's laws and explain apparent retrograde motion. - Hypothesis: Predict how orbital speed varies between perihelion and aphelion and how
T^2scales witha^3. - Variables: List semimajor axis
a, eccentricitye, and central mass (independent), sidereal periodT, swept area, speed, and apparent sky angle (dependent), and reference frame and epoch (controlled). - Data Table: Log paired sighting coordinates, planet
a(AU),T(dandyr),T^2/a^3, and perihelion/aphelion speeds. - Analysis & Calculation: Plot
T^2vs.a^3, explain retrograde motion using relative angular speeds of Earth and Mars, and distinguish sidereal from synodic periods. - Conclusion & Sources of Error: Summarize evidence supporting all three Keplerian laws and discuss limits of the simplified two-body model (planetary perturbations and time-varying orbital elements).
Continue exploring orbital mechanics and astronomy
Compare Earth–Moon viewing geometry in Moon Phases Simulator, test inward centripetal force in Circular Motion, or browse all 19 labs in Earth Science Simulations.
Common questions
Does Mars physically stop or reverse its orbit during retrograde motion?
Mars always moves forward in the same counterclockwise direction around the Sun. Retrograde motion is an apparent line-of-sight effect that occurs when Earth, moving faster on its inner orbit, overtakes and passes Mars.
What is the difference between Mars's orbital period and its synodic period?
Mars's sidereal orbital period (686.98 days) is the time it takes to complete one full trip around the Sun, whereas the Earth-Mars synodic period (779.94 days) is the longer interval between successive Earth-Mars oppositions seen from Earth.
What does Kepler's First Law say about the Sun's position in a planetary orbit?
Each planet travels along an ellipse with the Sun located at one of the two foci rather than at the geometric center, causing planet-Sun distance to vary between perihelion and aphelion.
Why does a planet move fastest at perihelion according to Kepler's Second Law?
A line joining a planet to the Sun sweeps out equal areas in equal time intervals, which reflects conservation of angular momentum: when radial distance decreases at perihelion, orbital speed must increase.
How do you apply Kepler's Third Law (T squared equals a cubed)?
For objects orbiting the Sun when orbital period T is measured in Earth years and semimajor axis a is measured in astronomical units (AU), the ratio T^2 / a^3 remains constant at approximately 1.0 yr^2/AU^3.
Does Kepler's Third Law stay identical if the central star's mass changes?
The proportionality between T^2 and a^3 still holds for any single central star, but Newton's generalization shows the constant of proportionality scales inversely with the central body's total mass.


