GuideDates & Time

How Many Days Are in a Year

A year has 365 days, or 366 in a leap year, and the long-run average is 365.2425. Here is the leap year rule, every leap year to 2100, days per month and how to count days across several years.

Updated 9 min read

Short answer

A year has 365 days, or 366 days in a leap year, because leap years add February 29. A year is a leap year when it is divisible by 4, except century years that are not divisible by 400. So 2028 is a leap year, 2100 is not, and 2026 has 365 days. Averaged over 400 years the calendar year is 365.2425 days.

Do the math for your project

Age Calculator

Exact age in years, months and days, total months, weeks and days, and the days until the next birthday.

Open the Age Calculator

The short answer: 365, or 366 in a leap year

Most years have 365 days. About one year in four has 366, with the extra day added at the end of February. The reason is that the Earth does not circle the Sun in a whole number of days.

The U.S. Naval Observatory puts the cycle of the seasons, technically known as the tropical year, at approximately 365.2422 days. NASA's Jet Propulsion Laboratory gives about the same figure for one revolution around the Sun. A calendar of 365 days falls behind by nearly a quarter of a day every year, and leap days make up the difference.

Days in a year, by definition
Kind of yearDaysWhere it comes from
Common year365Most calendar years
Leap year366Adds February 29
Gregorian average365.242597 leap years in every 400 years
Tropical year365.2422The cycle of the seasons, approximately
Julian calendar average365.25One leap year every 4 years, no exceptions

The leftover 0.2422 of a day is about 5 hours 48 minutes 46 seconds. Four years of it add up to about one day, which is why the leap day arrives roughly every fourth year. For the same count expressed in weeks, see the companion guide on how many weeks are in a year.

How many days are in a leap year?

A leap year has 366 days, one more than the 365 days of a common year, because February has 29 days instead of 28. A year is a leap year when it divides evenly by 4, unless it is a century year not divisible by 400. The next leap years are 2028 and 2032, not 2026 or 2027.

The U.S. Naval Observatory states the Gregorian rule this way: years evenly divisible by 4 are leap years, with the exception of century years that are not evenly divisible by 400. In plain steps:

  1. If the year is divisible by 400, it is a leap year (2000, 2400).
  2. Otherwise, if it is divisible by 100, it is not (1900, 2100).
  3. Otherwise, if it is divisible by 4, it is a leap year (2024, 2028).
  4. Every other year has 365 days.
The leap year rule applied to sample years
YearLeap year?DaysReason
1900No365Divisible by 100 but not by 400
2000Yes366Divisible by 400
2024Yes366Divisible by 4 only
2026No365Not divisible by 4
2028Yes366Divisible by 4 only
2100No365Divisible by 100 but not by 400
2400Yes366Divisible by 400

The 100 and 400 exceptions exist because adding a day every 4 years, as the Julian calendar did, gives an average of 365.25 days. That is a little more than the tropical year, about 11.2 minutes too long per year by the figures above, or one extra day roughly every 128 years. Dropping 3 leap days in every 400 years brings the average to 365.2425, which is within 0.0003 of a day of the tropical year, about one day in 3,300 years.

Leap days in 400 years = 100 − 4 + 1 = 97
(400 × 365 + 97) ÷ 400 = 365.2425 days per year

The count of 97 works like this: of any 400 consecutive years, 100 are divisible by 4, the 4 century years are removed, and the one century year divisible by 400 is added back. The tropical year length is itself an approximation, so the "one day in so many years" figures are estimates, not a prediction of future calendar changes.

Leap years from 2024 to 2100

Here is every leap year until the end of the century. There are 19 of them, one every 4 years. The year 2100 breaks the pattern: it is divisible by 100 but not by 400, so it has 365 days and the gap between 2096 and 2104 is 8 years.

Leap years from 2024 to 2100
RangeLeap years
2024 to 20402024, 2028, 2032, 2036, 2040
2044 to 20602044, 2048, 2052, 2056, 2060
2064 to 20802064, 2068, 2072, 2076, 2080
2084 to 20962084, 2088, 2092, 2096

The next leap year after 2026 is 2028, so the next February 29 is in 2028. When you plan a schedule that runs through a leap year, such as a 12-month contract that starts in 2027 and ends in 2028, count the actual dates, because the term is 366 days if it crosses February 29.

The U.S. Naval Observatory gives the same examples from its own page: 1700, 1800, 1900 and 2100 are not leap years, while 1600, 2000 and 2400 are.

Days in each month

Seven months have 31 days, four have 30, and February has 28 or 29. The table below also gives the day of the year on which each month starts, which you need to convert a date into a day number.

Days per month and the day of the year on which each month begins
MonthDays (common year)Days (leap year)Day number of the 1st (common)Day number of the 1st (leap)
January313111
February28293232
March31316061
April30309192
May3131121122
June3030152153
July3131182183
August3131213214
September3030244245
October3131274275
November3030305306
December3131335336
Whole year365366

February is the only month that changes. For the month lengths of 2026 and 2027 and a way to remember them, see the guide on how many days are in a month. In a leap year every month from March on starts one day later in the day count: March 1 is day 60 in a common year and day 61 in a leap year.

The 31-day months are January, March, May, July, August, October and December. The 30-day months are April, June, September and November. A quick check on the common year: 7 × 31 + 4 × 30 + 28 = 365.

What day of the year is it? Counting the day number

A day number, or ordinal date, counts days from January 1, which is day 1. The international date standard ISO 8601, as summarized by Markus Kuhn, writes it as the year and a three-digit day number: 1995-035 for February 4, 1995. The day number runs from 001 to 365, or 366 in a leap year.

Day of the year = days in the earlier months + day of the month
+ 1 if it is a leap year and the date is after February 28

Worked example, November 18, 2026. January to October add up to 304 days in a common year, so November 18 is day 304 + 18 = 322. In ISO form that is 2026-322. The year then has 43 days left after that date, and 88.2% of 2026 is behind us. To turn a count like that into a percentage, use the percentage calculator.

A year from a date is not always 365 days. From November 18, 2026 to November 18, 2027 is 365 days, but from November 18, 2027 to November 18, 2028 is 366 days, because the second span contains February 29, 2028. To count days between any two dates exactly, enter them in the age calculator.

Days in a decade, a century and other long spans

Multiply by 365, then add one day for each leap year inside the span. The number of leap years depends on where the span starts, so a decade is 3,652 or 3,653 days, never a fixed figure.

Days in longer spans
SpanLeap years insideDays
One common year0365
One leap year1366
5 years, 2024 to 202821,827
5 years, 2025 to 202911,826
A decade, 2020 to 202933,653
A decade, 2021 to 203023,652
A decade, 2025 to 203423,652
A century, 1901 to 20002536,525
A century, 2001 to 21002436,524
Any 400 years97146,097

A decade from 2020 to 2029 has 3 leap years (2020, 2024, 2028) and 3,653 days. A decade from 2021 to 2030 has 2 (2024, 2028) and 3,652. A century has 36,524 or 36,525 days, depending on whether its century year is a leap year: 2000 is, while 1900 and 2100 are not. The century from 1901 to 2000 includes 2000, so it is the longer one. The span of 2001 to 2100 is shorter because 2100 is not a leap year.

The rule of thumb is days = 365 × years + leap years. Estimating with 365.25 × years is a close shortcut for spans under a century, and 365.2425 × years is the exact long-run average, which equals 146,097 days over 400 years.

Example: the 10 years from 2025 to 2034 contain 2 leap years (2028 and 2032), so 10 × 365 + 2 = 3,652 days. If you want the clock-time view of a span, the hours calculator adds durations in hours and minutes, and the time card calculator totals a week of shifts.

Common mistakes when counting days

  • Assuming 365 for every year. Over 10 years you miss 2 or 3 days. Add the leap years inside the span.
  • Treating every year divisible by 4 as a leap year. 1900 and 2100 are not. Check the century rule first.
  • Counting both end dates. From January 1 to January 31 is 30 days elapsed, and 31 calendar days if you count both dates. Decide which one you mean before you compare answers.
  • Using 360 or 30-day months for exact counts. Real months run 28 to 31 days, so use the table above or a date tool.
  • Adding 365 days to a date without checking February 29. If a leap day falls inside the span, 365 days lands one calendar day earlier than the same date a year on.

These are planning figures from the calendar rule. If a contract, lease or policy defines its own day count, that document wins. For exact counts between two dates, the age calculator removes the guesswork.

Frequently asked questions

Is 2100 going to be a leap year?

No. 2100 is divisible by 100 but not by 400, so it has 365 days. The last leap year of this century is 2096, and the next leap year after that is 2104.

How many days does February have in a leap year?

February has 29 days in a leap year and 28 days in a common year. The leap years from 2024 are 2024, 2028, 2032 and 2036, then every fourth year to 2096.

How many days are in 10 years?

Ten years have 3,652 days if 2 of them are leap years, or 3,653 days if 3 are. For example, 2020 to 2029 has 3,653 days and 2021 to 2030 has 3,652.

What number day of the year is December 31?

December 31 is day 365 in a common year and day 366 in a leap year. In ISO 8601 ordinal form it is written 2026-365 for 2026 and 2028-366 for 2028.

How long is a year exactly?

The tropical year is approximately 365.2422 days, according to the U.S. Naval Observatory. The Gregorian calendar averages 365.2425 days per year, which is why it uses 97 leap years in every 400 years.

Sources

  1. U.S. Naval Observatory: Leap Yearsaa.usno.navy.mil
  2. U.S. Naval Observatory: Introduction to Calendarsaa.usno.navy.mil
  3. NASA Jet Propulsion Laboratory: Doing the Math on Why We Have Leap Dayjpl.nasa.gov
  4. NASA Glenn Research Center: The Calendar (tropical year and the Julian calendar)grc.nasa.gov
  5. NASA Space Place: What Is a Leap Year?spaceplace.nasa.gov
  6. Markus Kuhn: International standard date and time notation (summary of ISO 8601, hosted by NASA FITS Support Office)fits.gsfc.nasa.gov

Last updated . Free to read, no sign-up. How we check our numbers.