Guide
Is it a leap year? The Gregorian rule, the Julian rule and the neighbouring leap years
A leap year has 366 days instead of 365, with an extra day on 29 February. The rule is easy to half-remember: every fourth year. The full rule has two exceptions that decide years such as 1900, 2000 and 2100, and they matter in school tests, in software date handling and in anything that spans a century boundary. This page tests a year, explains the answer in words and shows the years around it.
The Gregorian rule
A year is a leap year if it is divisible by 4, but not if it is divisible by 100, unless it is also divisible by 400. In order: 2024 is divisible by 4 and not by 100, so it is a leap year. 1900 is divisible by 100 but not by 400, so it is not. 2000 is divisible by 400, so it is. The rule gives 97 leap years in every 400 years, so the average year is 365.2425 days, very close to the length of the tropical year.
The Julian rule
Choose the Julian calendar to apply Julius Caesar’s rule, which adds a day every fourth year with no exceptions. Under it 1900 and 2100 are leap years. The Julian year averages 365.25 days, a little too long, so the calendar drifts about 3 days every 400 years against the seasons, which is why the Gregorian reform of 1582 was introduced. The page does not tell you when a place changed from one calendar to the other.
What you see
The result states yes or no, gives the reason in words, the number of days in the year and in February, the previous and next leap year, and a table of the next eight leap years. For Gregorian leap years it also gives the weekday on which 29 February falls. If you enter an end year, the page counts the leap years from your year up to that year, including both ends.
Edge cases
Years must be from 1 to 9999. The count in a range includes both end years when they are leap years. The weekday of 29 February is omitted in Julian mode, because the weekday of a Julian date would need the Julian calendar’s own day count, which this page does not use for weekdays. Year 0 does not exist in the calendar used here. The next leap year of a leap year is four years later, except across a skipped century such as 2096 to 2104.
A worked example
For 2100 the page says no, and the reason is that 2100 is divisible by 100 but not by 400. The days in the year are 365, February has 28, the previous leap year is 2096 and the next is 2104, and there are 24 leap years from 2100 to 2200. For 2000 the answer is yes because it is divisible by 400, with 366 days, the previous leap year 1996 and the next 2004, and 29 February 2000 was a Tuesday. There are 25 leap years from 2000 to 2100. For 2024 the 29th falls on a Thursday and there are 7 leap years from 2024 to 2050.
Limits
The page applies a rule; it does not know the history of calendar changes in any country, and it does not model leap seconds, which are added to clocks separately. The Julian option applies the every-fourth-year rule to all years. For historical research, check which calendar the source used before comparing dates.
Related tools
- Day of the Week Calculator shows what weekday any 29 February or other date falls on.
- Date Calculator adds and subtracts days across a leap day correctly.
- Age Calculator handles birthdays on 29 February when it works out an exact age.
- Julian Date Converter converts between the two calendars and the Julian Day Number used by astronomers.
Checked against the current version of the Leap Year Calculator on .

