What Is the Exact Number of Days in a Year?

A common calendar year has exactly 365 days, but the actual time Earth takes to orbit the Sun is 365 days, 5 hours, 48 minutes, and 46 seconds, or about 365.2422 days. That leftover fraction is why we have leap years and why the answer to “how many days in a year” depends on which type of year you mean.

The Calendar Year vs. the Solar Year

The calendar on your wall gives you either 365 or 366 days. A standard year is 365 days. A leap year, which adds February 29, is 366 days. But neither number matches the time it actually takes Earth to complete one trip around the Sun.

That real orbital period, called the tropical year, is 365.2422 days. The tropical year measures the time from one spring equinox to the next, which is what keeps the seasons aligned with the calendar. The extra 0.2422 of a day (roughly 5 hours and 49 minutes) accumulates each year. Without correction, the calendar would slowly drift out of sync with the seasons, pushing summer into what we call autumn over the course of centuries.

How Leap Years Fix the Math

The Gregorian calendar, the one used in most of the world today, handles that fractional day with a three-part leap year rule:

  • Divisible by 4: The year is a leap year.
  • Divisible by 100: The year is not a leap year.
  • Divisible by 400: The year is a leap year after all.

So 2024 is a leap year (divisible by 4). The year 1900 was not a leap year, even though it’s divisible by 4, because it’s also divisible by 100. But 2000 was a leap year because it’s divisible by 400. The next skipped leap year will be 2100.

Over a full 400-year cycle, this system produces 97 leap years and 303 common years, for a total of 146,097 days. Divide that by 400 and you get an average Gregorian year of 365.2425 days. That’s remarkably close to the true tropical year of 365.2422 days, off by only about 26 seconds per year. The error adds up to roughly one day every 3,236 years.

The Older Julian Calendar Got It Wrong

Before the Gregorian calendar was introduced in 1582, much of Europe used the Julian calendar, which had a simpler rule: a leap year every four years, no exceptions. That gives an average year of exactly 365.25 days, which overshoots the tropical year by about 11 minutes annually. The Julian calendar gained one extra day every 128 years, or about 3.1 days every 400 years. By the time Pope Gregory XIII ordered the reform, the calendar had drifted 10 full days from the astronomical seasons.

Other Ways to Measure a Year

The tropical year (365.2422 days) is the most relevant number for calendars and seasons, but astronomers use other definitions depending on what they’re measuring.

The sidereal year tracks how long Earth takes to return to the same position relative to distant stars. It clocks in at 365.25636 days, about 20 minutes longer than the tropical year. The difference exists because Earth’s axis slowly wobbles in a cycle that takes roughly 26,000 years to complete, which shifts the position of the equinoxes against the starry background.

The anomalistic year measures the time between Earth’s closest approaches to the Sun (perihelion to perihelion). It’s 365.25964 days, about 4.5 minutes longer than the sidereal year, because the point of closest approach itself gradually shifts in the direction of Earth’s orbit.

For standardized scientific calculations, the International Astronomical Union defines a Julian year as exactly 365.25 days, or 31,557,600 seconds. This is a convenient, fixed unit rather than a measurement of any actual orbit.

Why the Numbers Keep Changing

Earth’s rotation is gradually slowing down, which means individual days are getting slightly longer over time. The Moon’s gravitational pull on the tides has been stretching the day by about 2.4 milliseconds per century, on average. More recently, climate-driven shifts in mass, particularly ice melting from the poles and redistributing as ocean water near the equator, have accelerated the trend. Since 2000, days have been lengthening at about 1.33 milliseconds per century, faster than at any point in the previous hundred years.

These changes are far too small to notice in a human lifetime. Over millions of years, though, they add up. Dinosaurs experienced roughly 370 days in a year because each day was shorter. The number of days fitting into one orbit slowly decreases as the day lengthens, even though the orbital period itself stays relatively stable.

For any practical purpose today, the number you need is 365 days in a common year, 366 in a leap year, and 365.2422 as the precise average length of one trip around the Sun.