Home Everyday Life Leap Year Calculator

Leap Year Calculator

Check whether a year has a February 29, see the next leap year, and count the leap years in a range.

Advertisement

How it works

Type the year and the year to count up to. The page shows the days in the year, the days in February, the next leap year and how many leap years fall between the two years.

Advertisement

Formula

A year is a leap year when it divides by 4, unless it divides by 100, unless it also divides by 400.
Days in the year = 366 in a leap year, 365 otherwise.
Leap years from a to b = the count up to b minus the count up to a-1, using quarters, centuries and four-centuries.

Sources

Example

Year: 2,026; Count up to year: 2,100. Days in the year: 365

Frequently asked questions

Why is 1900 not a leap year?

Century years skip the leap day unless they also divide by 400. So 1900 and 2100 are not leap years, but 2000 was.

Does this work for old dates?

It is the Gregorian rule. Countries adopted it at different times, so dates before 1583 may not match the calendar people used then.

Advertisement

Related calculators

Age Calculator

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

Date Difference Calculator

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

Tip Calculator

Tip and split the bill between any number of people.

Discount Calculator

The price after a percent discount and how much you save.