How this calculator works
The ISO 8601 week-numbering system, used across Europe and in most engineering, logistics and project-planning calendars, splits the year into 52 or 53 numbered weeks that always start on a Monday. This calculator finds the correct ISO week number and "week-year" for any date, including the tricky dates right around January 1 where the week and calendar years disagree.
The week-year matters because ISO weeks don't line up cleanly with January 1: the last few days of December sometimes belong to week 1 of the following year, and the first day or two of January sometimes belong to week 52 or 53 of the previous year. This calculator implements the ISO rule exactly rather than approximating it, since off-by-one week numbers are a common source of scheduling bugs.
The ISO 8601 rule
Week 1 of a year is defined as the week that contains that year's first Thursday.Equivalently: week 1 is the week containing January 4, since January 4 always falls in the first ISO week.Weeks run Monday to Sunday; a date's ISO week-year is the year of the Thursday in its own week, which may differ from the date's calendar year.A year has 53 ISO weeks whenever January 1 falls on a Thursday, or on a Wednesday in a leap year — otherwise it has 52.
Worked example: a year-boundary date
- Date: December 30, 2024, a Monday.
- The Thursday of that same Monday-to-Sunday week is January 2, 2025.
- Since the ISO week-year follows that Thursday, this date belongs to the year 2025, not 2024.
- January 2, 2025 is only the 2nd day of that ISO year, which falls in the first 7-day block — so the result is week 1 of 2025.
Frequently asked questions
Why does December 30 belong to next year's week 1?
Because the ISO rule follows the Thursday of each week, not the Monday or the calendar year printed on the date. When a late-December Monday's Thursday falls in January, that whole week — Monday through Sunday — is counted as week 1 of the new year.
Why did January 1, 2021 fall in week 53 of 2020?
January 1, 2021 was a Friday, so the Monday that started its ISO week was December 28, 2020, and the Thursday of that week was still in December 2020. That week is the last (53rd) week of the ISO year 2020, even though the date itself reads "2021."
Does every year have 53 weeks?
No — most years have 52 ISO weeks. A year gets a 53rd week only when January 1 falls on a Thursday, or when it falls on a Wednesday and the year is a leap year, since those are the only cases that push a full extra week into the year.
Is the ISO week number the same as the week number Excel shows by default?
Not necessarily. Spreadsheet functions often default to a Sunday-start, non-ISO week numbering unless you specifically choose the ISO 8601 (Monday-start) option, which can shift the reported week by one near the edges of the year.
Does every date require this year-boundary calculation, or is it only an issue near January 1?
It's only relevant for a handful of dates near January 1 each year. For a date in the middle of the year, its ISO week-year always matches its calendar year, and the week number is simply how many complete Monday-to-Sunday weeks have passed since week 1 began — the trickier recalculation shown here only comes into play for dates in very early January or very late December, where the week and calendar year can disagree.