Advanced

ISO Week Date Converter

Convert any Gregorian calendar date to its ISO 8601 week date (YYYY-Www-D) and back, with the exact week number and weekday.

Direction

Enter a valid number

Enter a calendar date as YYYY-MM-DD
ISO week date (YYYY-Www-D)
2026-06-27 = 2026-W26-6
W01W52/53W26Week position within the ISO year
ISO week date
2026-W26-6
Gregorian date
2026-06-27
ISO year
2,026
Week number
26
Weekday (Mon=1)
6 (Saturday)
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

This tool converts a Gregorian date to an ISO 8601 week date (YYYY-Www-D) and back. ISO weeks start on Monday, and week 1 is the week containing the year's first Thursday, so the ISO year can differ from the calendar year near January and December. Weekdays run Monday = 1 to Sunday = 7.

Formula
ISO week date: dayNr = (weekday + 6) mod 7; Thursday = date − dayNr + 3; week = 1 + round((Thursday − firstThursday) / 7 days)
How this is calculated

Pick a direction. "Gregorian date to ISO week date" takes a calendar date as YYYY-MM-DD and returns its ISO 8601 week date. "ISO week date to Gregorian date" takes an ISO year, week number (1–53) and weekday (Monday = 1 … Sunday = 7) and returns the corresponding calendar date.

The ISO 8601 week date system is anchored on Thursdays: each ISO week runs Monday through Sunday, and the week containing the year's first Thursday is week 1. To find the week number we compute the day-of-week index dayNr = (getUTCDay() + 6) mod 7 (Monday = 0), shift the date to the Thursday of its week (date − dayNr + 3), and count whole weeks from that year's first Thursday. The ISO weekday is simply dayNr + 1. For the inverse, we start at January 4 (always in week 1), step back to the Monday of week 1, then add (week − 1) × 7 + (weekday − 1) days.

All arithmetic uses UTC dates to avoid daylight-saving and timezone shifts. The ISO year can differ from the Gregorian year near January 1 and December 31 — for example, 2027-01-01 belongs to ISO week 2026-W53. Inputs are validated: impossible calendar dates and out-of-range weeks (such as week 53 in a 52-week year) are rejected via a round-trip check.

Frequently asked questions

ISO weeks never split: a week belongs entirely to the year that holds its Thursday. So the last days of December can fall in week 1 of the next ISO year, and early January can fall in the final week of the previous ISO year.

Most ISO years have 52 weeks, but some have 53. A year has 53 weeks when January 1 is a Thursday, or when it is a Wednesday in a leap year.

ISO 8601 numbers weekdays Monday = 1 through Sunday = 7, unlike the common Sunday = 0 convention used by many programming languages.

Also known as

iso week date
week number converter
yyyy-www-d
iso 8601 week
week date calculator
iso week to date
calendar week converter
week date format

APA

TG we-Calculate Editorial Team. (2026). ISO Week Date Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/iso-week-date-converter

Chicago

TG we-Calculate Editorial Team. "ISO Week Date Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/iso-week-date-converter.

IEEE

TG we-Calculate Editorial Team, "ISO Week Date Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/iso-week-date-converter

BibTeX

@misc{wecalculate_iso_week_date_converter, title = {ISO Week Date Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/iso-week-date-converter}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?