Date Difference Calculator - Days Between Two Dates

Measure the exact duration between two calendar dates in days, weeks, years/months/days, and Monday–Friday business days. Toggle whether to include the end date, or add and subtract days from any starting date.

Date Difference Calculator

How to use the Date Difference Calculator

  1. 1Select your Start Date and End Date in the top date pickers (reversed dates swap automatically so durations remain positive).
  2. 2Check Include end date (+1 day) if you want an inclusive count covering both the start day and end day.
  3. 3Read Total Days, Weeks + Days, Calendar Years/Months/Days, and Business Days (M–F), then click Copy Summary if needed.
  4. 4Scroll to the Add or Subtract Days card below to add or subtract any whole number of days from a base date and copy the shifted YYYY-MM-DD result.

What the Date Difference Calculator does

Using midnight UTC date arithmetic inside your browser so daylight saving shifts never skew day counts, the tool runs two calculations:

  • Computes Total Days = Math.round((End UTC ms - Start UTC ms) / 86,400,000) + (Include End Date ? 1 : 0), and formats whole weeks plus remaining days.
  • Computes elapsed calendar Years, Months, and Days between the ordered start and end dates.
  • Counts Business Days by stepping through the interval and counting Monday through Friday weekdays without assuming or subtracting public holidays.
  • Provides an Add or Subtract Days shifter (+ Add or - Subtract) plus a Copy button and an explicit Formula Box underneath.

Example

Sample dates (Include end date: off)
Start Date: 2026-01-01 | End Date: 2026-01-15
Calculated interval results
Total Days: 14 | Weeks + Days: 2w 0d | Calendar: 0y 0m 14d | Business Days (M–F): 10

Checking Include end date (+1 day) increases Total Days to 15 and Business Days (M–F) to 11 because Thursday January 15 is counted as part of the span.

Frequently asked questions

Does the Date Difference Calculator count the end date?

By default, no—it counts elapsed days from Start Date up to End Date (for example, Jan 1 to Jan 2 is 1 day). Check Include end date (+1 day) if you want an inclusive count that includes both dates.

How are business days counted?

The calculator steps through every day in your interval and counts Monday through Friday (weekdays) while skipping Saturdays and Sundays. It does not subtract national or local public holidays.

How can I add or subtract days from a specific date?

Use the Add or Subtract Days panel below the metrics: choose a Base Date, pick + Add or - Subtract, enter the number of days, and the resulting YYYY-MM-DD date appears right beside it.

What happens if I put an End Date earlier than the Start Date?

The calculator automatically orders the earlier and later dates before measuring the interval so you always see a positive duration.

Related tools

View All Tools