Leap Year Calculator

Updated July 2026

Enter any year to check whether it is a leap year — and see exactly which rule applies, the next and previous leap years, how many days that year has, and how many days are in February. Everything runs privately in your browser.

A year is a leap year if it is divisible by 4, except century years (divisible by 100) which must also be divisible by 400. In short: divisible by 4 AND (not divisible by 100 OR divisible by 400). Leap years have 366 days and a 29-day February.
Enter any year, for example 2024, 1900 or 2000.
Result

Enter a year above to check it.

Days in year
Days in February
Divisible by 4
Divisible by 100
Divisible by 400
Year type
Previous leap year
Next leap year
Next 5 leap years

How this leap year calculator works

A leap year has 366 days instead of the usual 365, with the extra day added to the end of February so that month runs to 29 days. Leap years exist because the Earth takes about 365.2425 days to orbit the Sun — slightly more than a whole number of days. Adding a leap day roughly every four years keeps the calendar dates lined up with the seasons.

The rule is not simply "every four years". A year is a leap year when it is divisible by 4, except for years divisible by 100, unless they are also divisible by 400. Put as one test: a year is a leap year if it is divisible by 4 and (not divisible by 100 or divisible by 400). This calculator applies that test and tells you exactly which part of the rule decided the answer.

Worked examples: 2000 is a leap year because it is divisible by 400. 1900 is not a leap year because it is divisible by 100 but not by 400. 2024 is a leap year because it is divisible by 4 and not by 100. 2100 is not a leap year for the same reason as 1900.

Reference: 2000 ✓ (divisible by 400), 1900 ✗ (divisible by 100, not 400), 2024 ✓ (divisible by 4, not 100), 2100 ✗ (divisible by 100, not 400). Calculations use the proleptic Gregorian calendar.

Frequently asked questions

What is a leap year?
A leap year is a year with 366 days instead of 365, with an extra day added to February so it has 29 days. The extra day keeps the calendar aligned with the Earth's orbit around the Sun, which takes about 365.2425 days.
How do you calculate a leap year?
A year is a leap year if it is divisible by 4, except for years divisible by 100 — unless they are also divisible by 400. In short: divisible by 4 AND (not divisible by 100 OR divisible by 400).
Why is 2000 a leap year but 1900 is not?
Both are divisible by 100, which would normally skip the leap day. But 2000 is also divisible by 400, so the exception is overridden and it is a leap year. 1900 is not divisible by 400, so it stays a common year with 365 days.
Is 2024 a leap year?
Yes. 2024 is divisible by 4 and not divisible by 100, so it is a leap year with 366 days and a 29-day February.
Why do we have leap years?
A solar year is roughly 365.2425 days, not a whole number. Without leap years the calendar would drift about a quarter of a day per year and the seasons would slowly move out of step with the dates. A leap day roughly every four years keeps things in sync.
When is the next leap year?
Leap years generally occur every four years — 2024, 2028, 2032, 2036 — but century years not divisible by 400, such as 2100, are skipped. Enter a year above to see the next and previous leap years instantly.
⚡ Leap Year Calculator — by larely ↗

Related tools

Date Add / Subtract Calculator

Add or subtract years, months, weeks and days from any date.

Military Time Converter

Convert between 12-hour and 24-hour time, with a full chart.

Day of the Week Calculator

Find the day of the week for any date, plus week number and days from today.

Time Calculator (Add & Subtract)

Add and subtract time durations in days, hours, minutes and seconds.

Recurring Date Generator

List repeating dates — every N days, weekly, biweekly, monthly or yearly.

Schengen 90/180 Calculator

Track your Schengen days and see how long you can stay under the 90/180-day rule.

Business Days Calculator

Count business days between dates or add working days, excluding weekends and public ho…

Age Calculator

Your exact age in years, months and days, plus days until your next birthday.

Date Duration Calculator

Days, weeks, months and business days between any two dates.

Countdown Timer

Live countdown to any date and time, with a shareable link.

Time Zone Converter

Convert a time across world cities and plan meetings across time zones.

Jet Lag Calculator

Estimated recovery time and adjustment tips by time zones crossed .

Browse all 251 free tools →