Skip to main content

Date Range Calculator

Understand a date range with calendar-day totals, optional business-day counting, and inclusive/exclusive start/end rules.

Calendar days in range

Example

31 days

Based on

Start date
2025-08-01
End date
2025-08-31
Counting
Inclusive (start and end included)

Date range from 2025-08-01 to 2025-08-31 using inclusive (start and end included) counting.

More detail

Range valid
Yes

Next step: Days Between Dates

When to use this calculator

Use this calculator whenever the exact counting method matters—whether boundary dates count toward a total, and whether you need both a calendar-day and business-day figure for the same range.

  • Project schedules

    Measure a project window and compare calendar-day duration with weekday-only execution time.

  • Payroll periods

    Validate how many days are in a pay period and whether boundary dates are included by policy.

  • Reporting windows

    Count monthly or weekly reporting ranges with explicit inclusive or exclusive boundaries.

  • Billing periods

    Check service windows and invoice periods when agreements define boundary-date behavior.

  • Business deadlines

    Estimate both total calendar span and business-day span in the same date range.

Inputs

  • Start date and end date

    The two dates bounding the range.

  • Include start date / Include end date

    Whether each boundary date counts toward the total.

  • Business-day totals

    Optionally show a weekday-only total for the same range, with weekend exclusion and optional US federal holiday exclusion.

How the calculation works

Enter a start date and end date, then choose whether to include the start and end boundaries. Inclusive counting includes selected boundary dates; exclusive counting removes selected boundaries before totals are calculated.

Calendar days are always shown for the selected range method. You can optionally show business-day totals for the same adjusted range, with weekend exclusion and optional sample US federal holiday exclusion.

Worked example

Start date: 1 March 2025. End date: 31 March 2025. Both boundaries included.

Calendar days (inclusive): 31 days.

With both boundaries excluded instead, the calendar-day total drops to 29 days.

Business-day total for the same inclusive range (weekends excluded, no holidays): 21 business days.

Edge cases

  • Both boundaries excluded on adjacent dates

    A range where start and end are consecutive days, with both boundaries excluded, produces a total of 0 days—there is no day strictly between them.

  • Mixed inclusion settings

    Including only the start date or only the end date (not both) shifts the total by exactly one day compared to including both or neither.

  • Business-day total exceeding calendar days

    Business-day totals are always less than or equal to the calendar-day total for the same range, since business days is a subset excluding weekends.

The Business Days vs Calendar Days Guide explains when weekends and holidays count and which day type applies to deadlines, invoices, and contracts.

The How Business Days Are Calculated Guide and Business Days Between Dates Guide cover the counting rules behind every business-day tool on this site.

The Business Days Calculator and Working Days Calculator count weekdays between two known dates, excluding weekends and optional US federal holidays.

The Add Business Days To Date, Subtract Business Days From Date, and Business Day Offset calculators move a single date forward or backward by a business-day count.

The Business Days Until Date Calculator counts business days remaining from today or a custom date to a target deadline.

The Days Between Dates Calculator counts every calendar day between two dates, including weekends—use it instead of the business-day tools when weekends should count.

The Date Range Calculator and Date Duration Calculator break a range into calendar-day totals or a years/months/days breakdown, with inclusive or exclusive boundary options.

The Add or Subtract Days Calculator shifts a single date forward or backward by days, weeks, or months.

The Age Calculator applies the same calendar breakdown used by Date Duration to a birth date, expressed as years, months, and days.

The Hours Between Dates and Date Difference calculators measure elapsed time between two date-times down to hours, minutes, and seconds.

The Date Format Converter, Unix Timestamp Converter, and Timezone Converter handle format and zone conversion for a single instant rather than a span between two dates.

FAQ

How do I calculate a date range?
Enter the start and end dates, then choose whether the start date and end date are included. The calculator returns calendar days for that method, plus optional business-day totals.
Should the start date be included?
Include the start date when your policy says counting begins on day one of the start date. Exclude it when counting starts on the next day.
What is an inclusive date range?
An inclusive range counts selected boundary dates as part of the total. If both start and end are included, both dates contribute to the result.
Can I count only business days?
Yes. Enable business or working-day counting to see weekday totals for the same range. You can optionally exclude the sample US federal holiday list as well.
How is this different from Days Between Dates?
Days Between Dates gives one calendar-day count with a fixed exclusive-of-endpoint convention. This calculator adds explicit inclusive/exclusive controls and an optional business-day total for the same range.