<blockquote>
  <p>Is there any resource that provides these current values?</p>
</blockquote>

<p>Yes. The <a href="http://ssd.jpl.nasa.gov/?horizons" rel="nofollow">JPL HORIZONS on-line solar system data and ephemeris computation service</a> provides these values, and much more.</p>

CC BY-SA 3.0
2014-12-19T03:52:20.663Z
@barrycarter -which is http://naif.jpl.nasa.gov
Deer Hunter
CC BY-SA 3.0
2014-12-18T22:01:32.593Z
2014-12-18T22:01:32.593Z
David Hammen
<p>I am working on an orbital dynamics code and, for fun, I would like to model the Sun-Earth-Moon system with my code.  I can look up the masses of each object just fine, as well as average distances and relative velocities (which I can also calculate).  However, I would like to model the Sun-Earth-Moon system in great detail.  I would like to know the positions and velocities of each object on any given day (today works just fine) so that I can represent the orbits of these objects with great accuracy, hopefully even reproducing their actual ellipticity.  Where can I find values for:</p>

<ul>
<li>current Sun-Earth distance</li>
<li>current Earth-Moon distance</li>
<li>current Sun-Moon angular separation</li>
<li>current velocity of Earth relative to Sun (or relative to Sun-Earth(-Moon?) center of mass)</li>
<li>current velocity of Moon relative to Earth</li>
</ul>

<p>and, maybe even</p>

<ul>
<li>current velocity of Sun relative to Sun-Earth(-Moon?) center of mass.</li>
</ul>

<p>Is there any resource that provides these current values?</p>

<the-moon><the-sun><solar-system><earth><n-body-simulations>
Look up current positions and velocities of solar system objects
NeutronStar
# Look up current positions and velocities of solar system objects

(Asked by: username_0 on 2014-12-18)

I am working on an orbital dynamics code and, for fun, I would like to model the Sun-Earth-Moon system with my code. I can look up the masses of each object just fine, as well as average distances and relative velocities (which I can also calculate). However, I would like to model the Sun-Earth-Moon system in great detail. I would like to know the positions and velocities of each object on any given day (today works just fine) so that I can represent the orbits of these objects with great accuracy, hopefully even reproducing their actual ellipticity. Where can I find values for:

* current Sun-Earth distance
* current Earth-Moon distance
* current Sun-Moon angular separation
* current velocity of Earth relative to Sun (or relative to Sun-Earth(-Moon?) center of mass)
* current velocity of Moon relative to Earth

and, maybe even

* current velocity of Sun relative to Sun-Earth(-Moon?) center of mass.

Is there any resource that provides these current values?

**Tags:** the-moon, the-sun, solar-system, earth, n-body-simulations


---

## 1 answers

### Answer by username_1 on 2014-12-18. Score: 4

> Is there any resource that provides these current values?

Yes. The [JPL HORIZONS on-line solar system data and ephemeris computation service](http://ssd.jpl.nasa.gov/?horizons) provides these values, and much more.

> **Comments:**
> **username_2**: @barrycarter -which is http://naif.jpl.nasa.gov  

---

