Naturally we would expect the average angular distance(*), to be exactly 90°, for although the Moon is not running in uniform speed (or rather, to be more precise, the relative angular speed of the Sun versus the Moon is not uniform), it is expected to average to 90° after some months.

But I'm not quite convinced on this, since the Moon's orbit has many irregularities that are due to the Sun, so maybe those irregularities and different precessions cause it to be somehow to have angular distance less than 90° on average (say, in a time frame of 100 years to allow some cycles of the precessions)? For those precessions are not just random and arbitrary but are affected also by the Sun.

(*) By the term angular distance, I actually mean the elongation - the longitudinal distance on the plane on the ecliptic. i.e., let's assume the Moon is always on the ecliptic. Also to avoid other complications, like parallax, lets assume the viewing point is Earth's center.

(**) This question was heavily edited and originally was about the average distance of Moon-Sun and Earth-Sun: are they equal. It was triggered by another question about which of Mars and its moon is closer to Earth.. In his answer to that question, Conor Garcia established that the Earth-Sun distance is shorter.

  • $\begingroup$ Not an answer, but there is some interesting information at Why is there no concavity in the orbit of the moon around the Sun? $\endgroup$
    – uhoh
    Apr 7, 2022 at 19:07
  • 1
    $\begingroup$ Even with no irregularities, the Earth would on average be closer. Take a look at my answer here: astronomy.stackexchange.com/questions/49022/… $\endgroup$
    – Connor Garcia
    Apr 7, 2022 at 19:24
  • $\begingroup$ @ConnorGarcia, thanks. I certainly overlooked this cool effect! It can be answer to my question, though I am considering to edit now, for what I am now after is if the Moon is expected to be found more time on average in the closer semi orbit (i.e., when the Moon-Earth-Sun angle is between 0-180), or the further when the angle (180-360) $\endgroup$
    – d_e
    Apr 7, 2022 at 19:31
  • $\begingroup$ Not an answer: by this source it seems that there are no more supermoons than micromoons. Not that is so surprising (as the apsides precession 8.66 years does not seem to resonate with something), but it suggests the perigee and apogee at 180 deg occur in about the same frequency. No sign to any asymmetry. Yet this is not whole story. $\endgroup$
    – d_e
    Apr 7, 2022 at 22:36
  • $\begingroup$ Why 90 degrees? Intuitively, I would expect zero. $\endgroup$
    – Leos Ondra
    Apr 9, 2022 at 18:07

2 Answers 2


For lack of other means, I had to resort to empirical evidence. I am not a statistician to draw conclusions from the data, but as far as astropy is to be trusted (and together with Greg Miller answer), we can comfortably say that the average elongation between the Sun and the Moon is indeed less than 90 and about 89.9773. Not less than 1 minute 20 seconds of arc below 90.

using astropy, I was probing the elongation every 100 minutes for a period of 20 Metonic cycles from 1971 (about 380 years).(*). Hopefully I have no errors in the procedure.

 from datetime import datetime, timedelta
import numpy
from astropy.coordinates import get_sun, get_moon
from astropy.time import Time

SYNODIC_MONTH = 29.530588

def arc_angle_to_decimal_angle(x):
    sign, d, m, s = x.signed_dms
    return sign*(((s+60*m) / 3600.0) + d)

def get_mean_elongation(start_time, duration_years, resulation_minutes=60):

    full_synodic_months_in_period = int((duration_years * 365.25) / SYNODIC_MONTH)
    total_seconds_in_period = full_synodic_months_in_period * SYNODIC_MONTH * 24 * 3600
    start_timestamp = (start_time - datetime(1970, 1, 1)).total_seconds()
    measurement_dates = numpy.arange(start_timestamp,
                                    int(start_timestamp + total_seconds_in_period),
    times = Time(measurement_dates, format='unix')
    sun_locations = get_sun(times)
    sun_longitudes = sun_locations.geocentrictrueecliptic.lon
    moon_locations = get_moon(times)
    moon_longitudes = moon_locations.geocentrictrueecliptic.lon

    raw_elongations = sun_longitudes - moon_longitudes
    elongations = [abs((arc_angle_to_decimal_angle(x) + 180) % 360 - 180) for x in raw_elongations]
    return numpy.average(elongations)

initial_time = datetime(year=1971, month=1, day=1)
# randomly using Metonic cycle as our time unit. duration for each run.
start_times = [initial_time + i*timedelta(days=SYNODIC_MONTH*235.0) for i in range(20)]
for start_time in start_times:
    mean_elongation_in_cycle = get_mean_elongation(start_time, 19.01, 100)
    print (mean_elongation_in_cycle)

Overall the mean elongation was only 89.977126428844, with std dev of 0.03 degrees between the cycles. However, every cycle is an average itself of 235 synodic months. the averages of the 20 cycles:


It is interesting to see that the average of each cycle never suppresses 90.02 degrees, but can go down as far 89.93 (three times out of 20). So maybe there is indeed some asymmetry here.

Edit: I later ran the same, again with 20 cycles, but this time of 4 Metonic cycles (~76 years) [though with somewhat decreased resolution but this seems to be insignificant]. In every single one, the mean elongation turned up to be below 90 degrees. with an average of 89.977365350276. here are the numbers:


For fun, I ran it again, this time using start-date 4000 years ahead. the results were about the same. (again, all the cycles below 90, avg: 89.97755)

Now, we are left with the question of why this happens. very far from being sure, I still prefer to stick to my original hunch: that this deviation from 90 degrees is due to the precessions, with their irregular speeds, which are ultimately related to the Sun- so it will somehow, with a complex mechanism, cause it to be so. For I can't find any other reason. (1) When one looks at the inequalities of the Moon and their principal terms, which I believe should be accurate within 1 minute of arc, he can see (unless I'm mistaken) that there is symmetry there (trying to have $D = 180 + D$); though there is asymmetry between the sides of the Full and New Moons (Parallactic inequality) this is still a mirror between them. [the reader should not however that all values there are mean values] (2) the main precession cycles are relatively fast. The most important for our sake here, the apsidal precession, is only 8.85 years; hence I expect that if the precessions and irregularities were really independent, their effect would cancel quite fast.

(*) This is the first time I was using astropy, and had some odd warnings when I run the programs. Besides, for some reason, when I was testing the function I noticed the latitude components of the Sun do not return 0, but can be several (up to 6 seconds of arc). Not sure why is that, and what does it mean about the reliability and accuracy of the longitude component that was used in this software.

  • $\begingroup$ Yes, the Sun's ecliptic latitude varies from zero by as much as 8 arcsecs. I guess that could be a good topic for a new question. Here's DE441 data from Horizons for Jan 2000 to Jan 2001, with a 7 day step. $\endgroup$
    – PM 2Ring
    Apr 9, 2022 at 2:12
  • $\begingroup$ The fact that the Sun's ecliptic latitude isn't zero shouldn't be too surprising. The ecliptic is based on the Earth's instantaneous velocity. So, the sun would only be at zero if the Earth were not perturbed by any other planets along the z axis. $\endgroup$ Apr 9, 2022 at 2:30
  • $\begingroup$ Note that the actual length of a synodic month can vary by up to 7 hours from the mean, mostly due to orbital eccentricities. See astropixels.com/ephemeris/moon/synodicmonth2001.html You might like to look at cycles that have close to a whole number of anomalistic years & months as well as synodic months, to average out those effects. Eg, 469 anom years ~= 6217 anom months ~= 5801 synodic months ~= 171307 days. $\endgroup$
    – PM 2Ring
    Apr 9, 2022 at 2:57
  • $\begingroup$ @PM2Ring, that's correct. I saw the effect the the 7 hours. I might fix that later. but all in I'm not so concerned by this as this effect is not accumulated. On my example the first measurement of the first cycle is ~46.5, while the last measurement of the last cycle is ~48.5. that's about 2 hours total. so we have 2 measurements of elongation of ~47 extra. which out of 2M measurements will lower the total average in 0.000045 degrees. $\endgroup$
    – d_e
    Apr 9, 2022 at 7:15

I took a slightly different approach than D_E did. I used VSOP87 and, rather than using a fixed interval, computed the angle for 1,000,000 random days between the year 1000 and 3000. The result is similar to what he got: 89.97707654083075.

function sub(a,b){
    const t=new Array();
    return t;

function length(v){
    return Math.sqrt(v[0]*v[0] + v[1]*v[1] + v[2]*v[2]);

function norm(v){
    const t=new Array();
    const l=length(v);
    return t;

function getAngle(day){
    const t = day / 365250.0;
    const earth=vsop87a_full.getEarth(t);
    const emb=vsop87a_full.getEmb(t);
    let moon=vsop87a_full.getMoon(earth,emb);
    let sun=[0,0,0];

    //Convert to geocentric coordinates

    //Computes the dot product using only x,y components
    dot=sun[0]*moon[0] + sun[1]*moon[1];

    return angle;

function computeAverage(){
    const max=365250;
    const min=-max;

    const itterations=1000000;
    let accumulator=0;
    for(let i=0;i<itterations;i++){
        const r=Math.random()*(max-min)-max;

  • $\begingroup$ Another option is ELP. Pity there isn't an updated version. There have been significant improvements in lunar data over the last decade or two, due to improvements in lunar laser ranging techniques, eg agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2019EA000785 $\endgroup$
    – PM 2Ring
    Apr 9, 2022 at 3:07
  • 1
    $\begingroup$ The lunar data in VSOP87 actually is ELP-82b. ELP/MPP02 does contain lunar laser ranging data. I think their latest is VSOP2013, but it's based on Chebyshev polynomials rather than the Fourier series, so it's pretty huge. IMHO, VSOP87 is still more accurate than any amateur needs, anything more accurate is a waste of bandwidth and computing power. If you really need accuracy, the JPL DE is the best option. $\endgroup$ Apr 9, 2022 at 4:20
  • $\begingroup$ Wow. Thanks for this. Happy to see the results are about the same. $\endgroup$
    – d_e
    Apr 9, 2022 at 7:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .