Weeks in a Year Calculator

Weeks in a Year Calculator

Leading AI Skill PRO

Enter Calculation

Formula

WISO={53p=4orpprev=352otherwisewhere{Y=Yearp=(Y+⌊Y4⌋−⌊Y100⌋+⌊Y400⌋)mod7pprev=((Y−1)+⌊Y−14⌋−⌊Y−1100⌋+⌊Y−1400⌋)mod7\begin{gathered} W_{\text{ISO}} = \begin{cases} 53 & p = 4 \ \text{or}\ p_{\text{prev}} = 3 \\ 52 & \text{otherwise} \end{cases} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} Y &= \text{Year} \\ p &= \left(Y + \left\lfloor \tfrac{Y}{4} \right\rfloor - \left\lfloor \tfrac{Y}{100} \right\rfloor + \left\lfloor \tfrac{Y}{400} \right\rfloor\right) \bmod 7 \\ p_{\text{prev}} &= \left((Y-1) + \left\lfloor \tfrac{Y-1}{4} \right\rfloor - \left\lfloor \tfrac{Y-1}{100} \right\rfloor + \left\lfloor \tfrac{Y-1}{400} \right\rfloor\right) \bmod 7 \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Weeks in 2020 — ISO 8601 weeks
53
weeks
ISO 8601 weeks 53
Exact weeks (days ÷ 7) 52.286
Total days in year 366
Full 7-day weeks 52
Leftover days 2
Leap year Yes

Report an error on this page

What this calculator does

The Weeks in a Year Calculator tells you exactly how many weeks fall within a chosen year. Almost every year contains 52 weeks, but a handful contain 53 weeks. This tool reports both the ISO 8601 week count and the precise fractional value, so you can plan payroll periods, project schedules, and reporting cycles with confidence.

Horizontal bar of a year split into 52 week segments with one extra highlighted 53rd segment
A year is usually 52 whole weeks, but sometimes an extra 53rd week appears.

How to use it

Enter the year you want to check and pick a counting method. Choose ISO 8601 weeks for the calendar-standard 52 or 53 result, or Exact to divide the total days by 7. The result panel shows the headline number plus a breakdown of total days, full weeks, and leftover days.

The formula explained

The exact number of weeks is simply the number of days divided by seven:

$$\text{Weeks} = \frac{\text{Days in year}}{7}$$

where the days in a year are \(365\) for a common year and \(366\) for a leap year. Because \(365 = 52 \times 7 + 1\), a common year is 52 weeks plus one spare day. The ISO 8601 standard instead counts whole Monday-to-Sunday weeks: a year has \(53\) weeks when December 31 is a Thursday (or December 30 in a leap year), and \(52\) weeks otherwise.

Advertisement
Seven-column week grid with the fourth column highlighted to mark the first Thursday
ISO 8601 defines week one as the week containing the year's first Thursday.

Worked example

Take the leap year 2024, which has 366 days. Dividing by seven gives:

$$\text{Weeks} = \frac{366}{7} = 52.29$$

So 2024 has 52 full weeks plus 2 leftover days. Under ISO 8601, the year 2026 begins so that December 31 lands on a Thursday, giving it \(53\) ISO weeks instead of the usual \(52\).

Advertisement

Which Years Have 53 Weeks

Under the international ISO 8601 standard, a calendar year contains 53 weeks whenever 1 January falls on a Thursday, or when a leap year begins on a Wednesday (so that both 1 January and 31 December are counted inside the year's ISO weeks). Every other year has exactly 52 ISO weeks. ISO 8601 is a global standard rather than a national one, but note that some countries and industries (for example the United States) traditionally count weeks starting on Sunday rather than the ISO Monday, which can shift these results.

The table below lists the documented 53-week years in the early 21st century. Any year not shown here is a 52-week year under ISO 8601.

Year 1 January falls on Leap year? ISO weeks
2004 Thursday Yes 53
2009 Thursday No 53
2015 Thursday No 53
2020 Wednesday Yes 53
2026 Thursday No 53
2032 Thursday Yes 53
2037 Thursday No 53
2043 Thursday No 53
2048 Wednesday Yes 53

The pattern is not evenly spaced: 53-week years recur roughly every 5 to 6 years, following the underlying rule \(W_{\text{ISO}} = 53\) when \(p = 4\) (1 January is a Thursday) or \(p_{\text{prev}} = 3\) (the previous year ended on a Thursday, i.e. this leap year began on a Wednesday), and 52 weeks otherwise.

Frequently asked questions

Do all years have 52 weeks? No. Most do, but ISO years that start or end on a Thursday have 53 weeks. These 53-week years occur roughly every 5 to 6 years.

Why isn't a year exactly 52 weeks? Because \(52 \times 7 = 364\), which is one or two days short of a full 365 or 366 day year.

Which method should I use? Use ISO 8601 for business calendars and week numbering; use the exact value when you need the true fractional length of the year.

Last updated:

Most popular in Time and Date

View all Time and Date calculators