PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Gravity & Orbits

Other simulators in this category — or see all 27.

View category →
FeaturedSchool

Orbit Simulator

Launch satellites. Achieve circular, elliptical orbits, or escape.

Launch Simulator
School

Solar System

Interactive scaled model with time controls and orbital data.

Launch Simulator
FeaturedSchool

Gravity Sandbox

Place masses and watch N-body gravitational interactions unfold.

Launch Simulator
School

Kepler's Laws

Elliptical orbits with equal-area sweeps visualized.

Launch Simulator
School

Escape Velocity

Launch from different planets and see trajectory results.

Launch Simulator
NewUniversity / research

Gravitational Lensing

Massive objects bending light. Visual distortion effects.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Gravity & Orbits/Gravity-Assist Fly-By

Gravity-Assist Fly-By

Gravity-assist fly-bys, also known as slingshot maneuvers, are a cornerstone technique for interplanetary spacecraft navigation. This simulator visualizes the core physics of this two-body interaction in two distinct reference frames. The fundamental principle is the conservation of energy and momentum in the planet's rest frame. Here, the spacecraft's speed relative to the planet, |u|, remains constant before (u_in) and after (u_out) the encounter; gravity merely deflects its velocity vector by an angle δ. The change in the spacecraft's velocity relative to the central star (v) arises when we transform back to the star's frame using the Galilean transformation v = V + u, where V is the planet's orbital velocity. The spacecraft gains or loses orbital energy based on the geometry of the encounter: passing 'behind' the planet relative to its orbital motion adds kinetic energy, boosting the spacecraft to higher orbits, while passing 'in front' reduces it. The model simplifies the complex, continuous gravitational interaction into an instantaneous, elastic scattering event, treating the planet as a moving point mass in a fixed circular orbit. It ignores multi-body effects, relativistic corrections, and atmospheric drag. By manipulating the incoming trajectory, students can directly observe how the vector nature of velocity addition leads to significant changes in v, applying concepts of relative motion, conservation laws, and orbital mechanics to a key real-world engineering problem.

Who it's for: Undergraduate physics or aerospace engineering students studying classical mechanics, orbital dynamics, or space mission design.

Key terms

  • Gravity Assist
  • Slingshot Maneuver
  • Relative Velocity
  • Galilean Transformation
  • Orbital Mechanics
  • Velocity Vector Addition
  • Conservation of Energy
  • Hyperbolic Trajectory

Hyperbolic pass (toy)

38 (arb.)
48 (arb.)
90°

In the planet frame the asymptotic speed is unchanged; in the star frame you add the planet’s velocity, so probes can pick up or lose energy depending on geometry (leading vs trailing fly-by).

Measured values

v_out (arb)86.0
Δ|v| vs inbound24.8 (arb.)

How it works

Same physics that flings Voyager and other craft: free momentum transfer from a moving planet.

Frequently asked questions

Where does the spacecraft's extra speed come from? Isn't energy conserved?
Energy is conserved in the planet's rest frame, where the spacecraft's speed relative to the planet is unchanged. The gain in kinetic energy in the star's frame comes from the planet's orbital motion. The spacecraft effectively 'trades' a tiny amount of momentum with the planet, slowing it down imperceptibly. The planet's immense mass means its orbital change is negligible, while the spacecraft's velocity change can be substantial.
Why does passing behind the planet give a boost, but passing in front slows the spacecraft down?
This is a direct consequence of vector addition (v = V + u). When the spacecraft exits behind the planet, its planet-relative velocity (u_out) is rotated to point more in the direction of the planet's orbital velocity (V). Adding these vectors results in a larger star-frame speed (v). If it exits in front, u_out has a component opposite to V, leading to a smaller resultant v. The geometry determines whether the maneuver adds or subtracts orbital energy.
What are the main limitations of this simplified model?
The model treats the fly-by as an instantaneous scattering event, ignoring the continuous curved path along a hyperbolic orbit. It assumes a two-body system (spacecraft + planet) within the star's gravity, neglecting the gravitational pull of the star or other bodies during the encounter. It also assumes the planet's orbit is perfectly circular and unperturbed by the spacecraft.
How is this used in real space missions?
Gravity assists are essential for reaching the outer solar system or changing orbital inclination without prohibitive fuel costs. Missions like Voyager, Cassini, and Juno used multiple fly-bys of Venus, Earth, and Jupiter to gain enough speed to reach their targets. These carefully planned trajectories allow spacecraft to carry more scientific instruments instead of fuel.