Every date has a number: its place in the year
Alongside its month and day, every date carries a simpler identity: how many days into its year it falls. January 1 is day 1, January 31 is day 31, February 1 is day 32, and the count — the ordinal date, or day of the year — runs to 365 in a common year and 366 in a leap year. This calculator works in both directions. In date mode it converts any date to its number, with the days remaining in the year, the percent of the year gone and the ISO week number beside it. In day-number mode it runs the conversion backwards: give it a year and a number like 285 and it returns the date — October 12, 2026 in the default example, a Monday, in ISO week 42, with 80 days of the year left after it.
Where day numbers earn their keep
The ordinal date looks like trivia until you meet the systems that run on it. Programmers know it as the %j format code in date libraries, the compact way to store a date when the month split does not matter. Astronomers and satellite operators use day-of-year counts (and their cousin, the Julian date) because differences between two day numbers are exact day counts with no month arithmetic in between. Agriculture schedules by it — planting, germination and harvest windows are quoted as day numbers so they survive translation between calendars of paperwork. Expiry and shelf-life systems print it on packaging as a year-plus-ordinal code, and “day 200” of a mission or a deployment is a day number doing morale work. Any time a span within one year must be compared, sorted or subtracted, the ordinal form is the honest one.
Leap years shift everything after February
One subtlety governs all day numbers: in a leap year, every date from March 1 onwards sits one number higher than in a common year, because February 29 has been inserted underneath it. March 1 is day 60 in a common year but day 61 in a leap year; December 31 is 365 or 366. Dates in January and February are unaffected. This is why the day-number mode asks for the year as well as the number — day 100 is April 10 in a common year and April 9 in a leap year — and why the valid range is validated against the year's real length: enter 366 for a common year and the tool clamps to 365 and tells you, rather than silently rolling into next January. The Leap Year Checker in this section settles any doubt about which kind of year you are in, and the Week Number Calculator gives the same date's ISO week in fuller detail.
Worked example
Date mode, with the defaults: October 12, 2026. The months before October contribute 273 days (31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30), and 273 + 12 = day 285 of 365. That leaves 80 days of 2026 after it, the date sits in ISO week 42, and day-number mode confirms the round trip: day 285 of 2026 is October 12, 2026.
How to use this calculator
- Choose the mode: date to day number, or day number to date.
- Date mode: pick any date and read its day number in the headline.
- Day-number mode: enter a year and a day number from 1 to 365 (or 366 in a leap year).
- Check the stats for days left in the year, the percent of the year gone and the ISO week.
- Watch the gauge to see the date's position in its year at a glance.
Day numbers versus week numbers
The day number and the ISO week number, both shown on this page, answer different questions. The day number is absolute within the year — day 285 is day 285 — and subtracts cleanly. The ISO week groups days into Monday-starting weeks numbered by the year containing their Thursday, which is why a date in early January can belong to week 52 or 53 of the previous ISO year, and a date in late December to week 1 of the next. Schedules, payrolls and European calendars run on week numbers; durations, deadlines and scientific logs run on day numbers. Neither is a refinement of the other — they are two grids laid over the same year — and showing both together, as this page does, is the quickest way to feel how they disagree at the year's edges, which is exactly where both get misquoted.