Date & Time Tools

Date Difference Calculator

Calculate total days, working business days (Mon-Fri), and time spans between any two calendar dates.

  • Free
  • No sign-up
  • Runs in your browser

Date Difference

Date Difference Calculation Result
-- Days
Total Calendar Days
--
Working / Business Days
--
Years, Months & Days
--
Weeks & Days
--
Total Elapsed Hours
--

Runs in your browser. Your inputs never leave your device.

Quick Answer

To calculate the duration between two dates, pick your start date and end date, then select whether to include or exclude the final day. The calculator provides total calendar days, business days, weekends, weeks, and months. All calculations run client-side in UTC, preventing daylight saving time errors.

How to Use

  1. Enter Start and End Dates. Select your starting date and ending date from the calendar input fields.
  2. Select Inclusive Option. Optionally check 'Include end date in the count' if your calculation requires counting both boundary days.
  3. View Detailed Breakdown. View total calendar days, working business days (Mon–Fri), weekend days, and breakdown into years, months, and weeks.

How & When to Use the Date Difference Calculator

Knowing the exact duration between two calendar dates is valuable for:

  • Payroll & Billing Timesheets: Determine billable working days between project start and completion dates.
  • Commercial Real Estate & Leases: Calculate exact tenancy durations, rent proration, or security deposit return windows.
  • Legal & Compliance Deadlines: Track statutory response windows, court filing deadlines, or statute of limitations timeframes.
  • Travel Itinerary & Accommodation: Verify hotel stay night counts (exclusive) vs. total travel activity days (inclusive).

Date Span & Duration Formula

Duration = (End Date UTC ms - Start Date UTC ms) / 86,400,000 ms [± 1 day if inclusive]

Calendar duration measures whole 24-hour UTC day intervals between two dates. When inclusive mode is selected, 1 day is added to count both boundary days. Business days evaluate each individual day in the span, tallying Mondays through Fridays and skipping weekend days.

Worked Examples

Standard Work Month (Exclusive)

Start Date: October 1, 2026 (Thursday) · End Date: October 31, 2026 (Saturday) · Inclusive: No

  1. Compute calendar day interval: 30 days
  2. Count Monday through Friday business days: 22 days
  3. Count weekend days: 8 days (4 full weekends)

Result: 30 Total Days (22 business days, 8 weekend days, 4 weeks and 2 days)

Inclusive Event Duration (Conference / Rental)

Start Date: November 1, 2026 (Sunday) · End Date: November 5, 2026 (Thursday) · Inclusive: Yes

  1. Compute raw interval: 4 days
  2. Add 1 day for inclusive boundary: 5 days
  3. Count working days (Mon-Thu): 4 business days, 1 weekend day (Sunday)

Result: 5 Total Days (4 business days, 1 weekend day, 120 hours)

Cross-Quarter Duration Across Year Boundary

Start Date: December 15, 2025 (Monday) · End Date: March 15, 2026 (Sunday) · Inclusive: No

  1. Compute calendar days across year boundary: 90 days
  2. Decompose into calendar months: exactly 3 months (0 remaining days)
  3. Tally working days: 65 business days, 25 weekend days

Result: 90 Total Days (3 months, 12 weeks and 6 days, 2,160 hours)

Common Mistakes to Avoid

  • The Fencepost Problem (Inclusive vs. Exclusive): A hotel stay from Friday to Sunday is 2 nights (exclusive), but spans 3 calendar days (inclusive). Omitting clear boundary definitions causes booking discrepancies.
  • Treating Business Days as an Approximate 5/7 Fraction: Working days cannot be approximated as 5/7 of calendar days because weekend boundaries dramatically shift working day tallies in short ranges.
  • Assuming Public Holidays Are Excluded: The business day counter filters Saturdays and Sundays. Statutory national and provincial holidays vary by jurisdiction and are not automatically removed.
  • Local Timezone Clock Shifts: Calculating day differences using local midnight timestamps can introduce 23-hour or 25-hour errors during Daylight Saving Time switches.

Frequently Asked Questions

How do I find the difference between two dates?

Enter the start date and the end date. The calculator counts the calendar days between them and breaks the result into years, months, weeks and business days. From March 1, 2026 to November 19, 2026 is 263 days: 8 months and 18 days, or 37 weeks and 4 days, with 188 weekdays. Tick 'Include end date in the count' to count both dates.

What is the difference between calendar days and business days?

Calendar days include all 7 days of each week (Monday through Sunday), whereas business days count only standard working days from Monday through Friday, excluding weekend days.

When should I check 'Include end date in the count'?

Check this option if your activity or rental includes both boundary days. For example, a business conference taking place from Monday to Wednesday spans 3 full event days (inclusive), but is 2 days duration if measuring elapsed time (exclusive).

What happens if I enter an end date that occurs before the start date?

The calculator detects reversed dates, swaps them to compute the positive span, and shows a helpful notice indicating that the dates were ordered automatically.

How are leap years handled in multi-year durations?

Calculations run on UTC midnight timestamps and evaluate each leap day (February 29th) that occurs within the range, ensuring that 366-day years are counted with complete precision. If a day does not exist in a month (for example the 31st), the last day of that month is used.

Is any of my date data sent to an external server?

No. All date arithmetic executes entirely in your web browser. No dates are transmitted or stored remotely.

Can I use this tool to calculate business days for invoicing?

Yes. The business day count gives the exact number of non-weekend days between the start date and the end date, ideal for net-30 payment or SLA tracking.

How does the tool break down days into months and weeks?

It computes whole elapsed calendar months first, then expresses the remainder in weeks and excess days, as well as providing absolute total days and hours.

Sources & References