Scrub cosmic time to watch the Sun sweep around the Milky Way's center and bob through the galactic disk plane, then switch between a top-down and an edge-on view.
The Sun carries the Solar System around the Milky Way's center at roughly 220-230 km/s, about 26,000-28,000 light-years out - one full lap, a "galactic year," takes roughly 225-250 million years.
Drag to orbit and scroll or pinch to zoom. Switch between the top-down and edge-on views, press Play or Pause, or drag the elapsed-time slider to jump anywhere across the last 4.6 billion years.
Galactic Year: Sun's Orbit Around the Milky Way 3D Explorer
Every point on Earth is also riding the Solar System around the Milky Way's center - this explorer scrubs that motion so you can count how many laps the Sun has completed.
The Sun and the rest of the Solar System orbit the galactic center at roughly 220-230 km/s (Gaia-era measurements run a little higher, about 234-240 km/s), at a distance of about 26,000-28,000 light-years (around 8 kiloparsecs). One full lap around that orbit - a "galactic year" - takes roughly 225-250 million years; this scene uses 230 million years, the figure most commonly cited. Since the Solar System formed about 4.6 billion years ago, the Sun has completed roughly 20 of these laps.
The Sun's path is not perfectly flat: published studies also find it oscillates up and down through the galactic disk plane, crossing from one side to the other and back on a cycle that different studies place anywhere from about 30 to 74 million years. The scene exaggerates this bobbing motion so it stays visible on screen.
- Elapsed-time slider spans 0 to 4,600 million years - the Sun's full lifetime so far - and shows the completed-orbit count update live
- Top-down view lays the spiral disk flat so you can see the orbit as a circle; edge-on view turns the disk on its side so the vertical bobbing motion is visible
- Play animates elapsed time continuously; Pause holds any moment so you can read the facts panel
- Facts panel cites the distance, orbital speed, galactic-year length, orbit count, and the disagreement range for the vertical-oscillation period
- Drag to orbit the camera, scroll or pinch to zoom, fullscreen available
- Runs fully in the browser with the vendored three.js engine - no account, no upload
Astronomy learners and teachers use the elapsed-time slider to connect deep-time events - the age of the dinosaurs, the first multicellular life, the Sun's own formation - to how far around the galaxy the Solar System has traveled since then.
| Figure | Published value |
|---|---|
| Distance to galactic center | about 26,000-28,000 light-years (about 8 kiloparsecs) |
| Orbital speed | commonly cited about 220-230 km/s; Gaia-era estimates about 234-240 km/s |
| Galactic year (one orbit) | about 225-250 million years (this scene uses 230) |
| Orbits since the Sun formed (about 4.6 billion years ago) | about 20 |
| Vertical oscillation through the disk plane | published full-cycle estimates disagree, roughly 30-74 million years |
For the Milky Way's overall structure rather than the Sun's own path through it, see the Milky Way Map 3D Explorer. For the supermassive black hole the whole galaxy orbits, see the Sagittarius A* Star Orbit 3D Explorer. This page is specifically about the Sun's own 230-million-year lap.
Everything renders on your device with WebGL. The 3D engine loads once (about 0.7 MB) and is cached; no scene data is sent to a server.
This is an educational approximation, not a dynamical simulation of the Milky Way - the spiral disk is a teaching shape, and the on-screen orbit size, disk scale, and vertical-bob amplitude are compressed and exaggerated for readability, while the table holds the real published figures.
Frequently Asked Questions
How long is a galactic year?
Roughly 225-250 million years, the time the Sun takes for one full orbit of the Milky Way's center. This scene uses 230 million years, the figure most commonly cited.
How many times has the Sun orbited the galaxy?
About 20 times. The Solar System formed roughly 4.6 billion years ago, and dividing that by a 230-million-year galactic year gives about 20 completed laps.
How far is the Sun from the center of the Milky Way?
About 26,000-28,000 light-years, roughly 8 kiloparsecs, orbiting at a speed commonly cited around 220-230 km/s (Gaia-era measurements run slightly higher, about 234-240 km/s).
Does the Sun really bob up and down through the galaxy?
Published studies agree the Sun oscillates vertically through the galactic disk plane, but they disagree on the exact cycle length - estimates range from about 30 to 74 million years depending on the study. This page discloses that range rather than picking one number as settled fact.
Is this different from the Milky Way Map explorer?
Yes. The Milky Way Map 3D Explorer shows the galaxy's overall structure. This page is specifically about the Sun's own motion - its orbit path, speed, and vertical bobbing - as a passenger inside that structure.
Does this page simulate real Milky Way gravity?
No. It is an educational approximation using published distance, speed, and period figures. The spiral-arm disk is a teaching shape, not a gravitational simulation, and on-screen sizes are compressed and exaggerated for visibility.