Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Date and time

Leap year checker

This leap year checker tells you whether a year is a leap year and shows the divisibility tests behind the answer. It also gives the days in the year, the weekday of 29 February and the nearest leap years.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

A whole year from 1 to 9999, such as 2028.

The Gregorian rule is applied to every year, including years before most countries used that calendar.

Is 2028 a leap year?

Yes, 2028 is a leap year366 days, and February has 29

  • It divides by 4 and not by 100, so it is a leap year.
Days in the year
366
29 February falls on
a Tuesday
Previous leap year
2024
Next leap year
2032
The three tests for 2028
TestDivides evenly?What it decides
Divisible by 4YesCandidate leap year
Divisible by 100NoLeap year, stop
Divisible by 400NoNot needed

How to use the Leap Year Checker

  1. Type a year under Year, a whole number from 1 to 9999.
  2. Read the verdict under Result, with the reason in the chip below it.
  3. Check Days in the year, 29 February falls on, Previous leap year and Next leap year.
  4. Open the table at the bottom of the result to see each divisibility test for your year.

How do you check if a year is a leap year?

Run three tests in order. First, does the year divide evenly by 4? If not, it is a common year. If it does, check whether it divides by 100. If it does not, it is a leap year. If it does divide by 100, check whether it divides by 400: only then is it a leap year. That is the Gregorian rule, and it is what the tool applies.

Take 2028. It divides by 4 (2028 ÷ 4 = 507), it does not divide by 100, so it is a leap year with 366 days, and February has 29. The year 2023 fails the first test, since 2023 ÷ 4 leaves a remainder of 3, so it is a common year with 365 days. The tool shows the same three tests in the table under the result, with a yes or no for each one.

Years that are not leap years can look like leap years from the end digits. The year 2100 ends in 00 and divides by 4, but it also divides by 100 and not by 400, so it is a common year. Always apply all three tests and not just the first.

Why is 2000 a leap year but 1900 and 2100 are not?

Both 1900 and 2000 divide by 100, so the rule asks the third question. The year 2000 divides by 400 (2000 ÷ 400 = 5), so it is a leap year. The year 1900 divides by 100 but not by 400 (1900 ÷ 400 = 4.75), so it is a common year, and so are 1700, 1800, 2100, 2200 and 2300. The next century year that is a leap year after 2000 is 2400.

The reason is the average length of the calendar year. Over any 400 consecutive years the rule produces 97 leap years, not 100, because three century years in every four are skipped. That makes 146,097 days in 400 years, or 146097 ÷ 400 = 365.2425 days per year on average. A rule of simply every fourth year would give 365.25, and the extra century skips pull the calendar average down to 365.2425.

Because 146,097 is exactly 20,871 weeks, the pattern of weekdays repeats every 400 years. The tool shows this as 29 February 2000 and 29 February 2400 both falling on a Tuesday.

Years checked: the three tests side by side

Each row below is produced by the same tests that run when you type a year in the box.

Leap year tests for selected years
YearDivides by 4Divides by 100Divides by 400Result
1900YesYesNoCommon, 365 days
2000YesYesYesLeap, 366 days
2023NoNoNoCommon, 365 days
2024YesNoNoLeap, 366 days
2025NoNoNoCommon, 365 days
2028YesNoNoLeap, 366 days
2100YesYesNoCommon, 365 days
2400YesYesYesLeap, 366 days

Only the years that pass the 4 test and either skip the 100 test or pass the 400 test are leap years. The nearest leap years around 2100 are 2096 and 2104, an eight year gap instead of the usual four.

What changes in a leap year?

A leap year has 366 days, one more than the 365 days of a common year, because February gets a 29th day. In 2028, 29 February falls on a Tuesday; in 2024 it fell on a Thursday. From March onward, a date in a leap year falls two weekdays later than the same date the year before, instead of the usual one.

People born on 29 February celebrate on a different date in common years, and which date counts is a choice. The age calculator lets you pick 28 February or 1 March and counts the age from your choice. To add a year to a date such as 29 February 2028, the date calculator moves to the last day of February in a common year.

Day counts also change. The days between dates tool counts 29 February when it falls inside the span, so the gap from 1 January to 31 December is 365 days in 2028 and 364 days in 2027. Use the day of the year page to see where a date sits in a 366 day year.

Use it with

Questions

Is 2028 a leap year?

Yes. 2028 divides by 4 and not by 100, so it has 366 days, and 29 February 2028 is a Tuesday.

Is 2100 a leap year?

No. 2100 divides by 100 but not by 400, so it is a common year with 365 days. The leap years around it are 2096 and 2104.

Was 2000 a leap year?

Yes. 2000 divides by 100 and by 400, so it is a leap year with 366 days.

How often does a leap year come?

Usually every 4 years. Over 400 years there are 97 leap years, because century years not divisible by 400 are skipped.

How many days are in a leap year?

366 days, which is 365 plus the extra 29 February. February has 29 days instead of 28.

Does the checker work for years before the Gregorian calendar?

It applies the Gregorian rule to every year from 1 to 9999. Calendars used before then had different leap rules, which this page does not model.

The tool's results are computed in your browser by the code on this page; the explanations are checked against the tool's own output.