SOLVETUTORMATH SOLVER

Instrument MI-06-277 · Everyday life

Week Calculator

Enter a date and get its ISO 8601 week number and ISO year — the Monday-to-Sunday standard used on invoices, project trackers, and payroll calendars worldwide.

Instrument MI-06-277
Sheet 1 OF 1
Rev A
Verified
Type 06 — Calendar SER. 2026-06277

ISO week number (1-53)

31

ISO week = week number of the Thursday falling in the same Mon-Sun week as the date

2,026 ISO week-numbering year
The working Every figure verified twice
  1. 2026-07-29 (ISO weekday 3) -> Thursday of that week is day 211 of 2026 -> week 31
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

ISO 8601 counts its calendar Monday through Sunday and settles numbering with one clean rule: the year's week 1 is whichever seven-day span contains January 4th. Everything else counts forward or backward from that anchor, so a full year normally runs 52 of these spans, and years where the extra days line up right get a 53rd. That's different from systems that start on Sunday or treat 'whatever span January 1st falls in' as the first one — ISO 8601 deliberately avoids that ambiguity, because it produces a messier, less consistent pattern than anchoring to January 4th instead.

The standard way to compute this is the 'move to Thursday' method: every Monday-Sunday span has exactly one Thursday in it, and that Thursday always falls in the calendar year the span actually belongs to — it's the one weekday that can never land in the 'wrong' year relative to its own span. A date's ISO week and ISO year are therefore found by locating that Thursday, then counting which numbered span of that Thursday's year it is. This sidesteps every edge case that trips up naive day-counting.

The one genuinely counterintuitive part: the ISO year a date belongs to isn't always the same as its calendar year. Late-December dates can land in week 1 of the following ISO year, and early-January dates can land in week 52 or 53 of the previous one — both outputs here, weekNumber and isoYear, need to be read together, since isoYear tells you which of those two numbers you're actually looking at.

(w,y)=isoWeek(T), T=Thursday of date’s week(w, y) = \text{isoWeek}(T),\ T = \text{Thursday of date's week}
w — ISO week number, 1 to 52 or 53 · y — ISO week-numbering year · T — the Thursday falling in the same Monday-Sunday week as the entered date. Because a week's Thursday always lands in that week's correct ISO year, locating it and reading its ordinal day of the year gives both w and y directly.
  • Enter the date you want the ISO week number for into Date — it defaults to today.
  • Read ISO week number (1-53) for the week number itself, counted Monday-to-Sunday.
  • Read ISO week-numbering year (isoYear) alongside it — this is the year that week number belongs to, and it can differ from the calendar year of the date you entered.
  • Watch for this near January 1st or December 31st especially: those are exactly the dates most likely to fall in a week whose ISO year doesn't match the calendar year on the date itself.
  • Use the pair (weekNumber, isoYear) together whenever you write the result down — 'week 52' on its own is ambiguous without knowing which ISO year it's week 52 of.

Worked example — the classic year-boundary case, 2023-01-01

Set Date to 2023-01-01. That date was a Sunday, so instead of starting a brand-new week 1, it falls at the tail end of a span that began on 2022-12-26. Following the 'move to Thursday' rule, that span's Thursday is 2022-12-29 — day 363 of 2022 — which works out to week 52 of 2022. So the calculator returns ISO week number (1-53) = 52 and ISO week-numbering year (isoYear) = 2022, even though the entered date itself is January 1st, 2023.

This is the single most-reported surprise about ISO week numbering: the first of January doesn't automatically mean week 1. Compare it against 2024-01-01, a Monday, which genuinely is the first day of ISO week 1 of 2024 — the rule stays consistent, but which side of it a given January 1st lands on depends entirely on which day it happens to fall on that year.

Questions

Why does January 1st sometimes show up as a week from last year?

Because ISO 8601 defines week 1 as the Monday-Sunday span containing January 4th, not the span containing January 1st. If January 1st falls on a Friday, Saturday, or Sunday, it sits in the tail end of the previous ISO year's final span — usually numbered 52, sometimes 53 — rather than starting a fresh week 1. January 1, 2023 is exactly this case: it lands in ISO week 52 of 2022, not week 1 of 2023.

Can a year have 53 ISO weeks instead of 52?

Yes — it happens whenever January 1st of that year is a Thursday, or in a leap year, when January 1st is a Wednesday. 2020 is one such year: December 31, 2020 was itself a Thursday, making it day 366 of a leap year and landing squarely in ISO week 53 of 2020 rather than spilling into 2021's first one. Roughly 1 year in 5 or 6 has this extra 53rd span.

How is this different from the week number my spreadsheet software shows?

Many spreadsheet and calendar tools default to a US-style scheme that starts on Sunday and treats whichever span contains January 1st as the first one — a genuinely different rule from ISO 8601, which starts on Monday and anchors week 1 to whichever span contains January 4th. The two systems can disagree by a full number near every year boundary, so always check which convention a given tool or spreadsheet function is actually using before comparing results.

Why does the calculator give me both a week number and an ISO year?

Because a number alone is ambiguous at year boundaries — '52' means nothing precise unless you also know which ISO year it belongs to, since that span could straddle two different calendar years. Reading ISO week-numbering year (isoYear) alongside ISO week number (1-53) removes that ambiguity entirely; the pair together uniquely identifies one specific Monday-Sunday span.

Does this calculator also tell me the difference between two dates?

No — this instrument only reports the ISO week number and ISO year for a single date you enter. Date-range and days-between-dates calculations are a separate concept covered by other calculators on this site; this one is specifically for placing a single date inside the ISO 8601 week-numbering system.

References