Date Difference Calculator

Count elapsed or inclusive days between two dates, with a calendar breakdown and optional weekday total.

On-device No sign-up Free to use

Calculate controls

Showing an example. Edit to see your own.

?

Starts on today on your device. Change it to any real date from 0001-01-01 through 9999-12-31.

?

Counts both the start and end dates. Leave it off for elapsed days, such as hotel nights.

?

Excludes your selected weekend days and entered holiday dates.

More options
?

HH:mm or HH:mm:ss. Enter a time to calculate actual elapsed time in the selected zone. Blank means midnight when either time is supplied.

?

For example America/New_York. Calendar-day counts stay independent of clock changes.

?

0 Sunday, 1 Monday, through 6 Saturday. Use commas; blank counts every day.

?

YYYY-MM-DD, separated by lines or commas. Duplicate dates are counted once. No public holiday list is assumed.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Measure the elapsed calendar span from New Year’s Day to 8 October.

From January 1, 2026 to October 8, 2026 is 280 days (9 months and 7 days).

https://usefreetools.net/date-difference-calculator · 20 November 2026

Was this helpful?

How to use Date Difference Calculator

  1. Choose Start date and End date. If they are reversed, the tool swaps them and notes the change.
  2. Leave Include the end date in the total off for elapsed days, such as hotel nights. Turn it on to count both calendar dates.
  3. Leave Also count business days selected, choose weekend days and enter holiday dates when needed.
  4. Read the day count and elapsed years/months/days breakdown. The inclusive option changes the day total, not that elapsed breakdown.

Example: Date Difference Calculator

Measure the elapsed calendar span from New Year’s Day to 8 October.

You add
Start date: 2026-01-01; End date: 2026-10-08; Include the end date in the total: false; Also count weekdays (Monday to Friday): true
You get
From January 1, 2026 to October 8, 2026 is 280 days (9 months and 7 days).

Options

Include the end date in the total
Counts both dates by adding one day to the total, and adds a weekday too only when the end date falls Monday to Friday. The elapsed years, months and days between the dates stay the same. Leave it off for hotel nights; use it when the final date counts as a full day.
Also count weekdays (Monday to Friday)
Drops your selected weekend days and entered holiday dates. No public holiday calendar is assumed.
Start date and End date
YYYY-MM-DD with a calendar picker. If the end date is earlier, the tool swaps the pair and says so.
Optional times and IANA zone
Enter either time to show signed actual elapsed hours and minutes in the selected IANA zone. Blank times mean midnight. Choose the earlier or later occurrence of repeated local times. Nonexistent clock times are refused.
Your weekends and holidays
Weekend numbers run from 0 Sunday to 6 Saturday. Enter holiday dates as YYYY-MM-DD. Duplicate holidays and holidays already on excluded weekends are counted once.

Supported inputs and limits

  • Uses calendar dates from 0001 through 9999 and a maximum span of 3,660,000 days.
  • Earlier end dates are swapped into order.
  • Calendar-day hours and minutes multiply counted days by 24 and 1,440.
  • Optional entered clock times add a separate actual interval in the selected IANA zone.
  • Business days exclude your weekend and holiday entries.
More details

Leap days count 29 February dates inside the chosen interval; the end date counts only when included.

The default end date is today on your device.

Actual elapsed clock time is separate from the inclusive calendar-day option and keeps the entered start/end direction.

Calendar arithmetic remains independent of daylight saving.

Public holidays are used only when you enter them.

Actual IANA-zone clock intervals support years 1970 through 2100; calendar-only counts keep the wider range.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Why the same two dates can give two answers

A hotel stay from 1 January to 2 January covers one night, while an event taking place on both dates covers two calendar dates. The inclusive switch adds one to the counted days. It does not add a day to the displayed elapsed years, months and days. For a contract or filing deadline, first establish the required endpoint and holiday rules; this calculator does not determine those rules for you.

Questions about Date Difference Calculator

Should I include the end date or not?

From 1 January to 2 January is one elapsed day, such as one hotel night. Counting both dates gives two calendar days. Use the convention required by your event, booking or document rather than assuming every deadline counts the same way.

Does a daylight saving change affect the count?

No. The tool compares calendar dates, so the spring forward and autumn back days still count as one day each.

How is the weekday figure worked out?

Saturdays and Sundays are removed. From 1 January to 15 April 2026 that leaves 74 weekdays out of 104 days. Public holidays are subtracted only when you enter their dates.

What happens in a leap year?

The extra 29 February counts like any other day, and the result lists how many leap days fall inside the range.

Page updated · Project managed by Tony Hines · Report a problem with Date Difference Calculator

Related reading

All guides