Day Of Year Calculator

Last Updated: October 17, 2026

Find the day of the year for any date, with days remaining, weekday, ISO week and quarter, or convert a day number back into a calendar date.

Gregorian calendar, years 1–9999. January 1 is day 1. Days remaining excludes the selected date.

Day of Year Formula

The day of the year, also called the ordinal date or day number, counts how many days have passed since January 1, including the date itself. January 1 is day 1 and December 31 is day 365, or day 366 in a leap year.

To find the day number from a date, add the days in all completed months to the day of the current month. Add one more day when the year is a leap year and the month is after February.

N = C[m] + d + L

To find days remaining after the selected date, subtract its day number from the total days in that year. To convert a day number back to a calendar date, advance N − 1 days from January 1 of the chosen year. Day 366 is valid only in a leap year.

Days remaining = T - N
  • N = the day of the year, a number from 1 to 365 or 366
  • C[m] = the total days in all months before month m in a common year (0 for January, 31 for February, 59 for March, and so on)
  • d = the day of the month
  • L = 1 when the year is a leap year and the month is March or later, otherwise 0
  • T = the total days in the year, 365 in a common year or 366 in a leap year

In date mode you pick a calendar date and the calculator returns its day number, the day of the week, the days remaining, the ISO ordinal date in YYYY-DDD form, the ISO week number, the quarter, and the year progress. In day-number mode you enter a number from 1 to 366 and a year, and it returns the matching calendar date. A year is a leap year when it divides evenly by 4, except for century years, which must divide evenly by 400.

Day Number for the First of Each Month

Use this table to check the day number the calculator returns. It lists the day of the year for the first of each month in both common and leap years. Leap year values shift by one starting in March.

Month (1st)Common yearLeap year
January 111
February 13232
March 16061
April 19192
May 1121122
June 1152153
July 1182183
August 1213214
September 1244245
October 1274275
November 1305306
December 1335336

Quarters and Year Progress Milestones

This table shows how the day number maps to each quarter and to common progress points in a common year.

Point in the yearDay numberYear progress
End of Q1 (Mar 31)9024.7%
End of Q2 (Jun 30)18149.6%
End of Q3 (Sep 30)27374.8%
End of Q4 (Dec 31)365100%

Example Problems

Example 1. Find the day number for April 10, 2026. The year 2026 is not a leap year. The completed months before April hold 90 days (January 31, February 28, March 31), so N = 90 + 10 = 100. April 10, 2026, is day 100, it falls on a Friday, and 265 days remain in the year.

Example 2. Find the date for day 200 of 2024. The year 2024 is a leap year with 366 days. Counting forward, the first 182 days fill January through June, and day 200 lands 18 days into July. Day 200 of 2024 is July 18, 2024, which is a Thursday.

Frequently Asked Questions

What is the day of the year right now? The day of the year counts January 1 through today, including today. Date mode initially selects the browser’s current local date. Select Calculate to obtain the result. A saved calculation retains its selected date; change that date and recalculate to update it.

Does a leap year change the day number? Yes, for dates from March 1 onward. February 29 is day 60 and exists only in leap years. Dates in March through December have a day number one higher than the same month/day in a common year; January 1 through February 28 are unchanged.

What is the ISO ordinal date? The ISO 8601 ordinal date writes the year and the day number together as YYYY-DDD, with the day number padded to three digits. For example, April 10, 2026, is written 2026-100. It is used in computing, aviation, and logistics to simplify date math.

Year progress is N/T × 100 and includes the selected date; it does not track the clock. ISO weeks start on Monday, and week 1 contains January 4. The result includes the ISO week year because it can differ from the calendar year: January 1, 2021 belongs to 2020-W53. The supported range is years 1–9999 in the proleptic Gregorian calendar.

Day Of Year Calculator screenshot