Free Date Difference Calculator

Free date difference calculator: find the exact gap between two dates in years, months, days, hours and minutes. Handy for planning, deadlines and events.

  • No upload, 100% private
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideHow to Count Days Between Two Dates (Inclusive, Exclusive, Weekdays) →

About the Date Difference Calculator tool

How many days until a deadline, how long a project ran, or how many working days fall between two dates? Counting on a calendar is slow and easy to get wrong. This date difference calculator gives the gap between any two dates as years, months and days, plus total days, weeks, weekdays, hours and minutes.

The result counts whole calendar years and months first and then the remaining days, which is how people normally describe durations. You can also include the end date, which adds one day and is what you want for things like leave applications, hotel stays counted inclusively or rental periods. The weekday count includes Monday to Friday only; public holidays are not removed because they differ by state and company.

If you enter the dates in the wrong order, the calculator swaps them automatically and tells you. The start date defaults to 1 January of the current year and the end date to today, so you can see how far into the year you are straight away. Everything runs in your browser, so it is quick and private.

How to use Date Difference Calculator

  1. Pick the “Start date”.
  2. Pick the “End date”, or click “Set end date to today”.
  3. Tick “Include the end date (add 1 day)” if both dates should be counted.
  4. Read the duration, total days, weeks, weekdays, hours and minutes in the result panel.

Features

Years, months and days

Shows the gap the way people say it, such as 1y 4m 12d.

Weekday counter

Counts Monday-to-Friday days for working-day estimates.

Inclusive option

Add the end date to the count when both days should be included.

Automatic swap

Dates entered in reverse order are swapped instead of giving an error.

When to use it

  • Count the days left until an exam, wedding or visa appointment.
  • Calculate notice periods and the length of service for relieving letters.
  • Estimate working days available for a project.
  • Work out the number of nights or days for a trip or rental.
  • Check how many days a payment is overdue.

Frequently asked questions

How do I count the days between two dates?

Enter both dates and read “Total days”. For example, 1 January to 31 December in a non-leap year is 364 days, or 365 if you include the end date.

Should I include the end date?

Include it when both the first and last day count, such as leave from 3 to 7 March (5 days). Leave it off for elapsed time, such as the number of nights in a stay.

Does the weekday count skip holidays?

No. It excludes Saturdays and Sundays only. Subtract public holidays for your state or company yourself.

Are leap years handled?

Yes. The calculation uses real calendar dates, so 29 February is counted when it falls in the range.

How are hours and minutes calculated?

They are total days × 24 and total days × 1,440, based on whole days from midnight to midnight.

How many weeks are between two dates?

Divide the total days by 7. The calculator shows this as whole weeks plus the remaining days, for example 10 weeks 3 days.

Related tools