How to use the days in a year calculator
- Enter the year you want to check in the first field.
- Optionally set the number of consecutive years to calculate a multi-year total.
- Read the result rows to see whether the year has 365 or 366 days and whether it is a leap year.
- Review the table below the results for the days in each month, including days in February.
How the calculation works
The Gregorian calendar determines how many days in a year by applying three rules. A year divisible by 4 is a leap year with 366 days. However, if the year is also divisible by 100, it is not a leap year unless it is divisible by 400. For example, 2024 is divisible by 4 and not by 100, so it has 366 days. The year 1900 is divisible by 100 but not 400, giving it 365 days. The year 2000 is divisible by 400, so it is a leap year.
To find the total days across multiple years, the calculator checks each year individually using these rules and sums the results. Four consecutive years starting at 2021 (2021, 2022, 2023, 2024) yield 365 + 365 + 365 + 366 = 1,461 days.
Days in each month reference
The number of days in each month is fixed except for February, which changes based on the leap year rule. Here is the standard breakdown used by the days in a year calculation:
| Month | Common year | Leap year |
|---|---|---|
| January | 31 | 31 |
| February | 28 | 29 |
| March | 31 | 31 |
| April | 30 | 30 |
| May | 31 | 31 |
| June | 30 | 30 |
| July | 31 | 31 |
| August | 31 | 31 |
| September | 30 | 30 |
| October | 31 | 31 |
| November | 30 | 30 |
| December | 31 | 31 |
If you need to look up the length of a specific span rather than a full year, the days in months calculator handles partial ranges.
How many days a year has, in weeks, hours and seconds
The total days in a year is 365 in a common year and 366 in a leap year, so the number of days in a year depends only on whether the year is a leap year. The same year in other units:
| Unit | Common year (365 days) | Leap year (366 days) |
|---|---|---|
| Days | 365 | 366 |
| Weeks | 52 weeks and 1 day (52.14) | 52 weeks and 2 days (52.29) |
| Hours | 8,760 | 8,784 |
| Minutes | 525,600 | 527,040 |
| Seconds | 31,536,000 | 31,622,400 |
Working days: 2026 and 2027 each have 261 weekdays (Monday to Friday) and 104 weekend days, before public holidays. The leap year 2028 has 260 weekdays and 106 weekend days. After 2026 the next leap years are 2028, 2032 and 2036.
Why the average year is 365.2425 days
The Gregorian calendar has 97 leap years in every 400 years, which makes its average year 365.2425 days long (365 + 97/400). The mean tropical year, the time the seasons take to repeat, is about 365.2422 days, so the calendar drifts from the seasons by about one day in 3,000 to 3,300 years. That is why a year is not a flat 365 days: adding one day every fourth year, and skipping three leap days every 400 years, keeps the calendar in step with the seasons.
Why days in February change
People often search specifically for days in February because it is the only month that varies. In a common year, February has 28 days. In a leap year, it has 29 days. This extra day keeps the calendar aligned with the tropical year, the cycle of the seasons, which lasts approximately 365.2422 days. Without the adjustment, the seasons would drift by about one day every four years.
The Julian calendar added a leap day every four years without exception, which over-corrected slightly. Pope Gregory XIII introduced the current rules in 1582 to remove three leap days every 400 years, bringing the average year length to 365.2425 days.
Practical uses for knowing days in a year
Knowing exactly how many days in a year matters for financial calculations, project planning, and payroll. Daily interest rates on loans are typically computed by dividing the annual rate by either 365 or 360 depending on the convention. If a bank uses actual days, a leap year means one extra day of interest accrual.
Project managers scheduling work across year boundaries need accurate totals. If you are converting between time units, tools like the seconds in day calculator or the weeks in year calculator complement this page by breaking the year into smaller units.
Common mistakes with leap years
The most frequent error is assuming every year divisible by 4 is a leap year. Century years like 1700, 1800, 1900, and 2100 are not leap years because they are divisible by 100 but not by 400. Only century years like 1600, 2000, and 2400 qualify.
Another mistake is multiplying 365 by the number of years without accounting for leap years in the range. Over a decade there are usually two or three leap years, adding two or three extra days to the total. Always sum each year individually for accuracy.
Worked examples
| Example | Input | Result |
|---|---|---|
| Current leap year | Year: 2024; Number of consecutive years: 1 | Days in 2024: 366; Leap year: Yes; Days in February: 29 |
| Common year | Year: 2023; Number of consecutive years: 1 | Days in 2023: 365; Leap year: No; Days in February: 28 |
| Century non-leap year | Year: 1900; Number of consecutive years: 1 | Days in 1900: 365; Leap year: No; Days in February: 28 |
| Four-year cycle | Year: 2021; Number of consecutive years: 4 | Days in 2021: 365; Leap year: No; Days in February: 28; Total days (4 years): 1,461 |
| Decade count | Year: 2000; Number of consecutive years: 10 | Days in 2000: 366; Leap year: Yes; Days in February: 29; Total days (10 years): 3,653 |
FAQ
How many days in a year?
A common year has 365 days. A leap year has 366 days. Most years are common years, with a leap year occurring roughly every four years.
How many days in February?
February has 28 days in a common year and 29 days in a leap year. It is the only month whose length changes.
Why does a leap year have 366 days?
The seasons repeat about every 365.2422 days, which is called the tropical year. Adding an extra day every four years keeps the calendar synchronized with the astronomical seasons.
Is the year 1900 a leap year?
No. Although 1900 is divisible by 4, it is also divisible by 100 but not by 400, so it has 365 days under the Gregorian calendar rules.
How do I calculate days across multiple years?
Check each year individually for leap status and sum the results. For example, 2021 through 2024 includes one leap year (2024), totaling 365 + 365 + 365 + 366 = 1,461 days.
Do all months have the same number of days every year?
Yes, except for February. January, March, May, July, August, October, and December always have 31 days. April, June, September, and November always have 30 days.
How many weeks in a year?
A common year is 52 weeks and 1 day, which is 52.14 weeks. A leap year is 52 weeks and 2 days, or 52.29 weeks.
How many hours are in a year?
A common year has 8,760 hours and a leap year has 8,784 hours. That is 365 x 24 and 366 x 24.
How many working days are in 2026?
2026 has 261 weekdays, Monday to Friday, and 104 weekend days. Public holidays are not subtracted, and they differ by country.
When is the next leap year after 2026?
The next leap year is 2028. After that come 2032 and 2036. A year divisible by 4 is a leap year, except century years that are not divisible by 400.
Sources and references
- Leap year, Wikipedia: Gregorian rule, 97 leap years per 400 years, mean year 365.2425 days, mean tropical year about 365.2422 days.