How to Calculate Week Number
Find the ISO week number of any date.
The Formula
ISO 8601 week numberingThe week number formula uses the mathematical relationship: ISO 8601 week numbering. Each variable in the formula represents a measurable quantity that affects the final result.
What Each Variable Means
Every value in the week number formula, what it measures, and the value used in the worked example on this page:
| Variable | Type | Example value |
|---|---|---|
| Year | Input (you provide) | 2,026 |
| Month | Input (you provide) | 11 |
| Day | Input (you provide) | 7 |
| ISO Week Number | Result (calculated) | — |
| ISO Week-Year | Result (calculated) | — |
| Day of Week (1 = Mon … 7 = Sun) | Result (calculated) | — |
| Weeks in This ISO Year | Result (calculated) | — |
Step-by-Step Method
- 1Write down the values you know: Year, Month, Day.
- 2Substitute your known values into the formula: ISO 8601 week numbering.
- 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
- 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
- 5Verify your answer with the interactive Week Number Calculator — it solves the same formula instantly.
Worked Example
Take a concrete case: year = 2, with the other inputs at the typical values from the variables table above. Substituting into the formula gives iso week number = 45, iso week-year = 2, day of week (1 = mon … 7 = sun) = 4, weeks in this iso year = 52. These numbers are solved by the same engine that powers the Week Number calculator, so you can reproduce them exactly by entering the same inputs there.
| Year | ISO Week Number | ISO Week-Year | Day of Week (1 = Mon … 7 = Sun) | Weeks in This ISO Year |
|---|---|---|---|---|
| 1 | 45 | 1 | 3 | 52 |
| 2 | 45 | 2 | 4 | 52 |
| 3 | 45 | 3 | 5 | 52 |
| 4 | 45 | 4 | 7 | 53 |
| 5 | 45 | 5 | 1 | 52 |
| 6 | 45 | 6 | 2 | 52 |
| 7 | 45 | 7 | 3 | 52 |
| 8 | 45 | 8 | 5 | 52 |
| 9 | 45 | 9 | 6 | 53 |
| 10 | 44 | 10 | 7 | 52 |
How each result changes as year changes, holding the other inputs constant.
Practice Problems
1. Nov 7, 2026 (Saturday, week 45): Plug in Year 2,026, Month 11, Day 7. What is the answer?
Answer: The calculator returns ISO Week Number 45, ISO Week-Year 2,026, Day of Week (1 = Mon … 7 = Sun) 6, Weeks in This ISO Year 53 for Year 2,026, Month 11, Day 7.
2. Given Year 2,529, Month 1, Day 1, what does it come out to?
Answer: With Year 2,529, Month 1, Day 1, the results are ISO Week Number 53, ISO Week-Year 2,528, Day of Week (1 = Mon … 7 = Sun) 6, Weeks in This ISO Year 53.
Frequently Asked Questions
What is the formula for week number?
The formula is: ISO 8601 week numbering. Find the ISO week number of any date.
What values do I need to calculate week number?
You need year, month, day. The calculator produces iso week number, iso week-year, day of week (1 = mon … 7 = sun), weeks in this iso year from those inputs.
What is the week number when year is 2?
With year = 2, the result is iso week number = 45, iso week-year = 2, day of week (1 = mon … 7 = sun) = 4, weeks in this iso year = 52. This is worked through in full in the example on this page.
Related Topics
Use the Interactive Calculator
Skip the manual math — get instant results with our free Week Number calculator.
