Home · Date & Time · Calendars & Cycles · Leap Year Calculator
Leap Year Calculator
Check whether any year is a leap year under the Gregorian rule, see how long February is, and find the leap years before and after it.
What this calculator does
Check whether any year is a leap year under the Gregorian rule, see how long February is, and find the leap years before and after it. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The rule is the Gregorian leap rule: divisible by 4, except centuries not divisible by 400 — so 2000 was a leap year and 1900 was not.
A leap year has 366 days with February 29 as the extra day; a common year has 365.
The calendar is proleptic Gregorian, so the rule is applied to any year entered.
Worked example
With the example inputs this page opens with (year 2028), the result is Leap year — days in 2028.
Quick reference
| Year | Days in 2028 |
|---|---|
| 1014 | Not a leap year |
| 1622.4 | Not a leap year |
| 2028 | Leap year |
| 2535 | Not a leap year |
| 3042 | Not a leap year |
| 4056 | Leap year |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why do century years break the pattern?
The solar year is about 365.2422 days. Skipping the leap day in three century years out of four keeps the calendar within a day of the seasons over millennia.
Was the year 2000 a leap year?
Yes — century years divisible by 400 keep their leap day, so February 2000 had 29 days, unlike February 1900.
How does the Leap Year Calculator work?
Check whether any year is a leap year under the Gregorian rule, see how long February is, and find the leap years before and after it. Year → Leap year or not, and days in the year. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Leap Year Calculator need?
Year → Leap year or not, and days in the year. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.