Date Range Calculator

Count calendar days and split a date range by month. Paste two columns from Excel to calculate multiple ranges at once.

Date range

The first and last day each count. A same-day range counts as one day.

Days by month

Total17days

MonthDays in month
2024-0612
2024-075

How many days fall in each month?

June 19 through July 5, 2024 includes 12 days in June and 5 in July. With both dates included, the total is 17 days. The calculation includes weekends, leap days and calendar year boundaries.

How do same-day ranges and leap days work?

A same-day range counts as one day with both dates included, or zero when the end date is excluded. February 28 through March 1, 2024 includes two days in February and one in March.

How do I split multiple Excel date ranges by month?

Copy the start and end date columns without their headers and paste into Excel batch. Copy the results back to Excel to get one row per month for each range. Sum Days in month for monthly allocations. Total days repeats on every row of the same range. If the source dates use mixed formats, standardize dates with the Excel cleaner.