In short
There are two common ways to number weeks. ISO 8601 starts weeks on Monday and makes week 1 the week that contains the year’s first Thursday, so a year has 52 or 53 full weeks. The US system starts weeks on Sunday and makes week 1 the week that contains January 1. The two can differ by one for the same date.
How it works
ISO 8601. Weeks run from Monday to Sunday. Week 1 is the week with the year’s first Thursday in it, which is the same as the week containing January 4. Every week belongs entirely to one week-year, so the last days of December can be in week 1 of the next year, and the first days of January in week 52 or 53 of the previous one.
T = the Thursday of the date’s Monday–Sunday week week-year = year of T week = ⌊(day of year of T − 1) ÷ 7⌋ + 1
Python’s documentation gives the textbook case: 2004 began on a Thursday, so ISO week 1 of 2004 ran from Monday 29 December 2003 to Sunday 4 January 2004.
US system. Weeks run from Sunday to Saturday and week 1 is simply the week containing January 1, which Microsoft calls system 1 in Excel’s WEEKNUM function. The first and last weeks are often partial, and a year can have 54 numbered weeks.
week = ⌊(day of year − 1 + j) ÷ 7⌋ + 1
- j
- weekday of January 1, Sunday = 0
Worked examples
Sunday 4 January 2004 in the ISO system
The Monday-to-Sunday week containing this date runs from 29 December 2003. Its Thursday is 1 January 2004, the year’s first Thursday, so it is week 1 of 2004, as Python’s documentation shows.
New Year’s Day 2027 belongs to 2026
1 January 2027 is a Friday. Its week’s Thursday is 31 December 2026, so the date is in week 53 of ISO year 2026, written 2026-W53. 2026 has 53 ISO weeks because it begins on a Thursday.
Friday 9 March 2012 in the US system
January 1, 2012 was a Sunday, so US week 1 ran January 1–7. March 9 is day 69 of the year: ⌊(69 − 1 + 0) ÷ 7⌋ + 1 = 10, the result Microsoft gives for =WEEKNUM("3/9/2012"). The ISO system puts the same date in week 10 as well, but that agreement is a coincidence of the calendar.
Using this calculator well
- Say which system you mean. When planning with people in other countries, write “ISO week 12” or give the date range. Around New Year the two systems can be a whole week apart.
- Use the week-year, not the calendar year. In ISO dates, 2027-01-01 is 2026-W53-5. Spreadsheets and code that mix the calendar year with the ISO week produce wrong labels for a few days each year.
- In spreadsheets, =ISOWEEKNUM(date) or =WEEKNUM(date, 21) gives the ISO week, and =WEEKNUM(date) gives the US week.
- Fiscal weeks are different again. Many retailers use a 4-4-5 calendar or a fiscal year starting in another month. Check your company’s own calendar for those.
Frequently asked questions
What week number is it today?
The calculator opens on today’s date, so the result at the top is the current week number. It uses your device’s date, so it is correct for your own time zone. Switch between ISO and US numbering to see both, since they can differ by a week.
How many weeks are in a year?
An ISO year has 52 or 53 full weeks. It has 53 when it starts on a Thursday, or on a Wednesday in a leap year, which happens 71 times in every 400 years. In the US system a year spans 53 numbered weeks, or 54 in a leap year that starts on a Saturday, because partial weeks are counted.
Why does January 1 sometimes show week 52 or 53?
In the ISO system each week belongs to the year that contains its Thursday. If January 1 is a Friday, Saturday or Sunday, its week’s Thursday is still in December, so those days belong to the last week of the previous year. The US system always puts January 1 in week 1.
Which countries use ISO week numbers?
ISO 8601 week numbers are standard across most of Europe, where week numbers are common in schedules, and in international business and software. The United States, Canada and some other countries usually start weeks on Sunday and number them from January 1, though ISO weeks are also used there in industry.
Sources and methodology
- datetime: date.isocalendar(), Python Software Foundation, ISO weeks start on Monday; week 1 is the week containing the year’s first Thursday; 2003-12-29 and 2004-01-04 are in ISO week 1 of 2004; 2002-03-11 is week 11 (accessed November 24, 2026)
- WEEKNUM function, Microsoft Support, System 1: the week containing January 1 is week 1 (weeks begin Sunday by default); System 2 is ISO 8601; 3/9/2012 is week 10 (accessed November 24, 2026)
Rounding: Exact calendar arithmetic on the proleptic Gregorian calendar, with no time zones.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/week-number" title="Week Number Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>