Dates are counted in whole days, but a year is not a whole number of days. That mismatch is why a date-to-years calculation divides by 365.25 rather than 365, and why leap days appear on the calendar. This article defines the year the way the years between two dates calculator uses it.
A year is 365.25 days long on average: the time Earth takes to complete one circuit around the Sun. Because calendars use whole days, a leap day is added every four years, and occasional leap seconds keep clocks aligned. With 86,400 seconds in a day, an average year contains 31,557,600 seconds.
How long is a year in days and seconds?
A year is the time it takes for the Earth to complete one full circuit around the Sun. That journey does not finish in a whole number of days, so the average year is 365.25 days rather than exactly 365. Multiplying the average day length by the number of days in a year gives the seconds in an average year:
| Quantity | Sourced value |
|---|---|
| Average length of a year | 365.25 days |
| Seconds in a day | 86,400 |
| Seconds in an average year | 31,557,600 |
| Leap day frequency | One extra day every four years |
| Clock adjustment | Leap seconds added from time to time |
Why do calendars use leap days and leap seconds?
Since calendars have no quarter-day, the extra quarter-day in each solar year is collected and added back as one extra day every four years. This is the leap day, 29 February, which also has to be counted when you measure the days between two dates that span it. From time to time a leap second is added as well, to keep reality aligned with the calendar.
Worked example: seconds in an average year
Start with one day: 86,400 seconds. An average year has 365.25 days, so multiply the two:
That is the number of seconds in an average year used as the basis for longer time conversions.
Frequently Asked Questions
Is a year exactly 365 days?
No. A year averages 365.25 days because Earth's circuit around the Sun does not end on a whole number of days.
Why does a leap day appear every four years?
The extra quarter-day each year accumulates, so 29 February is added every four years to keep the calendar close to the solar year.
What are leap seconds for?
They are added from time to time to keep clocks aligned with the calendar and with Earth's actual motion.
References
- Omni Calculator, "Years Between Two Dates," section "What is a year?".
- Astronomical references on Earth's orbit and the length of the solar year.
- Time-standard references on leap seconds and calendar alignment.