I was looking through some of the posts on Google+ and noticed that one of Douglas Crockford’s posts alluded to the fact that there are 365.2425 days on average in a year. At first I thought that the number should’ve actually been 365.25 due to us seeing a leap year every 4 years, but then I remembered that leap years don’t always happen every 4 years.

The rule is that a leap year will be a year evenly divisible by 4 and if it is evenly divisible 100 it must also be evenly divisible by 400. Therefore 1896 was a leap year, but the next leap year wasn’t observed until 1904.

Keeping all of this in mind, let’s see if we come to the same conclusion that there are 365.2425 days in a year on average. First, let’s determine how many days are in the typical 4 year period:

`365 days × 4 + 1 leap day = 1,461 days`

Now let’s determine how many days there actually are in a 400 year time span. Since we already have a rough calculation for 4 years, we can multiply that by 100 and then account for the 3 times the 3 leap days that wouldn’t occur because even though the year would be divisible by 4 and 100 it wouldn’t be divisible by 400:

`1,461 days × 100 - 3 leap days = 146,097 days`

Now let’s simply divide the number of days in a 400 year time span by 400 to get the average amount of days in a year:

`146,097 ÷ 400 = 365.2425`

So now you know why it is said that on average a year is 365.2425 days long. š

## 3 Comments

## superlazy · November 13, 2019 at 4:29 PM

Expressed as days, hours, minutes, seconds: 365d 5h 49m 12s

## Raj · September 3, 2022 at 6:36 AM

Why 3 leap days got substracted while calculating 400 years??

## MAHENDIRAN V · December 31, 2022 at 9:12 AM

No leap on the 100th year but it is on 400th year like every four year.