Week Number Calculator

See which ISO week a date falls in.

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

ISO weeks start on Monday. The week-year can differ from the calendar year near January 1.

The date is a calendar date, not a timestamp.

How to use it

  1. Open this page and provide the input it asks for.
  2. Set the options that are visible, then use Find week.
  3. Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.

Limitations

ISO weeks follow Thursday, not 1 January

How the week number is chosen

The date is read as a UTC civil date and rejected if it is not a real calendar day. The week is the ISO week. Monday is day 1 and Sunday is day 7. The algorithm moves to the Thursday of that Monday-start week, then counts how many seven-day steps separate 1 January of that Thursday’s year from that Thursday, and rounds upward. Week 1 is the week that contains the year’s first Thursday. A date near 1 January can therefore belong to week 52 or 53 of the previous week-year. A date near 31 December can belong to week 1 of the next week-year.

1 January 2021 falls on Friday. Its Thursday is 31 December 2020, so the page reports ISO week 53 of 2020. 31 December 2020 is in that same week, and it also reports week 53 of 2020. The calendar year printed on the date and the week-year in the result are allowed to differ. Quoting “week 1 of 2021” for 1 January 2021 would be a different rule. This page will not apply that rule.

What is not being counted

The result is one sentence: the week number and the week-year. That sentence is not the ordinal position inside the calendar year, and it does not tally Mondays. Day 1 of a year is still 1 January even when that date sits in the previous ISO week. If a payroll week is defined as Sunday through Saturday, or as a company week that starts on a custom day, this number will not match it. There is no setting for a different week start.

Leap day shifts every later weekday by one, so it can move late-December dates across the week-year boundary compared with a common year. The page does not explain that shift in the output. It only prints the week that the Thursday rule produced. Check 29 February on the weekday page if you need its name, and check the day-of-year page if you need the ordinal. The week number stays on its own definition.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.