Leap Year Calculator: Is It a Leap Year?
2028 is a leap year: it has 366 days, February has 29 days, and February 29, 2028 is a Tuesday. The previous leap year was 2024 and the next is 2032. A year is a leap year when it is divisible by 4, except century years, which must be divisible by 400: 2000 and 2400 are leap years, 1900 and 2100 are not. Type any year from 1 to 9999 below for the verdict and the rule behind it, the neighbouring leap years, the leap-day weekday and Easter Sunday, or list every leap year between two years.
Updated Runs in your browser: nothing you enter is uploadedHow this tool works
Leap years from 1900 to 2100
| Decade | Leap years | How many |
|---|---|---|
| 1900 to 1909 | 1904, 1908 | 2 |
| 1910 to 1919 | 1912, 1916 | 2 |
| 1920 to 1929 | 1920, 1924, 1928 | 3 |
| 1930 to 1939 | 1932, 1936 | 2 |
| 1940 to 1949 | 1940, 1944, 1948 | 3 |
| 1950 to 1959 | 1952, 1956 | 2 |
| 1960 to 1969 | 1960, 1964, 1968 | 3 |
| 1970 to 1979 | 1972, 1976 | 2 |
| 1980 to 1989 | 1980, 1984, 1988 | 3 |
| 1990 to 1999 | 1992, 1996 | 2 |
| 2000 to 2009 | 2000, 2004, 2008 | 3 |
| 2010 to 2019 | 2012, 2016 | 2 |
| 2020 to 2029 | 2020, 2024, 2028 | 3 |
| 2030 to 2039 | 2032, 2036 | 2 |
| 2040 to 2049 | 2040, 2044, 2048 | 3 |
| 2050 to 2059 | 2052, 2056 | 2 |
| 2060 to 2069 | 2060, 2064, 2068 | 3 |
| 2070 to 2079 | 2072, 2076 | 2 |
| 2080 to 2089 | 2080, 2084, 2088 | 3 |
| 2090 to 2099 | 2092, 2096 | 2 |
| 2100 | None (divisible by 100, not by 400) | 0 |
Easter Sunday 2024 to 2040
| Year | Easter Sunday | Leap year | Day of the year |
|---|---|---|---|
| 2024 | March 31 | Yes | 91 |
| 2025 | April 20 | No | 110 |
| 2026 | April 5 | No | 95 |
| 2027 | March 28 | No | 87 |
| 2028 | April 16 | Yes | 107 |
| 2029 | April 1 | No | 91 |
| 2030 | April 21 | No | 111 |
| 2031 | April 13 | No | 103 |
| 2032 | March 28 | Yes | 88 |
| 2033 | April 17 | No | 107 |
| 2034 | April 9 | No | 99 |
| 2035 | March 25 | No | 84 |
| 2036 | April 13 | Yes | 104 |
| 2037 | April 5 | No | 95 |
| 2038 | April 25 | No | 115 |
| 2039 | April 10 | No | 100 |
| 2040 | April 1 | Yes | 92 |
Century years: the 100 and 400 exceptions
| Century year | Divisible by 100 | Divisible by 400 | Leap year | Days in the year |
|---|---|---|---|---|
| 1600 | Yes | Yes | Yes | 366 |
| 1700 | Yes | No | No | 365 |
| 1800 | Yes | No | No | 365 |
| 1900 | Yes | No | No | 365 |
| 2000 | Yes | Yes | Yes | 366 |
| 2100 | Yes | No | No | 365 |
| 2200 | Yes | No | No | 365 |
| 2300 | Yes | No | No | 365 |
| 2400 | Yes | Yes | Yes | 366 |
Worked examples
| Question | Working | Answer |
|---|---|---|
| Is 2024 a leap year? | 2024 is divisible by 4 (2024 ÷ 4 = 506) and not by 100, so it is a leap year. | Yes: 366 days |
| Is 2023 a leap year? | 2023 is not divisible by 4 (2023 ÷ 4 leaves 3), so it is not a leap year. | No: 365 days |
| Is 1900 a leap year? | 1900 is divisible by 100 but not by 400 (1900 ÷ 400 leaves 300), so it is not a leap year. | No: 365 days |
| Is 2000 a leap year? | 2000 is divisible by 400 (2000 ÷ 400 = 5), so it is a leap year even though it is a century year. | Yes: 366 days |
| What is the next leap year after 2026? | The next multiple of 4 is 2028 (2028 ÷ 4 = 507), and 2028 is not a century year, so no further check is needed. | 2028 |
| Which years from 2096 to 2108 are leap years? | The multiples of 4 are 2096, 2100, 2104, 2108. 2100 is divisible by 100 but not by 400, so it is left out. | 3 leap years: 2096, 2104, 2108 |
| What weekday is February 29, 2028? | February 29, 2028 is 21,243 days after January 1, 1970 (a Thursday); 21,243 mod 7 = 5, so move 5 days on from Thursday. | Tuesday |
| When is Easter Sunday in 2025? | The anonymous Gregorian algorithm starts from a = 2025 mod 19 = 11 and ends with month 4 and day 20. | Sunday, April 20, 2025 |
How to tell if a year is a leap year
- Divide the year by 4. If it does not divide exactly, it is a common year with 365 days. 2023 is not divisible by 4 (2023 ÷ 4 leaves 3), so it is not a leap year.
- If it divides by 4, look at the 100 rule. A year divisible by 4 but not by 100 is a leap year. 2024 is divisible by 4 (2024 ÷ 4 = 506) and not by 100, so it is a leap year.
- If it divides by 100, check 400. A century year is a leap year only when it is also divisible by 400. 2000 is divisible by 400 (2000 ÷ 400 = 5), so it is a leap year even though it is a century year. 1900 is divisible by 100 but not by 400 (1900 ÷ 400 leaves 300), so it is not a leap year.
- Count the days. A leap year has 366 days and a February of 29 days; every other year has 365 days and 28 in February. In 2028, February 28 and March 1 are 2 days apart; in 2100 they are 1 day apart.
- Find the next or previous leap year. Step to the next multiple of 4 and run the same test. From 2096 the next multiple is 2100, which fails the 400 rule, so the next leap year is 2104.
Frequently asked questions
- How do I know if a year is a leap year?
- Use three tests in order: divisible by 4, then not divisible by 100, unless divisible by 400. 2024 is divisible by 4 (2024 ÷ 4 = 506) and not by 100, so it is a leap year. 2100 is divisible by 100 but not by 400 (2100 ÷ 400 leaves 100), so it is not a leap year. Type the year in the calculator and the line under Why names the test that decided it.
- Why is 1900 not a leap year but 2000 is?
- Both are century years, so the 4 rule alone would make them leap years. The Gregorian calendar adds a correction: a century year counts only if it is divisible by 400. 2000 ÷ 400 = 5, so 2000 had a February 29; 1900 ÷ 400 leaves 300, so 1900 did not, and neither will 2100, 2200 or 2300. The next century leap year after 2000 is 2400.
- Why do we have leap years at all?
- The seasons repeat after about 365.2422 days (the tropical year), not exactly 365. Adding a day every fourth year gives an average of 365.25 days, which runs slightly long. Skipping three leap years every 400 years gives 365.2425 days (146,097 days in 400 years), which is much closer, so the calendar drifts by about a day only over several thousand years.
- How many leap years are there in a century?
- Usually 24 or 25. The years 1901 to 2000 hold 25 leap years because 2000 counts, and 1801 to 1900 hold 24 because 1900 does not. Over a full 400-year cycle there are exactly 97.
- Can there be eight years between two leap years?
- Yes, when a century year is skipped. Leap years are normally four years apart, but 2100 is not a leap year, so the gap from 2096 to 2104 is 8 years. The same happens around 1900, 2200 and 2300.
- What weekday is February 29, and how often does it repeat?
- February 29, 2028 is a Tuesday. When no skipped century year falls in between, leap days repeat their weekday every 28 years: 2028: Tuesday, 2056: Tuesday, 2084: Tuesday. A skipped century year breaks the cycle: February 29, 2112 is a Monday.
- How many days are there between February 28 and March 1?
- In a leap year, 2 days: February 28, then February 29, then March 1 (2028). In a common year it is 1 day: March 1 is the day after February 28 (2100). The calculator shows this for any year.
- What if I was born on February 29?
- A February 29 comes round once in every 1,461 days in the usual four-year cycle. In common years, some places treat the birthday as February 28 and others as March 1, so check the rule that applies to you. To count your exact age in years, months and days, use the Age Calculator; this page only tells you which years have a February 29.
- How is the date of Easter worked out?
- Western Easter is the first Sunday after the ecclesiastical full moon on or after March 21. The church uses a table-based approximation of the moon, not an astronomical observation, and the anonymous Gregorian algorithm (Meeus/Jones/Butcher) reproduces it with whole-number arithmetic. For 2028 it gives Sunday, April 16, 2028. Many Orthodox churches date Easter with the Julian calendar, which often gives another Sunday and is not calculated here.
- What are the earliest and latest possible Easter dates?
- Across the years 1583 to 9999 the calculator finds Easter between March 22 and April 25. After 2024, April 25 next occurs in 2038 and March 22 in 2285.
- How does the calculator treat years before 1583?
- It applies the Gregorian rule to every year from 1 to 9999, which is called the proleptic Gregorian calendar and is what ISO 8601 and most software do. Historical records from earlier times were kept in the Julian calendar, where every fourth year was a leap year with no century exception, so 1500 was a leap year in that calendar but is not one here. Easter dates are shown only from 1583, because the Easter algorithm used is a Gregorian one; for example 1583 gives April 10, 1583.
- How do I test for a leap year in a spreadsheet or in code?
- In most programming languages: year % 4 == 0 && (year % 100 != 0 || year % 400 == 0). In a spreadsheet, with the year in A1: =OR(MOD(A1,400)=0,AND(MOD(A1,4)=0,MOD(A1,100)<>0)). Both return true for 2000 and 2024 and false for 1900 and 2100.
How it works
A year is a leap year under the Gregorian rule when it is divisible by 4, except that a year divisible by 100 must also be divisible by 400. The tool applies that rule with integer arithmetic to every year from 1 to 9999; the Why line shows which step decides the year. The count of leap years between two years is ⌊y ÷ 4⌋ − ⌊y ÷ 100⌋ + ⌊y ÷ 400⌋ evaluated at the end year minus the same at the year before the start, and the list is built year by year and stopped at 500 entries, so the count stays complete when the list is cut. The next and previous leap years step by four years and apply the same rule. Days in the year, days in February and the days from February 28 to March 1 come from whole-day numbers on the proleptic Gregorian calendar (no clocks, time zones or daylight saving involved), and the weekday of February 29 is that day number plus 4 (January 1, 1970 was a Thursday), modulo 7. Easter Sunday is computed for Western (Gregorian) churches with the anonymous Gregorian algorithm, also called the Meeus/Jones/Butcher algorithm, for the years 1583 to 9999; the results for every year in that range were checked against Python's dateutil.easter (Western method). Years before 1583 use the proleptic Gregorian calendar; adoption dates of the Gregorian calendar differed from country to country, so a date in an old record may need converting from the Julian calendar first. The mean Gregorian year is 365.2425 days (146,097 days per 400 years). Everything runs in your browser.
Sources
- Leap year, Wikipedia
- Gregorian calendar, Wikipedia
- Date of Easter, Wikipedia (the anonymous Gregorian algorithm)
- Meeus, J. Astronomical Algorithms, Willmann-Bell (1991), the section on the date of Easter
- Butcher, S. The Ecclesiastical Calendar: Its Theory and Construction (1876)
- Tropical year, Wikipedia
- ISO 8601 date and time format, International Organization for Standardization
Guides
- Leap Years Explained: The Gregorian Rule and Why 365.2425A year is a leap year if divisible by 4, except centuries not divisible by 400. So 2000 and 2024 are leap years, 1900 and 2100 are not. Why 365.2425.
More free tools
- Day of the Week CalculatorFind out what day of the week any date falls on, from year 1 to 9999. Shows the ISO week, the nth weekday of the month, and a Doomsday-rule mental method.
- Age CalculatorHow old am I today? Enter a date of birth for your exact age in years, months and days, on any date, plus total days and a countdown to your next birthday.
- Add Days to a DateWhat date is 90 days from a date? Add or subtract days, weeks, months, years or business days and see the date you land on, with month ends handled.
- Days Between DatesHow many days between two dates? Enter a start and end date for the days, weeks, months and business days, plus worked examples and a leap-year note.
- Time CalculatorAdd or subtract time from a date and clock time: what time is it 72 hours from now, or 90 minutes after 9:15? Also finds the hours between two times.
- Time Zone ConverterConvert a time between time zones and plan a meeting: see several cities side by side, where working hours overlap, and daylight saving changes.