Skip to content
Omnikalc

Gravity assist calculator: how much speed does a planetary flyby give a spacecraft?

Choose a planet, the approach speed, the closest approach and the geometry to get the turning angle and the speed of the probe relative to the Sun before and after the flyby.

Updated on
Your inputs
km/s

Value out of range

Value out of range

°

Value out of range

Results

Gain in speed relative to the Sun

11.11 km/s

Strong boost The flyby adds several km/s without using any propellant.

Speed relative to the Sun after

22.94 km/s

Speed relative to the Sun before
11.84 km/s
Turning angle of the trajectory
107.8 °
Velocity change seen from the planet
16.16 km/s
Speed at closest approach
30.71 km/s

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.

Frequently asked questions

How does a gravity assist work?

In the frame of the planet, the probe keeps its speed but its direction changes. In the frame of the Sun, the planet moves, so the new direction adds the planet's velocity differently and the probe leaves faster or slower than it came.

Does the planet slow down?

Yes, but by an immeasurably small amount, because the planet is trillions of times heavier than the probe. Energy and momentum are conserved.

Why is Jupiter so useful?

Its large gravitational parameter bends the trajectory a lot even at a distant pass. With the default values, it turns the probe by 107.8° and gives 11.11 km/s.

Can a flyby slow a probe down?

Yes. A pass behind or in front of the planet on the other side reduces the speed relative to the Sun. Missions to Mercury and the Sun use this to lose orbital energy.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.