The Basic Math
365 divided by 7 is 52.143. So a year has 52 complete weeks plus 1 extra day (2 extra in a leap year). That leftover day (or two) is why some years end up with 53 weeks under the ISO system.
Think of it this way: 52 weeks is 364 days. Every year is at least 365 days, so there's always a leftover day that doesn't fit neatly into a 52-week structure. In a leap year, there are two leftover days. Those stray days can push the week count to 53, depending on where they land relative to the Monday-start rule.
ISO 8601 Week Rules
The ISO 8601 standard defines weeks with three key rules:
- Weeks start on Monday (not Sunday)
- Week 1 is the week containing the first Thursday of the year
- Equivalently, Week 1 is the week containing January 4th
This means January 1 isn't always in Week 1. If January 1 falls on a Friday, Saturday, or Sunday, it belongs to the last week of the previous year. That trips people up regularly.
For example, January 1, 2027 is a Friday. Under ISO rules, that day belongs to Week 53 of 2026, not Week 1 of 2027. Week 1 of 2027 starts on January 4.
The "first Thursday" rule exists for a practical reason: it guarantees that Week 1 always contains a majority (at least 4) of its days in the new year. A week that starts on Monday and contains January 1 on a Friday only has 1 day in the new year and 6 in the old — giving it to the new year would feel wrong. The Thursday rule draws the line sensibly.
Which Years Have 53 Weeks?
A year has 53 ISO weeks if and only if:
- January 1 falls on a Thursday, OR
- December 31 falls on a Thursday, OR
- Equivalently: the year starts or ends on Thursday (this covers leap years starting on Wednesday too)
Recent and upcoming 53-week years:
| Year | Jan 1 Day | ISO Weeks |
|---|---|---|
| 2020 | Wednesday | 53 (leap year) |
| 2021 | Friday | 52 |
| 2024 | Monday | 52 |
| 2026 | Thursday | 53 |
| 2032 | Thursday | 53 |
The pattern follows from the Gregorian calendar's 400-year cycle. In every 400-year period, there are exactly 71 years with 53 ISO weeks. That works out to about 17.75% of years — roughly one every 5 to 6 years, though the spacing is uneven. You can go as long as 7 years between 53-week years (like 2015 to 2020) or as short as 4 years.
Why Businesses Care
Week numbers are everywhere in European business. German manufacturers schedule production by Kalenderwoche (KW). Scandinavian companies reference "week 12" in conversation the way Americans say "mid-March." Retail and supply chain planning often runs on weekly cycles, and the difference between a 52-week and 53-week year matters for year-over-year comparisons.
A 53-week year throws off same-week comparisons. If you're comparing Week 1 of 2027 to Week 1 of 2026, you're actually comparing different calendar periods because 2026 has 53 weeks and the dates shift. Most analytics platforms handle this, but I've seen plenty of Excel dashboards that don't.
The US uses week numbers less often. American businesses tend to think in terms of months and quarters. But international teams frequently run into confusion when a European colleague references "KW 48" and an American colleague has no idea what that means.
The 53rd-Week Headache for Accounting and Reporting
Retail and restaurant companies that use a 4-4-5 fiscal calendar (or 4-5-4, or 5-4-4 — there are variations) face a particular challenge with 53-week years. These fiscal calendars divide the year into 13 four-week periods grouped into quarters. In a normal year, that's 52 weeks. But every 5–6 years, a 53rd week appears, and someone has to decide where it goes.
Walmart, for example, uses a 4-5-4 calendar. In 53-week fiscal years, the extra week is appended to the final period. That means Q4 has an extra week of revenue — which makes year-over-year Q4 comparisons misleading unless you adjust for the additional week. Financial analysts call these "calendar shifts," and they can meaningfully distort same-store-sales figures. A 53-week fiscal year might show 2% higher Q4 revenue not because the business grew, but because there were 14 weeks in the quarter instead of 13.
I've seen business intelligence dashboards that simply ignored this issue, leading to reports where leadership thought sales had jumped in December when in reality they were just measuring an extra week. If you build any kind of week-over-week or year-over-year reporting, handle the 53rd week explicitly. Don't let it silently inflate your numbers.
Week Numbers in Software
Getting ISO week numbers right in code is harder than it should be, because different languages and functions use different definitions of "week 1."
In Python, date.isocalendar() returns the ISO year, week number, and weekday — and it's correct per ISO 8601. But notice it returns the ISO year, which might differ from the calendar year for dates near January 1 or December 31:
from datetime import date
d = date(2027, 1, 1) # A Friday
print(d.isocalendar()) # (2026, 53, 5) — ISO year 2026, week 53, Friday
In Excel, WEEKNUM() uses the US convention (week starts Sunday, week 1 contains January 1) by default. For ISO weeks, you need ISOWEEKNUM(), which was only added in Excel 2013. Older spreadsheets using WEEKNUM() are likely using the wrong week numbering for European contexts.
JavaScript has no built-in ISO week function at all. You have to compute it manually or use a library like date-fns (getISOWeek(date)). The manual calculation involves finding the nearest Thursday to the date and computing the offset from January 1 — about 10 lines of code that most people copy from Stack Overflow without understanding. The Temporal API proposal includes Temporal.PlainDate.prototype.weekOfYear, which will finally give JavaScript a native way to get ISO week numbers.
In MySQL, WEEK(date, 3) returns the ISO week number. The second parameter (mode) matters — the default mode 0 uses a US-style week starting on Sunday. PostgreSQL uses EXTRACT(WEEK FROM date), which follows ISO 8601 by default. SQLite doesn't have a week number function and requires a manual calculation using strftime('%W', date), which also doesn't follow ISO rules. Cross-database compatibility here is poor — if your reporting system switches databases, your week numbers might silently change.
US Week Numbers vs ISO Week Numbers
The US and ISO systems can disagree by up to two weeks near the boundary of the year. In the US convention (commonly used in Excel's WEEKNUM()), week 1 is simply the week containing January 1, and weeks start on Sunday. Under this system, January 1 is always in week 1, which sounds intuitive but leads to Week 1 sometimes being only 1 or 2 days long.
Take January 1, 2028 (a Saturday). Under US rules, that's Week 1 — a one-day week. Under ISO rules, it's part of Week 52 of 2027. The following Monday, January 3, starts ISO Week 1 of 2028. If your European supplier says "we'll deliver in KW 1" and you interpret that as US week 1, you might expect delivery two days earlier than they intend.
My advice for international teams: always specify which week numbering system you're using, or better yet, include the actual dates. "Week 12 (March 16–20)" leaves no room for misinterpretation.
Frequently Asked Questions
Does 2026 have 52 or 53 weeks?
2026 has 53 ISO weeks. January 1, 2026 falls on a Thursday, which means Week 1 starts on December 29, 2025, and the year extends to Week 53 ending on January 3, 2027.
How is ISO Week 1 defined?
ISO Week 1 is the week containing the first Thursday of January. Equivalently, it's the week containing January 4th. This means the first few days of January might belong to the previous year's last week, and the last few days of December might belong to the next year's Week 1.
Why do businesses use week numbers?
Week numbers provide a consistent, unambiguous way to reference time periods for planning, production, and reporting. They're especially popular in European manufacturing and logistics. Weeks are uniform (always 7 days), unlike months (28–31 days), making them better for weekly cadence operations and year-over-year comparisons.
How do I get the ISO week number in Excel?
Use the ISOWEEKNUM(date) function, available in Excel 2013 and later. For older versions, you can use WEEKNUM(date, 21) with return type 21, which follows ISO 8601 rules (week starts Monday, Week 1 contains the first Thursday).
Do ISO weeks start on Monday or Sunday?
ISO 8601 weeks always start on Monday. This differs from the US convention where weeks typically start on Sunday. The Monday-start rule is used internationally in business, manufacturing, and logistics across Europe and most of Asia.
Can January 1 be in the previous year's last week?
Yes. If January 1 falls on a Friday, Saturday, or Sunday, it belongs to the last ISO week (Week 52 or 53) of the previous year. For example, January 1, 2027 is a Friday and belongs to Week 53 of 2026, not Week 1 of 2027.
How do I get the ISO week number in JavaScript?
JavaScript has no built-in ISO week number function. You can calculate it manually by finding the nearest Thursday to the date and computing the week offset from January 1. Libraries like date-fns provide getISOWeek(date), or you can use Intl.DateTimeFormat with the weekInfo locale data in modern browsers.
Sources
- ISO 8601:2004 — Date and time format standard
- Rick McCarty — "ISO Week Date Calendar" (webspace.science.uu.nl)