Date Difference Calculator — Days Between Two Dates
- This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.
Today by default
About this tool
Pick two dates to see the gap in years, months and days, the total number of days, weeks and hours, and how many Monday-to-Friday working days fall in between.
Useful for notice periods, rent and loan tenures, project timelines, visa stays and counting down to an exam or wedding.
Leap years and month lengths are handled exactly; the “to” date defaults to today.
A worked example: from 15 March 2026 to 10 May 2026 the tool reports 1 month and 25 days. It counts one full calendar month to 15 April, then borrows the 30 days of April for the rest. The total is 56 days, or 8 weeks 0 days. Counting both end dates there are 57 days, of which 17 fall on a Saturday or Sunday, so the Monday-to-Friday count is 40.
The hours figure is simply days × 24. Times of day are ignored, so it does not account for the hour lost or gained at a daylight-saving change in other countries.
If the “to” date is earlier than the “from” date, the result is labelled accordingly and the gap is shown as a positive amount. Everything is calculated in your browser, and nothing is stored.
Frequently asked questions
Are both dates counted?
The total days figure is the gap between the dates (1 Jan to 2 Jan is 1 day). The working-days figure counts both dates, as leave and notice periods usually do.
How are months counted?
Calendar months first, then the remaining days — 15 March to 10 May is 1 month and 25 days. The “Months” box shows the total whole months, years × 12 plus the extra months.
How are leap years handled?
Actual calendar lengths are used. 28 February to 1 March is 1 day in 2026 but 2 days in 2024, since 2024 has a 29 February. A full year from 1 January to 31 December 2026 is 364 days between the dates.
Why do working days not match total days minus weekends and holidays?
The working-days figure covers Monday to Friday only and counts both end dates, while the total days figure is the gap between the dates. Public holidays are not removed here. For holidays or a Sunday-only week, use the Working Days Calculator.
Can I enter the later date first?
Yes. The tool still shows the size of the gap and notes that the “to” date is earlier, so you do not need to swap the fields.
How do I count days for a notice period or loan tenure?
For a notice period counted from a start day, add one to the total days if the first day is included. For loan tenure, use the years, months and days result. Your contract or lender’s wording decides the exact rule.