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.
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 Earth's orbit around the Sun, which takes 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 Earth takes about 365.2422 days to orbit the Sun. 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.