Week Number Calculator
The ISO 8601 week number for any date, including the years where 1 January belongs to week 53.
Updated
Any date from 1900 to 2100.
ISO week number
Week 31of 2026
Jul 27, 2026 to Aug 2, 2026
- ISO week
- 31
- ISO week-numbering year
- 2026
- Calendar year
- 2026
- Week starts (Monday)
- Jul 27, 2026
- Week ends (Sunday)
- Aug 2, 2026
- Weeks in ISO 2026
- 53 weeks
- Weeks left in ISO 2026
- 22
ISO 8601 weeks run Monday to Sunday and are the standard in Europe and in most business and manufacturing calendars. North American calendars often number weeks from Sunday and start week 1 on 1 January, which can put the same date one week earlier or later. An ISO year has 52 weeks, or 53 when it starts or ends on a Thursday.
In short
What week number is it this week?
ISO 8601 numbers weeks from Monday to Sunday, and week 1 is the week containing the first Thursday of the year. Friday 31 July 2026, the example loaded here, sits in ISO week 31 of 2026, running Monday 27 July to Sunday 2 August. 2026 is a long ISO year with 53 weeks rather than the usual 52.
The ISO year is not always the calendar year: 1 January 2021 was a Friday inside week 53 of ISO 2020, and 31 December 2019 already sat in week 1 of ISO 2020.
How to use the week number calculator
Enter a date and the tool returns its ISO 8601 week number, the ISO year that week belongs to, and the Monday to Sunday range the week covers. The example loaded is 31 July 2026, which falls in week 31 of 2026, running from Monday 27 July to Sunday 2 August.
There are no options to set, because ISO 8601 admits none: the standard fixes both the start of the week and the rule for numbering it, which is precisely what makes week numbers useful for coordinating across countries. What a wall calendar in your country shows may differ, and that difference is the reason to check rather than a reason to distrust the answer.
Week 31
ISO week
Friday 31 July 2026, the example loaded
27 Jul to 2 Aug
The week it covers
ISO weeks always run Monday to Sunday
53
Weeks in ISO 2026
a long year, against the usual 52
- 1
An ISO week runs Monday to Sunday
The weekend sits at the end of the week rather than split across two, whatever a wall calendar in your country shows.
- 2
Week 1 is the week containing the first Thursday of the year
Which is the same as saying it is the week containing 4 January, and the same again as saying it is the first week with at least four days in the new year. Those three phrasings are equivalent and each is easier to apply in a different situation.
Two rules define everything, and the Thursday version of the second is the one to remember, because it explains every strange case at once: whichever year owns the Thursday owns the whole week. The consequence is that the ISO year and the calendar year do not always agree, and the tool flags it when they diverge.
- 1 January 2021, a Friday
- week 53 of ISO 2020
- 31 December 2019, a Tuesday
- week 1 of ISO 2020
- 1 January 2027, a Friday
- week 53 of ISO 2026
The Thursday of that last 2019 week fell in January, which is what pulled the date forward, and ISO 2027 does not begin until Monday 4 January.
Want the weekday and the rest?
The day of the week calculator reports the weekday, the day of the year, the days left, and the quarter alongside the same ISO week.
Open the day of week calculator →Do
- Quote the ISO year together with the week number.
- Check the Monday to Sunday range before booking against a week number.
- Note whether the ISO year runs to 52 or 53 weeks when planning.
- Ask which rule the other system applies before assuming an error.
Don't
- Assume week 1 always starts on 1 January.
- Compare week 52 of a long year against week 52 of a short one.
- Start the week on Sunday and still call the number ISO.
- Read every early January date as belonging to the new ISO year.
Dates run through this page’s engine, showing the ISO 8601 week, the ISO year it belongs to, and the Monday to Sunday range that week covers. The last column marks the dates where the ISO year and the calendar year disagree, which is the case the standard is most often blamed for.
| Date | Weekday | ISO week | ISO year | Week runs | ISO year differs |
|---|---|---|---|---|---|
| 31 July 2026 (the example loaded) | Friday | 31 | 2026 | 27 July to 2 August 2026 | No |
| 29 December 2025 | Monday | 1 | 2026 | 29 December 2025 to 4 January 2026 | Yes |
| 1 January 2026 | Thursday | 1 | 2026 | 29 December 2025 to 4 January 2026 | No |
| 4 January 2026 | Sunday | 1 | 2026 | 29 December 2025 to 4 January 2026 | No |
| 14 February 2026 | Saturday | 7 | 2026 | 9 to 15 February 2026 | No |
| 15 June 2026 | Monday | 25 | 2026 | 15 to 21 June 2026 | No |
| 25 December 2026 | Friday | 52 | 2026 | 21 to 27 December 2026 | No |
| 28 December 2026 | Monday | 53 | 2026 | 28 December 2026 to 3 January 2027 | No |
| 31 December 2026 | Thursday | 53 | 2026 | 28 December 2026 to 3 January 2027 | No |
| 1 January 2027 | Friday | 53 | 2026 | 28 December 2026 to 3 January 2027 | Yes |
| 31 December 2019 | Tuesday | 1 | 2020 | 30 December 2019 to 5 January 2020 | Yes |
| 28 December 2020 | Monday | 53 | 2020 | 28 December 2020 to 3 January 2021 | No |
| 1 January 2021 | Friday | 53 | 2020 | 28 December 2020 to 3 January 2021 | Yes |
| 4 January 2021 | Monday | 1 | 2021 | 4 to 10 January 2021 | No |
| 30 December 2024 | Monday | 1 | 2025 | 30 December 2024 to 5 January 2025 | Yes |
| 1 January 2032 | Thursday | 1 | 2032 | 29 December 2031 to 4 January 2032 | No |
Why some years have 53 weeks
Most ISO years contain 52 weeks and roughly one in five contains 53, which is a real planning fact rather than a curiosity. Between 2015 and 2040 the long years are 2015, 2020, 2026, 2032 and 2037.
A 53-week year adds a whole reporting period to anything measured in weeks: retail calendars, weekly payroll runs, rotas and week-by-week budgets all gain a week that the previous year did not have, and comparing week 52 of one year against week 52 of another is not comparing equal periods.
The formula, worked line by line
The calculation uses the Thursday trick, which is the standard way to resolve ISO week numbering without special cases. Step to the Thursday of the week the date falls in, by adding four minus the ISO weekday.
That Thursday calendar year is the ISO year by construction, because week 1 is defined as the week holding the first Thursday, so every Thursday belongs to the year printed on it. Count whole weeks from 1 January of that ISO year to the Thursday, add one, and you have the week number.
Nothing in that procedure treats New Year as a special case, which is the point. The straddle behaviour that surprises people is not an exception bolted on; it falls out of the same three lines that handle a date in July. The tool also reports the Monday and Sunday that bound the week, found by stepping back to the Monday and forward six days, so the abstract number is always accompanied by the concrete dates it stands for.
ISO weekday: Monday = 1, Tuesday = 2, ... Sunday = 7
thursday = date + (4 - ISO weekday)
ISO year = the calendar year of that Thursday
week = floor(days from 1 January of the ISO year to that Thursday / 7) + 1
week start = date + (1 - ISO weekday) ... the Monday; week end = week start + 6
weeks in an ISO year = the ISO week number of 28 December that year- Step to the Thursday
- Friday is ISO weekday 5, so 31 July + (4 − 5) = 30 July 2026
- ISO year
- the calendar year of that Thursday, 2026
- Days from 1 January 2026
- 210, and 210 ÷ 7 = 30 exactly
- Add one
- 30 + 1 = 31
- The answer
- Week 31 of ISO 2026
The Monday is 31 July minus four days, 27 July, and the Sunday is six days after that, 2 August. Every value on the page comes from those few lines.
The straddle cases run through the identical arithmetic. Take Friday 1 January 2021: Friday is ISO weekday 5, so the Thursday of that week is 31 December 2020, which sits in calendar 2020, making the ISO year 2020 rather than 2021. From 1 January 2020 to 31 December 2020 is 365 days, 365 divided by 7 is 52 with a remainder, and adding one gives week 53.
Going the other way, Tuesday 31 December 2019 has its Thursday on 2 January 2020, so the ISO year is 2020 and the week is 1. Neither result needs a rule of its own.
A 53-week ISO year happens when 1 January falls on a Thursday, or on a Wednesday in a leap year, because either arrangement leaves 53 Thursdays inside the year. Between 2015 and 2040 the long years are 2015, 2020, 2026, 2032 and 2037, and 2026 being one of them is worth noticing for any plan measured in weeks.
The general test the tool uses is shorter than the rule: the number of weeks in an ISO year is the week number of 28 December, since 28 December is always in the last week of its own ISO year. That is not a shortcut, it is a direct consequence of the definition, and it is the check the engine tests itself against on every year from 1995 to 2035.
Questions people ask
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
ISO week numbering stated normatively and free: weeks begin Monday, week one is the first with at least four days in the year, and week 53 occurs only when 1 January is a Thursday, or a Wednesday in a leap year.
RFC 5545, Internet Calendaring and Scheduling Core Object Specification, section 3.3.10 — IETF, 2009
Related guides
Putting JSON in a URL: Validate, Minify, Percent-Encode, or Base64url?
A decision guide for flattening, encoding, checking, and safely transporting JSON in a query string.
August 11, 2026 · 9 min read
How to Schedule a Meeting Across Time Zones Without DST or Date-Line Mistakes
A workflow for choosing, validating, and communicating a meeting time when offsets, calendar dates, and daylight-saving transitions can differ.
August 11, 2026 · 10 min read
How Many Grams in a Cup? Every Ingredient, One Chart
One formula, fourteen densities. Why flour is 120 g, honey is 340 g, and the ingredient — not the cup — decides the number.
August 10, 2026 · 14 min read