Leap Year Calculator
Try Leap Year Calculator
Loading calculator. If this message stays visible, enable JavaScript and reload.
Your result
This leap year calculator checks whether a whole-number year from 1 through 9999 is a Gregorian leap year. Enter the year and run the check. A qualifying year contains 29 February; a common year does not. For example, 2028 is a leap year, 2100 is not, and 2000 is.
The rule needs more than divisibility by four. Century years must also be divisible by 400, which is why 2000 and 2100 receive different answers. This page explains the complete rule, shows independently checked examples and helps you distinguish a year check from date validation, interval counting and a different calendar system.
Leap Year Calculator questions and answers
What does this leap year calculator check?
The leap year calculator classifies one supplied year under Gregorian calendar rules. The result states that the number is a leap year or is not a leap year. It does not need a month or day because the classification belongs to the entire year.
The supported input is a whole year between 1 and 9999, including both endpoints. The form is not a year-range generator, a calendar conversion tool or a current-year indicator. A default example remains an example until you enter the year you intend to inspect.
Use the check when verifying whether February can have a twenty-ninth day in a particular year, checking a calendar assumption or understanding why a century-year example differs from the usual four-year pattern. The result gives the calendar classification, not a decision about how an organisation handles an anniversary.
A leap year does not make every date entry valid. A date still needs an existing month and day. The day of week calculator accepts a complete date and validates that date before returning its weekday.
The calendar convention is part of the answer. If your source uses another calendar, establish its own leap rules or convert the source appropriately. Applying this Gregorian test to an unrelated year number can produce a confident answer to a question the tool was not designed to solve.
How do you enter a year and interpret the response?
Enter the year as a number and choose Calculate / Run. Read the returned year together with its classification. For 2028, the answer is 2028 is a leap year. For 2026, it is 2026 is not a leap year.
Enter a complete year rather than a shortened suffix. The value 28 means year 28 under the calculation's Gregorian rules; it does not mean 2028. A two-digit note in a source needs its intended century established before using this form.
The engine rejects zero, negative values, fractions, values greater than 9999 and missing or nonnumeric entries. A number such as 2028.5 does not describe a calendar year for this check. Correct the input rather than rounding an uncertain source without explanation. If a copied year seems implausible, check the original document before replacing it with a nearby modern year. An accepted number can still be the wrong source year.
You do not need to type a date or the words AD or CE. There is no BCE input mode, and a negative year is not accepted as a substitute for one. Use a suitable historical chronology method if your task needs a year-numbering convention outside this form.
After changing the input, calculate again. A displayed earlier classification does not establish the status of an edited field until the new run completes. When saving the answer, keep the original year written out so that the result cannot later be mistaken for a current-year statement.
What is the complete Gregorian divisibility rule?
A year is a leap year when it is divisible by four, except that a year divisible by 100 must also be divisible by 400. Divisible means that dividing the whole-number year by that divisor leaves no remainder.
One practical decision order starts with 400. If the year is divisible by 400, it qualifies. Otherwise, if it is divisible by 100, it does not. Otherwise, if it is divisible by four, it qualifies. Years left after those tests are common years.
The U.S. Naval Observatory's Leap Years explanation, checked in 2026, states the Gregorian rule and its century exception. The rule is the basis of this tool; the examples on this page were independently checked in code rather than copied from a running result.
The MoneyOr engine expresses the same decision as divisible by four and not by 100, or divisible by 400. Both forms give the same classification. The 400 condition is necessary because every multiple of 400 is also a multiple of 100.
Testing only the final two digits fails at some boundaries. A year ending in 00 requires the century test, and ending in an even digit is not enough for divisibility by four. Work from the full year number and the complete rule instead of relying on a visual shortcut.
Which examples show ordinary and century-year cases?
The table separates the decision branches. Each row has been checked against an independent calendar implementation. It includes common modern cases and century exceptions.
| Year | Relevant test | Classification | 29 February exists under these rules |
|---|---|---|---|
| 2024 | Divisible by 4, not by 100 | Leap year | Yes |
| 2026 | Not divisible by 4 | Common year | No |
| 2028 | Divisible by 4, not by 100 | Leap year | Yes |
| 1900 | Divisible by 100, not by 400 | Common year | No |
| 2000 | Divisible by 400 | Leap year | Yes |
| 2100 | Divisible by 100, not by 400 | Common year | No |
| 2400 | Divisible by 400 | Leap year | Yes |
For 2028, dividing by four gives 507 with no remainder. It is not a century year, so the result is leap. For 2100, dividing by four succeeds, but the century exception applies because 2100 is not divisible by 400.
For 2000, dividing by 400 gives 5 with no remainder. It remains leap despite being divisible by 100. Comparing 1900, 2000 and 2100 is a useful way to test whether a separate formula handles both kinds of century years.
At the supported input boundaries, year 1 and year 9999 are both common years. These examples test the numeric form's accepted range without implying that the calendar was historically used everywhere during those distant years.
Why does the extra day affect some date intervals?
Gregorian February has 29 days in a leap year and 28 in a common year. The extra date matters when the selected interval actually passes through it. Merely mentioning a leap year in an interval does not always add a day to the particular gap being compared.
From 28 February 2024 to 1 March 2024, the elapsed calendar-date gap is two days. From 28 February 2025 to 1 March 2025, it is one day. The date difference calculator can check those endpoints under its stated counting convention.
By contrast, a gap wholly within January does not cross February's extra date. Do not automatically add one to every interval that begins or ends in a leap year. Use the actual endpoints and the intended inclusion rule.
Weekday positions also depend on the dates traversed. The same month and day in successive years can shift by one or two weekdays depending on whether the interval includes a leap day. A year classification alone does not identify the weekday of every date in that year.
If the question concerns workdays, a leap day counts only if it falls inside the selected range and meets the weekday model. The business days calculator has its own endpoint and holiday limitations. Leap status does not override those conventions or turn an otherwise skipped weekend into a working date.
Can you use this check for lists and software validation?
The interface checks one year at a time. For a short list, enter each year separately and keep its classification next to the source value. It does not automatically enumerate all leap years between two endpoints or find the next qualifying year.
A software or spreadsheet check should cover the rule's different branches rather than testing only ordinary multiples of four. Useful cases include 2026, 2028, 1900 and 2000. A formula that gets one of those wrong may be using an incomplete century rule.
For an independently calculated count, the years 2000 through 2028 inclusive contain eight leap years: 2000, 2004, 2008, 2012, 2016, 2020, 2024 and 2028. This is an authored example list, not a range-output feature of the form.
A full 400-year block from 2000 through 2399 contains 97 qualifying years under the Gregorian rule. There are 100 multiples of four, four multiples of 100 and one multiple of 400 in that block; 100 − 4 + 1 = 97. That relationship helps check the complete rule in a larger independent calculation.
The basic calculator can verify simple supporting arithmetic. Keep input-validation tests separate from calendar-rule tests: accepting a fractional or out-of-range year is a different defect from misclassifying a valid century year.
What calendar and historical limits should you keep in mind?
This is a Gregorian-rule calculator. It applies that rule to every accepted year number, including years before the Gregorian calendar's introduction. Such a mathematical extension does not establish which calendar a particular historical community actually used.
The U.S. Naval Observatory's Introduction to Calendars distinguishes Gregorian, Julian and other calendar systems. Its account explains why their rules must not be treated as interchangeable. A record's written date may need interpretation or conversion before you apply a Gregorian result to it.
A Julian-rule leap test can differ at century years. This form has no Julian switch. Do not change the year by an assumed offset or treat a Gregorian common-year result as proof that an old local record containing a leap date is fabricated.
The tool also does not calculate religious dates, seasonal events or astronomical positions. Leap-year status is one calendar property. Predicting another event can require rules and information that are not inputs to this form.
For official age, anniversary or deadline treatment, follow the responsible organisation's current rule. A calendar's lack of 29 February in a particular year does not by itself decide how that organisation handles a person's anniversary. This page supplies calendar information, not personalised legal advice or an official eligibility decision.
How do you preserve a useful year-check record?
Save the entered year, its leap/common classification and the Gregorian convention. For a list used in a worksheet or test, retain each input beside its result. This makes it easier to distinguish a wrong source year from an incomplete calculation rule.
Copy result copies the classification text, including the year. Download CSV records that result and the tool identifier, plus a saved baseline if present. These controls preserve the calculation output rather than the provenance of a historical document.
Save as baseline holds one result within the page session. It can show another classification alongside it, but it does not calculate the number of leap years or elapsed years between the two. Use an explicit list or independent counting method for those questions.
Reset fields clears the output and baseline. The check runs in your browser, and an account is not required to use it. Broader site delivery and data practices are explained in the privacy policy.
When a result differs from another source, compare the full year and calendar convention first. Then check that the other method includes the century exception. Preserve unresolved source ambiguity in your notes rather than replacing it with a cleaner-looking but unsupported calendar claim.
Frequently asked questions
Does leap-year status depend on the time zone?
The Gregorian classification of a supplied year does not depend on the device time zone. A zone can affect which local date an event has, but it does not change whether that calendar year qualifies under the divisibility rule used here.
Is a leap year the same thing as a leap second?
No. This form checks a calendar year and its additional February date. It does not predict, insert or track adjustments to a time scale. Use the relevant official time information for a question about leap seconds rather than this year classification.
Can a leap year guarantee 53 ISO weeks?
Leap status alone is not enough to assign all ISO week labels. Weekday alignment and the ISO week-year rule also matter. Use the week-number calculation for a complete selected date instead of inferring its numbered week solely from this result.
Will this automatically tell me the next leap year?
It checks the year you supply and has no next-year search button. You can inspect another candidate year by entering it and running again. Near a century boundary, apply the complete rule rather than assuming the next multiple of four always qualifies.
Does the result validate a date of birth?
It can establish whether a Gregorian February 29 is possible in a given year, but it does not authenticate a birth record or verify a person's identity. The full date and original record still need their own appropriate checks.
Can I use a decimal such as 2028.0?
A numeric representation equal to the whole integer 2028 satisfies the engine's whole-number test. A fractional year such as 2028.5 does not. Enter the ordinary full year notation to keep the intended calendar value clear to another reader.
Sources
- U.S. Naval Observatory: Leap Years. Retrieved 2026-11-15.
- U.S. Naval Observatory: Introduction to Calendars. Retrieved 2026-11-15.
- Python Software Foundation: calendar.isleap(). Retrieved 2026-11-15.