Date Range Overlap Calculator
Find dates shared by two intervals.
--
How Date Range Overlap Calculator Works?
The Date Range Overlap Calculator works by taking the later of the 2 start dates and the earlier of the 2 end dates. When that start is on or before that end, the ranges overlap.
- 1
Enter range A
Pick the first range's start and end.
- 2
Enter range B
Pick the second range's start and end.
- 3
Find the shared window
Overlap start = max of starts. Overlap end = min of ends.
- 4
Read the overlap
The result shows shared dates and the shared day count, or "no overlap".
Date Range Overlap Calculator Formula
The Date Range Overlap formula is Overlap Days = max(0, min(End A, End B) − max(Start A, Start B) + 1).
Overlap Start = max(Start A, Start B) Overlap End = min(End A, End B) Overlap Days = max(0, Overlap End − Overlap Start + 1)
- max, min:
- The later and the earlier of 2 dates
Example: Range A Mar 1, 2026–Mar 20, 2026 and range B Mar 15, 2026–Apr 5, 2026 overlap from Mar 15, 2026 to Mar 20, 2026: 6 days.
Date Range Overlap Calculator Conversion Table
The table checks 6 pairs of ranges for overlap (both boundaries included).
| Range A | Range B | Overlap | Days |
|---|---|---|---|
| Mar 1, 2026 – Mar 20, 2026 | Mar 15, 2026 – Apr 5, 2026 | Mar 15, 2026 – Mar 20, 2026 | 6 |
| Jan 1, 2026 – Jan 31, 2026 | Feb 1, 2026 – Feb 28, 2026 | None | 0 |
| Jan 1, 2026 – Dec 31, 2026 | Jun 1, 2026 – Jun 30, 2026 | Jun 1, 2026 – Jun 30, 2026 | 30 |
| May 10, 2026 – May 20, 2026 | May 20, 2026 – May 30, 2026 | May 20, 2026 – May 20, 2026 | 1 |
| Jul 1, 2026 – Aug 15, 2026 | Aug 1, 2026 – Sep 15, 2026 | Aug 1, 2026 – Aug 15, 2026 | 15 |
| Oct 1, 2026 – Oct 10, 2026 | Oct 15, 2026 – Oct 25, 2026 | None | 0 |
What is Date Range Overlap Calculator?
A Date Range Overlap Calculator is a tool that finds the dates shared by 2 date ranges.
2 ranges overlap in 1 of 4 ways: partial at the start, partial at the end, one inside the other, or touching on a single shared date. Ranges that end and start on consecutive days do not overlap.
Booking systems, leave planners and insurance checks rely on overlap tests.
What are the uses of Date Range Overlap Calculator?
There are 5 main uses of the Date Range Overlap Calculator: booking conflicts, leave clashes, coverage gaps, contract handovers and event planning.
-
Booking conflicts
Hotels and rentals check whether 2 bookings clash.
-
Leave clashes
Managers find overlapping leave requests.
-
Coverage checks
Insurers find overlapping policy periods.
-
Contract handovers
Teams check overlap between an outgoing and incoming contract.
-
Event planning
Organizers avoid overlapping festivals.
Related Date Ranges & Sets Tools
View All 141 Tools →Date Range Comparison Calculator
Compare the lengths of two date ranges.
Multiple Date Range Intersection Calculator
Find dates common to all supplied intervals.
Date Range Union Calculator
Combine ranges without double-counting dates.
Unique Days Counter
Count distinct days across overlapping intervals.
Date Range Gap Calculator
Find uncovered days between supplied intervals.
Date Range Exclusion Calculator
Remove selected dates or intervals from a range.