Boneyard Tools

ISO 8601 week numbering explained

How ISO 8601 defines week 1, why the ISO year can drift from the calendar year, and when a year gets a 53rd week.

The Thursday rule that defines week 1

ISO 8601 does not start week 1 on 1 January. Instead it says week 1 is the week that contains the year's first Thursday, which is mathematically identical to the week that contains 4 January. Because every ISO week runs Monday to Sunday, this rule guarantees that the majority of week 1 always falls inside the new year. The Thursday is the anchor because it is the midpoint of a Monday-to-Sunday week, so wherever the Thursday lands decides which year owns the week.

Why the ISO year can differ from the calendar year

Each week belongs entirely to the year of its Thursday, so the last few days of December and the first few days of January can be reassigned. If 1 January falls on a Friday, Saturday, or Sunday, those days share a week with the previous December and inherit the previous ISO year. Going the other way, if 31 December falls on a Monday, Tuesday, or Wednesday, it shares a week with the coming January and takes the next ISO year. This is why a date like 1 January 2027 reports as ISO 2026-W53, and 30 December 2024 reports as ISO 2025-W01.

When a year has 53 weeks

A standard ISO year has 52 weeks, but two situations add a 53rd. A common year that begins on a Thursday has 53 weeks, and a leap year that begins on a Wednesday also has 53 weeks. In both cases there are enough days for one extra full Monday-to-Sunday block whose Thursday still lands inside the year. Long-range calendars average about 71 of every 400 years with 53 weeks, which is why any tool that promises ISO compliance must allow week numbers up to 53.

Where ISO weeks actually get used

ISO week numbers show up wherever teams need an unambiguous, language-independent way to name a week. Payroll and time-tracking systems bill by ISO week, European manufacturers plan production and shipping in weeks like W32, and project managers reference sprint windows by week number. Because the standard fixes exactly which dates fall in each week, two people in different countries and time zones can say 'week 45' and mean the identical seven days. Converting between a date and its ISO week, in either direction, removes the guesswork that off-by-one week counts introduce.

Frequently asked questions

Does the ISO week ever start on Sunday?

No. ISO 8601 weeks always begin on Monday and end on Sunday. Calendars that start the week on Sunday use a different numbering scheme, so their week numbers will not match ISO weeks near the turn of the year.

What is the highest week number possible?

53. It only appears in years that start on a Thursday or leap years that start on a Wednesday; every other year tops out at week 52.

How do I write an ISO week date?

The standard format is YYYY-Www-D, for example 2025-W01-1 for the Monday of week 1 in ISO year 2025. The W is literal and the final digit is the weekday from 1 for Monday to 7 for Sunday.