Boneyard Tools

Day of the Year Calculator

Pick any date to see its day number within the year (1 to 366) and how many days remain until the year ends. Leap years are handled.

How to find the day of the year

  1. Choose a year, month and day.
  2. Read the day-of-year number, where January 1 is day 1.
  3. See how many days are left in that year.

Examples

Leap day

2024-02-29
Day 60 of 366, 306 days remaining

Last day of a common year

2023-12-31
Day 365 of 365, 0 days remaining

Frequently asked questions

What is the day of the year?

It is the position of a date counting from January 1 as day 1. December 31 is day 365, or day 366 in a leap year.

How are leap years handled?

Leap years follow the Gregorian rules, so years divisible by 4 are leap years except century years not divisible by 400. February then has 29 days.

What day number is February 29?

In a leap year such as 2024, February 29 is day 60. The same date is rejected in a common year because it does not exist.

How many days remain in the year?

It is the total days in the year minus the day number. On December 31 the answer is 0, and on January 1 it is 364 or 365.

Is my date kept private?

Yes. The calculation runs entirely in your browser and nothing is uploaded.

Related tools