Find the day of the year for any date with a simple tool that runs in your browser. Pick a date and the tool shows which day of the year it is, how many days are left, the ISO week number, the quarter, and the ordinal date. It also gives the Julian date in the YYDDD form, the Julian Day Number, and the Modified Julian Date. If you have a day number instead, type it with the year and the tool turns it back into a calendar date. It helps with data logs, shipping and food labels, military and industry date codes, software work, and science projects. Everything runs on your device and nothing is sent to a server.

January 1 is day 1. December 31 is day 365, or day 366 in a leap year. Every date in between has its own number.

How to use the day of the year tool

  • Pick a date: use the date box in step 1, or press Previous day and Next day to move one day at a time. The tool starts on today.
  • Read the results: the big number is the day of the year. The rows below show the days left, week number, quarter, and the date codes. The first row is highlighted.
  • Find a date from a day number: type a day number and a year in step 2. The date box and the results update at once.
  • Copy the values: click any row to copy it. Copy results copies everything shown. Reset returns to today.
  • Use the keyboard: press the Left and Right arrow keys to change the day, and T to jump back to today.

How the day of the year and Julian dates work

  • Count from January 1: the day of the year is the number of days from January 1 up to the date, counting both. February 1 is always day 32.
  • Leap years add a day: in a leap year, February has 29 days, so every date from March 1 on is one day later in the count than in a common year.
  • Two kinds of Julian date: in business, military, and computing, a Julian date is usually the year and day number, such as 26337 for the 337th day of 2026. In astronomy, the Julian Day Number is one running count of days that began on January 1, 4713 BC.
  • Modified Julian Date: this is the Julian Day count with a smaller number. It starts at midnight instead of noon and is common in space and satellite work.
  • Week numbers follow ISO 8601: weeks start on Monday, and week 1 holds the first Thursday of the year.
  • Today: the tool reads the date from your device clock. While you are viewing today, it moves to the next day by itself at midnight.

What the tool tells you

ResultExampleWhat it means
Day of the year337The number of the date counted from January 1. December 3, 2026 is day 337.
Days left28How many days remain in the year after the chosen date.
ISO week numberWeek 49The week of the year under the ISO 8601 rule, with weeks starting on Monday.
Ordinal date2026-337The year and day number joined, as written in ISO 8601.
Julian date (YYDDD)26337The two-digit year followed by the three-digit day number.
Julian Day Number2,461,378The continuous day count used in astronomy, counted at noon UTC.
Modified Julian Date61,377The Julian Date minus 2,400,000.5, counted from midnight UTC.

Common date formats compared

FormatExampleWhere it is used
Calendar date2026-12-03Everyday use and ISO 8601 dates
Ordinal date2026-337Data logs, files, and ISO 8601 ordinal dates
Julian date (YYDDD)26337Food and product codes, shipping, mainframes, and the military
Julian Day Number2461378Astronomy and date math in software
ISO week date2026-W49-4Business planning, payroll, and European calendars

What this tool does and does not do

This tool runs entirely in your browser and sends nothing to a server. It works with dates from 1583 to 9999 and applies the Gregorian calendar rules to all of them, including years before a country actually adopted that calendar. It does not convert dates to the old Julian calendar, which some countries used until the 1700s or later. The Julian Day Number and Modified Julian Date use UTC midnight and noon, so they do not depend on your time zone. The "today" date and the midnight change depend on your device clock, so the tool can be off by a day if your device date or time zone is wrong. The "Julian date" in the YYDDD form has no single official standard, and some systems use a four-digit year, so check what your system expects before you copy a code into it.

Tips for better results

  • Check the year type: the last row shows whether the year is a leap year. After February 28, the day number is one higher in a leap year than in a common year.
  • Pick the right Julian form: use the YYDDD row for product and shipping codes, and the Julian Day Number row for astronomy and software.
  • Watch the week year: near the new year, the ISO week can belong to the next or the previous year. The row shows the week year to help.
  • Count the gap: to find the days between two dates in the same year, subtract their day numbers.
  • Copy for notes: use Copy results to paste the values into a log, spreadsheet, or message.
Pick a date, read the day number, and copy the code you need. Or type a day number and get the date back.

Common day of the year problems

  • The day number looks one off: check whether the year is a leap year. In a leap year, March 1 is day 61, and in a common year it is day 60.
  • The day number will not go to 366: only leap years have a day 366. In other years the highest day number is 365.
  • The Julian date does not match my system: some systems use a four-digit year (YYYYDDD) or count from a different start. Use the ordinal date row or the Julian Day Number row instead.
  • Today looks wrong: your device date or time zone may be off. Check the date and time settings on your device.
  • The week number looks wrong: some calendars start the week on Sunday and count weeks differently. This tool follows the ISO 8601 rule.

Frequently asked questions

What is the day of the year?

The day of the year is the number of a date counted from January 1, which is day 1. December 31 is day 365 in a common year and day 366 in a leap year.

What is a Julian date?

The term has two common meanings. In many industries and computer systems, a Julian date is a year and day-of-year code such as 26337, which is the two-digit year followed by the three-digit day number. In astronomy, the Julian Day Number counts days in one running sequence from noon UTC on January 1, 4713 BC. The tool shows both.

How do I turn a day number into a date?

Type the day number and the year in step 2. The date box updates at once and shows the month and day, along with the rest of the results.

How is the week number calculated?

The tool uses the ISO 8601 rule. Weeks start on Monday, and week 1 is the week that contains the first Thursday of the year. Because of this, a few days at the end of December can belong to week 1 of the next year, and a few days at the start of January can belong to week 52 or 53 of the previous year.

Does the tool handle leap years?

Yes. A year is a leap year if it divides by 4, except for century years, which must divide by 400. So 2024 and 2000 are leap years, while 2100 and 1900 are not. A leap year has 366 days.

Is the Xornex day of the year tool free?

Yes. There is no sign-up and no limit on how many dates you can check. The tool runs in your browser and sends nothing to our server.

Share this article