Guides

What Is a Day of the Year? Definition and Examples

A day of the year is a date's sequential position in its calendar year. Learn why January 1 is day 1, December 31 is day 365 or 366, and February 29 is day 60.

Miryori Editorial Team2 min read
Open the calculator

Calendars label dates in two ways: by month and day, or by a single running number from 1 to 365, or 366 in a leap year. The second system is what people mean by the day of the year, and it is exactly what the day-of-the-year calculator reports for today and for any date you choose.

A day of the year is the sequential position of a date within its calendar year. January 1 is always day 1; December 31 is day 365 in a non-leap year and day 366 in a leap year. A non-leap year has 365 days because February has 28 days; a leap year has 366 because February has 29. February 29 itself is day 60 of the year.

What does the day of the year mean?

The term refers to the days of the calendar year numbered in sequential order. The numbering starts again at 1 every January and ends at the total length of that year:

last day number={365non-leap year366leap year\text{last day number} = \begin{cases} 365 & \text{non-leap year} \\ 366 & \text{leap year} \end{cases}

The reference data states the year lengths and the February month lengths directly:

Year type Days in February Days in the year Day number of 31 December
Non-leap 28 365 365
Leap 29 366 366

The difference between the two year types always appears in February. Every date after February therefore carries a day number one place higher in a leap year than the same date in a non-leap year.

Worked example: February 29

February 29 exists only in a leap year, when February has 29 days rather than 28. Counting from the start of that year gives January's 31 days plus February's 29 days: 31 + 29 = 60. That is why a person born on 29 February was born on the 60th day of the year, immediately after the 28th.

FAQ

Is January 1 always day 1?

Yes. The numbering is sequential from the beginning of the calendar year, so the 1st of January is day 1 in both leap and non-leap years.

Why does a leap year have 366 days?

Because February has 29 days in a leap year instead of 28. That extra day raises the year's total from 365 to 366 and makes December 31 day 366.

When is my birthday if I was born on February 29?

In a non-leap year, some people born on the 29th celebrate on 28 February, while others celebrate on 1 March. Either way, you complete a full year on the day after the 28th, even when that calendar year has no 29 February.

How can I check whether a particular year is a leap year?

Use the leap year calculator to test a year before interpreting a day number near the end of February or deciding whether a 29 February date exists in it.

References

  • Omni's Day of the Year Calculator reference article: definition, year lengths and the February 29 birthday example.
  • Standard Gregorian calendar convention for 365- and 366-day years and the position of the leap day.
Calculator

Day of the Year Calculator

Calculate Day of the Year with practical date & time formulas, interactive references and step-by-step results. Free, fast and private.

Open the calculator