Consecutive Days Calculator
Identify uninterrupted runs of supplied dates.
--
How Consecutive Days Calculator Works?
The Consecutive Days Calculator works by sorting a list of dates and grouping dates that follow each other with no gap into runs.
- 1
Enter dates
Paste or type a list of dates.
- 2
Sort and deduplicate
The calculator orders the dates and removes repeats.
- 3
Group into runs
A date that is exactly 1 day after the previous date extends the current run.
- 4
Read the runs
The result lists each run, its length and the longest run.
Consecutive Days Calculator Formula
The Consecutive Days rule is Dateₖ joins the current run when Dateₖ − Dateₖ₋₁ = 1 day.
Run continues if Dₖ − Dₖ₋₁ = 1 New run starts if Dₖ − Dₖ₋₁ > 1 Longest Streak = max(run lengths)
- Dₖ:
- The k-th date after sorting
Example: The dates Mar 2, 3, 4, 6, 7, 10, 11, 12, 13 (2026) form 3 runs: Mar 2–4 (3 days), Mar 6–7 (2 days) and Mar 10–13 (4 days). The longest streak is 4 days.
Consecutive Days Calculator Conversion Table
The table groups 5 date lists into runs.
| Dates (2026) | Runs | Longest Run | Total Dates |
|---|---|---|---|
| Mar 2, 3, 4, 6, 7, 10, 11, 12, 13 | 3 | 4 days | 9 |
| Jan 1–7 (daily) | 1 | 7 days | 7 |
| Jun 1, 3, 5, 7 | 4 | 1 day | 4 |
| Dec 30, Dec 31, Jan 1 (2027) | 1 | 3 days | 3 |
| Feb 27, Feb 28, Mar 1 | 1 | 3 days | 3 |
What is Consecutive Days Calculator?
A Consecutive Days Calculator is a tool that finds uninterrupted runs of dates in a list.
Runs cross month and year ends. February 28 and March 1, 2026 are consecutive, since 2026 has no February 29.
Streaks drive habit apps and attendance rules. Some leave policies require a medical note after 3 or more consecutive sick days.
What are the uses of Consecutive Days Calculator?
There are 5 main uses of the Consecutive Days Calculator: habit streaks, sick leave rules, login streaks, weather runs and shift limits.
-
Habit streaks
People find their longest daily streak.
-
Sick leave rules
HR teams find runs of consecutive absence days.
-
Login streaks
Product teams measure consecutive active days.
-
Weather runs
Meteorologists find heatwave runs of hot days.
-
Shift limits
Managers check runs of consecutive working days.
Related Date Ranges & Sets Tools
View All 141 Tools →Date Range Comparison Calculator
Compare the lengths of two date ranges.
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.