A gravity assist lets a spacecraft borrow a little of a planet’s orbital energy. Seen from the planet, the probe arrives and leaves with the same speed, but its direction changes. Seen from the Sun, the change of direction adds or removes speed. This is how Voyager 2 visited four planets and how many missions reach the outer solar system without a giant rocket. This calculator gives the turning angle and the speed before and after for a flyby of Venus, Earth, Mars, Jupiter or Saturn.
How the calculation works
- Eccentricity of the hyperbolic flyby e = 1 + r_p × v∞² ÷ μ, with r_p the closest approach from the planet centre and μ the planet’s gravitational parameter
- Turning angle δ = 2 × asin(1 ÷ e)
- Speed relative to the Sun before: v₁² = V² + v∞² + 2 V v∞ cos θ, where V is the orbital speed of the planet and θ the angle between V and the approach velocity
- Speed after: the same formula with the angle θ − δ
- Speed change seen from the planet = 2 v∞ sin(δ ÷ 2)
Example
A probe reaches Jupiter at 10 km/s relative to the planet and passes at 4.3 radii from its centre. The trajectory is bent by 107.8°. With an approach angle of 120°, the speed relative to the Sun goes from 11.84 km/s to 22.94 km/s, a gain of 11.11 km/s. Jupiter moves at 13 km/s around the Sun, and the probe takes a tiny part of that motion. The speed at the closest approach is 30.71 km/s.
Why it matters
A gain of several km/s would cost a huge amount of propellant by the rocket equation, since the mass of fuel grows exponentially with the velocity change. A flyby is free in fuel but needs a precise date and path, so mission designers plan launches around planetary alignments. The effect grows with the mass of the planet and the closeness of the pass, which is why Jupiter is the best tutor in the solar system.
Good to know
The model assumes a planar encounter and a pass on the favorable side. A pass on the other side removes speed, which is how probes are sent towards the Sun. The planet loses an immeasurably tiny amount of energy. The speed relative to the planet is the same before and after, so a gravity assist cannot exceed twice the planet’s speed in the best case. Atmospheres and rings limit how close a probe can go.
In practice
Change the angle from 180° (head-on) to 0° to see the sign of the gain change. Raise the closest approach to see the turning angle fall. Real missions also use a series of flybys and small engine burns. The tool is educational and not a trajectory design program.