$> Kaya
~/tools/leap-year-checkerinteractive
/tools/leap-year-checker

Leap Year Checker

Use this leap year checker to test whether a year is leap or common. It also shows the matching rule, February day count, and total days in the year.

~/tools/leap-year-checkercal 2028
result
Leap year
days in February
29
days in year
366
rule matched
divisible by 4 but not 100
~/tools/leap-year-checker/examplesusage.txt

Example Usage

  • Enter `2028` to confirm that it is a leap year with 29 days in February.
  • Check century years like `1900` or `2000` and see which leap-year rule applies.
  • Use the result when validating date logic in forms or scheduling systems.
~/tools/leap-year-checker/guideREADME.md

Leap Year Checker Explained

A leap year checker determines whether a year has 365 days or 366 days. This matters because calendar calculations can shift when February has 29 days instead of 28. The common rule is that years divisible by 4 are leap years, except years divisible by 100, unless they are also divisible by 400. That exception is where manual checks often go wrong. This tool takes a year input and shows whether it is leap or common, how many days February has, how many days the year contains, and which specific rule matched. It is useful for debugging date logic, validating forms, and checking edge cases around century years.

~/tools/leap-year-checker/faq3 items

FAQ

What makes a year a leap year?

A leap year is usually divisible by 4, except years divisible by 100 unless they are also divisible by 400.

Why is 2000 a leap year but 1900 is not?

Because 2000 is divisible by 400, while 1900 is divisible by 100 but not 400.

Does the tool show February day count too?

Yes. It tells you whether February has 28 or 29 days for the selected year.

~/tools/leap-year-checker/related5 links
~/tools/leap-year-checker/linksinternal