Everyday Life

Leap Year Calculator

Leap Year: leap year calculator allows you to check if the given year is a leap year and find all the leap years in a given range. Free, fast and private.

  • Practical everyday formula for Leap Year Calculator
  • Instant real-world reference & estimates
  • Interactive visual reference chart
  • Support for common household and daily units
  • 100% client-side execution with zero data telemetry
Calculator

Leap Year Check by Divisibility Rules

  1. 1

    Type a calendar year into the Your year field to run the divisibility test.

  2. 2

    The tool divides by 4 first and checks for a zero remainder as the basic condition.

  3. 3

    For years ending in 00, it also tests divisibility by 400 before deciding.

  4. 4

    Read Is it a leap year? for the Yes or No verdict; the internal codes are 0 and 1.

Examples

Good Examples

Checking 2020, not a century year

2020 / 4 = 505, so the answer is Yes

Checking century year 2000

Divisible by 400, so the answer is Yes

Bad Examples

Calling 1700 leap just because 4 divides it

1700 / 400 leaves a remainder, so No

Common Mistakes

  • Assuming every year divisible by 4 is leap, which wrongly marks century years like 1700 as leap.
  • Forgetting that a zero remainder after division by 4 is only the first of two required checks.
  • Confusing the numeric codes: 0 stands for Yes and 1 for No, the reverse of what many people expect.

Frequently Asked Questions

Q

Which code does the checker return for a leap year?

A leap year produces code 0, shown as Yes in the interface; code 1 marks an ordinary year and appears as No. Both values come straight from the divisibility test.

Q

Why does 1700 fail the leap year test?

It finishes in two zeros, so the century exception applies. Although division by 4 works, dividing by 400 leaves a remainder, and the rule requires both tests for such years.

Q

Does checking 2024 need the 400 rule?

No. Because 2024 does not finish with two zeros, only the division-by-4 condition matters; it divides evenly, so the tool reports Yes without any century check.