Updated 22 January 2027 · By the House of Calculator team
A leap year has 366 days instead of 365, with an extra day, 29 February, added to keep the calendar in step with the Earth’s orbit. A year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. That is why 2000 and 2028 are leap years, while 1900 and 2100 are not.
Why leap years exist
The Earth takes about 365.2422 days to go round the Sun, a period known as the tropical year. A calendar of exactly 365 days would therefore fall behind the seasons by almost a quarter of a day every year. After four years it would be about a day out, and after a couple of centuries the months would drift well away from the seasons they are meant to match.
The fix is to add a day every so often. Adding one every fourth year gives an average year length of 365.25 days, which is close. But 365.25 is still slightly too long compared with 365.2422, so the correction needs a refinement, which is where the century rule comes in.
The rule in full
The Gregorian calendar, which the UK and most of the world use, has three conditions:
- If the year is divisible by 4, it is a leap year.
- But if it is also divisible by 100, it is not a leap year.
- Unless it is also divisible by 400, in which case it is a leap year after all.
Applying the rule step by step:
| Year | Divisible by 4? | By 100? | By 400? | Leap year? |
|---|---|---|---|---|
| 2024 | Yes | No | n/a | Yes |
| 2026 | No | n/a | n/a | No |
| 2028 | Yes | No | n/a | Yes |
| 1900 | Yes | Yes | No | No |
| 2000 | Yes | Yes | Yes | Yes |
| 2100 | Yes | Yes | No | No |
The House of Calculator leap year checker applies exactly this logic and tells you which part of the rule decided the answer. For example, it reports that 1900 is divisible by 100 but not by 400, so it is not a leap year.
The shortcut for most people: if the year ends in two zeros, look at whether it divides by 400. Otherwise, just check whether it divides by 4. For a quick mental test of divisibility by 4, look at the last two digits. If they form a number that divides by 4 (such as 28 or 32), the whole year does.
Leap years from now to 2100
The next leap years are:
- 2028, 2032, 2036, 2040 and 2044
- 2048, 2052, 2056, 2060 and 2064
- 2068, 2072, 2076, 2080 and 2084
- 2088, 2092 and 2096
After 2096 there is a gap: 2100 is not a leap year, so the next one is 2104. From 1904 to 2096 the four-year rhythm is unbroken, so 2100 is the next exception, and it is the one most likely to catch out software that uses a simple divide-by-4 test. In the 400 years from 2001 to 2400 there are 97 leap years, not 100, because three century years (2100, 2200 and 2300) are skipped and 2400 is kept.
That produces an average year of 365.2425 days. The calendar has 97 leap years in each 400-year cycle, so the average is (97 × 366 + 303 × 365) ÷ 400 = 365.2425. This is very close to the true 365.2422 days, which means the calendar is only about one day out over roughly three thousand years.
A short history
The calendar has been fixed more than once:
- The Julian calendar was introduced by Julius Caesar in 45 BC. It had a leap year every four years with no exceptions, giving an average year of 365.25 days. That is 0.0078 days too long, so the calendar drifted by about one day every 128 years.
- By the 1500s, the drift had added up to around ten days. The Gregorian reform, introduced by Pope Gregory XIII in 1582, dropped those days and added the century rule to stop it happening again.
- Britain and its colonies adopted the Gregorian calendar in 1752. Eleven days were removed that September, so Wednesday 2 September was followed by Thursday 14 September. This is also why historical dates before 1752 need care, and why the checker applies the Gregorian rule to all years shown rather than recording the old Julian dates.
Not every country changed at the same time, so historical dates from the 1500s to the early 1900s can be recorded differently depending on where you are looking.
Leap days and the days of the week
A normal year of 365 days is 52 weeks and one day, so dates move forward one weekday each year. A leap year moves them forward two weekdays after 29 February. Over a four-year cycle, there are 4 × 365 + 1 = 1,461 days, which is not an exact number of weeks (it is 208 weeks and 5 days), so the pattern does not repeat every four years.
A few examples:
- 29 February 2028 falls on a Tuesday.
- 29 February 2032 falls on a Sunday.
- 1 January 2027 is a Friday, and 1 January 2055 is a Friday too.
From 1901 to 2099, the days of the week repeat in a 28-year cycle (seven weekdays times four years). The pattern breaks across 2100 because that year is not a leap year.
For counting days, the rule is simple: a calendar year containing 29 February has 366 days. For example, from 1 January 2028 to 1 January 2029 is 366 days, while from 1 January 2027 to 1 January 2028 is 365. The span from 1 January 2024 to 1 January 2028 is 1,461 days. If you need to count working days between two dates, UK bank holidays and how to count working days explains how weekends and bank holidays come into it.
Checking a year by hand: five quick examples
- 1984: the last two digits, 84, divide by 4 (84 ÷ 4 = 21), and it is not a century year. Leap year.
- 2023: 23 does not divide by 4. Not a leap year.
- 2052: 52 ÷ 4 = 13. Leap year.
- 2200: a century year. 2200 ÷ 400 = 5.5, so it does not divide by 400. Not a leap year.
- 2400: 2400 ÷ 400 = 6. Leap year.
Use the same approach for a contract end date, a project deadline or a subscription renewal that could land on 29 February. If it does, check how the system treats the date in years without one.
Leap years and pay
Employees paid a fixed monthly salary are not paid more or less in a leap year; the annual salary is simply divided into 12 payments. Differences appear in a few places:
- Daily rates. If your employer works out a day’s pay as your annual salary divided by 365 (or 366), the figure changes slightly. For £30,000, a day is £82.19 using 365 and £81.97 using 366, a difference of about 22 pence. Many employers use a fixed method such as 260 working days, so check your contract.
- Hourly and daily-paid workers. You are paid for the days you work, so a leap year can mean one extra working day if 29 February falls on a weekday. In 2028 it falls on a Tuesday.
- Holiday entitlement. Statutory holiday is expressed as weeks, so it does not change because of a leap year. UK holiday entitlement explained covers the rules. Where leave is worked out on a holiday year that spans 29 February, an employer may need to prorate; check your contract.
- Interest. Some savings and loan products calculate daily interest using 365 days even in a leap year, while others use the actual number of days. The effect on a single year is tiny, but the terms will say which method applies.
Leap day birthdays
About one in 1,461 people is born on 29 February, because the 1,461-day four-year cycle contains one such date. People born on that day are sometimes called leaplings or leapers. In non-leap years they usually celebrate on 28 February or 1 March. Rules about which day counts for legal purposes, such as reaching a particular age, can depend on the context, so check with the relevant authority rather than assuming.
You can find an exact age, including for someone born on 29 February, with an age calculator. The leap year checker answers a different question: whether a year has a 29 February in the first place.
Software, spreadsheets and the 1900 problem
Leap years are a classic source of programming bugs. Common errors include:
- Testing only for divisibility by 4, which wrongly treats 2100 as a leap year.
- Testing divisibility by 100 but forgetting the 400 exception, which wrongly treats 2000 as not leap.
- Hard-coding February as 28 days in a system that must handle 29 February.
- Calculating “one year later” by adding 365 days.
A well-known quirk is in some spreadsheets, which for historical compatibility treat 1900 as a leap year even though it was not. This matters only if you work with very early dates, but it is a reminder to test date logic.
Common mistakes
- Assuming every century year is a leap year. Only those divisible by 400 are.
- Assuming 365 days is always a year. Add a day when the span includes 29 February.
- Forgetting the day-of-week shift. Dates move one weekday per year, two after a leap day.
- Using 365 in a daily-rate formula without checking the contract. Your employer may use a different divisor.
Try the calculator
Enter any year into the Leap Year Checker to see whether it is a leap year, which part of the rule applied, the neighbouring leap years and how many fall in a range. Try 1900, 2000 and 2100 to see the century rule at work.
Frequently asked questions
Is 2028 a leap year?
Yes. 2028 is divisible by 4 and is not a century year, so it has 366 days and a 29 February, which falls on a Tuesday.
Is 2100 a leap year?
No. 2100 is divisible by 100 but not by 400, so February has 28 days. The next leap year after 2096 is 2104.
Why is 2000 a leap year but 1900 was not?
Both are century years. 2000 is divisible by 400, so the exception to the exception applies and it is a leap year. 1900 is not divisible by 400, so it was a normal year of 365 days.
How many days are in a leap year?
366 days, made up of 12 months with February at 29 days. A normal year has 365.
Do I get paid extra in a leap year?
Not if you are on a fixed salary. Hourly or daily-paid workers may be paid for one extra day if they work on 29 February. Check your contract for how daily rates are calculated.