The ISO 8601 week rules
The international standard ISO 8601 defines week numbers so that every week is complete and belongs to exactly one year:
- Weeks start on Monday and end on Sunday.
- Week 1 is the week that contains the year's first Thursday — equivalently, the week containing 4 January.
- A year therefore has 52 or 53 weeks.
Because week 1 is defined by its Thursday, a few days around New Year can belong to the neighbouring year. Those days are given an ISO week-year that differs from the calendar year. For example, 1 January 2021 (a Friday) is in week 53 of 2020, written 2020-W53-5, and 30 December 2024 (a Monday) is already in week 1 of 2025. ISO weeks are used in most of Europe and Asia, in business planning, payroll and manufacturing, and by the ISOWEEKNUM function in spreadsheets.
How the week number is calculated
The trick is to find the Thursday of the date's week, since that Thursday decides the year:
Thursday = date + (4 − ISO weekday), where Monday = 1 … Sunday = 7
week = 1 + floor((day of year of that Thursday − 1) ÷ 7)
The year of that Thursday is the ISO week-year. A year has 53 ISO weeks when 1 January falls on a Thursday, or on a Wednesday in a leap year; this happens 71 times in every 400 years. 2015, 2020 and 2026 are 53-week years.
Example: 26 November 2026 is a Thursday, day 330 of the year. (330 − 1) ÷ 7 = 47.0, so it is in week 48, ISO date 2026-W48-4. That week runs from Monday 23 to Sunday 29 November 2026.
US week numbers
In the United States and Canada, calendars usually start the week on Sunday, and week 1 is simply the week that contains 1 January, even if it has only one day in the new year. This is the system used by Excel's WEEKNUM(date) with its default return type.
US week = floor((day of year − 1 + weekday of 1 January) ÷ 7) + 1, with Sunday = 0
With this rule a year has 53 weeks, and occasionally 54: in 2000, 1 January was a Saturday and the year was a leap year, so 31 December fell in a 54th week. US and ISO numbers often agree but can differ by one, especially in years that start on Friday, Saturday or Sunday. Always state which system you mean when sharing a week number internationally.
Tips for using week numbers
- Write ISO weeks as 2026-W48 (or 2026-W48-4 for a specific day) so the week-year is never ambiguous.
- When planning across year boundaries, use the ISO week-year, not the calendar year, or week 1 of January can appear to belong to the wrong year.
- Need the number of days between two dates rather than weeks? Use the date difference calculator. To find the weekday of any date, try the day of the week calculator.
Frequently asked questions
What week number is it today?
The calculator opens on today's date and shows the current ISO week number at the top, together with the US-style number.
Which years have 53 weeks?
ISO years where 1 January is a Thursday, or a Wednesday in a leap year: for example 2015, 2020, 2026, 2032 and 2037.
Why is 1 January in week 52 or 53?
If 1 January falls on a Friday, Saturday or Sunday, its week contains more days of the old year than the new one, so ISO 8601 assigns that week to the previous year.
Does China use ISO week numbers?
Chinese national standard GB/T 7408 is based on ISO 8601, so weeks start on Monday and use the same numbering rules.
Last reviewed: