How to use Day of Year Calculator
- Choose date-to-ordinal or ordinal-to-date conversion.
- Enter the date, or the year and one-based ordinal day.
- Review the converted value and whether the year has 365 or 366 days.
- Compare the day-of-year, ISO week and ordinal date rows; these are different ways to label the same calendar date.
Example: Day of Year Calculator
October 8, 2026 is the 281st day of a 365-day year.
Supported inputs and limits
- Proleptic Gregorian years 0001 through 9999.
- January 1 is day 1; day 366 exists only in a leap year.
- This is date-only arithmetic without time-zone conversion, business-day counting or historical calendar-switch modeling.
- ISO week-years can differ from calendar years near New Year.
Where your input is processed
This tool does not upload your inputs. See the limits for anything saved on your device.
Ordinal days keep the year attached
A day number alone does not identify a date. The year determines leap-day placement, so ordinal-to-date conversion always requires both values.
Questions about Day of Year Calculator
Is January 1 day zero or day one?
Day one. December 31 is day 365 in a common year and day 366 in a leap year.
Why is 1900 not a leap year but 2000 is?
Gregorian century years are leap years only when divisible by 400. Other years divisible by four are leap years.
Will my browser’s time zone change the answer?
No. The calculation uses the calendar date you enter, without interpreting it as a local clock time.