Week Number Finder

📅 Date → Week Number
🔢 Week Number → Date Range
Current Week
Day of Year
Days Left
Total Weeks
📆 Year Week Calendar

ISO 8601 Week Numbering Explained

What is the ISO week number?

ISO 8601 is the international standard for week numbering. Weeks start on Monday and end on Sunday. Week 1 (W01) is the week containing January 4th (equivalently: the week with the year's first Thursday). A year has 52 or 53 weeks. The ISO week-year may differ from the calendar year — Dec 29–31 can be W01 of the next year, and Jan 1–3 can be W52/53 of the previous year.

Why is Jan 1 sometimes not in week 1?

If January 1st falls on Friday, Saturday, or Sunday, it belongs to the previous year's last ISO week. For example, Jan 1, 2000 (Saturday) was ISO week 52 of 1999. This ensures ISO weeks never have partial weeks.

Which years have 53 weeks?

When Jan 1 is Thursday, or in a leap year when Jan 1 is Wednesday (~every 5–6 years). Recent examples: 2004, 2009, 2015, 2020, 2026, 2032, 2037.

Regional Week Numbering Differences

ISO Weeks (Monday start)

Used by the EU, UK, most of Asia, Australia, South America — 150+ countries. This is the standard for international trade and manufacturing.

US Weeks (Sunday start)

The US and Canada start weeks on Sunday, with Week 1 defined as the week containing January 1st. This can produce 53–54 "weeks" per year, with partial first and last weeks.

Middle East

Some countries (e.g., Iran, Afghanistan) use Saturday as the week start. ISO is increasingly adopted for international business contexts.

Business Use Cases

Payroll & Finance

Biweekly payroll is keyed to ISO week numbers. 53-week years create an "extra pay period" problem that finance teams must plan for. The 4-4-5 retail fiscal calendar is also week-based.

Manufacturing & Supply Chain

Production schedules and delivery windows use "ship W23" format. ISO weeks eliminate ambiguity in cross-border supply chain communication.

Agile Development

2-week sprints map to ISO weeks (e.g., W14–W15 = one iteration), enabling easy cross-team alignment and retrospectives.

Retail & Analytics

Weekly sales reports are filed by week number. 53-week years affect year-over-year (YoY) comparisons and require special handling.

Programming Pitfalls

The YYYY vs yyyy Bug

In Java/date-fns, YYYY = ISO week-year, yyyy = calendar year. Mixing them up at year boundaries (late Dec / early Jan) produces wrong years — this is the #1 week-number bug in production code.

Language API Differences

Python: isocalendar() returns (iso_year, week, weekday) — use iso_year, not year. JavaScript: Date has no native ISO week API — use date-fns or Luxon. Excel: ISOWEEKNUM() (2013+) vs WEEKNUM() (US system). SQL: MySQL uses WEEK(date, 3) for ISO; PostgreSQL's EXTRACT(WEEK) is ISO by default.

💬 Comments