Skip to main content
Dates & TimeFree · no sign-up

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. 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. 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.

Dates that straddle New Year
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.

DateWeekdayISO weekISO yearWeek runsISO year differs
31 July 2026 (the example loaded)Friday31202627 July to 2 August 2026No
29 December 2025Monday1202629 December 2025 to 4 January 2026Yes
1 January 2026Thursday1202629 December 2025 to 4 January 2026No
4 January 2026Sunday1202629 December 2025 to 4 January 2026No
14 February 2026Saturday720269 to 15 February 2026No
15 June 2026Monday25202615 to 21 June 2026No
25 December 2026Friday52202621 to 27 December 2026No
28 December 2026Monday53202628 December 2026 to 3 January 2027No
31 December 2026Thursday53202628 December 2026 to 3 January 2027No
1 January 2027Friday53202628 December 2026 to 3 January 2027Yes
31 December 2019Tuesday1202030 December 2019 to 5 January 2020Yes
28 December 2020Monday53202028 December 2020 to 3 January 2021No
1 January 2021Friday53202028 December 2020 to 3 January 2021Yes
4 January 2021Monday120214 to 10 January 2021No
30 December 2024Monday1202530 December 2024 to 5 January 2025Yes
1 January 2032Thursday1203229 December 2031 to 4 January 2032No
Computed from the ISO 8601 rule that week 1 is the week containing the first Thursday of the year, with weeks running Monday to Sunday. These values were checked against an independent reference implementation on every date from 1995 to 2035. Week numbering under other conventions, such as the North American habit of starting weeks on Sunday, will differ.

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
Why 1 January can sit in week 53ISO week 1 is the week holding the year's first Thursday. The week of Jan 1, 2021 has its Thursday on Dec 31, 2020, so it is week 53 of 2020; week 1 of 2021 starts on Jan 4, 2021, the Monday before Jan 7, 2021.THE THURSDAY DECIDES THE YEARMTWTFSS2829303112345678910W53W1Jan 1, 2021 is a FridayISO 2020 runs 53 weeksWEEK 1 HOLDS THE FIRST THURSDAYits ThursdayDec 31first Thu of 2021Jan 7week 1 startsJan 4Jan 12020-W53
Week 1 is the week holding the first Thursday, which is how 1 January 2021 ended up in week 53 of ISO 2020.
The worked default, Friday 31 July 2026
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.

  1. 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.10IETF, 2009