Day of Year Calculator

Find the ordinal day number for any date in its year.

Day of Year Calculator

About this calculator

Convert a date into its ordinal day number from 1 through 365, or 366 in a leap year. This is useful for schedules, data files, scientific records, and seasonal planning.

How to use it

Choose a date and read its day number. The calculator automatically accounts for the number of days in earlier months and whether the year is a leap year.

How the calculation works

The calculation adds the days in the completed months to the day of the selected date. February contributes 29 days in a leap year.

Example

1 January is day 1. 31 December is day 365 in a common year and day 366 in a leap year.

Understanding the result

The ordinal day is counted within that date’s own year, so the same month and day can have different values in leap and common years.

Frequently asked questions

What is the highest day number?

It is 365 in a common year and 366 in a leap year.

Is this the same as a Julian day number?

No. A day-of-year value resets on January 1; Julian dates use a different continuous numbering system.

Related tools