Leap Year Checker — Single Year, Range List & Full Analysis
Check any year or get a complete list of all leap years in a range with step-by-step rule verification
Step-by-Step Rule Verification
Year at a Glance — Key Facts
Results at a Glance
Complete Year Analysis
Surrounding Leap Years — Timeline View
Detailed Analysis — All Facts
Step-by-Step Mathematical Working
What Is a Leap Year? — Complete Calendar Science Guide
Why leap years exist, the full three-rule system, historical origins, and the mathematics behind the Gregorian calendar
A leap year is a calendar year with 366 days instead of the standard 365, with the extra day added as February 29 — called Leap Day. Leap years exist because the solar year (the time it takes Earth to orbit the Sun) is not exactly 365 days — it is approximately 365.2422 days. Without periodic corrections, our calendar would drift away from the seasons by about 6 hours per year, and after 100 years, the calendar would be off by 24 days.
The solution, implemented in the modern Gregorian calendar (introduced by Pope Gregory XIII in 1582 as a reform of the Julian calendar), is a three-rule system that adds one day roughly every four years while correcting for over-correction using century rules. The result is a calendar that stays within 26 seconds of the true solar year — accurate enough that it won't drift by a full day for approximately 3,236 years.
The word "leap" comes from the observation that in a common year, any fixed date (like your birthday) "advances" by one day of the week each year. But in a year after a leap year, dates "leap" over one extra day — advancing by two days of the week instead of one. The Latin term annus bissextilis (bissextile year) refers to the Roman calendar tradition of doubling February 24th (the sixth day before the Kalends of March).
Rule 1 — Divisible by 4
The primary leap year rule: a year is a leap year candidate if and only if it is evenly divisible by 4. This gives us approximately one leap year every 4 years — 2024, 2028, 2032, 2036, and so on. The pattern is simple and produces 97 leap years per 400-year cycle (before the century corrections). Without any further rules, the calendar would over-correct by about 3 days every 400 years, which is why Rules 2 and 3 are needed.
Rule 2 — Century Exception (÷ 100)
Century years (those ending in 00, like 1700, 1800, 1900, 2100) are NOT leap years, even though they are divisible by 4. This "century exception" removes 3 leap years from every 400-year cycle (the century years at 100, 200, and 300 years within the cycle). This correction accounts for the fact that the solar year is not exactly 365.25 days (which a pure ÷4 rule would assume), but approximately 365.2425 days. 1900 is the most commonly cited example of this rule in action.
Rule 3 — 400-Year Override (÷ 400)
Century years divisible by 400 ARE leap years, overriding Rule 2. This restores one of the three removed century leap years per 400-year cycle. So within every 400-year period, there are exactly 97 leap years (not 100). The only century leap years most people alive today will see are 2000 (which many people remember) and 2400. The year 2000 being a leap year caused Y2K-era confusion because many older computer systems had only implemented Rules 1 and 2, not Rule 3.
The Result: Calendar Precision
The three-rule system produces a calendar year of 365.2425 days on average (365 + 97/400 days). The actual solar year is 365.2422 days. The difference is 0.0003 days per year — equivalent to 26 seconds. At that rate, the Gregorian calendar won't be off by a full day until the year 5138 AD (about 3,236 years from now). The Julian calendar, which used only Rule 1, was off by one day every 128 years and drifted 13 days out of alignment by 1582, which is why the Gregorian reform was needed.
Leap Day — February 29
The extra day is always inserted as February 29, placed at the end of the shortest month. This location was chosen to minimize disruption to the rest of the calendar — March through December remain on their usual dates in both common and leap years. February 29 is the rarest date in the calendar, occurring once every four years (with century exceptions). People born on February 29 — called "leaplings" or "leap year babies" — can technically only celebrate their exact birthday every four years, though many celebrate on February 28 or March 1 in common years.
Historical Origins
The concept of a leap day dates back to Julius Caesar, who introduced the Julian calendar in 46 BCE with a simple "every 4 years" rule on advice from the Egyptian astronomer Sosigenes. The Julian calendar was a major improvement over the Roman Republican calendar but overestimated the solar year by 11 minutes and 14 seconds per year. Pope Gregory XIII's reform in 1582 added the century correction rules. The Gregorian calendar was adopted gradually — Catholic countries first in 1582, Britain and its colonies in 1752, Russia not until 1918.
Other Calendar Systems
Not all calendar systems handle leap years the same way. The Islamic (Hijri) calendar adds a leap day to the last month (Dhul Hijjah) in 11 specific years of each 30-year cycle. The Hebrew (Jewish) calendar uses a leap month — an entire extra month called Adar I — added 7 times in every 19-year cycle, making Hebrew leap years 13 months long. The Ethiopian calendar has 12 months of 30 days plus a 13th month of 5 or 6 days. The Persian (Solar Hijri) calendar has a more complex pattern of 8 leap years in 33-year cycles, which is slightly more accurate than the Gregorian system.
Famous Leap Year Birthdays
Notable people born on February 29 include: rapper Ja Rule (born 1976), motivational speaker Tony Robbins (born 1960), Superman actor Dinah Shore (born 1916), and UK Prime Minister Gerry Ford (born 1913 — note: various historical figures have claimed Feb 29 births, some disputed). Statistically, about 5 million people worldwide were born on February 29, representing roughly 1 in 1,461 of the global population. In folklore, February 29 is also "Bachelor's Day" in some traditions — the day when women are encouraged to propose to men.
Leap Year Formula Reference — All Rules, Algorithms & Quick Tests
Every method for checking leap years — from the 3-rule algorithm to programming code equivalents
Whether you're checking by hand, programming in any language, or doing mental arithmetic, here are all the methods for determining leap year status — with the logic behind each approach.
| Method | Expression / Algorithm | Example: Is 2024 a leap year? |
|---|---|---|
| Standard 3-Rule Check | (Y%4==0 && Y%100!=0) || Y%400==0 | 2024%4=0 ✓, 2024%100≠0 ✓ → YES |
| Rule 1 — Divisible by 4? | Year mod 4 = 0 | 2024 ÷ 4 = 506 exactly → Pass |
| Rule 2 — Century check | Year mod 100 ≠ 0 | 2024 ÷ 100 = 20.24 (not exact) → Not a century year |
| Rule 3 — 400-year override | Year mod 400 = 0 | Only needed for century years — N/A for 2024 |
| Days in Year | isLeap ? 366 : 365 | 2024 → 366 days |
| Days in February | isLeap ? 29 : 28 | Feb 2024 → 29 days |
| Next Leap Year | while !isLeap(++y) {} | After 2024 → 2028 |
| Previous Leap Year | while !isLeap(--y) {} | Before 2024 → 2020 |
| Leap years in range | floor((end-start)/4) - century corrections | 2000–2100: 25 leap years |
| Count since 1 AD | floor(y/4) - floor(y/100) + floor(y/400) | By 2024: 491 leap years total |
Notable Leap Years & Historical Events on February 29
Famous events, birthdays, and special occurrences that happened on leap days throughout history
Century Year Exception Guide — 1700 to 2400
Which century years are leap years and which are not — the most commonly confused cases
Century years are the most common source of leap year confusion. They follow an unusual pattern because of the interplay between Rule 2 (÷100 exception) and Rule 3 (÷400 override). Here is every century year from 1700 to 2400 and its leap year status.
Frequently Asked Questions — Leap Year Rules & Calendar Science
Detailed answers to the most searched questions about leap years, calendar systems, and Feb 29