Skip to main content
📆 Calendar

Leap Year Calculator

Enter any year to check whether it is a leap year, see exactly why under the divisible-by-4, 100 and 400 rules, and find the next leap year.

Leap or common
Shows the rule
Days in year & Feb
Next leap year
100% Free
📅 Open All Date & Time Calculators 📖 Read the Guide

Leap year — Quick answer

Divisible by 4 — but century years only if divisible by 400.

leap = (year % 4 = 0) AND (year % 100 ≠ 0 OR year % 400 = 0)

Worked example: 2024 ÷ 4 = 506, not a century → leap year, 366 days.

Examples

YearLeap?Why
2000Yes÷400
1900No÷100 not ÷400
2100No÷100 not ÷400

A leap year has 366 days; February gets a 29th day.

📆 Leap Year Calculator

Enter a year (e.g. 2024).

Leap year?
Days in year
Days in February
Next leap year

ℹ️ Gregorian rule: divisible by 4, but century years must also be divisible by 400.

A leap year has 366 days, with a 29th day added to February. Under the Gregorian rule a year is a leap year if it's divisible by 4 — except century years (divisible by 100), which are leap years only if they're also divisible by 400. This calculator shows the verdict, the reason, the days in the year and February, and the next leap year.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: Gregorian leap-year rule, recomputed in code.

The rule

Leap year if
(year ÷ 4 is whole) AND (year ÷ 100 is not whole OR year ÷ 400 is whole)

Most years that divide evenly by 4 are leap years. The exception is the turn of a century: 1700, 1800, 1900 and 2100 are not leap years even though they divide by 4, because they divide by 100 but not 400. Years like 1600, 2000 and 2400 are leap years, because they divide by 400. The correction keeps the calendar accurate to the Earth's orbit over centuries.

Worked examples

2024:

Ordinary leap
2024 ÷ 4 = 506, not a century → leap, 366 days

1900 vs 2000 (century years):

The 400 test
1900 ÷ 400 = 4.75 → common · 2000 ÷ 400 = 5 → leap

2100:

Next leap = 2104
2100 ÷ 100 = 21 but ÷ 400 = 5.25 → common year

So 2024 and 2000 are leap years, while 1900 and 2100 are common years of 365 days. After a non-leap century like 2100 the next leap year is just 2104.

Frequently Asked Questions

What is the leap year rule?

Divisible by 4, except centuries not divisible by 400. 2024 & 2000 leap; 1900 & 2100 not.

Is 2100 a leap year?

No — ÷100 but not ÷400, so it's a common year. Next century leap year is 2400.

Why do we have leap years?

Earth's orbit is ~365.2422 days. Feb 29 every ~4 years absorbs the extra quarter-day.

How many days in a leap year?

366 — one more than 365. February has 29 days instead of 28.

What is a leapling?

Someone born Feb 29. They usually celebrate on Feb 28 or Mar 1 in common years.

Need more time tools?

Explore age, date difference, weeks and months between dates and more across the AI Calculator date & time suite.

📅 Open Date & Time Calculators — Free

No registration required · 350+ calculators · PDF report export