Day of the Year Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Pick a date to get its day number in the year and its ISO week, or enter a year and a day number to get the date back.
Result
Day of the year
ISO 8601 week number
- Date of day number n in that year
- Year
- Days in this year
- Days left in the year
- Share of the year completed
- ISO weekday (1 = Monday, 7 = Sunday)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Date: pick a date.
- Or: year: enter 0 or more.
- Day number in that year: enter a number from 1 to 366.
- Read the result: Day of the year; the panel also shows Year, Days in this year, Days left in the year, Share of the year completed, ISO weekday (1 = Monday, 7 = Sunday), ISO 8601 week number and Date of day number n in that year.
Timeline
Table of values
| From | To | Days | Dates counted |
|---|
How this calculator works
Day of the year = days since January 1 + 1 (January 1 is day 1; December 31 is day 365, or 366 in a leap year). This day number is often called the Julian date in business and the military, which is not the astronomers' Julian Day.
ISO 8601 weeks start on Monday, and week 1 is the week that holds the year's first Thursday. Week = floor((day of year − ISO weekday + 10) ÷ 7); a result of 0 belongs to the last week of the previous year, and a result past the year's last week (52, or 53 when the year starts on a Thursday, or on a Wednesday in a leap year) is week 1 of the next year.
Worked example
| Date | 2026-10-27 |
|---|---|
| Or: year | 2,026 |
| Day number in that year | 256 |
| Day of the year | 300 |
|---|---|
| Days left in the year | 65 |
| Share of the year completed | 82.19% |
| ISO 8601 week number | 44 |
| Date of day number n in that year | Sun, September 13, 2026 |
Frequently asked questions
What day of the year is October 27, 2026?
Day 300, in ISO week 44; 65 days remain and 82.19% of the year is done.
Which ISO week is January 1, 2027?
Week 53 of 2026, because January 1, 2027 is a Friday and 2026 starts on a Thursday.
What date is day 256 of 2026?
Sunday, September 13, 2026.