Date Difference Calculator
Find the exact time between two dates in years, months, days and weeks.
Choose two dates to see the difference.
Everything is calculated entirely in your browser. Nothing is sent to a server.
This tool is temporarily unavailable.
Please check back later.
How to use this tool
- 1Choose a start date and an end date.
- 2Tick “Include the end date” if both days should count.
- 3Read the difference in years, months and days, plus the total days and weeks.
Features
- Breaks the gap into years, months and days, as well as total days and weeks.
- Optionally counts the end date as well as the start date.
- Swaps the dates automatically if the start is after the end.
- Handles leap years and months of different lengths correctly.
- No account or sign-up required.
Privacy
Everything is calculated in your browser. The dates you enter are never sent to a server.
Frequently asked questions
How many days are there between two dates?
Pick both dates above and the total number of days appears instantly. By default the start date counts and the end date does not; tick “Include the end date” to count both.
How are months counted?
Full calendar months are counted from the start date, and the leftover days are shown separately. From 31 January to 1 March is 1 month and 1 day, because the month ends on 28 February.
Does it handle leap years?
Yes. February’s length in leap years like 2028 is taken into account automatically.
What if the start date is after the end date?
The two dates are swapped and you’ll see a note saying so, so you always get a positive result.
Guides
- How to Calculate the Number of Weeks Between Two Dates
Counting weeks until a deadline, a due date or a trip? Here's the simple formula, the off-by-one trap, and a free calculator that does it for you.
- How to Calculate the Number of Days Between Two Dates
Count the days, weeks and months between any two dates, decide whether to include the end date, and avoid the leap-year and month-length traps.
- New Year Resolutions by the Numbers: Habit Maths for 2027
2027 has 365 days, 52 weeks plus one day and 261 weekdays. See how small daily habits add up over the year and how to track your progress with simple date maths.
- How Many Working Days Are in 2027?
2027 has 261 weekdays. Here's the month-by-month count, how public holidays change it in the US and UK, and how to plan your year's leave.