Leap Year Finder
Free Leap year tool for time & date. Enter your details to get instant, tailored results and guidance. Free to use with no signup required.
Formula
Leap Year if: (Year % 4 = 0 AND Year % 100 != 0) OR (Year % 400 = 0)
A year is a leap year if it is divisible by 4 but not by 100, unless it is also divisible by 400. This three-part rule produces 97 leap years per 400-year cycle, giving an average year length of 365.2425 days, very close to the actual tropical year of 365.24219 days.
Worked Examples
Example 1: Checking if 2100 is a Leap Year
Problem: Determine whether the year 2100 is a leap year using the Gregorian calendar rules.
Solution: Step 1: Is 2100 divisible by 4? 2100 / 4 = 525. Yes.\nStep 2: Is 2100 divisible by 100? 2100 / 100 = 21. Yes.\nStep 3: Is 2100 divisible by 400? 2100 / 400 = 5.25. No.\nSince 2100 is divisible by 100 but NOT by 400, the century exception applies.\nFebruary 2100 will have 28 days, and the year will have 365 days.
Result: 2100 is NOT a leap year | 365 days | February has 28 days
Example 2: Finding Leap Years Between 2020 and 2050
Problem: List all leap years from 2020 to 2050 and count them.
Solution: Check each year divisible by 4 in the range:\n2020: 2020/4 = 505, not div by 100 -> Leap Year\n2024: 2024/4 = 506, not div by 100 -> Leap Year\n2028: 2028/4 = 507, not div by 100 -> Leap Year\n2032, 2036, 2040, 2044, 2048: All divisible by 4, not by 100 -> Leap Years\nTotal: 8 leap years in this 31-year range
Result: Leap years: 2020, 2024, 2028, 2032, 2036, 2040, 2044, 2048 | Total: 8
Frequently Asked Questions
What is a leap year and why do we need them?
A leap year is a year containing 366 days instead of the usual 365, with the extra day added as February 29. Leap years exist because the Earth orbital period around the Sun is not exactly 365 days but approximately 365.2422 days. Without leap years, our calendar would drift away from the astronomical seasons by about one day every four years. After a century without correction, the calendar would be off by about 24 days, meaning summer would gradually shift into what the calendar calls autumn. The leap year system keeps our calendar aligned with the solstices and equinoxes, ensuring that seasons remain predictable for agriculture, navigation, and daily life. Pope Gregory XIII introduced the current leap year rules in 1582.
What are the exact rules for determining if a year is a leap year?
The Gregorian calendar uses three rules applied in order to determine leap years. First, if a year is divisible by 4, it is a leap year candidate. Second, if that year is also divisible by 100, it is NOT a leap year (this is the century exception). Third, if the year is divisible by 400, it IS a leap year despite the century exception. Applying these rules: 2024 is divisible by 4 and not by 100, so it is a leap year. 1900 is divisible by 4 and by 100 but not by 400, so it was NOT a leap year. 2000 is divisible by 4, by 100, and by 400, so it WAS a leap year. The next century year that will be a leap year is 2400. These three rules together produce an average year length of 365.2425 days.
Why is 1900 not a leap year but 2000 is?
The year 1900 is not a leap year because of the century exception rule: years divisible by 100 are not leap years unless they are also divisible by 400. Since 1900 is divisible by 100 (1900/100 = 19) but not by 400 (1900/400 = 4.75), it fails the final test and is therefore a common year with 365 days. The year 2000, however, passes all three tests: divisible by 4 (2000/4 = 500), divisible by 100 (2000/100 = 20), and divisible by 400 (2000/400 = 5). This 400-year exception was introduced by Pope Gregory XIII because without it, the calendar would still drift by about one day every 128 years, accumulating significant error over centuries.
How many leap years occur in a century and in a 400-year cycle?
In a standard 400-year cycle of the Gregorian calendar, there are exactly 97 leap years. This breaks down as follows: there are 100 years divisible by 4 in any 400-year span (400/4 = 100). From these, subtract the 4 century years divisible by 100 (like 1700, 1800, 1900, 2000), leaving 96. Then add back the 1 year divisible by 400 (like 2000), giving 97 total leap years. In a single century, there are typically 24 or 25 leap years. Centuries starting with a non-leap century year (like 1900-1999) have 24 leap years, while centuries starting with a leap century year (like 2000-2099) have 25 leap years. This precise count produces an average year length of 365.2425 days.
What calendar systems existed before the Gregorian leap year system?
Before the Gregorian calendar (adopted in 1582), the Julian calendar (introduced by Julius Caesar in 46 BCE) used a simpler leap year rule: every year divisible by 4 was a leap year without any century exceptions. This produced an average year of 365.25 days, which was too long by about 11 minutes and 14 seconds per year. Over centuries, this accumulated into a significant drift. By 1582, the calendar was about 10 days ahead of the astronomical seasons. The Egyptian calendar before that used a fixed 365-day year with no leap years at all, drifting by one full day every four years. The Persian calendar, still used in Iran and Afghanistan, uses a more complex 2820-year cycle that is slightly more accurate than the Gregorian system.
How accurate is the Gregorian leap year system compared to the actual solar year?
The Gregorian calendar produces an average year length of 365.2425 days, while the actual mean tropical year is approximately 365.24219 days. The difference is about 0.00031 days (approximately 27 seconds) per year, which means the Gregorian calendar gains one extra day approximately every 3,236 years. This is remarkably accurate for a system designed in 1582. By comparison, the Julian calendar was off by one day every 128 years, which is about 25 times less accurate. The Persian Solar Hijri calendar is slightly more accurate, with an error of about one day every 110,000 years. However, the Gregorian system remains the international standard due to its widespread adoption and the fact that its error is negligible for all practical purposes within recorded human history.