Dates & Time

Number of Days Calculator (Month and Year)

Find how many days are in any year or month, which day of the year a date is, how many days remain, and whether the year is a leap year.

How to use
  1. Enter a year, or a specific date.
  2. Check whether it is a leap year and how many days are left.
Year
Day of year

Date math uses your inputs as given; check time-zone and leap-year edge cases.
Was this helpful?

How it's calculated

days in year = 366 if leap, else 365 (leap: year ÷ 4 and not ÷ 100, unless ÷ 400)

Leap-year rule sets February to 29 vs 28 days and the year length; month lengths follow the Gregorian calendar.

Common questions

How do I know if a year is a leap year?

It is a leap year if divisible by 4, except century years, which must also be divisible by 400. So 2000 was a leap year but 1900 was not.

What is the day of the year?

It counts which numbered day a date falls on, from 1 on January 1 to 365 or 366 on December 31.