Leap Days Between Dates Calculator
Count February 29 dates within a range.
How the Leap Days Between Dates Calculator Works
The Leap Days Between Dates Calculator counts how many 29 February dates fall inside a date range.
Enter the start date
Enter the first date of the range.
Enter the end date
Enter the last date of the range.
List leap years
The calculator lists each leap year between the 2 years.
Check 29 February
The calculator counts each 29 February that sits between the 2 dates.
How the Count Is Calculated
The Leap Days formula counts leap years with an inclusion test on 29 February.
L(y) = floor(y ÷ 4) − floor(y ÷ 100) + floor(y ÷ 400)
Leap days ≈ L(End year) − L(Start year)
(adjust for whether 29 Feb of the end years falls inside the range)- L(y)
- Number of leap years from year 1 to year y.
- Adjustment
- Removes a 29 February before the start date or after the end date.
- Leap days
- Count of 29 February dates in the range.
Example: 1 January 2000 to 4 December 2026 holds the leap days of 2000, 2004, 2008, 2012, 2016, 2020 and 2024. The range contains 7 leap days.
Worked Examples
The table lists leap-day counts for sample ranges.
| Start | End | Leap days | Leap years |
|---|---|---|---|
| 1 Jan 2000 | 4 Dec 2026 | 7 | 2000–2024 |
| 15 Jun 1990 | 4 Dec 2026 | 9 | 1992–2024 |
| 4 Dec 2026 | 4 Dec 2036 | 3 | 2028, 2032, 2036 |
| 1 Jan 2026 | 31 Dec 2050 | 6 | 2028–2048 |
| 1 Jan 1901 | 31 Dec 2000 | 25 | 1904–2000 |
What the Tool Measures
A Leap Days Between Dates Calculator is a tool that counts the 29 February dates between 2 dates.
Each leap day adds 1 day to a span. A 10-year span holds 2 or 3 leap days, so 10 years equal 3,652 or 3,653 days.
When to Use This Tool
There are 4 main uses of the Leap Days Between Dates Calculator, including age checks and interest audits.
Age in days checks
People verify the leap days included in a lifetime day count.
Interest audits
Auditors check actual/actual interest over multi-year loans.
Contract math
Lawyers check whether a multi-year term crosses 29 February.
Software tests
Developers test date-difference code across leap years.