Date Difference Calculator: Days Between Two Dates
Find the exact gap between two dates in years, months, days, weeks, hours and minutes, or add or subtract a duration from a date.
Loading tool…
How to use the Date Difference Calculator
- Pick a start date and an end date.
- Tick Include the end date if both days should be counted.
- Read the difference as years, months and days.
- Use the total days, hours and minutes figures for notice periods or deadlines.
- Switch to Add or subtract a duration to find the date after a number of years, months and days.
About this tool
The calculator counts complete years, then complete months, then the remaining days, so 31 January to 1 March in a leap year is one month and one day. Total days are exact and include 29 February when it falls between the dates.
By default the end date is not counted, so 1 to 2 December is one day. Many contracts, leave applications and rent notices count both the first and the last day. Tick Include the end date for that style, which adds one day.
If the end date is earlier than the start date the tool simply compares them in reverse. The add or subtract mode adds years and months first (a day past the end of a month moves back to its last day, so 31 January plus one month is 28 or 29 February), then days. Everything runs in your browser using calendar dates only, so time zones and daylight saving cannot shift the result.
Frequently asked questions
How do I count days between two dates?
Subtract the earlier date from the later one. This tool does it for you and also splits the result into years, months and days.
Should I include the end date?
It depends on the rule you are following. Leave applications often count both days, while elapsed time between events usually does not.
Does it handle leap years?
Yes. It uses the real calendar, including 29 February.
Can I use it for age?
Yes, but the Age Calculator also shows days to your next birthday.
Need a custom tool or website?
IDM Valley builds web apps, calculators, AI chatbots and automation for businesses. Fixed prices, code in your name.









