To check any year at once, type it into the leap year checker. It tells you whether the year is a leap year, shows which rule applied, and gives the next and previous leap years. The rest of this page explains the rules and how to check a year by hand.

The leap year rules

A leap year has 366 days instead of 365, with an extra day, 29 February. The Gregorian calendar, the one used almost everywhere, decides which years get it with three rules:

  1. If the year is divisible by 4, it is a leap year.
  2. But if it is also divisible by 100, it is not a leap year.
  3. Unless it is also divisible by 400, then it is a leap year again.

Check the rules in order, and stop at the first one that applies. A year that fails rule 1 is never a leap year.

Year Divisible by 4? By 100? By 400? Leap year?
2026 No No No No
2028 Yes No No Yes
1900 Yes Yes No No
2000 Yes Yes Yes Yes
2100 Yes Yes No No

Most of the time the short version is enough: divide the year by 4. The 100 and 400 rules only matter in century years, which is why they are easy to forget.

The next 10 leap years

Counting from today, the next ten leap years are:

2028, 2032, 2036, 2040, 2044, 2048, 2052, 2056, 2060 and 2064.

2100 is the next century year, and it is not a leap year, so the pattern of one leap year every four years holds through the rest of this century until 2096, then jumps from 2096 to 2104. The most recent leap year was 2024.

Why 1900 was not a leap year and 2000 was

The Earth takes about 365.2422 days to go round the Sun. Adding one day every 4 years assumes 365.25, which is slightly too long, so the calendar drifts ahead by about 3 days every 400 years. Skipping the leap day in century years fixes most of that, and keeping it in years divisible by 400 fixes the rest.

Over a 400 year cycle there are 97 leap years, not 100, which gives an average year of 365.2425 days. That is within about 26 seconds a year of the real figure, so the calendar stays accurate for thousands of years.

The rules come from the Gregorian reform of 1582. Before it, the Julian calendar added a leap day every 4 years with no exceptions. Countries switched at different times, and Britain and its colonies only did so in 1752.

How to check a leap year in Excel and Google Sheets

You can test a year in a spreadsheet without writing the three rules. With the year in cell A1:

What you want Formula
Does February have 29 days =DAY(DATE(A1,3,0))=29
Leap year, written as a rule =OR(MOD(A1,400)=0,AND(MOD(A1,4)=0,MOD(A1,100)<>0))
Days in the year =DATE(A1+1,1,1)-DATE(A1,1,1)

DATE(A1,3,0) means “day 0 of March”, which is the last day of February, so DAY returns 28 or 29. Both Excel and Google Sheets accept this.

One known trap: Excel treats 1900 as a leap year, which is wrong. It was kept for compatibility with an older spreadsheet program, so Excel’s date numbers for January and February 1900 are off by one. Google Sheets does not have this fault for modern dates, and it does not matter for anything after 1 March 1900.

What a leap day means for birthdays and deadlines

About 1 in 1,461 people are born on 29 February. In other years their birthday is celebrated on 28 February or 1 March, and the law that decides which one counts differs by country.

For deadlines, the leap day matters when you count in years. Adding one year to 29 February 2028 gives 28 February 2029 in most tools, including the add or subtract days calculator. Counting in days works as normal: 365 days after 1 March 2027 is 29 February 2028, one day earlier than a year later, because the extra day is in between. The days between dates calculator counts the leap day for you.

Quick summary

  • Divisible by 4: leap year.
  • Divisible by 100 but not by 400: not a leap year.
  • Leap years in the next decade: 2028, 2032, 2036.
  • Next century year, 2100, is not a leap year.
  • A leap year has 366 days, which is 52 weeks and 2 days, so the weekday of 1 January moves two days later the year after.