ISO Week Date: Week Numbers, Week 1 and 53-Week Years
The ISO week date is a way of writing Gregorian dates as a year, a week number and a weekday, defined in the international standard ISO 8601. Weeks run from Monday to Sunday, and week 1 of a year is the week that contains that year's first Thursday, so every ISO year has either 52 or 53 whole weeks.
- Type
- Week-based layer on the Gregorian calendar
- Defined by
- ISO 8601
- Week starts
- Monday (day 1) and ends Sunday (day 7)
- Week 1
- The week containing the year's first Thursday
- Year length
- 52 or 53 weeks (364 or 371 days)
- Notation
- 2026-W45-4, or compact 2026W454
- Used for
- Payroll, production planning, retail and reporting
What an ISO week date is
An ISO week date identifies a day by three numbers: the ISO week-numbering year, the week number from 01 to 53, and the day of the week from 1 (Monday) to 7 (Sunday). Thursday 1 January 2026, for example, is written 2026-W01-4: year 2026, week 1, day 4.
It is not a separate calendar with its own months. Every ISO week date corresponds to exactly one Gregorian date and the other way round. What changes is the grouping: instead of months of uneven length, the year is made of whole weeks, which suits anything planned or reported week by week.
Origin and the ISO 8601 standard
Week numbering was already common in parts of Europe, especially in Scandinavia and Germany, before it was standardised internationally. ISO 8601, the international standard for representing dates and times, was first published in 1988 and brought together earlier standards on date notation, including week numbering. The current edition is split into two parts, ISO 8601-1:2019 for the basic rules and ISO 8601-2:2019 for extensions.
The same week rules appear in European standards, and they are the default week numbering in many European countries. In everyday speech people in those countries often say "week 45" rather than give a date range.
Structure: how weeks and years fit together
Every ISO week starts on Monday. Week 1 is defined as the week containing the first Thursday of the Gregorian year. Several equivalent definitions give the same answer: week 1 is the week containing 4 January, or the first week with at least four of its days in the new year.
Because of this, the ISO year does not always start on 1 January. If 1 January falls on a Friday, Saturday or Sunday, those days belong to the last week of the previous ISO year. If 29, 30 or 31 December falls on a Monday, Tuesday or Wednesday, those days already belong to week 1 of the next ISO year.
| Gregorian date | Weekday | ISO week date |
|---|---|---|
| 29 December 2008 | Monday | 2009-W01-1 |
| 3 January 2010 | Sunday | 2009-W53-7 |
| 31 December 2020 | Thursday | 2020-W53-4 |
| 1 January 2021 | Friday | 2020-W53-5 |
| 30 December 2024 | Monday | 2025-W01-1 |
| 31 December 2026 | Thursday | 2026-W53-4 |
| 1 January 2027 | Friday | 2026-W53-5 |
Which years have 53 weeks
Most ISO years have 52 weeks, or 364 days. To absorb the extra day or two left over each year, some years have a 53rd week, giving 371 days. A year has 53 weeks when 1 January is a Thursday, or when it is a leap year and 1 January is a Wednesday. An equivalent test is that 1 January or 31 December falls on a Thursday.
Across the 400-year Gregorian cycle, 71 years have 53 weeks. Recent and upcoming examples include 2015, 2020 and 2026, and the next after that is 2032. Long years matter in practice: a company that reports by week will have one quarter or one year with an extra week, and comparisons with the previous year need to account for it.
How ISO week dates are written
ISO 8601 allows an extended format with hyphens and a basic format without them. The letter W always precedes the week number, which is always two digits.
- Full week date, extended: 2026-W45-4
- Full week date, basic: 2026W454
- Week only, extended: 2026-W45
- Week only, basic: 2026W45
- The year in a week date is the ISO week-numbering year, which can differ from the calendar year near 1 January.
When the day and the week year begin
Days follow the Gregorian civil day and begin at midnight. The ISO week-numbering year begins on the Monday of week 1, which can fall anywhere from 29 December to 4 January. Each ISO year therefore starts on a Monday and ends on a Sunday, something no calendar year can promise.
Week numbers follow local midnight, so an event at 23:30 on a Sunday in one time zone may already fall in the next week in another. When week numbers are used across countries, it helps to agree on a reference time zone such as UTC.
Where ISO week numbers are used today
Week numbers are part of everyday life in much of Northern and Central Europe, where diaries, school planners and workplace calendars often print them. They are widely used in business for payroll, shift planning, manufacturing and delivery schedules, retail sales reporting and logistics, where comparing "week 12 this year" with "week 12 last year" is more meaningful than comparing months of different lengths.
They are also built into software. Python's date.isocalendar() returns the ISO year, week and weekday. The C and POSIX strftime function offers %G for the ISO year, %V for the ISO week and %u for the ISO weekday. Spreadsheet programs such as Excel provide an ISOWEEKNUM function alongside the older WEEKNUM.
Not every system uses ISO rules. Many American calendars and Excel's default WEEKNUM count weeks starting on Sunday, with week 1 being the week that contains 1 January. The two systems can disagree by one week, so always check which one a schedule follows.
How to convert a date to an ISO week date
You can work out the ISO week of any Gregorian date by hand. The method relies on the rule that the Thursday of a week decides which year the week belongs to.
- Find the weekday of the date, numbering Monday as 1 and Sunday as 7.
- Move to the Thursday of the same week: add 4 and subtract the weekday number from the date.
- The Gregorian year of that Thursday is the ISO year.
- Count the days from 1 January of that year to the Thursday, divide by 7, drop the remainder and add 1. That is the week number.
- Write the result as year, W, two-digit week, and the weekday number.
- Pitfall: never combine the calendar year with the ISO week number. 30 December 2024 is in week 1 of 2025, not week 1 of 2024.
- Pitfall: in many date-formatting libraries an uppercase YYYY pattern means the week-based year rather than the calendar year, which produces wrong years in the last days of December.
How dateconverts calculates ISO weeks
dateconverts converts every date to a single day count first. For the ISO week date it finds the Thursday of the same Monday-to-Sunday week, takes that Thursday's Gregorian year as the ISO year, and counts whole weeks from 1 January of that year. This is exact arithmetic with no tables or approximations, and it is tested against independent reference implementations, including the year-boundary cases shown above.
On the site, the ISO week date is shown as a result for any date you enter. It is not offered as an input calendar, so to look up the dates of a particular week, enter any date in that week in the Gregorian calendar.
Frequently asked questions
What week number is it today?
The live block at the top of this page shows today's ISO week. Elsewhere you can find it in most phone calendars by enabling week numbers, which normally follow ISO 8601.
Does an ISO week start on Monday or Sunday?
Monday. ISO 8601 numbers the days of the week from 1 for Monday to 7 for Sunday.
How is week 1 defined?
Week 1 is the week that contains the first Thursday of the year, which is the same as the week containing 4 January.
Which years have 53 ISO weeks?
Years that start on a Thursday, and leap years that start on a Wednesday. 2015, 2020 and 2026 are examples; 71 years in every 400 have 53 weeks.
Why does my date show the wrong year in week 1?
Near New Year the ISO week year can differ from the calendar year. If software prints a week-based year where a calendar year was intended, late-December dates appear a year too late.
Is the US week number the same as the ISO week number?
Not always. Systems that start weeks on Sunday and count the week of 1 January as week 1 can be one week ahead of or behind ISO 8601.
Sources and further reading
- ISO 8601-1:2019, Date and time: Representations for information interchange (International Organization for Standardization)
- ISO week date (Wikipedia)
- Python documentation, datetime module: date.isocalendar()
- Edward M. Reingold and Nachum Dershowitz, Calendrical Calculations (Cambridge University Press)