Day of the Year Calculator: Which Day Number Is It?
Ordinal dates and ISO weeks.
The day of the year numbers each date from 1 on January 1st to 365 or 366 on December 31st, and it is handy in logging, science and some date formats. Enter a date and get the day number, the ISO week and the days left. The table gives five dates.
Your details
Try an example
Result
Fill in the fields to see your result.
Good to know: day of the year = days since 1 January + 1
The idea behind it
Three ideas that explain the day of the year calculator
01Ordinal date
A year and a day number
Counting from 1 January as day 1 gives the day of the year. Some manufacturing and data systems use it as a date code.
02ISO week
Weeks start on Monday
ISO week 1 contains the first Thursday of the year. Early January can fall in the last week of the previous year.
03Leap years
366 days every fourth year
Century years are leap years only if divisible by 400, so 2000 was one and 1900 was not.
Five dates and their day numbers
Leap years shift every date after February by one, so 1 March is day 60 in a common year and day 61 in a leap year. The last row shows the extra day.
| Date | Day of the year | ISO week |
|---|---|---|
| 1 January 2026 | 1 of 365 | 1 |
| 1 March 2026 | 60 of 365 | 9 |
| 4 July 2026 | 185 of 365 | 27 |
| 31 December 2026 | 365 of 365 | 53 |
| 31 December 2028 | 366 of 366 | 52 |
Week numbers follow the ISO 8601 rule, so early January can belong to the previous year's last week.
Enter a date, read its number
- Choose a date to day number, or a day number to a date.
- Enter the date, or the year and day number.
- Read the day number, ISO week and days left.
- Use the table for the first day of each month.
31 December 2026
7 November 2026 is day 311 of 365, a Saturday, with 54 days left. Day 100 of 2026 is Friday 10 April.
How the figures are built
Formula
day of the year = days since 1 January + 1
Forgetting that leap years add a day
- Forgetting that leap years have 366 days.
- Counting from 0 instead of 1 for 1 January.
- Assuming ISO week 1 always starts on 1 January.
- Mixing week-of-year systems (ISO, US and others differ).
Day number questions
What is an ISO week number?
A week numbering system where weeks start on Monday and week 1 is the week containing the first Thursday of the year. The ISO year can differ from the calendar year at the start and end.
What is an ISO week number?
A week numbering where weeks start on Monday and week 1 is the week containing the first Thursday of the year. The ISO year can differ from the calendar year at the start and end.
What is an ordinal date?
A date written as a year and day number, such as 2026-311. It is used in some data systems and manufacturing date codes.
How many days are in a year?
365, or 366 in a leap year: years divisible by 4, except century years not divisible by 400.
Learn more
- Guide· 4 minHow to count business days between two datesCount the days, take out weekends, then take out holidays. Ten business days from Monday 2 November 2026 lands on Monday 16 November, 14 calendar days later.Everyday numbers
- Story· 4 min2100 will not be a leap year: the rule that keeps the calendar in stepA year is a leap year if it divides by 4, unless it divides by 100, unless it also divides by 400. That is why 2000 had a 29 February, 1900 did not, and 2100 will not.Everyday numbers
Related tools
- Business Days CalculatorCount the working days between two dates, or find the date a number of business days from now, skipping weekends and holidays.
- Date Calculator (Add or Subtract Time)Add or subtract years, months, weeks and days from any date and see the weekday, day of the year and ISO week.
- Days Calculator Between Two DatesDays, months & years between dates
- Work Hours CalculatorCalculate hours worked between two times, with breaks and pay.
How we calculate this
We use the standard published formula or definition for this calculation, and we show the working so you can check it.
Spotted a mistake? Tell us and we'll check it. How we check our calculators