Leap Year Calculator

Check if any year is a leap year and find upcoming leap years instantly.

Enter a year to check

Documentation

The Leap Year Rule

The Gregorian calendar uses a 400-year cycle. A leap year adds one February 29 to keep the calendar synchronized with Earth's ~365.2422-day orbit around the Sun.

Algorithm

IF (year % 4 == 0)

AND NOT (year % 100 == 0)

OR (year % 400 == 0)

THEN leap year

Disclaimer: Based on the Gregorian calendar system.

Frequently Asked Questions
Coursera AI Professional CertificateSponsored