Guide: How It Works

A year is a leap year if (divisible by 4 AND not divisible by 100) OR divisible by 400

Who Is This Calculator For?

  • Students learning the leap year rule
  • Developers handling calendar edge cases

Examples

2000: divisible by 400 โ†’ leap year. 1900: divisible by 100 but not 400 โ†’ not a leap year.

Frequently Asked Questions

Why is 1900 not a leap year but 2000 is?

Century years must be divisible by 400 to be leap years; 1900 fails that test while 2000 passes.

How many days does a leap year have?

366, with the extra day added as February 29.

About the Author

This tool is built and maintained by John Britto, a Full-Stack Developer with over 5 years of experience building secure web applications. Our mission is to provide free, private, and reliable tools for everyone.