Day of Year Calculator
See which day of the year a date is, and turn a day number back into a date.
Date or day number
Both calculations update as you type.
Day 1 is January 1. Leap years have 366 days.
Enter a year and a day number.
How to use this calculator
- 1
Pick a date. The day number, days remaining, leap-year status, weekday and ISO week appear.
- 2
Or enter a year and day number. The date is shown under “Day number to date”.
- 3
Mind the leap year. Day 60 is March 1 in an ordinary year but February 29 in a leap year; day 366 exists only in leap years.
Example
October 20, 2026 is day 293 of 365: 292 days have passed before it and 72 days are left after it, so 80.3% of the year is done by the end of that day. It is a Tuesday in ISO week 43.
Day 60 of 2024 is Thursday, February 29, 2024; day 60 of 2026 is Sunday, March 1.
How it is calculated
The day of the year counts calendar days from January 1 (day 1) and includes the day itself. Days passed are the full days before the chosen date, and days left are the full days after it until December 31, so for today neither count includes today: days passed + 1 + days left = the days in the year. The share of the year done is counted to the end of the chosen day. A year is a leap year if it is divisible by 4, except for century years not divisible by 400: 2000 and 2024 are leap years, 1900 and 2100 are not.
An ordinal date such as 2026-293 is the ISO 8601 way of writing a year and day number. It is not the same as a Julian date or Julian day number used in astronomy.
Day numbers at the start of each month
The day of the year counts from 1 on January 1 to 365, or 366 in a leap year. After February the numbers in leap years are one higher.
| Month | First day (common year) | First day (leap year) |
|---|---|---|
| January | 1 | 1 |
| February | 32 | 32 |
| March | 60 | 61 |
| April | 91 | 92 |
| May | 121 | 122 |
| June | 152 | 153 |
| July | 182 | 183 |
| August | 213 | 214 |
| September | 244 | 245 |
| October | 274 | 275 |
| November | 305 | 306 |
| December | 335 | 336 |
Ordinal dates and “Julian dates”
An ordinal date writes the day of the year instead of the month and day. ISO 8601 uses the form 2026-324 (year, three-digit day). The word “Julian date” is used loosely: in manufacturing, food labelling and logistics it means yyddd (26324); in astronomy it is a continuous count of days from 4713 BC and is something different. The tool converts between a calendar date and its day number.
| Format | Example for 21 November 2026 | Used for |
|---|---|---|
| ISO ordinal date | 2026-325 | Data exchange, ISO 8601 |
| yyddd | 26325 | Lot and batch codes, “Julian” dates in industry |
| yyyyddd | 2026325 | Mainframe and legacy systems |
| Day number | 325 | Planning, “day X of the year” |
Leap years
A year is a leap year if it is divisible by 4, except years divisible by 100 that are not divisible by 400.
| Year | Leap year? | Reason |
|---|---|---|
| 2024 | Yes | Divisible by 4 |
| 2026 | No | Not divisible by 4 |
| 1900 | No | Divisible by 100, not by 400 |
| 2000 | Yes | Divisible by 400 |
| 2100 | No | Divisible by 100, not by 400 |
| 2400 | Yes | Divisible by 400 |
Free downloads
Plain files you can keep, print or open in a spreadsheet. They are the same figures used on this page.
Questions
Is today’s date counted as a day that has passed?
The tool says how it counts: the current day is included in “day X”, so on day 100 there are 99 full days behind you and 265 days left in a 365-day year.