Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Week number calculator

Enter a date to get its week number, or enter a year and week to see which dates it covers. Both the ISO 8601 and the US systems are shown.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Need the weekday for a date? Use the day of the week calculator. Counting how many Mondays are left? Try the weekday counter.

What this calculator does

Week numbers are used for payroll, production schedules, school calendars and project plans. There are two common ways to count them, and they don't always agree. This calculator gives both for any date from the year 1 to 9999, and does the reverse: it lists the dates in a given week.

How ISO 8601 weeks work

  • Weeks start on Monday.
  • Week 1 is the week that contains the year's first Thursday. That's the same as the week containing January 4.
  • A year has 52 or 53 weeks, and the days at the start or end of January and December can belong to the neighboring year's week.
Find the Thursday of the date's Monday–Sunday week.
ISO week-year = that Thursday's year
Week number = ⌊(day of the year of that Thursday − 1) ÷ 7⌋ + 1

An ISO week date is written YYYY-Www-D, with D from 1 (Monday) to 7 (Sunday). Excel's ISOWEEKNUM and WEEKNUM with return type 21 use this system.

How US-style weeks work

Many US calendars and Excel's default WEEKNUM (return type 1) use a simpler rule: weeks start on Sunday, and the week containing January 1 is week 1. The first and last weeks can be shorter than 7 days, and a year has 53 weeks, or 54 in a leap year that starts on a Saturday.

US week = ⌊(day of the year − 1 + weekday of January 1) ÷ 7⌋ + 1, with Sunday = 0

Worked example: January 1, 2027

January 1, 2027 is a Friday. Its Monday–Sunday week runs from December 28, 2026 to January 3, 2027, and that week's Thursday is December 31, 2026, day 365 of 2026. So it's ISO week ⌊364 ÷ 7⌋ + 1 = 53 of 2026, written 2026-W53-5. In the US system it's simply week 1 of 2027.

Year-boundary cases

DateISO weekUS week
Mon, Dec 30, 20242025-W01Week 53 of 2024
Thu, Dec 31, 20202020-W53Week 53 of 2020
Sun, Jan 3, 20212020-W53Week 2 of 2021
Thu, Jan 1, 20262026-W01Week 1 of 2026
Fri, Jan 1, 20272026-W53Week 1 of 2027

Limitations

  • Some companies use their own week numbering (for example, a fiscal year starting in October, or weeks starting on Saturday). Check which rule your organization uses.
  • Excel's WEEKNUM with return type 2 starts weeks on Monday but still puts January 1 in week 1, so it can differ from ISO weeks.
  • Dates use the Gregorian calendar extended backward before 1582.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • October 27, 2026 is ISO week 44 (2026-W44-2) ✓
  • Edge: Jan 1, 2027 (Friday) is ISO week 53 of 2026 ✓
  • Edge: Dec 30, 2024 (Monday) is ISO 2025-W01, US week 53 ✓
  • Same date: US week 53 of 2024 ✓
  • Edge: Sun, Jan 3, 2021 is ISO 2020-W53 but US week 2 ✓
  • Microsoft's WEEKNUM example: March 9, 2012 is US week 10 ✓
  • ISO week 1 of 2026: Dec 29, 2025 – Jan 4, 2026 ✓
  • ISO week 53 of 2026: Dec 28, 2026 – Jan 3, 2027 ✓
  • Edge: 2025 has no ISO week 53 ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What week number is it today?

Leave the date empty and the calculator shows today's ISO week and US week. On October 27, 2026 both are week 44.

How many weeks are in a year?

In ISO 8601, 52 or 53. A year has 53 ISO weeks if it starts on a Thursday, or is a leap year starting on a Wednesday. 2026 has 53.

Why does January 1 sometimes fall in week 52 or 53?

In the ISO system, if January 1 is a Friday, Saturday or Sunday, its week has more days in the old year than the new one, so it counts as the last week of the previous year.

What is week 1 of 2026?

ISO week 1 of 2026 runs from Monday, December 29, 2025 to Sunday, January 4, 2026, because it contains Thursday, January 1.

Which week numbering does Excel use?

WEEKNUM(date) starts weeks on Sunday with January 1 in week 1 (the US system). ISOWEEKNUM(date), or WEEKNUM(date, 21), gives the ISO 8601 week.

Related calculators