How Many Weeks Are in a Year
Days, weeks, months, hours, minutes and seconds in a named year, leap years included
How Many Weeks Are in a Year
How Many Units of Time Fit in a Year
The formula and where it comes from
Everything is worked out from a single number: how many days the year has. That number takes exactly two values, and February is what chooses between them:
Common year = 365 days · Leap year = 366 days
A year is a leap year if it divides by 4; a year ending in two zeroes counts only if it also divides by 400. That is why 1900 was a common year, 2000 was a leap year, and 2100 will be common again. The rule is not decorative: the Earth goes round the Sun in about 365.2425 days, and inserting one day every four years with those two exceptions leaves the average Gregorian year at exactly 365.2425 days.
How to work it out, step by step
- Decide whether the year is a leap year using the rule above. You get 365 or 366 days.
- Multiply by the constant factors: 24 hours in a day, 60 minutes in an hour, 60 seconds in a minute. None of them depends on the year.
- Count weeks with a remainder: 365 = 52 × 7 + 1 and 366 = 52 × 7 + 2. Months are always 12 — that unit does not depend on the leap year at all.
Where this is used
- Planning a year — 52 weeks for 52 tasks, an annual budget split by week or by month
- Rates and pay — an hourly rate × 8,760 hours gives the year's total time, not the annual salary
- Interest and subscriptions — banking formulas divide by 365 or by 366 depending on the year, and a leap year changes the result
- Programming — 31,536,000 seconds in TTLs and timeouts; a leap year adds 86,400 more
- Countdowns and habits — how many times a daily or weekly action repeats over a year
Limits and caveats
- A month is not an interval. There are always 12, but their length runs from 28 to 31 days. "How many months are in a year" is the only question in this family whose answer does not depend on the year.
- 52 weeks are calendar weeks, not ISO numbers. Under ISO 8601 some years carry 53 numbered weeks. Here whole seven-day weeks are counted, which is why the answer is composite: 52 weeks and a remainder.
- Seconds are calendar seconds, with no leap seconds. 27 of them have been inserted into UTC since 1972, the last at the end of 2016. The year that got one held one second more than the arithmetic says.
- The Gregorian calendar only, from 1583 onwards. For earlier years the leap rule does not describe the calendar anybody actually used.
- Working days are a different question. Holidays and bridge days do not change the length of the year.
- A year with no name only has an average. If the question names no year, the time converter can only answer with the average Gregorian year of 365.2425 days. The exact answer appears exactly when the year is named.
The Year in Every Unit: Common and Leap
| Unit | Common year (365 days) | Leap year (366 days) |
|---|---|---|
| Weeks | 52 weeks and 1 day | 52 weeks and 2 days |
| Days | 365 days | 366 days |
| Hours | 8,760 hours | 8,784 hours |
| Seconds | 31,536,000 seconds | 31,622,400 seconds |
| Minutes | 525,600 minutes | 527,040 minutes |
| Months | 12 months | 12 months |
See Also
- Date Calculator - Add to or Subtract Days/Weeks/Months or Years from Today
- Weeks and Days Ago From Today - Calculate what day was it Weeks and Days Ago From Today
- Days Between Two Dates - Calculate the Difference Between Two Dates. How many days, months, and years are between two dates? From date to date calculator
- Days until Date - How many days, weeks, months and years until a Date. How Many Days Until My Birthday? Countdown to date