The day of year is the ordinal position of a calendar date within its year, counted from 1 on January 1 to 365 (or 366 in a leap year) on December 31. January 1 is always day 1, February 1 is always day 32, March 1 is day 60 in a common year or day 61 in a leap year, and December 31 is day 365 (or day 366 in a leap year). Each successive day simply adds one to the count, with no monthly resets to worry about. Knowing how to read day-of-year values comes up when decoding Julian-style date stamps on shipments and batch labels, working with ISO week numbering in European business and payroll, indexing scientific datasets by season, and counting down personal deadlines to a fixed year-end. The fastest way to get an accurate day number, days remaining, ISO week, and leap year check is with the Day of Year Calculator — pick any date and every value appears the moment the page loads.

how to find day of year
Year-Day Codes Explained: Day of Year in Shipping & Batches

What the Day of Year Tells You

The day of year (often called the ordinal date) is the running position of a calendar date within its year. It is different from the calendar day of the month, which runs 1-31 and resets every month, and from the ISO 8601 week number, which runs 1-53 and can wrap mid-January or late December. The day-of-year count resets only once per year, which makes it a clean way to track progress across the full 365 or 366 days without any cross-year spillover.

The same calendar date can have different day numbers in different years. July 6 is day 187 in 2026 (a common year with 365 days) but day 188 in 2024 (a leap year with 366 days), because February has 29 days in 2024 and 28 days in 2026. From March 1 onward, every date in a leap year is one higher than in a common year. February 29 only exists in leap years, and the day-of-year count for any date after it shifts by exactly one relative to the same date in a common year.

In logistics, aviation, and manufacturing the day-of-year number is loosely called a Julian date. Codes like 2026-187 simply combine the four-digit year with the day of year, packed so it fits on a label, a bill of lading, or a batch record. The Day of Year Calculator shows both the plain day number and the padded ISO ordinal date, so you can copy whichever format your workflow expects without rewriting the number by hand.

Where Year-Day and Day-of-Year Numbers Show Up

The day-of-year convention appears in more contexts than most people expect. Here are the most common ones:

  • Logistics and shipping — Tracking numbers and air waybills often stamp the date as year + day, for example 2026-187, so carriers and customs can sort by production date without ambiguity across time zones.
  • Manufacturing and batch tracking — Food, pharmaceutical, and industrial lots use a Julian-style day code to record the production date, and a quick day-of-year lookup confirms whether the stamp matches the intended calendar day.
  • Science and meteorology — Climate, oceanographic, and astronomical datasets index observations by day of year for seasonal analysis, because the same day number in different years lands at roughly the same point in the seasonal cycle.
  • European business and payroll — ISO week numbers, which count weeks of the year rather than days, are the standard scheduling unit in many industries and sit alongside the day-of-year count rather than replacing it.
  • Personal planning — Counting the days remaining in the year is a popular way to pace New Year's resolutions, savings goals, and end-of-year project deadlines.

How to Find the Day of Year in Three Steps

  1. Open the Day of Year Calculator and pick any date in the date field. The field defaults to today, so the day number, days remaining, and ISO week appear right away.
  2. Read the day number of the year and the days remaining directly under the date picker. The result updates instantly — there is no submit button to press, and no waiting on a server round-trip.
  3. Check the supporting details below the day count: the ISO 8601 week number (for example 2026-W28-1), the total days in the selected year, and whether that year is a leap year. Copy the plain day number or the padded ISO ordinal date, whichever your workflow expects.

Reading Year-Day Codes: The 2026-187 Format

Year-day codes are how packaging, shipping, and production industries squeeze a full calendar date into a short numeric stamp. The format is straightforward: a four-digit year, a hyphen, and the day of the year padded to three digits. So July 6, 2026 becomes 2026-187 (year 2026, day 187 of 365). February 1, 2026 becomes 2026-032, and December 31, 2024 becomes 2024-366 because 2024 is a leap year.

This format is sometimes loosely called a Julian date, especially in North American manufacturing. It is not the astronomical Julian Day Number, which counts continuously from 4713 BC and is used by astronomers; the industrial "Julian date" is really just the day of the year with the year attached. The Day of Year Calculator outputs the padded ISO ordinal date in exactly this style, so you can read a code off a label, type the date into the tool, and verify that the day number matches the expected production or shipment date.

When decoding a code, split it on the hyphen, take the second half as the day-of-year, and count forward from January 1 to land on the calendar date. Day 60 in a leap year is February 29, and day 61 in a leap year is March 1. In a common year, February has only 28 days, so day 60 is March 1. Day 366 only ever appears on a leap year. Spotting these edge cases is the most common reason for cross-checking a stamp against a day-of-year table.

ISO Week Numbers vs. Day of Year

ISO 8601 week numbers are where most date tools slip up. Under the ISO 8601 standard, weeks start on Monday, and week 1 is the week that contains the year's first Thursday — equivalently, the week containing January 4. Because of that rule, the first few days of January can actually belong to week 52 or week 53 of the previous year, and the last days of December can belong to week 1 of the next year.

Two concrete examples make this concrete. January 1, 2021 falls in week 53 of 2020. December 30 and December 31, 2024 both fall in week 1 of 2025, even though they are still calendar days of 2024. The ISO 8601 system therefore reports a separate "ISO week-numbering year" that can differ from the calendar year for these boundary dates.

This matters because ISO week numbers are not the same thing as the day of the year. The day of year counts every day from 1 to 365 or 366 with no cross-year spillover; the ISO week number counts weeks and can wrap mid-January or late December. The Day of Year Calculator follows the ISO 8601 rule exactly and shows the full ISO week date, including the ISO week-numbering year, so dates near the year boundary read correctly.

SystemRangeWhen it resetsBoundary behavior
Day of year1 to 365 or 1 to 366Once per year, on January 1Clean reset, no cross-year spillover
ISO 8601 week1 to 53 (week 53 is rare)Week containing the year's first ThursdayEarly January can belong to week 52 or 53 of the prior year; late December can belong to week 1 of the next year
Day of month1 to 28, 29, 30, or 31Every monthResets twelve times per year, never crosses year boundary

Leap Years and How They Affect Day Counts

The calculator uses the full Gregorian leap year rule: a year is a leap year if it is divisible by 4, except for century years (ending in 00), which must also be divisible by 400. That is why 2000 was a leap year (divisible by 400) while 1900 and 2100 are not (divisible by 100 but not by 400). All other four-digit years divisible by 4 are leap years, giving three exceptions every 400-year cycle.

In a leap year the year has 366 days and February has 29 days. Every day from March 1 onward in a leap year is one higher than it would be in a common year, which is why July 6 is day 187 in 2026 (a common year) and day 188 in 2024 (a leap year). February 29 only exists in leap years, so it always reads day 60 in those years. The calculator uses pure arithmetic for this, so December 31 always reads day 365 in a common year and day 366 in a leap year.

If you only need to know whether a given year is a leap year without picking a specific date, the Leap Year Calculator gives a one-line answer for any four-digit year.

Quick Day-of-Year Reference Values

These reference values are useful for sanity-checking batch codes, shipment dates, and spreadsheet entries. They come straight from the Gregorian calendar and the ISO 8601 week rule, so you can rely on them without recomputing:

DateDay of yearNotes
January 11Always day 1, every year
February 132Same in common and leap years
March 160 (61 in leap year)Shifts by one after February 29
July 6, 2026187ISO ordinal example 2026-187
December 30, 2024365 (leap year)Belongs to ISO week 1 of 2025
December 31365 (366 in leap year)Last day of the year

For any date not on this short list, use the Day of Year Calculator for the precise day number, days remaining, ISO week, and leap year status.

Privacy and Practical Limits

Everything the calculator does runs locally in your browser. The date you enter never leaves your device, is not uploaded, and is not stored, so you can check sensitive dates — contract milestones, embargoed launches, personal records — without leaving a trail. There is no signup, no usage limit, and the result updates the instant you change the date with no waiting on a server round-trip.

If you need a related calculation, the Date Difference Calculator counts days between two dates, the Day of the Week Calculator tells you which weekday a date falls on, and the Age Calculator works out years, months, and days from a birth date.

If you're weighing options, How to Check Any Year for Leap Year Status covers this in detail.

If you're weighing options, How to Calculate the Week Number of Any Date in a Year covers this in detail.