No Login Data Private Local Save

Ordinal Date Converter – Day of Year to Calendar Date

6
0
0
0
📅 Today
-- day of ----
Day 1 Day 365
0 days elapsed 365 days remaining
--
Jan 1 Apr Jul Oct Dec 31
Result
January 1, 2025
2025-01-01
Wednesday 364 days left
Day of Year
1st
out of 365 days
Wednesday 364 days left 0.3%

Frequently Asked Questions

An ordinal date is a calendar date represented as a single number indicating its position within the year — the day of the year (DOY). For example, January 1st is day 1, and December 31st is day 365 (or day 366 in a leap year). Ordinal dates are widely used in computing, data logging, manufacturing (e.g., expiry dates), astronomy, and ISO 8601 date formats. They simplify date arithmetic, sorting, and comparisons by reducing a full calendar date to a simple integer.

To convert a day-of-year number to a calendar date, you need to know the year (to determine if it's a leap year). Then, subtract the cumulative days of each month from the day number until the remainder fits within a single month. For example, day 100 in a non-leap year: January (31 days) → 100-31=69, February (28 days) → 69-28=41, March (31 days) → 41-31=10. So day 100 = April 10. Our tool above performs this calculation instantly — just enter the year and day number.

To find the day of year for any date, add the days in all preceding months plus the day of the current month. For example, March 15 in a non-leap year: January (31) + February (28) + 15 = day 74. In a leap year, add 1 extra day for dates after February 29. The formula is: DOY = cumulative_days[month-1] + day (with a +1 offset for leap years when the month is March or later). Use the Calendar Date → Ordinal tab above for automatic conversion.

Although sometimes confused, ordinal dates and Julian dates are different concepts. An ordinal date is simply the day number within a specific year (1–365 or 1–366). A Julian date (JD) is a continuous count of days since noon Universal Time on January 1, 4713 BC (in the Julian calendar), used primarily in astronomy. For example, JD 2460000 corresponds to a specific instant in 2023. In everyday contexts, some industries informally use "Julian date" to mean ordinal date, but they are technically distinct.

In a leap year (years divisible by 4, except century years not divisible by 400), February has 29 days instead of 28, making the year 366 days long instead of 365. This shifts all ordinal dates after February 28 by +1. For instance, March 1 is day 60 in a non-leap year but day 61 in a leap year. When converting ordinal dates, always check whether the target year is a leap year. Leap years include 2024, 2028, 2032, and 2000 (but not 1900 or 2100).

Ordinal dates have numerous practical applications: manufacturing (lot codes, expiration dates like "2025-100" for April 10, 2025), food packaging (best-by dates), agriculture (planting schedules based on day of year), meteorology (climate data analysis), programming (date libraries, ISO 8601), military (logistics), and astronomy (ephemeris calculations). Their simplicity makes them ideal for automated systems and data processing where full calendar dates are cumbersome.

MonthDays (Non-Leap)Cumulative (Non-Leap)Days (Leap)Cumulative (Leap)
January31313131
February28592960
March31903191
April3012030121
May3115131152
June3018130182
July3121231213
August3124331244
September3027330274
October3130431305
November3033430335
December3136531366

Today's day of year is automatically displayed at the top of this page. Knowing the current day of year is useful for project planning (tracking progress through the year), goal setting (e.g., "by day 200 I want to achieve X"), agricultural timing, and simply being aware of how much of the year has passed. It's also handy for interpreting date codes on products that use ordinal format. Bookmark this tool to quickly check any date's ordinal position.