Date Range Comparison Calculator
Compare the lengths of two date ranges.
--
How Date Range Comparison Calculator Works?
The Date Range Comparison Calculator works by counting the days in 2 date ranges and reporting the difference in days and as a percentage.
- 1
Enter range A
Pick the start and end dates of the first range.
- 2
Enter range B
Pick the start and end dates of the second range.
- 3
Count each range
The calculator counts days in each range with the same boundary rule.
- 4
Compare
The result shows which range is longer, by how many days and by what percentage.
Date Range Comparison Calculator Formula
The Date Range Comparison formula is Difference = Days(B) − Days(A) and Change % = Difference ÷ Days(A) × 100.
Days(X) = End(X) − Start(X) + 1 Difference = Days(B) − Days(A) Change % = (Days(B) − Days(A)) ÷ Days(A) × 100
- A, B:
- The 2 ranges
Example: Summer break 2026 (Jun 15, 2026–Aug 28, 2026) has 75 days. Summer break 2027 (Jun 21, 2027–Aug 27, 2027) has 68 days, so 2027 is 7 days shorter (-9.3%).
Date Range Comparison Calculator Conversion Table
The table compares 5 pairs of date ranges (both boundaries included).
| Range A | Days A | Range B | Days B | Difference |
|---|---|---|---|---|
| Jan 1, 2026 – Mar 31, 2026 | 90 | Apr 1, 2026 – Jun 30, 2026 | 91 | +1 |
| Jul 1, 2026 – Sep 30, 2026 | 92 | Oct 1, 2026 – Dec 31, 2026 | 92 | +0 |
| Feb 1, 2026 – Feb 28, 2026 | 28 | Feb 1, 2028 – Feb 29, 2028 | 29 | +1 |
| Jun 15, 2026 – Aug 28, 2026 | 75 | Jun 21, 2027 – Aug 27, 2027 | 68 | -7 |
| Jan 1, 2026 – Dec 31, 2026 | 365 | Jan 1, 2028 – Dec 31, 2028 | 366 | +1 |
What is Date Range Comparison Calculator?
A Date Range Comparison Calculator is a tool that measures 2 date ranges and shows how their lengths differ.
Comparisons work only with 1 shared boundary rule. Counting 1 range inclusively and the other exclusively adds a 1-day error.
Year-on-year comparisons need range comparison. A February sales period is 3.6% longer in a leap year (29 days against 28).
What are the uses of Date Range Comparison Calculator?
There are 5 main uses of the Date Range Comparison Calculator, including sales periods, school calendars and project phases.
-
Sales periods
Analysts compare promotion lengths across years.
-
School calendars
Parents compare term lengths between schools.
-
Project phases
Managers compare planned and actual phase lengths.
-
Leases
Tenants compare lease offers of different lengths.
-
Seasons
Resorts compare season lengths year on year.
Related Date Ranges & Sets Tools
View All 141 Tools →Date Range Overlap Calculator
Find dates shared by two intervals.
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.