Week Number Calculator — ISO 8601 Week of Year Finder
Need to know what week number a date falls in? Our free week number calculator instantly determines the ISO 8601 week number for any date, shows the complete week date range, and helps you convert between week numbers and calendar dates. Essential for project managers, payroll administrators, schedulers, and anyone working with European or international business systems that rely on week-based time references.
Understanding ISO 8601 Week Numbering
ISO 8601 is the international standard for date and time representation, and its week numbering system provides an unambiguous way to reference weeks across the globe. Unlike informal week counting that varies by culture, ISO week numbers follow strict, universally agreed rules.
The key rules of ISO 8601 week numbering are: weeks begin on Monday (day 1) and end on Sunday (day 7). Week 01 is defined as the week containing the first Thursday of the year. This definition has several equivalent formulations: the week containing January 4th, the first week with four or more days in the new year, or the week with the Monday closest to January 1st.
This means ISO years can have either 52 or 53 weeks. A year has 53 weeks when January 1st is a Thursday (in common years) or when January 1st is a Wednesday or Thursday (in leap years). The 53-week years occur with a pattern that repeats every 400 years, containing exactly 71 years with 53 weeks.
The First Week Rule Explained
The first-Thursday rule can create counterintuitive results at year boundaries. If January 1st falls on a Friday, Saturday, or Sunday, those days actually belong to the last week (52 or 53) of the previous year in ISO terms. Conversely, if December 29-31 fall in a week whose Thursday is in the next year, those December days belong to week 01 of thefollowing year.
For example, January 1, 2027 is a Friday. Since the first Thursday falls on January 7, the days January 1-3 (Fri-Sun) belong to Week 53 of 2026. Week 01 of 2027 starts on Monday, January 4. This distinction between the "ISO year" and "calendar year" is critical for correct week numbering at boundaries.
Use Cases for Week Numbers
Project Management and Scheduling
Week numbers provide a concise way to reference time periods in project plans, Gantt charts, and sprint calendars. "Delivery in W38" is more precise than "mid-September" and universally understood in international teams. Agile software development teams commonly name sprints by week number (e.g., "Sprint W24-W25").
Payroll Processing
Many European and international companies run weekly or biweekly payroll cycles referenced by ISO week numbers. Payslips show the week number, and pay periods align with Monday-Sunday boundaries. This eliminates ambiguity about which days are included in each pay period.
Manufacturing and Logistics
Production schedules, batch numbers, and delivery windows are often referenced by week number in manufacturing. Automotive, pharmaceutical, and consumer goods industries use week-based planning for production runs, quality control batches, and supply chain coordination. Part date codes frequently embed the week number.
Fiscal and Financial Reporting
Some organizations structure financial reporting around fiscal weeks (which may or may not align with ISO weeks). Retail companies use 4-4-5, 4-5-4, or 5-4-4 calendar systems where months have fixed numbers of weeks. Understanding ISO weeks helps convert between these systems and standard calendar reporting.
ISO Weeks vs. Other Systems
US/North American Convention: The US often starts weeks on Sunday and defines week 1 as the week containing January 1st, regardless of how many days fall in the new year. This can differ from ISO by 1-2 weeks at year boundaries. US systems typically number weeks 1-52 (sometimes 0-52) with different boundary rules.
Islamic Calendar: Uses weeks starting on Saturday in some traditions and Sunday in others. The Islamic year has 354-355 days (lunar calendar), so week numbers don't correspond to the Gregorian calendar in any fixed pattern.
Accounting/Fiscal Weeks: Many corporations use fiscal calendars that may start on any day and follow 4-4-5 patterns (4 weeks, 4 weeks, 5 weeks per quarter). These ensure each "month" contains complete weeks for consistent comparison but don't align with calendar months.
Writing ISO Week Dates
The ISO 8601 week date format is YYYY-Www-D, where YYYY is the ISO week year, W is a literal character, ww is the two-digit week number (01-53), and D is the day of the week (1=Monday through 7=Sunday). For example, 2026-W25-2 represents Tuesday of week 25 in 2026, which is June 16, 2026.
This format is particularly useful in databases and APIs where unambiguous date representation is critical. Many programming languages provide built-in ISO week date parsing and formatting (JavaScript's Intl.DateTimeFormat, Python's datetime.isocalendar(), Java's WeekFields.ISO).
Calculating Week Numbers Programmatically
Most programming languages support ISO week number calculation. In JavaScript, the ISO week can be derived from Date objects. In Python, date.isocalendar()returns (ISO year, ISO week, ISO weekday). In SQL, functions like EXTRACT(WEEK FROM date) or DATEPART(iso_week, date) provide ISO week numbers directly.
When implementing week-based logic, always use the ISO year (which may differ from the calendar year at boundaries) together with the week number. Using calendar year + ISO week can produce incorrect results in the first and last weeks of each year.
Frequently Asked Questions
What is ISO 8601 week numbering?
ISO 8601 defines a standardized week numbering system where weeks start on Monday, are numbered 01-53, and Week 01 is the week containing the first Thursday of the year. This is the international standard used in business, computing, and government.
How is the first week of the year defined?
Week 01 is the week containing the year's first Thursday — equivalently, the week containing January 4th, or the first week with 4+ days in the new year. Early January days may belong to the previous year's last week.
Can a year have 53 weeks?
Yes. A year has 53 ISO weeks when January 1 is a Thursday (common year) or when January 1 is Wednesday or Thursday (leap year). This occurs roughly every 5-6 years. Most years have exactly 52 weeks.
Why do businesses use week numbers?
Week numbers provide unambiguous time references for payroll, scheduling, production planning, and reporting. They're especially important in international contexts where month boundaries and naming conventions differ across cultures.
How are ISO weeks different from US weeks?
ISO weeks start on Monday with the first-Thursday rule. US convention often starts on Sunday and considers the week containing January 1 as week 1 regardless of day count. This creates 1-2 week differences at year boundaries.
Can January dates belong to the previous year's week?
Yes. If January 1-3 fall before the week containing the first Thursday, those days belong to week 52 or 53 of the previous ISO year. The ISO year may differ from the calendar year at these boundaries.
How do I write an ISO week date?
Use the format YYYY-Www-D. YYYY is the ISO year, W is literal, ww is the week (01-53), D is weekday (1=Mon to 7=Sun). Example: 2026-W25-2 = Tuesday of week 25, 2026.
What week are we in right now?
Use the calculator above — it shows the current week number for today. The tool updates in real-time based on your system clock and calculates according to ISO 8601 rules.