Pick a planet, see every launch date and flight time on a porkchop plot, tap the cheapest spot and fly the transfer orbit in 3D
Quick Answer:Launch windows to Mars come every 26 months (780 days), when Mars is about 44° ahead of Earth in its orbit so that a half-orbit around the Sun meets it. The cheapest late-2026 departure needs a launch energy C3 of about 9 km²/s² (3.0 km/s left over after escaping Earth) and arrives 9–10 months later; the next windows are around December 2028 and early 2031. Venus windows repeat every 19 months, Jupiter every 13 months. The calculator solves Lambert's problem for thousands of launch dates and flight times with JPL's planetary elements and shows the result as a porkchop plot.
--
--
Earth
Mars
transfer orbit
The 3D view needs WebGL. The porkchop plot and all numbers below still work.
Selected launch
--
--
Launch energy C3
--
--
Arrival v∞
--
--
Δv from parking orbit
--
--
Δv to capture
--
--
--
Mission
Launch windows (lowest C3 of each)
Porkchop range
Selected trajectory (or tap the plot)
Spacecraft & rocket
Porkchop plot
Launch date across, flight time up. Darker is cheaper; white lines are C3 contours, the yellow line is your rocket's C3 limit, dashed grey lines are arrival dates. Tap or drag to pick a trajectory.
Best C3 for each launch date
Lowest launch energy over all flight times in the plot. Where the curve dips below your rocket's limit is your launch period.
Three things to try
Find the ridge. On the Mars plot, a band of very high energy cuts through the pork chop. Tap a point on it: the transfer angle is close to 180°, so the orbit has to be tilted steeply to reach Mars above or below the ecliptic. Cheap trajectories sit either side of it – Type I (less than half an orbit) and Type II (more).
Size your launch period. Lower "Rocket's max C3" from 12 to 10 km²/s² and watch the yellow contour shrink. The note under the results tells you how many days of launch dates your rocket still covers – real missions need about three weeks.
Plan the trip home. Switch From to Mars and To to Earth. Return windows open roughly 15 months after arrival, which is why a crewed Mars mission with a short flight each way spends over a year on the surface.
Model assumptions – what this model leaves out
Patched conics. The spacecraft only feels the Sun between the planets; the planets' gravity is handled by the escape and capture burns. Real trajectories are refined with full n-body integration and change C3 by a few per cent.
Approximate ephemeris. Planet positions come from JPL's mean Keplerian elements (Standish, valid 1800–2050), accurate to a few thousand km for Earth and Mars – fine for planning, not for navigation. Dates use UTC as a stand-in for TDB.
Direct ballistic transfers only. No gravity assists, no deep-space manoeuvres, no multi-revolution orbits. Missions to Jupiter, Saturn and Mercury actually use flybys of Venus, Earth or Mars, which cut the launch energy a lot; Saturn transfers here take many years.
Simple burns. Departure and capture Δv assume an impulsive burn at the periapsis of a circular parking or target orbit. Launch site latitude, the declination limit of the launch site (DLA is shown, not enforced), gravity losses and the launch vehicle's payload curve are not modelled.
Educational tool. Use it to understand launch windows and compare dates, not to design a real mission.
How the Launch Window Calculator – Porkchop Plot & 3D Transfer Orbits works
For every pair of launch date and flight time the calculator takes the position of both planets from JPL’s approximate Keplerian elements (Standish, valid 1800–2050) and solves Lambert’s problem: which orbit around the Sun joins the two positions in exactly that time. A universal-variable solver with bisection finds the single-revolution, prograde solution, so both Type I (less than half an orbit) and Type II (more than half) transfers come out of the same grid.
The difference between the spacecraft’s velocity and the planet’s velocity at each end is the hyperbolic excess speed v∞. Its square at departure is the launch energy C3 that rockets are rated by; at arrival it decides how hard the spacecraft has to brake. The burns from a circular parking orbit and into a capture orbit follow from the vis-viva equation at periapsis. A 120 × 90 grid of these solutions, coloured on a log scale with contour lines, is the porkchop plot.
Launch windows are the local minima of the lowest C3 over all flight times as the launch date moves, searched from 2024 to 2045 and refined to one day. The launch period is the run of launch dates whose best C3 stays below your rocket’s limit. For Earth departures the launch asymptote is turned into the Earth equatorial frame to give its declination (DLA), which limits which launch sites can reach it.
Lambert: find the orbit with r(t₁) = r₁, r(t₂) = r₂ for time of flight Δt (universal variables, Stumpff functions C(z), S(z))
v∞ = |v_spacecraft − v_planet|, C3 = v∞²
Burn from a circular orbit of radius r_p: Δv = √(v∞² + 2μ/r_p) − √(μ/r_p)
Hohmann reference: a = (r₁ + r₂)/2, t = π√(a³/μ☉), v∞ = √(μ☉(2/r₁ − 1/a)) − √(μ☉/r₁)
Worked example
Earth to Mars, launch on 7 November 1996 and arrival on 12 September 1997 (the Mars Global Surveyor dates used as a textbook example in Curtis, Orbital Mechanics for Engineering Students).
Flight time = 309 days. The transfer angle is more than 180°, so this is a Type II trajectory.
Lambert’s problem between Earth’s position on launch day and Mars’ position on arrival day gives the departure velocity; subtracting Earth’s velocity leaves v∞ = 3.165 km/s.
C3 = 3.165² = 10.02 km²/s². From a 200 km parking orbit the departure burn is √(3.165² + 2·398,600/6,578) − √(398,600/6,578) = 3.67 km/s.
At Mars the spacecraft arrives 2.89 km/s faster than the planet; braking into a 300 km circular orbit takes about 2.2 km/s more.
Result: Launch energy 10.0 km²/s², arrival v∞ 2.89 km/s – the values Curtis gives for this trajectory (3.165 and 2.885 km/s).
Assumptions and limits
Patched conics with mean planetary elements: good to a few per cent in C3, fine for planning and teaching, not for navigation. Direct ballistic transfers only – no gravity assists, deep-space manoeuvres or multi-revolution orbits. UTC is used in place of TDB.
Checked: Lambert test case of Curtis Example 5.2 reproduces v₁ = (−5.9925, 1.9254, 3.2456) and v₂ = (−3.3125, −4.1966, −0.3853) km/s, and propagating v₁ for the hour lands within 3e−8 km of r₂; a 179.9° coplanar transfer between circular orbits gives the Hohmann v∞ 2.9448 km/s (C3 8.672) exactly; the ephemeris at J2000 puts the Earth–Moon barycentre at (−0.17717, 0.96721) AU and Mars at (1.39067, −0.01339, −0.03446) AU vs JPL Horizons (−0.17713, 0.96724) and (1.39072, −0.01341, −0.03447); MGS 1996 v∞ 3.165 / 2.89 km/s vs Curtis 3.1651 / 2.8854; Earth–Mars synodic period 779.9 days; lowest C3 of the Mars windows 9.14 (Oct 2026), 8.93 (Dec 2028) and 8.24 km²/s² (Feb 2031), in line with the 8–9 km²/s² of recent opportunities; InSight’s 2018 dates give C3 8.16 km²/s² and a launch declination of −40.8°, the steep southern asymptote that let it launch from Vandenberg.
Launch windows to Mars open about every 26 months (the Earth–Mars synodic period of 780 days). The window after the late-2026 one is around November–December 2028, then early 2031. The calculator lists every window up to 2045 with its lowest launch energy (C3) and flight time; each one is a few weeks long for a given rocket.
What is a porkchop plot?
A contour map of the energy needed to go from one planet to another for every combination of launch date and flight time (or arrival date). Each point is one solution of Lambert's problem. The closed contours look like a pork chop: the centre is the cheapest launch, and the ridge running through it is where the transfer angle is close to 180° and the orbit has to tilt steeply out of the ecliptic.
What does C3 mean for a launch?
C3 (characteristic energy) is the square of the hyperbolic excess speed the rocket must give the spacecraft: the speed left over after escaping Earth's gravity. It is measured in km²/s². A C3 of 9 km²/s² means leaving Earth at 3 km/s relative to Earth. Launch vehicle payload is quoted as a function of C3, so the lower the C3 of a launch date, the heavier the spacecraft can be.
How long does it take to get to Mars?
Most missions take 6 to 10 months. A Hohmann transfer between circular orbits would take 259 days; real windows trade energy for time, from about 150 days (fast, high C3) to about 330 days (Type II trajectories that travel more than half way round the Sun). Perseverance took 203 days, InSight 205 days and MAVEN 308 days.