Is It a Leap Year?
To check if a year is a leap year, apply the Gregorian rule: it must be divisible by 4, except century years, which are only leap years if also divisible by 400. Type any year from the 1700s to the 2100s and get an instant YES or NO verdict stamp, the rule shown step by step, nearby leap years, and a live countdown to the next February 29.
Verdict
Leap Year
Days in 2028
366
Feb 29?
Yes
Next Feb 29
—
Quick Conversion
Formula: extra days = leap years × 1 (one Feb 29 each)
Check Any Year
The decision flow
Divisible by 4?
2028 ÷ 4 = 507.00 (whole number ✓)
Divisible by 100?
2028 ÷ 100 = 20.28 (not a century year)
Divisible by 400?
2028 ÷ 400 = 5.07 (has remainder)
Works for any year, 1700s through 2100s and beyond.
Nearby leap years
Famous Test Years
The years that best illustrate the rule — including the tricky century cases.
Leap Year Lookup Table
| Year | Leap? | Days | Reason |
|---|---|---|---|
| 2020 | YES | 366 | ÷4 |
| 2024 | YES | 366 | ÷4 |
| 2025 | NO | 365 | not ÷4 |
| 2026 | NO | 365 | not ÷4 |
| 2028 | YES | 366 | ÷4 |
| 2032 | YES | 366 | ÷4 |
| 2036 | YES | 366 | ÷4 |
| 2040 | YES | 366 | ÷4 |
| 2096 | YES | 366 | ÷4 |
| 2100 | NO | 365 | ÷100 not ÷400 |
| 2104 | YES | 366 | ÷4 |
| 2400 | YES | 366 | ÷400 |
Want the day of the week for a leap day? Try the Day of the Week calculator.
The Gregorian Leap Rule
isLeap = (year mod 4 = 0 AND year mod 100 ≠ 0) OR (year mod 400 = 0)tropical year ≈ 365.2422 days → Gregorian average = 365.2425 daysWorked: for 2000, 2000 mod 4 = 0 and 2000 mod 400 = 0, so the divide-by-400 clause makes it a leap year. For 1900, 1900 mod 4 = 0 but 1900 mod 100 = 0 and 1900 mod 400 = 300 (not zero), so it is a common year. For 2028, 2028 mod 4 = 0 and 2028 mod 100 = 28, so it is a leap year by the first clause alone. The rule gives 97 leap years every 400 years, an average of 365.2425 days.
Calendar Accuracy Reference
| Calendar | Leap rule | Avg year (days) | Drift |
|---|---|---|---|
| Julian (46 BC) | every ÷4 | 365.2500 | 1 day / 128 yr |
| Gregorian (1582) | ÷4, not ÷100, yes ÷400 | 365.2425 | 1 day / 3030 yr |
| Tropical year | actual orbit | 365.2422 | — |
Years You Checked
No saved years yet. Tap "Save to history" to remember up to eight checks.
How to Check a Leap Year
- Type any year into the input — the verdict stamp flips to YES or NO instantly as you type.
- Read the decision flow: the first test checks divisibility by 4, the second by 100, the third by 400, with a green check or red cross for each.
- Follow the logic line at the bottom of the flow — ÷4 ✓ → ÷100 ✗ → ÷400 ✓ — to see exactly which clause decided the verdict.
- Tap a nearby leap year chip to jump to it, or use the famous test years (1900, 2000, 2100) to see the century exceptions in action.
- Save the result to your history and watch the live countdown to the next February 29 at the top of the page.
Why Leap Years Exist
In 2026, a payroll administrator finalising a leap-year-aware salary accrual, a developer writing a date-validation unit test, and a curious nine-year-old who wants to know if they can have a real birthday party next February all ask the same one-word question: is it a leap year? This tool answers instantly with a giant YES or NO stamp, then shows exactly why by walking the year through the three divisibility tests that define the Gregorian rule.
A leap year exists because Earth does not orbit the Sun in a whole number of days. One tropical year is about 365.2422 days — roughly 365 days, 5 hours, 48 minutes, and 45 seconds. Ignoring that quarter-day causes the calendar to drift against the seasons by almost a full day every four years, which is why the Julian calendar, introduced by Julius Caesar in 46 BC on the advice of the astronomer Sosigenes of Alexandria, added one extra day every fourth year.
The Julian rule of a leap year every four years overcorrects slightly: it assumes a year of exactly 365.25 days, which is about 11 minutes too long. Over centuries those minutes accumulated, and by the 1500s the spring equinox had slipped ten days from its intended date of March 21, throwing off the calculation of Easter. Pope Gregory XIII fixed this with the Gregorian reform of 1582, dropping ten days that October (Thursday 4 October was followed directly by Friday 15 October) and tightening the leap rule.
The Gregorian rule is the one this checker implements: a year is a leap year if it is divisible by 4, except years divisible by 100, unless they are also divisible by 400. So 2024 is a leap year (divisible by 4, not by 100). The year 1900 was not a leap year (divisible by 100 but not by 400). The year 2000 was a leap year (divisible by 400). This three-step test reduces the average calendar year to 365.2425 days, leaving an error of only about one day in 3,030 years.
The intercalary day itself, February 29, lands in February for a historical reason rooted in the early Roman calendar, where February was the last month of the year and the natural place to make adjustments. People born on February 29 are called leaplings or leap-year babies; there are roughly five million of them worldwide, and many celebrate on February 28 or March 1 in common years. The odds of being born on a leap day are about one in 1,461.
The Gregorian calendar is now the global civil standard, formalised in the modern era through ISO 8601, the international date and time standard that defines a proleptic Gregorian calendar for years before 1582 and codifies the same divisible-by-4-except-by-100-unless-by-400 rule. Because computers everywhere implement ISO 8601, the same leap-year logic governs spreadsheet date math, database timestamps, and the date-validation routine in nearly every programming language.
Even the Gregorian calendar is not perfect: its 365.2425-day average is about 27 seconds longer than the true tropical year, accumulating to roughly one extra day every 3,030 years or so. Some astronomers have proposed dropping a leap day around the year 4000 or 8000, though no such rule is official. For all practical scheduling, finance, and software purposes today, the three-test Gregorian rule this tool uses is exact, which is why it underpins everything from leap-year payroll to the February 29 countdown shown below.
Trusted by teachers, developers, and leaplings
“The decision-flow that walks 1900 and 2000 through the ÷4, ÷100, ÷400 tests is the clearest classroom demo I have found. My students finally understand why 1900 was skipped but 2000 was not. The giant YES/NO stamp makes it memorable.”
“I keep this open while writing leap-year edge cases. Checking 2100 and 2400 against the tool confirmed my logic before I shipped. The fact that it implements the exact ISO 8601 rule, century exceptions and all, is why I trust it over a quick mental check.”
“The countdown to the next February 29 is exactly what I needed to plan our leap-day event. I bookmarked it and check the days-remaining number every quarter. Niche but genuinely useful for what I do.”
“My daughter is a leap-year baby and asks every year whether she gets a 'real' birthday. Now we check together, see the nearby leap years listed, and count down the days. It turned a confusing question into a fun ritual.”
Love using our calculator?
Related Tools
Related Articles
Dive deeper with our expert guides and tutorials related to Is It a Leap Year?