Date Difference Calculator

Calculate the exact difference between two dates in years, months, and days, plus the total in weeks, days, business days, hours, minutes, and seconds.

Difference
In weeks
In days
In business days
In hours
In minutes
In seconds

ToolsSoup's Date Difference Calculator is a free online tool that tells you exactly how much time lies between two dates. Pick a start date and an end date and instantly see the gap as years, months, and days, plus the equivalent in total weeks, days, business days, hours, minutes, and seconds. Need an inclusive count that includes the final day? Just tick the box. Everything runs in your browser — no uploads, no sign-up, and your dates never leave your device.

What is a date difference calculator?

A date difference calculator measures the span between two calendar dates and expresses it in human-readable units. Instead of counting on a calendar or doing error-prone arithmetic, it returns a calendar-accurate result — years, months, and days — that correctly accounts for months of different lengths and for leap years. It also converts the same span into a running total of weeks, days, business days, hours, minutes, and seconds, which is handy for deadlines, contracts, anniversaries, and project planning.

How to calculate the difference between two dates

Finding the number of days between two dates takes only a moment — the result updates the instant you change a field:

  1. Enter the earlier date in the start date field.
  2. Enter the later date in the end date field (it defaults to today).
  3. Optionally tick "Include the end date" if you want the final day counted as well.
  4. Read the difference in years, months, and days, then check the totals in weeks, days, business days, hours, minutes, and seconds.

Inclusive vs. exclusive date counting

By default this tool counts the number of full days between the two dates, so the start day is not counted twice — for example, from the 1st to the 4th is 3 days. This is the right answer for durations like "how long until the deadline." When you need to count both endpoints — such as the total number of days you will be on a trip, including both the arrival and departure day — tick "Include the end date in the count" and the totals add one extra day.

How are business days counted?

The business days figure counts only Monday through Friday within the span, skipping every Saturday and Sunday. It is a quick way to estimate working time between two dates for scheduling and SLAs. Note that it does not subtract public holidays, since those vary by country and region, so treat it as a weekday count rather than a holiday-adjusted working-day total.

Why use this date difference calculator?

  • Shows the gap between two dates in exact years, months, and days, not just a rounded number.
  • Breaks the span down into total weeks, days, business days, hours, minutes, and seconds.
  • Optional inclusive mode counts both the start and end dates when you need it.
  • Handles leap years and months of different lengths automatically.
  • Runs entirely in your browser — your dates are never uploaded to a server.
  • 100% free with no ads, sign-up, or limits, and a one-click clear to start over.

Frequently asked questions

How do I calculate the number of days between two dates?

Enter a start date and an end date and the tool instantly shows the difference in days, along with years, months, weeks, hours, minutes, and seconds. By default it counts the full days between the two dates; tick the inclusive option to count both endpoints.

Does the calculator count the end date?

By default no — it counts the number of full days between the two dates, so the start day is not double-counted. If you want both the start and end day included (for example, the total days of a trip), tick "Include the end date in the count" and the totals will add one extra day.

Does it account for leap years?

Yes. Because it works with real calendar dates rather than a fixed 365-day year, leap years and months of different lengths are handled automatically, so the day, month, and total counts stay accurate.

How are business days calculated?

Business days count only weekdays — Monday through Friday — within the range and skip weekends. They do not subtract public holidays, which differ by country, so the figure is a weekday count rather than a holiday-adjusted working-day total.

Are my dates kept private?

Yes. All calculations run locally in your browser using JavaScript, so the dates you enter are never sent to or stored on any server.