How to use the day of the year calculator
- Choose Day number of a date to number a date, or Date of a day number to go the other way.
- Enter the date (set to today), or the year and the day number.
- 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
| Date | Day of the year | Days left in the year |
|---|---|---|
| January 1, 2026 | 1 | 364 |
| February 28, 2026 | 59 | 306 |
| March 1, 2024 | 61 | 305 |
| November 25, 2026 | 329 | 36 |
| December 31, 2024 | 366 | 0 |
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.
Related tools
- The week number calculator gives the week of the year instead of the day.
- The leap year calculator tells you whether a year has 365 or 366 days.
- To count the days between any two dates, not just from January 1, use the days between dates calculator.
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.