Dates & time

Week Number Calculator

Find the ISO 8601 week number and week-year for a calendar date. Weeks begin on Monday, week 1 contains January 4, and the week-year can differ near New Year.

  • Explicit formulas and worked examples
  • Check your inputs, then calculate
  • Data is calculated in this browser only

Check the stated input format, calculation convention and limits before using the result.

Your inputs

Local calculation

Check the example inputs, then calculate. Your values stay in this browser.

ISO weeks begin on Monday; Sunday-start and custom local week conventions are not used.

Calculation notes

Understand the Week Number Calculator

Choose the right record before calculating

Use ISO week numbering: Monday starts the week, and week one contains January 4. The ISO week year can differ from the calendar year near New Year. Compare records using both week number and week year, not a week number alone.

Content and calculation reviewed:

Understand the calculation

How to use it and the math behind it

Read the complete explanation

Four steps to check your inputs and results

  1. Find the ISO 8601 week number and week-year for a calendar date. Weeks begin on Monday, week 1 contains January 4, and the week-year can differ near New Year.
  2. Enter Calendar date in the stated format. Baseline values are for reproduction.
  3. Check the output unit and convention: Read iso week number with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
  4. Change one input and compare the result. ISO weeks begin on Monday; Sunday-start and custom local week conventions are not used. Keep the ISO week-year with the week number, since the first and last calendar dates can belong to another week-year. Calendar-date inputs and calculated calendar dates must stay within years 0001–9999.

Week Number Calculator: calendar conventions

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.

Questions before you calculate

What day starts an ISO week?

Monday.

Which week is week one?

The week containing January 4, equivalently the first Thursday.

Can the week year differ from the date year?

Yes near New Year.

Does every year have week 53?

No. Only particular weekday/leap configurations do.

Will every spreadsheet show the same week?

Only when it uses the same ISO convention.

Take the calculator with you

Embed this calculator

Formula sheet (English PDF)

Use the iframe for a fixed-height embed, or the JavaScript helper for automatic height. Calculations stay inside the frame; inputs and results are never sent to your site.

The optional Toolify source link uses nofollow. The calculator keeps working if you remove the link. No analytics or advertising scripts load in the widget. Use offline tools

From question to result

Continue with a related question

Explore all Dates & time tools and guides