What is the formula for the Week Number Calculator?
Week Number Calculator: ISO week = ceil((ThursdayOfWeek − Jan1 + 1 day) / 7 days). Input definitions: date = Calendar date. Use the selected convention throughout the calculation.
Look up a Gregorian calendar weekday or ISO 8601 week number. ISO weeks begin on Monday, and the first week contains January 4; the ISO week-year can differ from the calendar year.
Check the stated input format, calculation convention and limits before using the result.
Check the example inputs, then calculate. Your values stay in this browser.
This tool uses the proleptic Gregorian calendar, not historical local calendar reforms.
Week Number Calculator validates calendar date before applying the displayed equation. This tool uses the proleptic Gregorian calendar, not historical local calendar reforms.
Week Number Calculator: ISO week = ceil((ThursdayOfWeek − Jan1 + 1 day) / 7 days). Input definitions: date = Calendar date. Use the selected convention throughout the calculation.
Week Number Calculator baseline input: Calendar date: 2026-01-01. Output: ISO week number = 1; ISO week-year = 2,026. Substitute these values into the displayed equation to reproduce the result.
Content and calculation reviewed:
Understand the calculation
ISO weeks start on Monday, and week 1 contains January 4. January 1, 2021 therefore belongs to week 53 of ISO week-year 2020, even though its calendar year is 2021. Shifting to the Thursday of the same week identifies the ISO year. Keep week number and week-year together when naming reports or grouping dates.
ISO week = ceil((ThursdayOfWeek − Jan1 + 1 day) / 7 days)
The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.
From question to result