Day of the Year Calculator

Find the day number of any date, from 1 on January 1 to 365 or 366 on December 31, or turn a day number back into a date.

What do you want to find?
Date

Day of the year

Enter a date, or a year and a day number, then select Calculate.

How days are counted

How to use the day of the year calculator

  1. Choose Day number of a date to number a date, or Date of a day number to go the other way.
  2. Enter the date (set to today), or the year and the day number.
  3. Select Calculate to see the day number, the days left in the year, the share of the year that has passed and the ISO ordinal date.

How day numbers work

Day numbers run from 1 on January 1 to 365 on December 31, or 366 in a leap year. The day number of a date is the count of days from January 1 up to and including that date: February 1 is day 32, and March 1 is day 60 in a common year or day 61 in a leap year. Everything after February 28 shifts by one in leap years, which is why the result mentions it.

“Days left” counts the days after the date until the end of the year, so December 31 has 0 days left.

Worked examples

Day numbers calculated with the same code as the calculator
DateDay of the yearDays left in the year
January 1, 20261364
February 28, 202659306
March 1, 202461305
November 25, 202632936
December 31, 20243660

The ISO ordinal date

The ISO 8601 standard writes a date as year and day number: 2026-329 is the 329th day of 2026, November 25. This ordinal format is used in manufacturing lot codes, food packaging, military and aviation logs, and data files, where a compact sortable date is useful.

People sometimes call the day number a “Julian date”. That is a nickname: in astronomy, the Julian date is a continuous count of days since 4713 BC, and the Julian calendar is the calendar used before the Gregorian one. This calculator works with the ordinary day number of the year.

Frequently asked questions

What day of the year is it today?

Leave the date set to today and select Calculate. The result shows today’s day number and the days left in the year.

What date is day 100?

April 10 in a common year and April 9 in a leap year. Choose Date of a day number, enter the year and 100.

Is January 1 day 0 or day 1?

Day 1. The day number counts the date itself.

How many days are left in the year?

The result shows it for any date: the number of days after that date until December 31.