Home/Date utilities/Week number calculator

Date utilities · Browser calculation

Week number calculator

Find the ISO-8601 week number for any date, along with its day of the year and calendar quarter.

01

Enter week number calculator details

02

ISO week number

Local
—

Calculated in this browser. Inputs are not saved by default.

Method

How the week number calculator works

ISO-8601 numbers weeks from Monday to Sunday and assigns week 1 to the week containing the first Thursday of the year. The calculator anchors on that Thursday rather than on 1 January.

Example

Week number calculator example

Early-January dates can fall in week 52 or 53 of the previous ISO week-numbering year, which is why the result states the week-numbering year explicitly.

Rule

Exact rule used by the week number calculator

ISO-8601 weeks run Monday to Sunday, and week 1 is the week that contains the year's first Thursday, which is the same as the week containing 4 January. The calculator shifts any date to the Thursday of its own week and reads the week number and week-numbering year from that Thursday.

A year has 53 ISO weeks if it starts on a Thursday, or if it is a leap year starting on a Wednesday; otherwise it has 52. That is why 2026, which begins on a Thursday, has 53 weeks. The page also shows the day of the year and calendar quarter, which follow the ordinary calendar.

Step by step

Worked through step by step

Take Sunday 3 January 2021. Its week began on Monday 28 December 2020 and its Thursday is 31 December 2020, so it belongs to week 53 of 2020, even though the calendar year is 2021. The next day, Monday 4 January 2021, begins week 1 of 2021.

The same effect appears at the end of a year. Monday 30 December 2024 is in week 1 of 2025, and Monday 29 December 2025 is in week 1 of 2026. In 2026 itself, 1 January falls on a Thursday and is therefore in week 1, and Wednesday 2 September 2026 is in week 36, day 245 of the year.

Pitfalls

Common mistakes with the week number calculator

  • Mixing week-numbering year with calendar year. A date in early January can belong to week 52 or 53 of the previous year, so write 2020-W53 rather than 2021-W53.
  • Assuming weeks start on Sunday. The US convention, where week 1 holds 1 January, gives different numbers from ISO for several days of every year.
  • Using a spreadsheet default. Excel's WEEKNUM function uses the Sunday-start system unless told otherwise, and ISOWEEKNUM is the ISO version.
  • Assuming every year has 52 weeks. Payroll and reporting calendars built on ISO weeks need a 53rd week in some years.

FAQ

Week number calculator FAQ

Why does the week-numbering year sometimes differ from the calendar year?

Under ISO-8601 the first days of January can belong to the final week of the previous year, and late December can belong to week 1 of the next.

Do all countries number weeks this way?

No. Some business and broadcast calendars start weeks on Sunday or Saturday, which shifts the numbering. This page uses ISO-8601.

How many weeks can a year have?

An ISO year has 52 or 53 weeks depending on which weekday the year starts on and whether it is a leap year.

How is an ISO week date written?

As year, W, week and weekday number, for example 2026-W36-3 for Wednesday 2 September 2026, where Monday is 1 and Sunday is 7.

Which weeks does 1 January belong to?

It is in week 1 when it falls Monday to Thursday, and in the last week of the previous year when it falls Friday to Sunday. In 2021, 1 January was a Friday, so it belonged to week 53 of 2020.