Date Difference Calculator

Calculate the exact number of days, weeks, months and years between any two dates. Pick a start and end date and get instant results in every unit — no signup required.

Link copied to clipboard

Date Difference Calculator

7 days until your end date

Years

0

Months

0

Weeks

1

Days

7

Hours

168

Minutes

10,080

Seconds

604,800

How to use this tool

  1. Enter a start date using the date picker on the left.
  2. Enter an end date using the date picker on the right.
  3. Toggle "Include end date" if you want to count the end day itself (e.g. for a project duration that includes the final day).
  4. Use the quick shortcuts — End of Year, Christmas, Next Monday — to set common targets instantly.
  5. Read the results: total years, months, weeks, days, hours, minutes, and seconds are all calculated automatically.

Why use our Date Difference Calculator?

Whether you need to know how many days until a deadline, how long a project ran, or how far away a holiday is, this calculator does the work instantly. All seven time units are shown at once so you can pick the one that matters for your use case — no unit conversion needed.

Frequently Asked Questions

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

Subtract the earlier date from the later date. Each day is exactly 86,400 seconds, so the number of whole days is the difference in milliseconds divided by 86,400,000. This calculator does that automatically and also converts the result into weeks, months, and years.

Should I include the end date when counting days?

It depends on what you're measuring. For "how many days until" a deadline, you usually exclude the end date (you count the days you have left). For "how many days did a project run" including both the first and last day, turn on the "Include end date" toggle — it adds one day to the result.

How many days until Christmas?

Click the "Today → Christmas" shortcut to find out instantly. The calculator sets the start date to today and the end date to 25 December and shows you the exact number of days remaining.

How many days until New Year?

Click the "Today → End of Year" shortcut. The calculator sets the end date to 31 December of the current year and shows you the days, hours, and minutes remaining.

How are months and years calculated?

Because months and years have different lengths, the calculator uses standard approximations: one year = 365.25 days (accounting for leap years), and one month = 30.4375 days. The total days figure is always exact — it is the months and years values that are approximate.