Find the ISO week number, week-year and weekday together. ISO weeks begin on Monday. Week one contains the year’s first Thursday. Near New Year, a date can belong to the previous or following ISO week-year, so a bare week number is incomplete.
Keep the ISO week-year beside the number
The result provides the number, week-year and ISO weekday together. A date such as 1 January 2021 belongs to week 53 of 2020, even though its calendar-year label says 2021.
Subtracting ISO week labels does not measure weeks between dates. Use groups of seven calendar days for an interval, and this tool for the date’s ISO address.
Determine the week-year as well as the week
In the ISO system, a week runs from Monday through Sunday. Week 1 is the week containing the first Thursday of the calendar year. Equivalently it is the week containing 4 January. A Thursday always sits in the majority of dates belonging to the week-year. If a Monday-to-Sunday week straddles two calendar years, the location of its Thursday settles which year the week belongs to.
Take Friday 1 January 2021. The week began on Monday 28 December 2020. Its Thursday was 31 December 2020. The ISO week is therefore 2020-W53 even though the written civil year is 2021. Monday 4 January starts 2021-W01. Use the week-year row when you group a shipment, attendance record or dataset by ISO week. Labelling a row simply “Week 53” loses the year, and labelling it “2021 W53” using its civil year describes the wrong week.
A short calendar for the trading week
| Scenario | Entries | What the calculator shows | How to use it |
|---|---|---|---|
| Final Thursday of 2020 | Selected date = 2020-12-31 | Week 53. ISO week-year 2020. Selected date = 31 December 2020, ISO label = 2020-W53, ISO weekday = 4 | This is the reference Thursday for Week 53. |
| Friday after New Year's Eve | Selected date = 2021-01-01 | Week 53. ISO week-year 2020. Selected date = 1 January 2021, ISO label = 2020-W53, ISO weekday = 5 | The ISO week-year is still 2020. |
| Sunday before the switch | Selected date = 2021-01-03 | Week 53. ISO week-year 2020. Selected date = 3 January 2021, ISO label = 2020-W53, ISO weekday = 7 | The ISO weekday reaches the last position in the old week. |
| Monday of the first new ISO week | Selected date = 2021-01-04 | Week 1. ISO week-year 2021. Selected date = 4 January 2021, ISO label = 2021-W01, ISO weekday = 1 | The same date is January 4, which always lies in Week 1. |
| December date in the next ISO year | Selected date = 2024-12-30 | Week 1. ISO week-year 2025. Selected date = 30 December 2024, ISO label = 2025-W01, ISO weekday = 1 | The week containing this Monday has its Thursday in January 2025. |
Read the ISO weekday as an index into the Monday-through-Sunday group. Within a W01 label, an ISO weekday of 3 is Wednesday. Two records with the same week-year, week and weekday identify the same date under this convention. When a team uses a fiscal calendar or a Sunday-first system, the week may have a different number and boundaries. Keep the name of the week system alongside the identifier in a report.
Follow a December that is already in the next ISO year
The calendar year and ISO week-year differ.
Selected date: 2021-01-01.
The primary result is Week 53, labeled “ISO week-year 2020”. Selected date: 1 January 2021. ISO label: 2020-W53. ISO weekday: 5.
ISO weeks begin on Monday. Week one contains the year’s first Thursday. Near New Year, a date can belong to the previous or following ISO week-year, so a bare week number is incomplete.
This New Year date belongs to its first ISO week.
Selected date: 2026-01-01.
The primary result is Week 1, labeled “ISO week-year 2026”. Selected date: 1 January 2026. ISO label: 2026-W01. ISO weekday: 4.
Keep the week-year beside a late-December label.
Selected date: 2026-12-31.
The primary result is Week 53, labeled “ISO week-year 2026”. Selected date: 31 December 2026. ISO label: 2026-W53. ISO weekday: 4.
At the end of 2024, Monday 30 December and Tuesday 31 December are followed by Thursday 2 January in the same week. Because the Thursday is in 2025, those December dates belong to 2025-W01. Under a civil monthly report they still belong to December 2024. Both classifications can be useful if a report allows the same raw record to be grouped by month and week independently. Save both the ISO week key and the original date so the groupings remain easy to reproduce.
Understand where Week 53 comes from
There are usually 52 ISO weeks in an ISO week-year, and some have 53. A common year beginning on Thursday has 53 because its first and last Thursdays are 52 weeks apart. A leap year beginning on Wednesday also has 53 under the week rule. Counting 365 or 366 days and simply dividing by seven gives an incomplete explanation because ISO weeks can start in the preceding calendar year. Look at changes around 28 December through 4 January when testing yearly rollovers.
A later Monday-first example. The first Monday after Week 1 starts a new ISO week. Check that the form preserves the leading zero.
Enter Selected date = 2026-01-05. The result is Week 2. ISO week-year 2026. Selected date = 5 January 2026. ISO label = 2026-W02. ISO weekday = 1.
A final ISO weekday in the civil year. Look for the year in the week label before grouping it alongside another New Year example.
Enter Selected date = 2026-12-31. The result is Week 53. ISO week-year 2026. Selected date = 31 December 2026. ISO label = 2026-W53. ISO weekday = 4.
Weekday in the middle of a year. A midyear example helps distinguish a week-number algorithm from one that only handles the boundary cases.
Enter Selected date = 2026-06-17. The result is Week 25. ISO week-year 2026. Selected date = 17 June 2026. ISO label = 2026-W25. ISO weekday = 3.
Check formats and original dates when exporting
An ISO week label includes an uppercase W and two digits for the week number, such as 2026-W02. When a system wants a full week date, add the ISO weekday according to the expected format. Keep consistent zero padding if you use the labels as text keys. In an operational report retain the original Gregorian date as well. A data source might have computed its week using a server's UTC date even when the business operates in Dublin. Near midnight, first establish the correct reporting date and its zone, then find the ISO week. ISO date and time format
Group a Monday review and a weekend follow-up
An operations group might hold a review every Monday and report any Sunday evening work with that week. If a midnight timestamp is stored in UTC, first decide which local date its reporting policy uses. Count Sunday as ISO weekday 7 of the existing weekly record where the local date is still Sunday. The following Monday begins a different week key. Keep the timestamp, civil date and week key all visible in a validation export. They describe separate features of the same event and make the logic easy to audit.
Order several results around a boundary before integrating the key. In the 2020 example, 2020-W53 precedes 2021-W01 even when both records were created in civil January 2021. A report that joins on week number alone can bring in a row from another year. A report that joins civil year and ISO week can classify a boundary row in a week that never existed in that ISO year. Use the complete ISO key after calculating it from the correct date.
ISO week questions
Why does 1 January sometimes belong to last year's week?
The week-year comes from the Thursday in its Monday-to-Sunday week. If that Thursday was in December, the first days in January still belong to the previous ISO week-year.
Can December belong to the next week-year?
Yes. A final December Monday, Tuesday or Wednesday can precede a January Thursday in the same week. The date stays in December by the civil calendar while its ISO week uses the next year.
What do I write next to the week number in a timesheet?
Include the ISO week-year, such as 2020-W53. If the timesheet also records a selected date, keep that original date. This prevents a civil year and an ISO week-year being combined incorrectly.
Does every year have Week 53?
Some years have 52 and others 53 under this convention. The placement of Thursdays and whether the year is a leap year determine the total. Check dated values at the boundary.
What is ISO weekday 7?
Sunday. Monday starts the week as 1. This is useful when constructing a full week-date label or ordering the dates inside a Monday-first timesheet.
Does this match all workplace week numbers?
Use this result for ISO week numbering. An organisation may define fiscal periods or Sunday-first weeks differently. Keep the organisation's convention attached to any imported report and compare a known boundary week.
Can I use the week number to count how many weeks separate two dates?
The label identifies the position inside a week-year. For a distance across years, use the weeks between dates calculator. Subtracting two week numbers can be misleading when they lie in different week-years.