Find Day of Year
Enter any date to find its day-of-year number, days remaining, and progress through the year
Enter any date to get its ordinal day number (1–366), days remaining in the year, ISO week number, and a progress bar showing how far through the year it falls. Leap years are handled automatically. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool counts every day between January 1 and your chosen date, inclusive. It checks if the year is divisible by 4 (and the century rule) to detect leap years, then calculates the remaining days and year-progress percentage from that total. The ISO week number follows the Thursday-based week standard used across Europe and in most international date systems.
Examples
Product Expiry Date Code
A food manufacturer prints "2026-092" on packaging. What actual date is that?
April 2, 2026
Day 92 of 365
273 days remaining
25.21% through year
Leap Year Check for February 29
Quick way to confirm 2024 is a leap year and see where Feb 29 falls.
February 29, 2024
Day 60 of 366
306 days remaining
16.39% through year
Leap Year (366 days)
End-of-Year Deadline Planning
Your fiscal year closes December 31. How many calendar days are left from October 15?
October 15, 2026
Day 288 of 365
77 days remaining
78.90% through year
Q4 of 2026, Week 42
Who Uses This
Encode and decode Julian date codes on product labels and batch numbers.
Verify ordinal-date logic in scripts that parse log files or generate date-stamped filenames.
Map planting and harvest windows to day-of-year ranges used in agricultural guides.
Figure out how many calendar days are left before a year-end deadline or fiscal close.
Common Mistakes
The astronomical Julian date is a continuous day count starting from 4713 BC. The day-of-year number (ordinal date) only counts within a single calendar year. They are not the same thing — don’t mix them up in scientific contexts.
March 1 is day 60 in a normal year but day 61 in a leap year. If you hardcode day numbers for dates after February, they’ll be off by one every four years. Always check whether the year has 365 or 366 days first.
January 1 is day 1, not day 0. Some programming languages use zero-indexed day counts, which creates an off-by-one error when you compare with standard ordinal dates. Double-check your language’s convention.
Technical Details
- Processing: 100% client-side — nothing leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Date Range: Any valid calendar date supported by your browser’s date input
- Standards: ISO 8601 week numbering (weeks start Monday, first week contains Jan 4)
Frequently Asked Questions
What day of the year is today?
Open the tool and pick today’s date from the date picker. It’ll instantly show you the day number — for example, April 2 is day 92 in a regular year. You can also just count forward from January 1, but honestly, who wants to do that math in their head?
How do you calculate day of year manually?
Add up all the days in the months before your target month, then add the day. So for March 15: January has 31 days, February has 28 (or 29), then add 15. That gives you 31 + 28 + 15 = 74. It works, but it is tedious once you get past April or May.
Is day 1 January 1 or January 0?
January 1 is always day 1. There’s no day 0 in standard ordinal date notation. Some programming languages start counting from 0, which trips people up, but the calendar convention is 1 through 365 (or 366).
What is a Julian date code on food packaging?
It’s the day-of-year number stamped on products to mark manufacture or expiry dates. A code like "2026-092" means the 92nd day of 2026, which is April 2. Manufacturers prefer this format because it’s short and avoids month/day confusion across different countries.
Does this tool work for historical dates?
Yes, as far back as your browser’s date input supports — typically several centuries. The leap year rules still apply correctly (1900 wasn’t a leap year, but 2000 was). Just keep in mind that the Gregorian calendar wasn’t adopted worldwide at the same time, so very old dates might not match historical records from some regions.