Skip to content
Convert. Calculate.

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.

Your details

Try an example

Find

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.

Five dates and their day numbers
DateDay of the yearISO week
1 January 20261 of 3651
1 March 202660 of 3659
4 July 2026185 of 36527
31 December 2026365 of 36553
31 December 2028366 of 36652

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

  1. Choose a date to day number, or a day number to a date.
  2. Enter the date, or the year and day number.
  3. Read the day number, ISO week and days left.
  4. 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

Related tools

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