The answer is yes or no, and the rule is printed with it so the yes is not a bare flag.
How to use
- Enter a year from 1 to 9999.
- Press Check.
- Reset restores 2024.
Formula / how it works
The three cases. 2024 divides by 4 and is not a century, so the answer is yes. 1900 divides by 100 and not by 400, so the answer is no, even though it divides by 4. 2000 divides by 400, so the answer is yes. Type 2000 when you want that case. The weekday calculator rejects 1900-02-29 because that day is not on the calendar. The two pages agree. Year 0 is outside the range.
2024 is a leap year because it divides by 4 and it is not a century. 1900 divides by 100 and not by 400, so it is not a leap year even though it divides by 4. 2000 divides by 400, so it is a leap year. Type 2000 if you want that third case. The rule line is repeated in the result so the answer is not a bare yes. February 29 exists only in a year this page calls yes. The weekday page will reject 1900-02-29 because that date does not exist. Use the two pages together when a date looks suspicious. The year range is 1 to 9999. Year 0 is refused.
Keep 2024, 1900 and 2000 as the three answers you can recite. Yes, no, yes. The reasons are not a century, a century, and a century that divides by 400. Any other year is one of those patterns. 2023 does not divide by 4, so it is a no of the simplest kind. You do not need this page for 2023, and the page will still say no if you type it. The useful cases are the centuries. Pair a yes with the weekday tool only when the date exists. A no from this page explains a rejection on the weekday page. Year 9999 is inside the range. Year 10000 is not. There is no proleptic warning beyond the arithmetic.
A year is a leap year when it is divisible by 4, except that a year divisible by 100 is not, except that a year divisible by 400 is. 2024 is divisible by 4 and not by 100, so the answer is yes. 1900 is divisible by 100 and not by 400, so the answer is no. 2000 is divisible by 400, so the answer is yes. Those three years are the set to remember. 2023 is not divisible by 4, so the answer is no for the simplest reason. The result repeats the rule so a screenshot is not a bare yes. February 29 exists only in a year this page marks yes. The weekday calculator rejects 1900-02-29 for that reason. Type a year from 1 to 9999. Year 0 is refused. There is no time zone in this test. The rule is about the year number in the Gregorian calendar, not about when midnight falls. Use the weekday page when you have a full date. Use this page when you only have a year and you want the February question answered before you type the date.
Recite the three years in order: 2024 yes, 1900 no, 2000 yes. If you can say why for each one, you can classify any other year in the allowed range with the same three clauses.
Worked examples
2024
Inputs: Year: 2024
Leave the year as 2024 and press Check. The answer is yes.
Result: Year: 2024
Leap year: yes
Rule: divisible by 4, except centuries, unless the century is divisible by 400.
1900
Inputs: Year: 1900
Change the year to 1900 and press Check. The answer is no.
Result: Year: 1900
Leap year: no
Rule: divisible by 4, except centuries, unless the century is divisible by 400.
Use cases
- Checking a century that is not a leap year.
- Checking 2000, which is.
- Pairing with the weekday page on 29 February.
- A yes or no that includes the rule.
Tips & limitations
- Centuries need the 400 test.
- 2000 is a leap year.
- 1900 is not.
- The range is 1 to 9999.
FAQ
Why is 1900 not a leap year?
It is a century and it does not divide by 400. The every-4-years rule has that exception.
Why is 2000 a leap year?
It divides by 400, so the century exception does not apply.
Is 2024 a leap year?
Yes. It divides by 4 and it is not a century.
Does this page know 29 February?
It answers the year. The weekday page rejects a date that does not exist.
Is year 0 accepted?
No. The range starts at 1.
Is the year uploaded?
No. The rule runs in the browser.
Results are calculated from the values you enter. Double-check measurements and allow a margin before buying materials or making decisions.