How ISO 8601 numbers the weeks of a year
ISO 8601 defines a week calendar that runs alongside the ordinary Gregorian calendar. Every week starts on Monday and ends on Sunday, and days are numbered 1 (Monday) to 7 (Sunday). A full ISO week date is written as year, week and day, for example 2026-W53-5 for Friday of week 53 in ISO year 2026, or in the shorter form 2026-W53 when the day does not matter.
The key rule is how week 1 is chosen. Week 1 is the week that contains the first Thursday of January. Two equivalent ways to say the same thing are that week 1 is the week containing 4 January, or the first week with at least four of its days in the new year. Because a week is assigned to whichever year owns its Thursday, every week belongs entirely to one ISO year and no week is ever split.
The calculator applies that rule directly. For a date, it finds the Thursday of the same Monday-to-Sunday week. The calendar year of that Thursday is the ISO week-numbering year, and the number of whole weeks between that Thursday and the Monday of week 1, plus one, is the week number. Converting the other way, it finds the Monday of week 1 for the chosen year, adds (week − 1) × 7 days, then adds the weekday offset.
- Weeks start: Monday (day 1) and end Sunday (day 7).
- Week 1: the week containing the first Thursday, which is always the week containing 4 January.
- Week range: 1 to 52, or 1 to 53 in long years.
- Result panel: the ISO format (for example 2026-W01-4), the readable calendar date, and the full Monday-to-Sunday range of that week.