TodayMonday, October 5, 2026
Date calculators

Date Range Overlap Calculator

Navjeet Kamboj
Created and maintained by Navjeet Kamboj
Author & editor · Age Calculator Lab
Date calculators · browser calculation

Date Range Overlap Calculator

Compare two date ranges and see their shared dates, overlap length and endpoint convention.

How to useCalculation methodRead the resultWorked exampleImportant conventionsFAQs

How to use date range overlap calculator

  1. Enter both ranges in ascending order.
  2. Select whether each ending date is part of its range.
  3. Calculate and review the shared start, shared end and overlap count.

Compare two date ranges and see their shared dates, overlap length and endpoint convention.

How the result is calculated

Overlap days = max(0, min(adjusted ends) − max(starts))

The calculator validates the required dates, units and range before producing a result. Keep the inputs and the selected convention with the output so another person can reproduce it.

Read all calculation conventions

How to read your result

Keep the inputs and conventions beside the answer. These values explain what the result measures.

Result fieldMeaning
Overlap countThe number of shared named dates under the selected endpoint convention.
First and last shared datesThe real overlap boundaries, shown only when the shared count is positive.
End-date choiceThe same include-or-exclude rule applied to both input ranges.
WORKED EXAMPLE

A shared endpoint depends on your convention

January 1–5 and January 5–10, 2027 share January 5 under inclusive date counting. With both end dates excluded, they have no shared dates.

Try the example in the calculator above. Change one input at a time and compare the target, interval and selected rules. For a longer explanation read Date Ranges: Overlap, Shared Endpoints and Midpoints.

Conventions to keep with your result

Each range uses the same endpoint convention. Date ranges count named calendar dates, not partial-day reservations. Enter timestamps in the time tools for hourly bookings.

Current dates keep moving forward. Today follows the selected calendar time zone. Rule-based Gregorian dates are generated for the requested year. A fixed input remains the visitor's chosen date. External holiday records require coverage for that year.

Date Range Overlap Calculator: frequently asked questions

What if the ranges do not intersect?

The tool reports zero overlapping dates instead of a negative overlap.

Does touching at an endpoint count?

Only when the ending dates are included.

Can one range contain the other?

Yes. The overlap is the smaller contained range under the selected convention.

Learn the method

All guides

Keep exploring

View the tool library
Navjeet Kamboj, author at Age Calculator Lab
About the author

Navjeet Kamboj

Author & editor · Age Calculator Lab

Navjeet Kamboj is the author and editor of Age Calculator Lab. He focuses on making age, date, milestone and planning calculations easier to understand through clearly explained methods, practical examples and responsible limitations.