Skip to main content
ponderloop

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

Is it a leap year?

Type a year from 1 to 9999. Easter Sunday is shown from 1583 on.

Result

2028 is a leap year

2028 has 366 days: February has 29 days, and February 29 is a Tuesday.

Why
2028 is divisible by 4 (2028 ÷ 4 = 507) and not by 100, so it is a leap year.
Days in the year
366 days
Days in February
29 days
February 29 falls on
Tuesday, February 29, 2028
Previous leap year
2024 (4 years earlier)
Next leap year
2032 (4 years later)
February 28 to March 1
2 days apart: February 29 sits in between
Easter Sunday (Western)
Sunday, April 16, 2028
The next 8 leap years after 2028
  • 2032: February 29 is a Sunday
  • 2036: February 29 is a Friday
  • 2040: February 29 is a Wednesday
  • 2044: February 29 is a Monday
  • 2048: February 29 is a Saturday
  • 2052: February 29 is a Thursday
  • 2056: February 29 is a Tuesday
  • 2060: February 29 is a Sunday

Born on February 29? Work out your exact age, and see how many birthdays you have had, with theAge Calculator.

List the leap years between two years

Both years are included. The list stops at 500 leap years; the count is always complete.

Result

11 leap years in 2020 to 2060

2020 to 2060 covers 41 years and 14,976 days; 11 of the years are leap years.

Leap years
11 leap years
First leap year
2020
Last leap year
2060
Years in the range
41 years
Days in the range
14,976 days
Century years left out
None
Leap years from 2020 to 2060
  • 2020
  • 2024
  • 2028
  • 2032
  • 2036
  • 2040
  • 2044
  • 2048
  • 2052
  • 2056
  • 2060

Leap years from 1900 to 2100

Every leap year in the 200 years, 49 in all, by decade. 1900 and 2100 are century years not divisible by 400, so they are left out; 2000 is divisible by 400 and counts. Because 2100 is left out, the gap after 2096 is eight years, up to 2104.
DecadeLeap yearsHow many
1900 to 19091904, 19082
1910 to 19191912, 19162
1920 to 19291920, 1924, 19283
1930 to 19391932, 19362
1940 to 19491940, 1944, 19483
1950 to 19591952, 19562
1960 to 19691960, 1964, 19683
1970 to 19791972, 19762
1980 to 19891980, 1984, 19883
1990 to 19991992, 19962
2000 to 20092000, 2004, 20083
2010 to 20192012, 20162
2020 to 20292020, 2024, 20283
2030 to 20392032, 20362
2040 to 20492040, 2044, 20483
2050 to 20592052, 20562
2060 to 20692060, 2064, 20683
2070 to 20792072, 20762
2080 to 20892080, 2084, 20883
2090 to 20992092, 20962
2100None (divisible by 100, not by 400)0

Easter Sunday 2024 to 2040

Western (Gregorian) Easter by the Meeus/Jones/Butcher algorithm. The last column counts January 1 as day 1. Easter can fall from March 22 to April 25.
YearEaster SundayLeap yearDay of the year
2024March 31Yes91
2025April 20No110
2026April 5No95
2027March 28No87
2028April 16Yes107
2029April 1No91
2030April 21No111
2031April 13No103
2032March 28Yes88
2033April 17No107
2034April 9No99
2035March 25No84
2036April 13Yes104
2037April 5No95
2038April 25No115
2039April 10No100
2040April 1Yes92

Century years: the 100 and 400 exceptions

Century years are leap years only when divisible by 400. In each 400-year cycle that makes 97 leap years and 146,097 days, an average year of 365.2425 days.
Century yearDivisible by 100Divisible by 400Leap yearDays in the year
1600YesYesYes366
1700YesNoNo365
1800YesNoNo365
1900YesNoNo365
2000YesYesYes366
2100YesNoNo365
2200YesNoNo365
2300YesNoNo365
2400YesYesYes366

Worked examples

Each answer comes from the same functions the calculator runs, with the working shown.
QuestionWorkingAnswer
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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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

Guides

All dates & timeAll toolsHome & DIY calculators