About the Date Difference Calculator
This date difference calculator measures the gap between any two dates and reports it six ways at once: total days, whole weeks with the leftover days, hours, minutes, whole years and total months. Underneath, a calendar-style breakdown gives the difference as a number of years, months and days, which is the form people actually use in conversation. Leap days are counted whenever they fall inside the range, and the dates can be entered in either order — if the end date comes first, the tool swaps them and reports the absolute difference.
How to use the Date Difference Calculator
- 1
Enter the Start date, either by typing it or using the date picker.
- 2
Enter the End date; it can be earlier than the start date, in which case the tool swaps them.
- 3
Read the Difference panel for total days, weeks, hours, minutes, years and months.
- 4
Check the Breakdown line for the calendar-style years, months and days summary, which you can copy.
What people use it for
Counting down to a deadline
The total days figure answers how long is left on a project, a visa application or a submission window without you counting squares on a calendar.
Length of service or tenure
The years, months and days breakdown is the form HR systems and reference letters use, so it can be copied into a document directly.
Working out an anniversary
Total days is what people mean by a thousand-day anniversary, and the weeks reading is useful for anything tracked in weekly cycles.
Contract and notice periods
Comparing the actual elapsed days against a contractual number of days settles disputes about when a notice period genuinely ended.
Why the months and days breakdown is not simple division
Dividing total days by 30 gives an answer that is wrong almost every time, because calendar months run from 28 to 31 days and there is no fixed conversion. The breakdown here works the way a person counts: it steps forward whole years first, then whole months, then counts the days left over. When the day of the month in the end date is smaller than in the start date, it borrows from the preceding month using that month's real length. So 31 January to 1 March is 1 month and 1 day in a leap year but 1 month and 2 days otherwise, because February contributed a different number of days to the borrow. This calendar-relative behaviour is also why the operation is not associative — adding one month then one day can land on a different date from adding one day then one month — and it is the source of most date arithmetic bugs in software.
Inclusive against exclusive counting
The tool counts the days between two dates, not the days in the range including both ends. So 1 January to 2 January is one day, which matches how you would answer if asked how long something took. Plenty of contexts need the other convention. Hotel nights follow the exclusive count, since checking in on Friday and out on Sunday is two nights. Billing periods, hire days, sick notes and prison sentences generally use inclusive counting, where both the first and the last day count, giving a total one higher. Court deadlines vary by jurisdiction and are worth checking rather than assuming — many legal systems exclude the day an event occurred but include the deadline day. If you need the inclusive figure, simply add one to the total days shown.
Tips
- Add one to the total when you need an inclusive count, such as billable days or hire days.
- The hours and minutes figures assume a flat 24-hour day and ignore daylight saving transitions.
- Use the business days calculator instead when weekends should not be counted.