Date Difference Calculator

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

Calculate Date Difference

Find the difference between two dates.

Date Difference 45 days
0 years
1 month and 14 days
6 weeks and 3 days
45 days
1,080 hours
64,800 minutes
3,888,000 seconds

Quick Examples

Try these common date calculations

How to Calculate the Difference Between Two Dates

To calculate the difference between two dates, compare the start date with the end date and count the amount of time between them.

For example, the difference between January 1 and February 15 is 45 days.

That same time period can also be shown as 1 month and 14 days or 6 weeks and 3 days.

This calculator does the conversion automatically and shows the result in several different time units.

What Does the Date Difference Result Mean?

The same date range can be expressed in different ways depending on what you need.

  • Years, months and days — shows the difference using calendar units.
  • Weeks and days — useful for schedules, plans and shorter time periods.
  • Total days — shows the complete number of days between the two dates.
  • Hours, minutes and seconds — converts the total difference into smaller units.

Date Difference Examples

Start DateEnd DateTotal Days
January 1January 3130 days
January 1February 131 days
March 1March 1514 days
June 1July 130 days
January 1December 31364 days

The exact number of days can vary depending on the months involved and whether the period includes a leap year.

Total Days vs. Years, Months and Days

Total days tells you exactly how many full days are between two dates.

Years, months and days expresses the same period using calendar units, which can be easier to understand for longer date ranges.

For example, a date difference might be shown as 45 total days and also as 1 month and 14 days.

Both describe the same time span, but they are useful for different purposes.

Does the Date Difference Include the Start Date?

Date difference calculations normally measure the elapsed time from the start date to the end date.

For example, from January 1 to January 2 there is a difference of 1 day, even though two calendar dates are involved.

If you need to count both the start date and the end date as full calendar days, add 1 to the total number of days.

When Is a Date Difference Calculator Useful?

A date difference calculator can help whenever you need to measure exactly how much time separates two calendar dates.

  • counting days between two dates;
  • tracking deadlines and due dates;
  • planning trips, events and holidays;
  • measuring project timelines;
  • checking how long ago something happened;
  • comparing historical or future dates.

Popular Calculators

Age Calculator

Calculate your exact age from your date of birth

Open calculator

Percentage Calculator

Calculate percentages instantly

Open calculator

Discount Calculator

Calculate sale prices and savings

Open calculator

Tip Calculator

Calculate tips and split bills easily

Open calculator

100% free

All tools are completely free

No login required

No sign up. No downloads. Just open and use.

Instant results

Get accurate results in seconds.

Works everywhere

Works on desktop, tablet and mobile devices.

FAQ
How do you calculate the difference between two dates?
Choose a start date and an end date and calculate the elapsed time between them. The result can be expressed as years, months, weeks, days, hours, minutes or seconds.
How many days are there between two dates?
The number of days depends on the exact dates selected. For example, there are 31 days between January 1 and February 1.
Does the date difference include the start date?
Usually, no. Date difference measures elapsed time. From January 1 to January 2 is therefore 1 day. To count both calendar dates inclusively, add 1 day.
Why can months have different numbers of days?
Calendar months contain 28, 29, 30 or 31 days. Because of this, a result expressed in months and days may not convert into a fixed number of days per month.
Can I calculate the difference between dates in hours or minutes?
Yes. This calculator converts the total date difference into days, hours, minutes and seconds as well as calendar-based units such as years, months and days.