<p>A mathematician would probably find the imprecision of precise orbital time a little frustrating.</p>
<p>A <a href="https://en.wikipedia.org/wiki/Second" rel="nofollow noreferrer">second can be defined as</a></p>
<blockquote>
<p>&quot;the duration of 9 192 631 770 periods of the radiation corresponding
to the transition between the two hyperfine levels of the ground state
of the caesium 133 atom&quot;</p>
</blockquote>
<p>A 24 hour day is 86 400 of those, well, more or less.</p>
<p>A problem that early time-keepers ran into was that the length of the day varied based on the time of year.   Earth does a complete rotation in about 23 hours, 56 minutes, so, the rotation really doesn't factor into it directly, but because Earth orbits the sun about 1 degree of arc every 24 hours, an apparent solar day is has been defined as 24 hours long for centuries.    Days are shorter than that when the earth is closer to the sun, <a href="https://en.wikipedia.org/wiki/Perihelion_and_aphelion" rel="nofollow noreferrer">at perihelion</a>, (<a href="https://en.wikipedia.org/wiki/Solar_time#Mean_solar_time" rel="nofollow noreferrer">by about 20 seconds</a>) and days are longer than the 24 hour average by about 30 seconds at aphelion.   Not enough for anyone to notice unless they were measuring solar time very precisely.</p>
<p>So a day has to be averaged out, called a mean solar day, and that's what 24 hours was based on.   The problem is, Earth's rotation is slowing down.  The Moon is very gradually slowing down the rotation of the Earth by tidal interaction, so <a href="https://en.wikipedia.org/wiki/Solar_time#Introduction" rel="nofollow noreferrer">an average day is currently about 86 400.002 seconds</a>.   Leap seconds are added almost every year and in the future, leap seconds will be added more often.   Officially a day is still 86 400 seconds, and when a leap-second is added, the &quot;leap-day&quot; is 86 401 seconds.   But you could use either number for number of days in a year, average day (currently 86 400.002) or <a href="https://en.wikipedia.org/wiki/Day#International_System_of_Units_.28SI.29" rel="nofollow noreferrer">SI day</a>* (86 400).  As I understand it, a year is usually measured in 86 400 second days or SI days, not &quot;average&quot; days, but it's important to be specific about which one you're using.  I've seen the occasional article that says that 200 million years ago a year was about 400 days long.  That's clearly using average says, not SI days.</p>
<p><em>And if you live in high altitude, your clock will run even faster and a day will run a tiny bit longer thanks to relativity but . . . lets not even go there for the calculations).</em></p>
<p>A solar year, based on the position of the sun and the precise time of the solstice of your choice, which is a precise and momentary alignment.   The length of a solar year changes a bit on a year-to-year basis.   The position of the moon and gravitational perturbations from other planets, affect Earth's period of rotation a little bit, so like the day, the year should be averaged out also.   Modern <a href="https://www.timeanddate.com/date/perfect-calendar.html" rel="nofollow noreferrer">leap-year calendars</a> adjust days to years quote well, but not to the accuracy you're asking about.</p>
<p>Looking at the time of <a href="https://en.wikipedia.org/wiki/Summer_solstice" rel="nofollow noreferrer">recent summer solstices</a> (I've copied them down below for the June solstice).</p>
<p>2010-06-21 11:28<br />
2011-06-21 17:16<br />
2012-06-20 23:09<br />
2013-06-21 05:04<br />
2014-06-21 10:51<br />
2015-06-21 16:38<br />
2016-06-20 22:34<br />
2017-06-21 04:24<br />
2018-06-21 10:07<br />
2019-06-21 15:54<br />
2020-06-20 21:44</p>
<p>There's as much as 15 minutes variation in the length of a year over this 11 year sample.  That's not because Earth's orbit is permanently changing.  These are mostly fluctuations due to the Moon and nearby planets.</p>
<p>An &quot;average year&quot;, or <a href="https://en.wikipedia.org/wiki/Tropical_year#Length_of_tropical_year" rel="nofollow noreferrer">mean tropical year</a>, is currently about 365.2422 86 400 second days and <a href="https://en.wikipedia.org/wiki/Tropical_year#Mean_tropical_year_current_value" rel="nofollow noreferrer">if you want to get more accurate</a>, 365.2421897 days on 1 January 2000.  Formula in the link for adjusting to different years.</p>
<p>I suspect, but I'm not 100% certain that the Earth's mean tropical year moves back and forth with some of Earth's Milankovich cycles.   It's not slowing consistently in the sense that a day is slowing due to the Moon's gravity and inverse tidal force.</p>
<p>According to Kepler's laws, the orbital period is based mostly on Earth's semi-major axis.  The problem is that Kepler's laws aren't 100% accurate.   Relativity is a factor when you try to pinpoint a year precisely to the second and variation in eccentricity, which affects Earth's orbital speed and the precise timing of an average year.</p>
<p>What I know about orbital stability, is that Earth's semi-major axis changes very little, even during the Milankovich cycles, and orbital projections say, that it will probably change little even over time-frames of millions of years.</p>
<p>The Sun is also losing mass, which should slow the Earth's orbit over time, but that effect is also very tiny.   Over millions of years, it's thought that the length of a year doesn't change very much.  The length of a day, over time-periods that long, changes quite a bit more rapidly.  An unanticipated orbital change is always possible, but not thought to be likely.   Orbits don't leave much in the way of track-able footprints, so they're hard to pinpoint over long periods of time and are mostly estimated by mathematical models so, take with a grain of salt, but models do suggest that a year is pretty much constant even over periods of millions of years.</p>
<p>For further reading, maybe start here:   <a href="https://en.wikipedia.org/wiki/Equation_of_time" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Equation_of_time</a></p>
<p>Hope that helps.  Some of the math gets kinda tricky.</p>
<ul>
<li>Thanks zephyr.  I wasn't familiar with that term.</li>
</ul>

CC BY-SA 3.0
2017-06-02T13:01:24.803Z
Great answer. Just for reference, a day defined as 86,400 seconds is also known as an [SI day](https://en.wikipedia.org/wiki/Day#International_System_of_Units_.28SI.29).
zephyr
CC BY-SA 3.0
2017-06-04T11:29:38.790Z
(1/3)
If solar days are too long, wouldn't it make sense for a leap day to be 86 399 seconds? 

This is my favourite sentence out of this whole answer: "These are mostly fluctuations due to the moon and nearby planets."

With regards to the mean tropical year being 365.2421897 SI days on 1 Jan 2000, I wonder how many years that average takes into account.
ahorn
CC BY-SA 3.0
2017-06-04T11:30:37.010Z
(2/3)
According to the formula you linked from Wikipedia (I'm not sure how many years into the future it is accurate for), the mean tropical year will get shorter until 2089, and then start to get longer. The thing which sparked my question was wondering what the average length of a month is. For completeness' sake, that's 30.44 days (to two decimal places), using a year of length 365.242086145121 days in 2017.
ahorn
CC BY-SA 3.0
2017-06-04T11:31:03.410Z
(3/3)
In response to "An unanticipated orbital change is always possible, but not thought to be likely, " I like the idea that we're not 100% certain what will happen to the orbit in millions of years' time. That makes sense. It's also interesting that you say the sun is losing mass. Space must be dynamic.

Lastly, at perihelion, doesn't the earth move faster, along a greater arc, and then the day will be longer than at aphelion? 

Thank you for taking the time to create this answer.
ahorn
CC BY-SA 3.0
2017-06-04T12:03:36.970Z
@ahorn Yes, (3/3) you're right.   At Perihelion (closest part of the orbit around the sun) the object moves fastest.   I'll read through and fix that.   I'm always getting those mixed up.
userLTK
CC BY-SA 3.0
2017-06-04T12:21:45.877Z
@ahorn (1/3) I'm not sure how you're working out "if solar days are too long" shouldn't a leap-day be 83,999 seconds.  Because seconds are constant, as days grow longer they have to add a second to one day every year or two.  (very big earthquakes can also affect Earth's rotation speed, as can melting ice-age glaciers), but the Moon is the consistent slowing effect, so the frequency of leap-days will increase.    As to your question on the average year in 2000, I have no idea how many years they looked at or how they worked it out.  It's a lot of decimal places for something that variable.
userLTK
CC BY-SA 3.0
2017-06-04T14:06:53.237Z
I understand leap days now.
ahorn
CC BY-SA 4.0
2024-05-01T16:50:39.387Z
"Leap seconds are added almost every year" that is somewhat outdated. Despite the long term trend being the earth slowing down, in recent years it has actually sped up. There were 9 leap seconds in the 1970s, 6 in the 1980s, 7 in the 1990s, but only two in the 2000s, 3 in the 2010s and none so far in the 2020s. Recently there has even been talk of the possibility of an unprecedented negative leap second.
Peter Green
CC BY-SA 4.0
2017-06-02T09:27:40.833Z
2020-09-28T06:16:37.017Z
2020-09-28T06:16:37.017Z
userLTK
<p>This morning I was interested in finding out how many days are in one year on average, to several decimal places (because I am a mathematician, so I like to be accurate). Unfortunately, Googling the phrase "days in a year" results in several answers that differ as soon as the third decimal place (taking into account rounding).</p>

<p>A second question in addition to the title question: Does the duration of earth's orbit increase and decrease, or change only monotonically over time?</p>

CC BY-SA 3.0
2017-06-02T03:15:29.690Z
You probably saw several different answers because there are several different ways to define the number of days in a year, e.g., a sidereal year or a tropical year. These two at least differ on the order of $10^{-3}$ days which is precisely what you reported. You need to pick a type of definition for the year first (and also a definition for a day), then figure out how many days are in that year.
zephyr
CC BY-SA 3.0
2017-06-02T04:54:47.030Z
Small quip, but studies suggest that Jesus was born perhaps 4 years before, not 4 years after year 0.
userLTK
CC BY-SA 3.0
2017-06-02T05:37:44.613Z
@userLTK I could have been mistaken. I'll edit my post.
ahorn
CC BY-SA 3.0
2017-06-02T07:07:41.593Z
Please, one question per question. Can you edit to remove the last three paragraphs? I don't know what you mean by "the leap year cycle will be  broken", and I have no idea what you are getting at by asking about "year 0"
James K
CC BY-SA 3.0
2017-06-02T07:36:29.067Z
@JamesK I have removed my last two questions about leap years and when the beginning of year CE0 was. I think that, some time in the future, there will be a once-off eight-year gap between two leap years.
ahorn
CC BY-SA 3.0
2017-06-02T07:45:42.547Z
@barrycarter are you talking about a rotation that is about a degree bigger than 360°? Assuming that the earth is sort of rolling around the sun instead of grinding against it like a bowling ball.
ahorn
CC BY-SA 3.0
2017-06-02T12:16:11.640Z
@ahorn - The next year that is divisible by four that will not be a leap year will be 2100. The years that mark the turn of a century are leap years only if the year number is divisible by 400.
David Hammen
CC BY-SA 3.0
2017-06-02T15:54:45.187Z
Phil Plait had an excellent blog post on this last year. I believe it was while he was still on Slate.
Carl Witthoft
CC BY-SA 4.0
2024-02-13T03:13:33.873Z
By the way there are 5 or more different types of month, only one averaging 1/12 year.
12 modern months are in a year.(February being 28-29 days, and some months being 31 days.)
There are the:
Synodic Month, Sidereal Month, Draconic Month, Anomalistic Month, And obviously Modern Month.
Each having a different precise number of days.
If I tried to explain each, I would probably butcher it, lol.
Earnest Vellacott
<orbit>
To several decimal places, how many days are in one year?
ahorn
# To several decimal places, how many days are in one year?

(Asked by: username_0 on 2017-06-02)

This morning I was interested in finding out how many days are in one year on average, to several decimal places (because I am a mathematician, so I like to be accurate). Unfortunately, Googling the phrase "days in a year" results in several answers that differ as soon as the third decimal place (taking into account rounding).

A second question in addition to the title question: Does the duration of earth's orbit increase and decrease, or change only monotonically over time?

**Tags:** orbit

> **Comments:**
> **username_1**: You probably saw several different answers because there are several different ways to define the number of days in a year, e.g., a sidereal year or a tropical year. These two at least differ on the order of $10^{-3}$ days which is precisely what you reported. You need to pick a type of definition for the year first (and also a definition for a day), then figure out how many days are in that year.  
> **username_2**: Small quip, but studies suggest that Jesus was born perhaps 4 years before, not 4 years after year 0.  
> **username_0**: @username_2 I could have been mistaken. I'll edit my post.  
> **username_3**: Please, one question per question. Can you edit to remove the last three paragraphs? I don't know what you mean by "the leap year cycle will be  broken", and I have no idea what you are getting at by asking about "year 0"  
> **username_0**: @JamesK I have removed my last two questions about leap years and when the beginning of year CE0 was. I think that, some time in the future, there will be a once-off eight-year gap between two leap years.  
> **username_0**: @barrycarter are you talking about a rotation that is about a degree bigger than 360°? Assuming that the earth is sort of rolling around the sun instead of grinding against it like a bowling ball.  
> **username_4**: @username_0 - The next year that is divisible by four that will not be a leap year will be 2100. The years that mark the turn of a century are leap years only if the year number is divisible by 400.  
> **username_5**: Phil Plait had an excellent blog post on this last year. I believe it was while he was still on Slate.  
> **username_6**: By the way there are 5 or more different types of month, only one averaging 1/12 year. 12 modern months are in a year.(February being 28-29 days, and some months being 31 days.) There are the: Synodic Month, Sidereal Month, Draconic Month, Anomalistic Month, And obviously Modern Month. Each having a different precise number of days. If I tried to explain each, I would probably butcher it, lol.  

---

## 1 answers

### Answer by username_2 on 2017-06-02. Score: 11 | Accepted answer

A mathematician would probably find the imprecision of precise orbital time a little frustrating.

A [second can be defined as](https://en.wikipedia.org/wiki/Second)

> "the duration of 9 192 631 770 periods of the radiation corresponding
> to the transition between the two hyperfine levels of the ground state
> of the caesium 133 atom"

A 24 hour day is 86 400 of those, well, more or less.

A problem that early time-keepers ran into was that the length of the day varied based on the time of year. Earth does a complete rotation in about 23 hours, 56 minutes, so, the rotation really doesn't factor into it directly, but because Earth orbits the sun about 1 degree of arc every 24 hours, an apparent solar day is has been defined as 24 hours long for centuries. Days are shorter than that when the earth is closer to the sun, [at perihelion](https://en.wikipedia.org/wiki/Perihelion_and_aphelion), ([by about 20 seconds](https://en.wikipedia.org/wiki/Solar_time#Mean_solar_time)) and days are longer than the 24 hour average by about 30 seconds at aphelion. Not enough for anyone to notice unless they were measuring solar time very precisely.

So a day has to be averaged out, called a mean solar day, and that's what 24 hours was based on. The problem is, Earth's rotation is slowing down. The Moon is very gradually slowing down the rotation of the Earth by tidal interaction, so [an average day is currently about 86 400.002 seconds](https://en.wikipedia.org/wiki/Solar_time#Introduction). Leap seconds are added almost every year and in the future, leap seconds will be added more often. Officially a day is still 86 400 seconds, and when a leap-second is added, the "leap-day" is 86 401 seconds. But you could use either number for number of days in a year, average day (currently 86 400.002) or [SI day](https://en.wikipedia.org/wiki/Day#International_System_of_Units_.28SI.29)\* (86 400). As I understand it, a year is usually measured in 86 400 second days or SI days, not "average" days, but it's important to be specific about which one you're using. I've seen the occasional article that says that 200 million years ago a year was about 400 days long. That's clearly using average says, not SI days.

*And if you live in high altitude, your clock will run even faster and a day will run a tiny bit longer thanks to relativity but . . . lets not even go there for the calculations).*

A solar year, based on the position of the sun and the precise time of the solstice of your choice, which is a precise and momentary alignment. The length of a solar year changes a bit on a year-to-year basis. The position of the moon and gravitational perturbations from other planets, affect Earth's period of rotation a little bit, so like the day, the year should be averaged out also. Modern [leap-year calendars](https://www.timeanddate.com/date/perfect-calendar.html) adjust days to years quote well, but not to the accuracy you're asking about.

Looking at the time of [recent summer solstices](https://en.wikipedia.org/wiki/Summer_solstice) (I've copied them down below for the June solstice).

2010-06-21 11:28  
2011-06-21 17:16  
2012-06-20 23:09  
2013-06-21 05:04  
2014-06-21 10:51  
2015-06-21 16:38  
2016-06-20 22:34  
2017-06-21 04:24  
2018-06-21 10:07  
2019-06-21 15:54  
2020-06-20 21:44

There's as much as 15 minutes variation in the length of a year over this 11 year sample. That's not because Earth's orbit is permanently changing. These are mostly fluctuations due to the Moon and nearby planets.

An "average year", or [mean tropical year](https://en.wikipedia.org/wiki/Tropical_year#Length_of_tropical_year), is currently about 365.2422 86 400 second days and [if you want to get more accurate](https://en.wikipedia.org/wiki/Tropical_year#Mean_tropical_year_current_value), 365.2421897 days on 1 January 2000. Formula in the link for adjusting to different years.

I suspect, but I'm not 100% certain that the Earth's mean tropical year moves back and forth with some of Earth's Milankovich cycles. It's not slowing consistently in the sense that a day is slowing due to the Moon's gravity and inverse tidal force.

According to Kepler's laws, the orbital period is based mostly on Earth's semi-major axis. The problem is that Kepler's laws aren't 100% accurate. Relativity is a factor when you try to pinpoint a year precisely to the second and variation in eccentricity, which affects Earth's orbital speed and the precise timing of an average year.

What I know about orbital stability, is that Earth's semi-major axis changes very little, even during the Milankovich cycles, and orbital projections say, that it will probably change little even over time-frames of millions of years.

The Sun is also losing mass, which should slow the Earth's orbit over time, but that effect is also very tiny. Over millions of years, it's thought that the length of a year doesn't change very much. The length of a day, over time-periods that long, changes quite a bit more rapidly. An unanticipated orbital change is always possible, but not thought to be likely. Orbits don't leave much in the way of track-able footprints, so they're hard to pinpoint over long periods of time and are mostly estimated by mathematical models so, take with a grain of salt, but models do suggest that a year is pretty much constant even over periods of millions of years.

For further reading, maybe start here: <https://en.wikipedia.org/wiki/Equation_of_time>

Hope that helps. Some of the math gets kinda tricky.

* Thanks username_1. I wasn't familiar with that term.

> **Comments:**
> **username_1**: Great answer. Just for reference, a day defined as 86,400 seconds is also known as an [SI day](https://en.wikipedia.org/wiki/Day#International_System_of_Units_.28SI.29).  
> **username_0**: (1/3) If solar days are too long, wouldn't it make sense for a leap day to be 86 399 seconds?   This is my favourite sentence out of this whole answer: "These are mostly fluctuations due to the moon and nearby planets."  With regards to the mean tropical year being 365.2421897 SI days on 1 Jan 2000, I wonder how many years that average takes into account.  
> **username_0**: (2/3) According to the formula you linked from Wikipedia (I'm not sure how many years into the future it is accurate for), the mean tropical year will get shorter until 2089, and then start to get longer. The thing which sparked my question was wondering what the average length of a month is. For completeness' sake, that's 30.44 days (to two decimal places), using a year of length 365.242086145121 days in 2017.  
> **username_0**: (3/3) In response to "An unanticipated orbital change is always possible, but not thought to be likely, " I like the idea that we're not 100% certain what will happen to the orbit in millions of years' time. That makes sense. It's also interesting that you say the sun is losing mass. Space must be dynamic.  Lastly, at perihelion, doesn't the earth move faster, along a greater arc, and then the day will be longer than at aphelion?   Thank you for taking the time to create this answer.  
> **username_2**: @username_0 Yes, (3/3) you're right.   At Perihelion (closest part of the orbit around the sun) the object moves fastest.   I'll read through and fix that.   I'm always getting those mixed up.  
> **username_2**: @username_0 (1/3) I'm not sure how you're working out "if solar days are too long" shouldn't a leap-day be 83,999 seconds.  Because seconds are constant, as days grow longer they have to add a second to one day every year or two.  (very big earthquakes can also affect Earth's rotation speed, as can melting ice-age glaciers), but the Moon is the consistent slowing effect, so the frequency of leap-days will increase.    As to your question on the average year in 2000, I have no idea how many years they looked at or how they worked it out.  It's a lot of decimal places for something that variable.  
> **username_0**: I understand leap days now.  
> **username_7**: "Leap seconds are added almost every year" that is somewhat outdated. Despite the long term trend being the earth slowing down, in recent years it has actually sped up. There were 9 leap seconds in the 1970s, 6 in the 1980s, 7 in the 1990s, but only two in the 2000s, 3 in the 2010s and none so far in the 2020s. Recently there has even been talk of the possibility of an unprecedented negative leap second.  

---

