Date math

ISO Week Numbers Explained: How Week 1 Works

Under the international standard ISO 8601, weeks start on Monday, and week 1 is the week that contains the year’s first Thursday. Every week belongs to the year that holds its Thursday. That one rule is why January 1, 2027 is in week 53 of 2026, and why week 1 of 2027 starts on Monday, January 4. This guide explains the rule, gives a formula you can do by hand, and shows why Excel, Outlook and US wall calendars often give a different week number for the same date.

At a glance

  • ISO weeks run Monday to Sunday.
  • Week 1 contains the first Thursday of January, which is the same as saying it contains January 4.
  • A year has 52 or 53 ISO weeks. 2026 has 53; 2027 has 52.
  • ISO week 1 of 2027: Monday, January 4 to Sunday, January 10, 2027.
  • Excel’s default WEEKNUM is not ISO. Use ISOWEEKNUM, or WEEKNUM with return type 21.

The rule, and why Thursday

A week that straddles New Year has some days in December and some in January. ISO 8601 gives the whole week to whichever year has four or more of its seven days. Thursday is the middle day of a Monday-to-Sunday week, so the year that holds the Thursday always holds at least four days. Hence the three equivalent ways to state the rule:

  • Week 1 is the week with the year’s first Thursday in it.
  • Week 1 is the week that contains January 4.
  • Week 1 is the first week with at least four days in the new year.

Two consequences surprise people. First, up to three days at the start of January can belong to the last week of the previous year (January 1 to 3, 2027 are all in 2026-W53). Second, up to three days at the end of December can belong to week 1 of the next year (December 29 to 31, 2025 were in 2026-W01). The ISO 8601 standard calls this the week-numbering year, and it can differ from the calendar year for those few days.

When ISO week 1 starts, 2025 to 2032

Year January 1 is a Week 1 starts ISO weeks in the year
2025 Wednesday Monday, December 30, 2024 52
2026 Thursday Monday, December 29, 2025 53
2027 Friday Monday, January 4, 2027 52
2028 Saturday Monday, January 3, 2028 52
2029 Monday Monday, January 1, 2029 52
2030 Tuesday Monday, December 31, 2029 52
2031 Wednesday Monday, December 30, 2030 52
2032 Thursday Monday, December 29, 2031 53

Pattern: if January 1 is Monday to Thursday, week 1 starts on or before January 1. If it is Friday to Sunday, week 1 starts on the following Monday (January 2 to 4). A year has 53 weeks when it starts on a Thursday, or is a leap year starting on a Wednesday; that happens 71 times in every 400 years. Our post on which years have 53 weeks lists them to 2045.

How to calculate an ISO week number by hand

You need two numbers: the day of the year (January 1 = 1) and the ISO weekday (Monday = 1 … Sunday = 7). Then:

week = floor((day of year − weekday + 10) ÷ 7)

  • If the result is 0, the date is in the last week (52 or 53) of the previous year.
  • If the result is 53 but the year has only 52 weeks, the date is in week 1 of the next year.
  • Otherwise, the result is the week number.

Worked examples

Date Day of year Weekday Working ISO week
Mon, Mar 15, 2027 74 1 (74 − 1 + 10) ÷ 7 = 11.9 → 11 2027-W11
Thu, Nov 25, 2027 (Thanksgiving) 329 4 (329 − 4 + 10) ÷ 7 = 47.9 → 47 2027-W47
Fri, Jan 1, 2027 1 5 (1 − 5 + 10) ÷ 7 = 0.9 → 0 Last week of 2026: 2026-W53
Fri, Dec 31, 2027 365 5 (365 − 5 + 10) ÷ 7 = 52.9 → 52 2027-W52

We checked this formula against Python’s built-in ISO calendar for every one of the 73,414 days from 1900 to 2100: it matched on all of them. You can look up the day of the year for any date with our day of the year page, or skip the maths and use the week number page, which shows today’s ISO week and lists every week of the year with its dates.

Going the other way: from a week number to dates

To find the Monday of ISO week w: take the Monday of week 1 from the table above and add 7 × (w − 1) days. Week 27 of 2027 starts January 4 + 182 days = Monday, July 5, 2027, and ends Sunday, July 11. The compact ISO notation for a single day is year, week and weekday: 2027-W10-3 is the Wednesday of week 10, March 10, 2027. Our date calculator handles the adding.

Why Excel, Outlook and your colleague disagree

Week numbers are not universal. The ISO system is widely used in Europe, while many US calendars use a Sunday-start system where week 1 is simply the week that contains January 1. Spreadsheet functions follow whichever system they are told to.

Microsoft’s documentation for WEEKNUM describes two systems. System 1: the week containing January 1 is week 1. System 2: the week containing the first Thursday is week 1, which it notes is the ISO 8601 method. If you leave out the second argument, WEEKNUM uses system 1 with weeks starting on Sunday. =WEEKNUM(A1,21) or ISOWEEKNUM give the ISO week.

Here is what each method returns around the 2026/27 and 2027/28 year boundaries:

Date ISO 8601 (ISOWEEKNUM) WEEKNUM default (Sunday start) WEEKNUM(…, 2) (Monday start)
Thu, Dec 31, 2026 2026-W53 53 53
Fri, Jan 1, 2027 2026-W53 1 1
Sun, Jan 3, 2027 2026-W53 2 1
Mon, Jan 4, 2027 2027-W01 2 2
Thu, Jul 1, 2027 2027-W26 27 27
Fri, Dec 31, 2027 2027-W52 53 53
Sat, Jan 1, 2028 2027-W52 1 1
Mon, Jan 3, 2028 2028-W01 2 2

Through most of 2027 the non-ISO methods run one week ahead of ISO, because they call the partial week that contains January 1 “week 1”. On Sundays the default Sunday-start WEEKNUM is two weeks ahead: Sunday, July 4, 2027 is ISO week 26 but WEEKNUM week 28. If a supplier in Germany says “delivery in week 27” and your spreadsheet uses the default WEEKNUM, you will be looking at the wrong week. Under the Sunday-start system, a year can even reach week 54: in 2028, a leap year that starts on a Saturday, December 31 falls in week 54.

The year trap in software

Because the ISO week-numbering year can differ from the calendar year for a few days, date formats have separate codes for it. In Python’s strftime codes, %G is the ISO week-numbering year and %V the ISO week, while %Y is the ordinary calendar year. Mixing them causes classic bugs: formatting January 1, 2027 as %Y-W%V gives “2027-W53”, a week that does not exist. The correct %G-W%V gives “2026-W53”. Several other languages and spreadsheet tools have the same split between calendar year and week-based year, so whenever you print a week number, print the week-numbering year with it.

Where ISO week numbers are used

  • Manufacturing and logistics: production plans, delivery promises and date codes often use year plus week (for example “2027-W15”).
  • Retail and finance: weekly sales reporting and 52/53-week fiscal years are built on whole weeks, so a 53-week year needs a week 53 in every template.
  • Payroll: weekly and biweekly paydays follow weekdays, not dates, which is why some years have an extra payday. See our guide to 53-week years for payroll effects.
  • Everyday planning in Europe: school holidays, office calendars and diaries in many European countries show ISO week numbers.

Frequently asked questions

What week number is January 1, 2027?

Under ISO 8601 it is in week 53 of 2026 (2026-W53-5). Week 1 of 2027 starts on Monday, January 4. Under Excel’s default WEEKNUM it is week 1.

How many weeks are in 2027?

52 ISO weeks. The last one, 2027-W52, runs from Monday, December 27, 2027 to Sunday, January 2, 2028.

Does 2026 have 53 weeks?

Yes. ISO week 53 of 2026 runs from Monday, December 28, 2026 to Sunday, January 3, 2027.

Do weeks start on Sunday or Monday?

In ISO 8601, Monday. Many US calendars start weeks on Sunday, which is one reason week numbers differ between systems.

Which Excel formula gives the ISO week number?

=ISOWEEKNUM(A1), or =WEEKNUM(A1,21). Plain =WEEKNUM(A1) uses the Sunday-start, week-containing-January-1 system.

Sources and method

Last checked: November 8, 2026.

Similar Posts