All guides

How to Find the Week Number of a Date

The Thursday trick

Every ISO week is identified by its Thursday. That single fact gives a hand method: find the Thursday of the week your date sits in, then count how many Thursdays have passed since the first Thursday of the year. If your date is a Wednesday, its Thursday is tomorrow; if it is a Friday, its Thursday was yesterday. The week number is the count of that Thursday in the year. A date in the first days of January whose Thursday falls in the previous December belongs to the last week of the old year, and the method shows it immediately. A worked example fixes the method: take a date in mid June, find its Thursday, and count Thursdays from the year's first one. If the Thursday is the twenty fourth of the year, the date is in week 24, whatever weekday the date itself happens to be. The Thursday is the week's anchor and its identity card.

Week 1 and the year edges

Week 1 is the week containing the year's first Thursday, equivalently the week containing 4 January. Dates from 29 December to 3 January are the danger zone, where the week year and the calendar year can differ. Software and payroll systems that take the week number from the calendar year alone stumble exactly there. When you check a week number near New Year, always ask which year the week belongs to, not just which week it is: week 52 of last year and week 1 of this year can be only days apart. Dates in the last days of December need the same care in the other direction: a date whose Thursday falls in the first days of January belongs to week 1 of the next year. Checking the Thursday settles both edges with one rule, which is the elegance of the system once it is seen whole.

When you will actually need it

Week numbers run European payslips, factory production plans, school terms in several countries, and rental and service contracts that bill by the week. If a document gives you a week number, converting it back needs the same Thursday logic in reverse: the Monday of week N is found by starting from the Monday of week 1, which is the Monday of the week containing 4 January, and adding N minus 1 whole weeks. Keep both directions in mind and week based documents stop being a private code. If you keep a paper diary in a country that prints week numbers, the habit of glancing at the week when you write a date builds the fluency quickly. Within a few months you will know the current week number the way you know the current month, which is the real goal of all these systems.

Try it yourself

The free calculator that goes with this guide:

Find the week number