Menu

Date Add / Subtract

Week Number Calculator: How It Works

Week numbers look like a simple count and are governed by a standard with genuinely counterintuitive rules — including that a year can have 53 weeks, and that 1 January is sometimes in week 52 of the previous year.

The ISO 8601 rule

Under ISO 8601, used across Europe and in most business software:

The Thursday rule exists to assign each week to the year containing most of its days. The consequence is that 1, 2 and 3 January can fall in the last week of the previous year, and 29, 30 and 31 December can fall in week 1 of the next one.

DateISO week
1 January 2027 (Friday)2026-W53
31 December 2029 (Monday)2030-W01

This is not an error. Reporting systems that assume week 1 always starts in January produce a spurious 'week 0' or misattribute year-end data, which is a recurring bug in analytics dashboards every January.

Competing conventions

SystemWeek startsWeek 1 contains
ISO 8601MondayThe first Thursday
US / CanadaSunday1 January
Middle East (varies)Saturday1 January

The US convention makes 1 January always week 1, which is intuitive and produces a partial first week. Under it, the same date can be in a different week number than under ISO — so a spreadsheet and a business system can legitimately disagree by one about which week something happened in.

53-week years

A year has 53 ISO weeks when it starts on a Thursday, or when it is a leap year starting on a Wednesday. Roughly 71 years in every 400 have 53 weeks. Financial systems using 52-week reporting periods must handle the extra week explicitly, which is why some retailers use a 52/53-week fiscal calendar with a defined rule for the long year.

Where week numbers are used

Writing them unambiguously

The ISO format is 2026-W35, optionally with a day number: 2026-W35-1 is the Monday of week 35. Writing 'week 35' alone is ambiguous across conventions and across years, and in any cross-border context it is worth stating both the week number and the date it begins.

Frequently Asked Questions

Why is 1 January sometimes in week 52 of the previous year?
Because ISO 8601 defines week 1 as the week containing the year's first Thursday. If 1 January falls on a Friday, Saturday or Sunday, that week belongs to the previous year — the year holding most of its days.
Can a year have 53 weeks?
Yes. A year has 53 ISO weeks when it starts on a Thursday, or when it is a leap year starting on a Wednesday. About 71 years in every 400 do.
Why do different systems give different week numbers?
Because they use different conventions. ISO 8601 starts weeks on Monday and requires the first Thursday; the US convention starts on Sunday and puts 1 January in week 1. The same date can differ by one week between them.
Which convention should I use?
ISO 8601 for anything international, in business systems, or in Europe. The US convention where the audience and systems are American. The important thing is that everyone involved uses the same one.
How should I write a week number?
In ISO format — 2026-W35, optionally with a day as 2026-W35-1 for the Monday. Writing 'week 35' alone is ambiguous, so include the starting date in any cross-border communication.
Why does my dashboard show a week 0 in January?
Because it assumes week 1 always begins in January rather than following the ISO rule. Days falling in the previous year's final week get no valid number and end up as week 0. It is a recurring January bug in reporting systems.

Related Date & Time Tools

Browse all Date & Time tools →