🪐 Solar System Gravity & Milky Way Galactic Orbit Simulator

Discover how the Sun's gravitational pull governs the orbital speeds of all 8 planets, how the Sun carries the Solar System along a 220 km/s helix, and how we orbit the center of our Milky Way galaxy together.

Real-time astrophysics simulation running 100% locally in your browser.
29.78 km/s Planet Orbital Speed
1.00 yrs Orbital Period (Kepler T)
0.0059 m/s² Solar Pull (G·M/r²)
9.81 m/s² Planet Surface Gravity
220 km/s Sun's Galactic Speed
225 M yrs Galactic Year (26,000 ly)
💛 Support Herramix (Ad-Free): User-d69ef requested a 1 USDT payment via Binance Pay. Tap here to donate 1 USDT on Binance

Universal Gravitation, Kepler's Laws, and Galactic Dynamics

Isaac Newton's Law of Universal Gravitation states that the Sun (which holds \( 99.86\% \) of the entire mass of the Solar System) attracts every planet with a force proportional to the product of their masses and inversely proportional to the square of their separation distance \( r \). Equating gravitational attraction with centripetal force yields the orbital speed and Kepler's Third Law:

\[ F = G \frac{M_\odot m}{r^2} = \frac{m v^2}{r} \implies v = \sqrt{\frac{G M_\odot}{r}}, \qquad T^2 = \left(\frac{4\pi^2}{G M_\odot}\right) r^3 \]

On a vastly grander scale, the Sun is not stationary either: the combined gravitational field of the central bulge, stellar disk, supermassive black hole Sagittarius A*, and dark matter halo of the Milky Way keeps our Solar System orbiting at roughly \( 220\text{ km/s} \) (\( 492,000\text{ mph} \)) at a distance of \( 26,000\text{ light-years} \) from the galactic core.

Guided Experiment: Explore the 3 Cosmic Scales

  1. In mode 1. Planetary Orbits, increase the Sun's mass to 4.00 M☉: since \( v \propto \sqrt{M_\odot} \), watch Earth's orbital velocity double from \( 29.78\text{ km/s} \) to nearly \( 60\text{ km/s} \) while the length of a year is cut in half.
  2. Switch to mode 2. Helical Motion and then 3. Milky Way to visualize how the planets trace corkscrew paths through space while accompanying the Sun along the Orion Arm.

Frequently Asked Questions (FAQ)

How does the Sun's gravity keep the planets moving without falling into it?

Planets are in continuous free-fall toward the Sun, but they possess a tangential velocity \( v = \sqrt{G M / r} \) perpendicular to gravity. As they fall, their sideways motion curves their path around the Sun without getting closer.

How does our Solar System actually move through the Milky Way galaxy?

The Sun travels at roughly \( 220\text{ km/s} \) around the center of the Milky Way with the planetary ecliptic plane tilted by about \( 60^\circ \) relative to the galactic plane, carving a helical trajectory through 3D space.

What is a Galactic Year or Cosmic Year?

It is the \( 225 \) to \( 250\text{ million Earth-year} \) period required for our Solar System to complete one full revolution around the center of the Milky Way.

Related Physics Simulators