Date Difference Calculator
About this tool
About Date Difference Calculator
Pick a start date and an end date to see exactly how far apart they are: years, months and days the way a calendar counts them, plus the total in days, weeks and days, months, hours, minutes and seconds, and how many of those days are weekdays. It is useful for notice periods, contract terms, visa stays, project timelines, pregnancy and baby milestones, or simply counting down to a holiday. Month arithmetic handles short months properly: 31 January to 1 March is one month and one day, and a leap day is counted when it falls in the range. By default the count starts the day after the start date, which is how most people count; turn on “Include the end date” when both days matter, such as hotel nights versus booked days or leave periods. If the end is before the start, you still get the difference and a note. Calculations run in your browser using the Gregorian calendar.
Built and maintained by Abhi JainUpdated
How to Count the Days Between Two Dates
- 1
Pick the start date
Choose the first date. It defaults to today.
- 2
Pick the end date
Choose the second date. Turn on Include the end date if both days should count.
- 3
Read the result
See years, months and days, plus totals in days, weeks, weekdays, hours, minutes and seconds. Copy any value.
Date Difference Calculator: questions and answers
How do I count the days between two dates?
Subtract the earlier date from the later one. 1 January to 31 December 2026 is 364 days; it becomes 365 if you include the end date. This calculator does it for any dates and handles leap years.
Should I include the end date?
Include it when you are counting days on which something happens, such as days of leave from Monday to Friday (5 days). Leave it out when counting elapsed time or nights, such as a hotel stay from Monday to Friday (4 nights).
How are months counted when months have different lengths?
Whole calendar months are counted first, clamping to the end of shorter months, and the remaining days are added. So 31 January to 28 February is 1 month, and 31 January to 1 March is 1 month and 1 day.
How many weekdays are between two dates?
The result shows Monday-to-Friday days with both dates counted. To exclude public holidays or use a different weekend, use the Working Days Calculator.
Can I add days to a date instead?
Yes, use Add or Subtract Days to find the date a number of days, weeks, months or business days from another date.
Related Tools
- Add or Subtract DaysAdd or subtract days, weeks, months, years or business days to find a date.
- Working Days CalculatorCount business days between two dates with any weekend and your own holiday list.
- Duration CalculatorExact time between two dates and times in days, hours, minutes and seconds.
- Countdown to DateA live countdown to any date and time, shareable as a link.