Week Number Calculator
Find the week number of any date, or the dates of any week. The calculator gives the ISO 8601 week used in Europe and in most business calendars, and the US week number that starts on Sunday.
Pick a date.
How DateMath numbers weeks
DateMath gives two week numbers for every date: the ISO 8601 week, which starts on Monday with week 1 holding the year's first Thursday, and the US week, which starts on Sunday with week 1 holding January 1. Near New Year the ISO week-year can differ from the calendar year, and DateMath shows which year the week belongs to.
It follows ISO 8601 week dates and the Gregorian calendar. Their rules and sources, and how DateMath tests its results, are on the About page.
Date to week, week to dates
The date field opens on today, so the current week number shows straight away, with that week’s Monday and Sunday, the US week number and the day of the year. “Dates of a week” works the other way: week 1 of 2027 runs from Monday, January 4, 2027 to Sunday, January 10, 2027, and a week the year does not have, such as week 53 of 2027, gets a note that the year has only 52 weeks, instead of a guess.
How ISO week numbers work
ISO 8601, the international date standard, numbers weeks with three rules:
- Every week runs from Monday to Sunday.
- Week 1 is the week that contains the year’s first Thursday. That is the same as the week with January 4 in it, or the first week with at least four days in the new year.
- The weeks are numbered on from there, with no partial weeks, until the next year’s week 1.
Because weeks are never split, the ISO year does not start on January 1. Week 1 starts on the Monday between December 29 and January 4, so two edge cases follow:
- January 1 to 3 can be in the previous year. When the year starts on a Friday, Saturday or Sunday, those days belong to the last week of the year before. January 1, 2027 is a Friday, so it falls in week 53 of 2026.
- December 29 to 31 can be in the next year. When December 31 is a Monday, Tuesday or Wednesday, the last days of December belong to week 1 of the next year. December 31, 2029 is a Monday, so it falls in week 1 of 2030.
Every ISO week has exactly one Thursday, and the week takes the number and the year of that Thursday. This is the rule DateMath uses, and it is also the quickest way to work a week out by hand.
How to calculate the ISO week number by hand
Use the Thursday rule. Take Monday, March 15, 2027:
- Find the Thursday of the date’s Monday-to-Sunday week. March 15, 2027 is a Monday, so the Thursday is March 18, 2027.
- The Thursday’s year is the ISO year: 2027.
- Find the Thursday’s day of the year: 77.
- Subtract 1, divide by 7 and drop the fraction: (77 − 1) ÷ 7 = 10.86, so 10.
- Add 1. March 15, 2027 is in ISO week 11 of 2027.
Near New Year
The same steps handle the edge cases on their own. January 1, 2027 is a Friday; its Thursday is December 31, 2026, day 365 of 2026, so the date is in week 53 of 2026. December 31, 2029 is a Monday; its Thursday is January 3, 2030, day 3 of 2030, so the date is in week 1 of 2030.
The formula version
Without finding the Thursday: week = ⌊(day of the year − weekday + 10) ÷ 7⌋, with the weekday counted from 1 for Monday to 7 for Sunday. For March 15, 2027: (74 − 1 + 10) ÷ 7, rounded down, is 11. Two results need a correction:
- 0 means the last week of the year before. For January 1, 2027 the formula gives 0, and 2026 has 53 weeks, so it is week 53 of 2026.
- A number above the year’s week count means week 1 of the next year. For December 31, 2029 the formula gives 53, but 2029 has only 52 weeks, so it is week 1 of 2030.
ISO week date notation
ISO 8601 also writes a day as its week-year, week and weekday: YYYY-Www-D, with the week padded to two digits and the day running from 1 for Monday to 7 for Sunday. The compact form drops the hyphens, and a whole week is written without the day.
| Date | ISO week date | Compact |
|---|---|---|
| Monday, January 4, 2027 | 2027-W01-1 | 2027W011 |
| Friday, January 1, 2027 | 2026-W53-5 | 2026W535 |
| Monday, December 31, 2029 | 2030-W01-1 | 2030W011 |
| Monday, March 15, 2027 | 2027-W11-1 | 2027W111 |
So 2027-W01-1 is Monday, January 4, 2027, the first day of ISO week 2027-W01. The year in the notation is the ISO week-year, which is why January 1, 2027 is written 2026-W53-5. To write any date this way, read the week and year from the calculator and add the weekday number.
ISO week vs US week
The calculator shows both numbers because they are not interchangeable. ISO weeks are the international standard; the US system is the default of Excel’s WEEKNUM function.
| ISO 8601 week | US week | |
|---|---|---|
| Weeks start on | Monday | Sunday |
| Week 1 | The week with the year's first Thursday and January 4 | The week with January 1 |
| January 1 is in | Week 1, or the last week of the year before | Always week 1 |
| First and last week | Always 7 days | Often shorter than 7 days |
| Week numbers per year | 52 or 53 | 53 or 54 |
| In Excel | ISOWEEKNUM, or WEEKNUM(date, 21) | WEEKNUM(date) |
Away from the turn of the year, the gap follows a pattern. In years that start on Sunday to Thursday the two numbers match from Monday to Saturday, and the US number is one higher on Sundays. In years that start on a Friday or Saturday the US number is one higher from Monday to Saturday and two higher on Sundays. 2027 starts on a Friday: July 1, 2027 is ISO week 26 and US week 27, and July 4, 2027 is ISO week 26 and US week 28.
Because the US system counts partial weeks, its last week number can be higher than any ISO week. In 2028, a leap year that starts on a Saturday, December 31 is in US week 54.
How many weeks are in a year?
A year is 52 weeks and 1 day, or 52 weeks and 2 days in a leap year. Week numbering rounds that to whole weeks, so an ISO year has 52 or 53 weeks. A year has week 53 when it has 53 Thursdays: when January 1 is a Thursday, or when it is a leap year and January 1 is a Wednesday. Over the 400-year cycle of the Gregorian calendar, 71 years have 53 weeks, an average of 52.1775 weeks a year.
Leap years matter only through the weekday. 2020 was a leap year that started on a Wednesday, so it had 53 weeks. 2024 was a leap year too, but it started on a Monday and had 52. From 2020 to 2035, the years with week 53 are 2020, 2026, and 2032.
| Year | January 1 | Leap year | ISO weeks | Last US week |
|---|---|---|---|---|
| 2020 | Wednesday | Yes | 53 (long year) | 53 |
| 2021 | Friday | No | 52 | 53 |
| 2022 | Saturday | No | 52 | 53 |
| 2023 | Sunday | No | 52 | 53 |
| 2024 | Monday | Yes | 52 | 53 |
| 2025 | Wednesday | No | 52 | 53 |
| 2026 | Thursday | No | 53 (long year) | 53 |
| 2027 | Friday | No | 52 | 53 |
| 2028 | Saturday | Yes | 52 | 54 |
| 2029 | Monday | No | 52 | 53 |
| 2030 | Tuesday | No | 52 | 53 |
| 2031 | Wednesday | No | 52 | 53 |
| 2032 | Thursday | Yes | 53 (long year) | 53 |
| 2033 | Saturday | No | 52 | 53 |
| 2034 | Sunday | No | 52 | 53 |
| 2035 | Monday | No | 52 | 53 |
When does week 1 start?
ISO week 1 starts on the Monday closest to January 1, which can be in the old year. January 1 itself is in week 1 only when it falls on a Monday to Thursday; the US system always puts it in week 1.
| Year | January 1 | ISO week of January 1 | US week | ISO week 1 |
|---|---|---|---|---|
| 2025 | Wednesday | Week 1 of 2025 | Week 1 | December 30, 2024 – January 5, 2025 |
| 2026 | Thursday | Week 1 of 2026 | Week 1 | December 29, 2025 – January 4, 2026 |
| 2027 | Friday | Week 53 of 2026 | Week 1 | January 4, 2027 – January 10, 2027 |
| 2028 | Saturday | Week 52 of 2027 | Week 1 | January 3, 2028 – January 9, 2028 |
| 2029 | Monday | Week 1 of 2029 | Week 1 | January 1, 2029 – January 7, 2029 |
| 2030 | Tuesday | Week 1 of 2030 | Week 1 | December 31, 2029 – January 6, 2030 |
| 2031 | Wednesday | Week 1 of 2031 | Week 1 | December 30, 2030 – January 5, 2031 |
| 2032 | Thursday | Week 1 of 2032 | Week 1 | December 29, 2031 – January 4, 2032 |
2025 has 52 ISO weeks, with week 1 from Monday, December 30, 2024. 2026 has 53, the last one ending on Sunday, January 3, 2027. For a whole year with the week number on every row, open the printable calendar and start weeks on Monday.
Week numbers of 2027
2027 has 52 ISO weeks. Week 1 starts on Monday, January 4, 2027; the days before it belong to week 53 of 2026. Each week below runs from Monday to Sunday.
| Week | Monday | Sunday |
|---|---|---|
| Week 1 | January 4, 2027 | January 10, 2027 |
| Week 2 | January 11, 2027 | January 17, 2027 |
| Week 3 | January 18, 2027 | January 24, 2027 |
| Week 4 | January 25, 2027 | January 31, 2027 |
| Week 5 | February 1, 2027 | February 7, 2027 |
| Week 6 | February 8, 2027 | February 14, 2027 |
| Week 7 | February 15, 2027 | February 21, 2027 |
| Week 8 | February 22, 2027 | February 28, 2027 |
| Week 9 | March 1, 2027 | March 7, 2027 |
| Week 10 | March 8, 2027 | March 14, 2027 |
| Week 11 | March 15, 2027 | March 21, 2027 |
| Week 12 | March 22, 2027 | March 28, 2027 |
| Week 13 | March 29, 2027 | April 4, 2027 |
| Week 14 | April 5, 2027 | April 11, 2027 |
| Week 15 | April 12, 2027 | April 18, 2027 |
| Week 16 | April 19, 2027 | April 25, 2027 |
| Week 17 | April 26, 2027 | May 2, 2027 |
| Week 18 | May 3, 2027 | May 9, 2027 |
| Week 19 | May 10, 2027 | May 16, 2027 |
| Week 20 | May 17, 2027 | May 23, 2027 |
| Week 21 | May 24, 2027 | May 30, 2027 |
| Week 22 | May 31, 2027 | June 6, 2027 |
| Week 23 | June 7, 2027 | June 13, 2027 |
| Week 24 | June 14, 2027 | June 20, 2027 |
| Week 25 | June 21, 2027 | June 27, 2027 |
| Week 26 | June 28, 2027 | July 4, 2027 |
| Week 27 | July 5, 2027 | July 11, 2027 |
| Week 28 | July 12, 2027 | July 18, 2027 |
| Week 29 | July 19, 2027 | July 25, 2027 |
| Week 30 | July 26, 2027 | August 1, 2027 |
| Week 31 | August 2, 2027 | August 8, 2027 |
| Week 32 | August 9, 2027 | August 15, 2027 |
| Week 33 | August 16, 2027 | August 22, 2027 |
| Week 34 | August 23, 2027 | August 29, 2027 |
| Week 35 | August 30, 2027 | September 5, 2027 |
| Week 36 | September 6, 2027 | September 12, 2027 |
| Week 37 | September 13, 2027 | September 19, 2027 |
| Week 38 | September 20, 2027 | September 26, 2027 |
| Week 39 | September 27, 2027 | October 3, 2027 |
| Week 40 | October 4, 2027 | October 10, 2027 |
| Week 41 | October 11, 2027 | October 17, 2027 |
| Week 42 | October 18, 2027 | October 24, 2027 |
| Week 43 | October 25, 2027 | October 31, 2027 |
| Week 44 | November 1, 2027 | November 7, 2027 |
| Week 45 | November 8, 2027 | November 14, 2027 |
| Week 46 | November 15, 2027 | November 21, 2027 |
| Week 47 | November 22, 2027 | November 28, 2027 |
| Week 48 | November 29, 2027 | December 5, 2027 |
| Week 49 | December 6, 2027 | December 12, 2027 |
| Week 50 | December 13, 2027 | December 19, 2027 |
| Week 51 | December 20, 2027 | December 26, 2027 |
| Week 52 | December 27, 2027 | January 2, 2028 |
Week numbers by month
To find the week from a month and a day, look up the month, then use the calculator for the exact date. A year in brackets means the week belongs to another ISO year.
| Month | ISO weeks | US weeks |
|---|---|---|
| January | 53 (2026) to 4 | 1 to 6 |
| February | 5 to 8 | 6 to 10 |
| March | 9 to 13 | 10 to 14 |
| April | 13 to 17 | 14 to 18 |
| May | 17 to 22 | 18 to 23 |
| June | 22 to 26 | 23 to 27 |
| July | 26 to 30 | 27 to 31 |
| August | 30 to 35 | 32 to 36 |
| September | 35 to 39 | 36 to 40 |
| October | 39 to 43 | 40 to 45 |
| November | 44 to 48 | 45 to 49 |
| December | 48 to 52 | 49 to 53 |
Week numbers in Excel, Google Sheets, Python and SQL
Excel and Google Sheets
=ISOWEEKNUM(A1)returns the ISO week. For January 1, 2027 it returns 53.=WEEKNUM(A1)returns the US week (Sunday start, January 1 in week 1); for January 1, 2027 it returns 1.=WEEKNUM(A1, 21)returns the ISO week, while=WEEKNUM(A1, 2)starts weeks on Monday but still puts January 1 in week 1, so it is not ISO.=YEAR(A1-WEEKDAY(A1,2)+4)returns the ISO year, the year of the week’s Thursday: 2026 for January 1, 2027.=DATE(Y,1,4)-WEEKDAY(DATE(Y,1,4),2)+1+7*(W-1)returns the Monday of ISO week W of year Y: January 4, 2027 for week 1 of 2027.
In Python, date.isocalendar() gives the ISO year, week and weekday; in SQL Server, DATEPART(ISO_WEEK, d). To add weeks to a date or count the weeks between two dates, use the date calculator.
Frequently asked questions
- What week number is it?
- The calculator opens on today's date from your device and shows its ISO week number, the Monday and Sunday of that week, and the US week number. ISO weeks start on Monday, and week 1 is the week that contains the year's first Thursday.
- What is the difference between ISO and US week numbers?
- ISO 8601 weeks start on Monday and week 1 is the week with the first Thursday of the year, so January 1 to 3 can belong to the last week of the previous year. US week numbering starts weeks on Sunday and always puts January 1 in week 1. The two numbers can differ by one or two.
- How many weeks are in a year?
- 52 weeks and 1 day, or 52 weeks and 2 days in a leap year. In whole weeks, an ISO year has 52 or 53, and 71 of every 400 years have 53. The US system counts partial weeks, so its numbers run to week 53, or 54 in a leap year that starts on a Saturday.
- Which years have 53 weeks?
- In the ISO system, years that start on a Thursday and leap years that start on a Wednesday. Between 2020 and 2040 these are 2020, 2026, 2032 and 2037.
- Why is January 1 sometimes in week 52 or 53?
- Because ISO week 1 is the week with the year's first Thursday. When January 1 falls on a Friday, Saturday or Sunday, it belongs to the last week of the year before: January 1, 2027, a Friday, is in week 53 of 2026.
- Can late December be in week 1 of the next year?
- Yes. When December 31 is a Monday, Tuesday or Wednesday, the last days of December belong to week 1 of the next year: December 31, 2029, a Monday, is in week 1 of 2030.
- How do I find the dates of a week number?
- Open "Dates of a week", then enter the ISO year and the week number; the calculator shows the Monday the week starts on and the Sunday it ends on. Week 1 always starts on the Monday between December 29 and January 4; in 2027 that is Monday, January 4.
- What does 2027-W01-1 mean?
- It is an ISO 8601 week date: ISO year 2027, week 01, day 1, which is Monday, January 4, 2027. Days run from 1 for Monday to 7 for Sunday, and the year is the ISO week-year, which can differ from the calendar year near New Year.
- What is the day of the year?
- The date's position in the year, from 1 on January 1 to 365 on December 31, or 366 in a leap year. The calculator shows it under the week numbers.
- Which week number does Excel use?
- Excel's WEEKNUM function uses the US system by default (Sunday start, week 1 contains January 1); ISOWEEKNUM, or WEEKNUM with 21 as the second argument, returns the ISO 8601 week. This calculator shows both.