Skip to main content
Toolbox
Time

Leap Year Checker

Verify whether any calendar year is a leap year and explore Gregorian calendar leap year mathematical rules.

Quick Answer & Summary

A leap year occurs every 4 years and contains 366 days instead of 365 (adding February 29). The Gregorian rule: A year is a leap year if divisible by 4, unless it is divisible by 100, in which case it must also be divisible by 400 (e.g. 2000 was a leap year, 1900 was not).

Leap Year Boolean Logic
isLeapYear = (year % 4 === 0 && year % 100 !== 0) || (year % 400 === 0)

Accounts for the astronomical 365.2422-day tropical year orbit.

2026 is not a leap year.

This is a common calendar year with 365 days.

Upcoming Leap Years

2028
2032
2036
2040
2044
2048
2052
2056

What is the Leap Year Rule?

A leap year aligns our 365-day calendar with Earth's 365.2422-day solar orbit:

  • The year must be evenly divisible by 4.
  • If divisible by 100, it is NOT a leap year...
  • Unless the year is also divisible by 400 (e.g., 2000 was a leap year; 1900 was not).

Share This Tool

Help your team and fellow developers save time with free, private client-side utilities.

TB
Toolbox Editorial TeamVerified Authors

Systems & Security Engineers • Applied Cryptography & High-Performance Web Tools

Updated:
100% In-BrowserZero server storage
Standards AuditedRFC & ISO compliant
Peer ReviewedEditorial Policy
Documentation & Guide

How to Use Leap Year Checker

1

Enter Any Year

Type any 4-digit or historical year into the checker box.

2

Instant Verification

See an immediate visual indicator of whether the year has 365 or 366 days.

3

View Upcoming Leap Years

Browse the next upcoming leap years in the schedule table below.

Pro Tips
Century years (1800, 1900, 2100) are common years unless divisible by 400

Practical Examples & Conversions

Input
Year 2024
Output
Leap Year (366 days)

Frequently Asked Questions (PAA)

Related Tools & Converters

Authoritative Standards & Citations

Calculations and algorithms on this page are implemented and verified in strict accordance with the following official technical specifications: