Leap Years Between Dates Calculator
List leap years within a selected interval.
--
How Leap Years Between Dates Calculator Works?
The Leap Years Between Dates Calculator works by testing every year from the start year to the end year and listing the years that pass the leap-year rule.
- 1
Enter the start date
Pick the earliest date. The year of this date is the first year tested.
- 2
Enter the end date
Pick the latest date. The year of this date is tested too.
- 3
Test each year
The calculator applies the divisible-by-4, 100 and 400 rules.
- 4
Read the list
The result lists each leap year and the count.
Leap Years Between Dates Calculator Formula
The Leap Years Between Dates formula is Count = L(Y₂) − L(Y₁ − 1), where L(Y) = ⌊Y/4⌋ − ⌊Y/100⌋ + ⌊Y/400⌋.
L(Y) = ⌊Y ÷ 4⌋ − ⌊Y ÷ 100⌋ + ⌊Y ÷ 400⌋ Leap Years in [Y₁, Y₂] = L(Y₂) − L(Y₁ − 1)
- L(Y):
- Leap years from year 1 to year Y
Example: From 1990 to 2026: L(2026) = 506 − 20 + 5 = 491 and L(1989) = 497 − 19 + 4 = 482, so there are 9 leap years: 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020, 2024.
Leap Years Between Dates Calculator Conversion Table
The table counts leap years in 6 year ranges.
| Range | Leap Years | First | Last |
|---|---|---|---|
| 2000–2026 | 7 | 2000 | 2024 |
| 2026–2050 | 6 | 2028 | 2048 |
| 1900–1999 | 24 | 1904 | 1996 |
| 2000–2099 | 25 | 2000 | 2096 |
| 1801–2000 | 49 | 1804 | 2000 |
| 2001–2400 | 97 | 2004 | 2400 |
What is Leap Years Between Dates Calculator?
A Leap Years Between Dates Calculator is a tool that lists every leap year inside a range of years or dates.
Most centuries hold 24 leap years. A century containing a year divisible by 400 holds 25, so 1901–2000 holds 25 leap years and 2001–2100 holds 24.
The list helps explain day counts. A 10-year span holds 2 or 3 leap years, giving 3,652 or 3,653 days.
What are the uses of Leap Years Between Dates Calculator?
There are 5 main uses of the Leap Years Between Dates Calculator: age-in-days checks, contract math, historical study, software tests and interest audits.
-
Age-in-days checks
People count leap years lived to verify age in days.
-
Contract math
Lawyers check leap years in long contracts.
-
Historical study
Historians list leap years between events.
-
Software tests
QA teams build test ranges that cross leap years.
-
Interest audits
Auditors check 366-day years in loan histories.
Related Calendar & Leap Years Tools
View All 141 Tools →Day Of Year Calculator
Find a date’s ordinal position within its year.
Day Of Year To Date Converter
Convert a year and ordinal day into a date.
Days In Month Calculator
Find the length of a selected month.
Days In Year Calculator
Find the length of a selected year.
Leap Year Checker
Check whether a Gregorian year is a leap year.
Leap Days Between Dates Calculator
Count February 29 dates within a range.